Forma: language, platform and development
This documentation brings together the FormaSL semantic model, the contracts used by applications, and the development and operation guides of the Forma system.
Bilingual transition state (T21): English is the canonical technical language. The pages below are editorial translations (EN); the normative authorities are always the verbatim carriers under Normative authority (foundations) and Capability and regime authorities. The pt-BR pages remain as the derived originals until the full English edition is verified.
Understanding the system
Start with Purpose and scope (pt-BR original; EN edition in progress) and the Architectural view. The chapters on the World model, Metagraph and Ontologies present the structures over which the language operates. The normative foundation texts are carried verbatim under Normative authority (foundations).
Developing an application
The Development cycle relates modeling, formation, execution and realization. See Projects, Dependencies and Verification to organize the work.
Consulting the reference
The reference gathers Commands, Formats, Grammar, Outcomes, Standard library and the Workspace API. The Glossary concentrates the definitions used in the book.
Integrating and operating
Providers and adapters describes capability integration. The pages on Persistence, Observability, Resources and Security cover operation.
Platform and learning
The Forma system section presents the platform components. The Examples use bounded domain problems. The Learning trail suggests a sequence of study and practice over this material.
FormaSL: purpose and scope
Normative authority: the integral normative text of this foundation is carried verbatim in Foundations — this chapter is pedagogical and does not replace it.
FormaSL (Forma Semantic Language) is a computable semantic specification language. It allows declaring entities, relations and semantic contracts, besides representing and operating over assertions, evaluations, decisions and other structures of a domain. That information participates in queries, transformations and composed operations with its own identity and qualifications.
The language gathers meaning definition and computation in the same semantic contract. A piece of information can cross different operations and applications keeping the conditions needed to be interpreted: what it refers to, who produced it, in which context it applies, which information it depends on and what its semantic status is.
FormaSL joins the Forma system, which uses those contracts to build and realize applications over concrete execution mechanisms and infrastructure.
Meaning across applications
Different applications often work with parts of the same domain. One system registers an operation, another verifies its conditions and a third uses the result to take a decision. The data can circulate among them through well-defined interfaces, while part of their meaning stays expressed in local rules, procedures and conventions.
Consider the delivery of goods. The supplier records the dispatch, the carrier informs the arrival at the destination and the recipient confirms the receipt. The three records relate to the same load, but describe different events. For a logistics application, the arrival can end a transport stage; for a commercial application, the confirmed receipt can be a condition for concluding another stage.
FormaSL lets those relations, their participants and the conditions distinguishing each event be declared. Thus, applications can share the domain’s structures and use them in their own operations, keeping explicit the interpretation differences each process requires.
Sharing happens at the semantic level. It covers more than data formats or service signatures: it includes the relations and commitments making the information usable by different components.
Situated information
FormaSL works with information produced and interpreted by situated agents. An assertion has an attributable issuer, content and semantic qualifications. An observation records a form of access to an event or state. An evaluation expresses an agent’s position towards determined information. Each of those structures has its own meaning.
An assertion, called a Claim, records an act of asserting; the reality its content refers to stays distinct from that act. Two Claims can have the same content and different identities, while a single Claim can circulate through several systems without losing its identity.
Context, time, perspective and authority participate in the interpretation when relevant. One agent can accept information another rejects; an authorization can hold only in a determined scope; a decision can produce applicable conditions from a specific instant. The model keeps those qualifications associated with the structures and operations depending on them.
That organization makes it possible to relate different perspectives within a shared domain. Divergences can be queried, evaluated and resolved by explicit operations, with preservation of the involved positions and grounds.
Semantic structure and relations
FormaSL’s logical representation uses a typed role-incidence metagraph. Relations are identifiable semantic instances, to which participants bind through roles defined in the applicable contract.
A delivery, for example, can relate goods, supplier, carrier and recipient in the same relational structure. Its participants take different roles, and other relations can refer to the delivery or to its stages without dissolving its identity.
The model admits relations with multiple participants, typed references to semantic elements and compositions of relations. Multiplicity, ordering and participation conditions follow each relation’s contract.
That representation belongs to the language’s logical architecture. Storage and processing can use tables, indexes, key-value structures, graphs or other mechanisms capable of realizing the semantic contract.
Computation and semantic continuity
The structures declared in FormaSL are used by semantically defined operations. Queries select and relate information; inferences produce derived results; transformations build new structures; evaluations and other operations apply the pertinent domain contracts.
Each operation has input, result and interpretation conditions. Beyond the produced values, the elements’ identity, the information’s origin, their temporal qualifications, the involved authority and the dependencies used in the computation can matter.
Semantic continuity organizes the preservation of those properties across operations. Relevant information can accompany the result, stay available by reference, be derived from preserved elements or be explicitly transformed. When an operation restricts scope or discards information, that behavior belongs to its contract.
Continuity also applies to composition. A query’s result can feed an analysis, which in turn grounds a decision. The qualifications needed to interpret the decision remain reconstructible along that path.
The same principle reaches the limits of execution. A decision, the execution following it, the associated effects and the later observations constitute semantically distinct stages. The language lets them be related keeping the identity and responsibility of each passage.
Contract, realization and execution
FormaSL’s architecture distinguishes the declared meaning from the mechanisms used to realize it.
| Plane | Responsibility |
|---|---|
| Semantic contract | Defines the structures, operations and conditions constituting the declared meaning. |
| Realization | Binds the semantic requirements to concrete capabilities, resources and mechanisms. |
| Execution | Evaluates or executes operations under determined conditions. |
| Physical representation | Organizes data and artifacts in the effective storage and processing mechanisms. |
The .fsl files constitute the authoritative semantic source plane, including authoritative source meaning and data. The .fsp files specify realization aspects, such as the binding to capabilities and resources.
That separation lets the language be combined with databases, services, analysis engines and other specialized components. Realization establishes how to satisfy the contract’s requirements; execution produces results under its mechanisms’ guarantees and conditions.
Computational results, execution records and information incorporated into the source have different responsibilities. An update of the authoritative source happens through an incorporation transition appropriate to the information’s type, preserving the relevant history and semantic bindings.
Applications over shared structures
By using shareable semantic structures, applications can work over common references, relations and definitions without needing to concentrate all domain logic in a single service.
A logistics application can track the transport of goods; another can verify the contractual conditions of receipt; a third can relate the delivery confirmation to payment rules. Each application uses the structures that interest it and adds the evaluations and decisions proper to its responsibility.
FormaSL provides the language and contracts for that composition. The world model defines the fundamental semantic categories; the invariants and semantic continuity determine how its distinctions are kept during computation; the realization architecture connects those contracts to the platform’s operational capabilities.
Architectural view
Forma organizes an application into four planes: semantic contract, realization, execution, and physical representation. This division keeps the meaning of structures and operations identified throughout their implementation.
Normative authority: the architecture contract is carried verbatim in Architecture (N07) — this chapter is pedagogical and does not replace it.
Semantic contract
The .fsl source declares types, relations, theories, rules, information and applications. The world model provides the fundamental categories. The invariants and semantic continuity establish the preservation obligations.
The typed role-incidence metagraph organizes entities, relational instances and higher-order references. Module and type contracts govern static formation and the sharing of declarations.
Realization
Realization associates application requirements with capabilities and resources. The .fsp plans express bindings, requirements and preferences. The resolution process verifies the compatibility of capabilities with the semantic contracts.
Models, databases, services, instruments and other specialized mechanisms participate through identified boundaries. Each boundary defines which inputs it receives and which guarantees it offers.
Execution
The runtime evaluates applications under determined bases. Planning organizes dependencies and scheduling, respecting the semantic order and the completion conditions.
Results preserve the correspondence with application, contract, basis and execution. Claim, observation, decision and source transitions use the authorities and introduction conditions specific to their categories.
Physical representation
Storage and processing structures represent the semantic artifacts. Tables, indexes, graphs and other mechanisms can realize these structures while keeping their identities, relations and material qualifications recoverable.
The application history relates the representations to the acts and results that gave rise to them. This allows changing mechanisms and reorganizing data while preserving the contracted meaning.
Integrated path
The source is resolved, checked and elaborated. Realization binds capabilities. The runtime produces results that can feed other applications. Decisions can lead to external requests; acquisitions can introduce observations; a governed incorporation can publish a new source state.
The book details each responsibility in the concepts, development, platform, operation and reference chapters.
Conceptual genealogy
The conceptual organization of FormaSL brings together knowledge representation, relational structures, language contracts, declarative computation and situated information. These elements articulate in the definition of a language in which meaning participates directly in the operations.
Normative authority: the constitutive foundations are carried verbatim in Foundations — this chapter is pedagogical and does not replace them.
Knowledge representation
Ontologies and theories organize concepts and interpretation commitments. FormaSL treats these artifacts as identifiable bases, which can be used by different applications and related by explicit mappings.
Situated classifications record positions about domain referents. They are interpreted under their own schemas and contexts, alongside the static contracts of types and relations.
Relational structures
The metagraph gives unity to n-ary relations and distinguishes the roles of their participants. Semantic elements can be referenced by other relations, making it possible to represent evaluations about Claims, decisions about results and revisions of artifacts.
The identity of the structures guides their reuse across modules and applications. The physical organization of records realizes these relations without determining their semantic identity.
Declarative computation
Queries, inferences, analyses and transformations have contracts of input, result and completion. A composition relates these operations preserving the status and the dependencies of the results.
The type system and static interfaces govern the formation of the constructs. Theory, validation and governance bases determine the judgments made about the domain.
Situated information
Claims, observations and evaluations represent attributable positions. Context, time, perspective and authority participate in their interpretation. Incompatible pieces of information can coexist and be used by operations that treat their relations explicitly.
Semantic continuity connects these qualifications to computation. The result keeps the material needed for another consumer to understand its origin, its basis and its conditions of use.
Applications and infrastructure
The separation between contract and realization makes it possible to use specialized mechanisms to process the application. The system relates the source, the selected capability, the execution and the results through identifiable correspondences.
This articulation organizes FormaSL as a language for building software over reusable semantic structures. The project’s decision history remains in the campaign’s editorial record; this page presents the conceptual relations used by the current architecture.
Learning trail
Learning FormaSL starts from domain problems and advances to the composition of applications. The goal is to understand the meaning of the structures before choosing how to execute them. Each stage uses pages and examples already presented in the book.
1. Identify what the domain distinguishes
Read Purpose and scope and World model. Choose a small process, such as the custody transfer of a load. Identify participants, events, claims and decisions.
When you complete the stage, you should be able to explain which pieces of information describe the same process and why their roles remain distinct.
2. Model relations and references
Study Metagraph, Types and Modules. Use the Custody example and verify its formation.
Change a role and observe which consumers would depend on that change. The outcome of the stage is a model whose identity and participation can be explained without resorting to the physical organization of the data.
3. Organize concepts and bases
Read Ontologies and Contexts, time and space. Work with the Classification and Revisions examples.
Identify which basis an evaluation uses and how a later revision can be related to the earlier result.
4. Define operations and results
Study Operations, Situated results and Composition. Formulate a query question, an inference consequence and a validation judgment over the model.
For each result, declare its basis, its dependencies and the completion criterion. Check which results can be accepted by the next stage.
5. Relate information and action
Read Claims, Observation, Governance and Execution.
Describe a path in which an observation grounds an evaluation, a decision and a request. Identify the authorities and records needed at each passage.
6. Prepare the project and the realization
Use the guides on Project, Realization, Providers and Verification.
The outcome of this stage is a reproducible target, with sources, dependencies, applications, plans and verifications identified. The baseline support reference informs the execution paths available for each family.
First model: custody transfer
This exercise models the transfer of a load between two organizations. The goal is to keep the unity of the transfer and distinguish the roles of who delivers and who receives.
Examine the case
A transfer involves a load, a transferring organization, a receiving organization, a place and a moment. These participants belong to the same domain event.
Open exemplos/01-custodia/modelo.fsl in the package. The module declares the types of the participants and the TransferenciaCustodia relation, with five roles.
Verify the formation
In the publication package directory, use the executable of your version:
formasl check exemplos/01-custodia/modelo.fsl
Examine the formation output. If there is a diagnostic, locate the declaration and the category pointed out. The diagnostics guide shows how to distinguish missing source, incorrect reference and formation incompatibility.
Work with the roles
Compare the questions “which loads did the organization deliver?” and “which loads did the organization receive?”. Both use the same relation, selecting different roles.
Now consider two transfers of the same load at different moments. The identity of each instance must make it possible to relate its participants without merging the events.
Add situated information
Describe the transferring organization’s claim about the delivery and the receiving organization’s confirmation. Identify the issuers and the time conditions. The two Claims can refer to the same transfer while keeping their acts of assertion.
Also define which observations or documents can ground an evaluation. This preparation lets you choose the contract of the application that will query or judge the information.
Completion criterion
The model is understood when you can identify the unity of the relation, the role of each participant, the difference between two transfers and the distinction between the event and the claims about it. The next stage is to declare an application over these structures and verify its result under the interface of the baseline in use.
Composing a domain process
This exercise brings together the book’s concepts in an equipment inspection process. The work is divided by the semantic responsibilities of the application, with verification criteria for each part.
Model and information
Identify equipment, instrument, technician, reading and assessment. Use the inspection example to organize their relations. Record the procedure revision applied to the evaluation and the acquisition, knowledge and decision times that are pertinent.
The model must make it possible to recover which equipment a reading came from and which assessment used it.
Computation
Define a query that selects the readings relevant to the equipment and to the period. Specify the search completion criterion. Separate it from the coverage criterion that determines whether the period has the required measurements.
An analysis or inference can produce a result about the equipment’s conditions. Identify the model or theory used and the result’s dependencies.
Governance
Define the validation contract of the inspection record. Then determine which conditions govern the admission of the equipment into an activity and the authorization of the responsible agent.
A decision can consume the judgments produced. Record the decider, the normative basis and the assumed result.
Action and return
When the decision requires external action, declare the corresponding request. Identify the target, the arguments and the realization requirement. The operational path follows dispatch, exposure, attempt and receipt.
New observations can provide information about the later state of the equipment. They are admitted by the acquisition boundary and used by later operations.
Alternative scenario
Evaluate the hypothesis of withdrawing the equipment during a maintenance window. Identify the local premises, the basis and the results that depend on them. Compare this alternative with another window under common criteria.
Verifications
Include a conforming inspection, an inspection with a violated restriction, a missing observational coverage, a missing authorization and a lost response after possible exposure. Each case must produce the outcome of its contract and keep the history needed by the next step.
The process is ready for integration when the contracts of the stages, their inputs, the alternative paths and the completion conditions are defined and the respective cases have been executed over the selected baseline.
Persistence and recovery
Authorities: the reactive activation (RAC) and dependency/invalidation/recovery contracts are carried verbatim in Authorities — this chapter is pedagogical and does not replace them.
Persistence keeps representations of sources, results, evidence and operational records. The contract of each artifact determines which identities, bases and historical relations need to be reconstructed after reopening.
Identify what will be persisted
Separate authoritative source states, derived results, observation records and execution control. Each class has its own rules of formation and continuity. A common storage format can realize several classes while keeping their roles distinguishable.
Keep with the artifacts the references needed for interpretation: contract revisions, dependencies, authorities, time coordinates and pertinent realization bindings.
Reopen under the correct basis
Recovery reconstructs the identity of the records and verifies their coherence. A historical record is interpreted under its introduction basis. New transitions use the authority and currency conditions applicable to the new act.
A durable operation preserves the stable reference across preparation, attempts and reconciliation. Reopening a receipt keeps the earlier occurrence, allowing control to resume without producing a new attempt because of the read.
On the mechanical side, the persistence engine carries the same discipline: reopening yields exactly the acknowledged prefix, and whatever the crash cut away is reported and discarded rather than interpreted. FormaKV, the persistence engine documents that mechanism.
Integrity and completeness
Verify the digests and the bindings the format uses. Required fields, missing references and incompatible data must produce the refusal foreseen by the decoding contract.
An integral copy keeps the bytes or the canonical representation that its verifier examines. The validity of a transition also depends on the relations and bases required by the semantic contract.
Publication recovery
When an incorporation attempt was left without a known conclusion, reconstruct the outcome from the evolution and publication records. An already applied publication must be recognized by its original identity. A new attempt follows the reconciliation and retry contract.
Operational verification
Include in the validation process a save and reopen in another process. Compare identities, material fields, histories and query results. Record separately the behavior under corruption, artifact loss and interruption at the publication point.
Observability
Forma observability relates concrete execution to the applications and contracts that define it. The record must make it possible to locate the source, the application, the evaluation basis, the realization binding and the produced result.
Path coordinates
An operational occurrence can be associated with the invoked application, the execution instance and the consumed artifacts. Typed references make it possible to follow the path without depending on log messages used as identifiers.
For external operations, also preserve request, durable operation, attempt, capability, target and receipt. For acquisition, preserve session, source, adapter, evidence and bridge. For publication, preserve bases, accepted change, occurrence and published state.
Results and mechanisms
The semantic result and the mechanism outcome have their own channels. A finished task may have produced a partial result; an empty query may be complete; a network failure may leave an external attempt uncertain.
The operational presentation must keep these differences. An aggregated summary can organize the view, while maintaining access to the results and conditions of each application.
Traces and provenance
Traces record the processing. Provenance and dependencies describe how the content relates to the information used. Observability links these artifacts when reconstruction requires both.
Plan changes can alter the operational sequence without modifying the required semantic dependencies. The comparison between executions must identify which differences belong to the mechanism and which change the contract’s observables.
Diagnosis of long-running processes
For an operation in progress, present the stable reference and the effective phase. Before external invocation, there may be an accepted operation without an attempt. After possible exposure, an absent response keeps the outcome uncertain.
History queries must make it possible to recover these steps and the reconciliation evidence. The current state is a projection of records and contract rules, with historical relations preserved.
Use in verification
Each integration test can keep the minimal set of artifacts that demonstrates its property: command, revision, result, references and completion condition. The report must identify the scope of what was executed so that the result is reproducible.
Performance and resources
Realization chooses algorithms, indexes, execution strategies and resources to process the applications. The semantic contract determines the observables these choices must preserve. The gas budget controls the logical computational work; memory, execution time and processing capacity belong to the physical conditions of the realization.
Authority note: gas semantics are normative (OUT_OF_GAS is a typed outcome); physical limits belong to the realization contracts and are NOT normative promises of the language.
Measure per application and basis
Record the target, the set of sources, the contract revision, the input volume and the parameters used. Compare executions that answer the same question under compatible bases.
Durability has a measured floor of its own: the persistence engine publishes its protocol and tables, and an application’s latency budget begins where that floor ends. See FormaKV, the persistence engine.
Separate formation time, realization preparation, evaluation and output materialization. A plan change can shift work between these stages.
Indexes and planning
Indexes and auxiliary structures accelerate selection and access to relations. The planner can reorganize operations, merge stages and run independent work in parallel while preserving the required dependencies, semantic order and completeness.
The strategy must consider the query pattern and the base updates. A materialized structure has dependencies that determine when it can be reused or needs to be rebuilt.
Result reuse
Reuse depends on equivalence sufficient for the consumer. Verify revisions, context, frame, temporality, authority, dependencies and completeness. A historical result can be reusable for one question and inadequate for another that requires the current basis.
The evolution impact contract determines the recomputation conditions. New elements that come to satisfy a query can change the result even when the previously read items remain the same.
Incrementality
Incremental consumption uses contracts of partiality, ordering, revision and finalization. The application can process updates without waiting for a complete set when its contract admits this form of input.
The performance of this realization must be tracked together with the result guarantees. A visualization and an irreversible decision can use different consumption policies over the same stream.
Execution limits
Record the applied budget and examine the completion state. Gas exhaustion keeps the difference between interrupted work, partial result and complete result. The producer’s policy determines whether incomplete execution can publish a usable artifact.
The physical limits of a realization must be evaluated under its own resource contracts, keeping the correspondence with the application and basis used.
Security and authorities
The security of a Forma application combines access conditions, transition authority, artifact integrity and guarantees of the realization boundaries. These responsibilities are related, but have their own bases and scopes.
Principals and roles
Identify the requesting agent, the claim issuer, the decider, the executor, the observer and the source owner. The same principal can occupy several roles when the corresponding bases authorize it.
Storage and technical execution permissions must be treated separately from semantic authorities. Incorporating an observation, issuing a Claim and publishing a successor of the source are acts governed by distinct contracts.
Transition authority
A transition that requires authority uses a basis established before it or admitted independently. The record keeps the authority coordinates, its revision and the pertinent scope.
For new acts, verify the required currency conditions. Historical records remain bound to the authority under which they were introduced.
Visibility
Disclosure policies determine which pieces of information and qualifications can be presented to each consumer. A view can restrict content or the distinction between states when access to that very difference is protected.
The transformation contract identifies this restriction. The semantic origin of the material and the access conditions remain preserved on the surfaces that have authority to query them.
Integrity and boundaries
External artifacts must be bound by identities and verifications compatible with the requirement. The scope of an attestation or receipt determines which guarantees the consumer can use.
Verify malformed responses, incorrect references, incompatible revisions and attempts to attribute authority to presentation fields. Machine surfaces must apply the schemas and verifications corresponding to the version.
Operation
Configure credentials and channels in the appropriate realization mechanisms. Keep the minimal set of information needed for accountability and recovery. Retention policies must respect the history and disclosure contracts of the artifacts involved.
Hosting and services
Hosting offers an access point to the operations of a resolved project. The host keeps the project basis and forwards invocations to the same operation families used by the local interfaces. Machine results keep the categories and coordinates published by the contract.
Hosted basis
Identify the project, its lock and the selected realization plans. Record the revision the service offers and the conditions under which its applications receive inputs.
Changing the hosted basis must use a defined update procedure. Earlier invocations remain associated with the revision they consumed.
Operation interface
The serve family hosts the operations admitted by the host contract. The listen address, machine envelopes and exposed capabilities belong to the implementation version. Consult the help and the baseline support matrix for the exact configuration.
Each call must select an operation and provide its inputs in the admitted format. The response must make it possible to distinguish semantic result, completion condition and operational outcome.
Security boundaries
The contract of a local host and that of a service exposed to a network have different requirements of authentication, transport and access control. Configure the realization environment according to the scope effectively offered by the host in use.
The decision, execution, observation and publication authorities continue to be verified on the corresponding surfaces. The fact that an operation was received by the service does not replace those judgments.
State and recovery
The host can use durable control components for operations that need to survive interruptions. The persistence and recovery of these operations belong to the components’ contracts, with their own identities and references.
In the operating procedure, record how to query in-progress invocations, how to recover evidence and how to recognize an already performed publication or attempt. Restart routines must preserve these bindings.
Service verification
Verify input and output envelopes, application selection, typed refusals and the correspondence between call and result. Include tests with invalid inputs, nonexistent application, missing realization and external dependency interruption.
Durable execution
Authority: the semantic execution contract (F2) and the reactive activation contract (RAC) govern this chapter; it is operational and does not replace them.
A durable execution is opened once and kept alive across crashes by its journal. This chapter walks the operational cycle: opening, advancing, delivering activities, letting time expire what deserves expiry, recovering, and reading the journal from outside.
Open an execution
Take a .fsl program, elaborate it with the platform compiler, and seed the engine with the payload bytes plus the initial carrier state. The engine records the program’s identity from the exact source bytes, opens the journal, and writes the seeding event. From that moment the journal is the execution: the state lives in the carrier, but the authority to have arrived there lives in the record.
Advance the workflow
A tick evaluates the carrier and appends what the decision produced: the scheduled work, its start, and the tick’s own completion marker. Advance ticks explicitly; there is no wall clock hiding behind the engine, which is why every scenario in the conformance suite is deterministic. A tick that evaluates nothing records nothing, and a journal that never skips an ordinal is what lets recovery trust the gaps it does not find.
Deliver activities
When the workflow schedules an activity, a worker takes it from the pending queue. The take returns a delivery carrying the attempt generation, and the worker answers it with either a completion or a typed failure. The engine checks four things before it accepts anything: that the answer belongs to this execution, that the generation is the current one, that the attempt is still open, and that the task was actually delivered. Late, duplicate, foreign or never-delivered results are refused with distinct errors, and a refusal leaves the journal exactly as it was.
Let time expire what deserves expiry
Advancing the clock past an attempt’s deadline expires that attempt and records the contracted timeout event, then reschedules within the attempt ceiling and the total scheduling window, with linear backoff between attempts. Two boundaries matter in operation. When the total window closes, the open attempt expires at the boundary with the exhausted-window cause, even if its own deadline lies ahead. And an expired attempt’s answer can still arrive: it is refused, because the generation it carries is no longer current.
Recover from a crash
Reopen the execution from its journal. Closed segments replay in the original evaluation window, against the state seeded in the first event, and every decision must reproduce itself; a divergence seals the execution as non-deterministic and stops it. An open segment, one interrupted between start and outcome, resumes in place: the interrupted attempt is rescheduled by generation, nothing already delivered is redelivered, and the continuation carries the same identities. The crash test suite proves this shape on both journal backends.
Read the journal from outside
The reactive feed publishes every journal event as an occurrence: the position is the ordinal, the identity is the occurrence’s durable id, and the source name is declared, not invented. A consumer starts from a position and receives contiguous entries from there; if the underlying record has a hole, reading fails closed instead of skipping past it. A notification only becomes an activation candidate for consumers that declared the source, and the candidate passes a policy gate before any order exists.
Choose the backend
The journal accepts two keepers: SQLite in durable mode, for a single-file deployment, and the FormaKV engine, when the platform’s own persistence is already in the process. The conformance battery runs identically on both, so choosing is a deployment decision, not a semantics decision. The one rule that does not move: substrates never depend on the compiler; only the host does.
Project organization
Authorities: the projects/packages contract is carried verbatim in Authorities — this chapter is pedagogical and does not replace it.
A Forma project organizes semantic sources, realization plans, dependencies, targets and verifications. The forma.toml manifest identifies the package and its inputs. The forma.lock file fixes the resolved selection of dependencies to repeat the program’s formation.
Separate the responsibilities
Keep domain declarations in .fsl modules. Group reusable contracts in modules with defined interfaces and place specific applications in consumer modules. The .fsp plans stay separate from the sources, because they select realization mechanisms and resources.
The physical organization must make visible the difference between vocabulary, operations, applications and verifications. It can follow the domain boundaries without requiring that each folder correspond to a region of the metagraph.
Define the targets
A target selects the set of sources and the application that will be verified or executed. Record in the project which targets are destined for the application, for the examples and for the verifications. The manifest reference provided in the version in use determines the accepted fields.
The source selection must contain the declarations the target depends on. In explicit-files mode, the operands provide that set. In project mode, resolution uses the manifest’s sources and dependencies.
Publish small interfaces
Export the declarations other modules need: types, relations, theories and applications. Keep internal details that are not part of the shared contract. The consumer must be able to form its constructs using the published interface.
When there is ambiguity between imported names, use explicit qualification or an alias. This choice is part of the program’s resolution basis.
Record the reproducible basis
Keep the manifest, the lock and the realization plans together with the material needed to reproduce the target. Fix versions of models and external artifacts required by the realization. The history of an execution must identify the revision actually used, instead of depending only on a current name.
Verify per target
The project’s formation must be verified before execution. Then execute the selected applications and examine their typed results. An application with external dependencies also needs admitted realization bindings and the resources required by the contract.
The corresponding commands and formats are gathered in Commands, Formats and Verification.
Development cycle
The development of a FormaSL application goes through the definition of the domain, the formation of the modules, the composition of the operations and the binding to realization. Each stage produces information that makes it possible to locate errors and understand the results.
Start from the domain contract
Identify the referents, relations and roles needed by the application. Define which pieces of information are Claims, observations, derived results or decisions. Specify the contexts and temporal roles that change the interpretation.
Choose the reusable modules that already publish those contracts. Declare the application-specific elements in the consumer modules. The definition must make it possible to explain the meaning of inputs and outputs without depending on the physical representation.
Verify the formation
Use check over the set of sources or over the project target. The verification identifies problems of syntax, resolution, declarative category and static contracts. Fix the first cause indicated by the diagnostic before interpreting errors that follow from it.
Use inspect to examine the admitted program. This step is useful to confirm the selected declarations and resolved references, especially when there are aliases or several imported modules.
Execute the applications
Select the intended application for run. Examine the application’s result and its semantic status, beyond the operational summary. A query, an analysis and a governance judgment present their own results.
For gas-limited operations, record the budget used. Compare results only under compatible bases and completion conditions. A partial result can be useful when the consumer’s contract admits that use.
Bind the realization
Declare in the .fsp plan the bindings and restrictions required. Use realize to verify the selection of capabilities. External execution goes through the invocation, evidence and admission interfaces corresponding to the operation family.
Keep environment configuration separate from meaning declarations. Models, instruments, services and storage mechanisms must be identified by the revisions and guarantees the application requires.
Turn failures into verifications
For each corrected behavior, add a case that discriminates the expected result from the earlier failure. Record the application, its inputs, the basis and the outcome. Include valid negative results, missing information, conflicts and interruptions when those states are part of the contract.
The book’s example roteiro contains small domain cases, each accompanied by its purpose and verification criterion.
Dependencies and distribution
Packages distribute FormaSL modules, sources and targets. Dependency resolution selects the artifacts that form the program’s basis. The lock records that selection, while the sealing process organizes a distributable version with verifiable identities and integrity digests.
Declare interface dependencies
A dependency must publish the declarations the consumer needs. Use the package interface to identify types, relations, theories and operations. Avoid depending on internal paths that are not part of that interface.
Compatibility is examined according to the declaration’s category. A name change can be accommodated by an alias; a change of type contract or of result requires verifying the guarantees used by the consumer.
Fix the resolution
The lock file records selected versions and artifacts. Include it in the project’s reproduction material. A dependency update produces another formation basis and must be accompanied by the verifications of the affected targets.
Historical result references remain bound to the basis in which they were produced. Updating a dependency for new executions is a change of the program, not a reinterpretation of earlier results.
Seal and verify the version
The package family offers the sealing and verification operations. Sealing gathers the package material according to its distribution contract. Verification reconstructs the identity and checks the artifacts’ digests.
Keep with the version the manifest, the lock, the sources, the plans and the associated verifications. Identify separately the external artifacts the realization requires, such as models or calibrations.
Distribution and execution
A distributed version makes artifacts available for resolution. Realization selects concrete resources to execute the applications. Publishing a package, publishing an authoritative source state and starting an execution have their own contracts.
The update guide describes how to evaluate interface and interpretation changes before replacing a dependency used in production.
Application verification
A useful verification identifies a property of the contract and presents inputs capable of distinguishing its preservation from a failure. The test suite follows the project targets and records reproducible results.
Formation
Verify the complete set of sources. Include cases with valid references, ambiguous names, incompatible arguments and incorrect declaration categories. The expected result must indicate acceptance or the pertinent diagnostic class.
Semantic behavior
Execute applications over small, identified bases. For queries, verify the bindings and the completion condition. For inferences, identify the premises, the rules and the expected consequences. For validation and governance, verify the produced judgment and its basis.
Include cases where the correct result is empty, negative, unknown, not applicable or inconclusive. These cases exercise different contracts and must remain distinguishable in the output.
Composition
Verify the consumption of results between stages. A test must show that the consumer receives the status, basis and dependencies it requires. Also test the routing alternatives and the role of each stage in the completion criterion.
An unreached branch must be recognized as such. A mechanism failure must be routed through the appropriate channel, and an already occurred transition must remain in the history after a later failure.
External boundaries
Use controlled providers and sources to verify acquisition, execution and publication. Record the scope of the guarantees of the mechanism used. Cases of delay, duplication, malformed response and incorrect correlation must produce identifiable outcomes.
For external execution, exercise failures before exposure and response losses after exposure. For observation, exercise the admission of the bridge and the preservation of evidence. For incorporation, verify the bases, the authority and the publication of the successor.
Suites and receipts
The test tool executes the *.test.toml suites admitted by the system version and produces an aggregated receipt. The suite format and assertion fields are in the formats reference of the implementation package.
Keep with the case the source revision, the application, the parameters, the budget and the expected result. The verification report must distinguish executed tests from static-only checks.
Diagnostics and result investigation
Diagnostics relate a found condition to the construct, contract or execution responsible. The investigation starts by identifying at which stage the behavior appeared: formation, resolution, realization, evaluation, transition or external boundary.
Formation and resolution
Confirm that all needed sources participate in the target. Verify the spelling of qualified names, exports and aliases. A position expecting a theory, a relation or a policy must resolve a declaration of the appropriate category.
When several admissible declarations have equal priority, make the choice explicit. The order of files is not a resolution criterion.
Realization
A realization refusal indicates which requirements and candidates were considered. Examine the requirement revision, the selected capability, the restrictions, the resources and the required guarantees. The provider identity and the semantic operation identity have different roles in this analysis.
Evaluation results
Read the application’s typed result first. The aggregated summary informs the situation of the selected set, but each application’s result keeps its own conditions.
An empty set can be the complete answer of a query. An inconclusive result can be the judgment foreseen for the available evidence. Gas exhaustion informs the condition of the computational work performed. The interpretation of each depends on the producer’s contract.
External boundaries
For an execution attempt, determine whether the invocation started and which evidence supports its outcome. A response loss after possible exposure requires reconciliation.
For an observation, recover the source, session, receipts, admitted bridge and authority revision. For an incorporation, recover the sealed basis, the material classification, the responsible gate and the publication coordinates when produced.
Produce a reproducible case
Reduce the input until only the elements causing the behavior remain. Preserve the application, the revisions and the material parameters. Record the original output and the expectation derived from the contract. This combination makes it possible to distinguish modeling error, implementation error and basis difference.
Rust integration
Programmatic integration uses the public API of the FormaSL version chosen by the project. It offers access to program formation, application invocation, and the realization and lifecycle surfaces published by the components.
Use the public interface
Locate the needed operation in the API reference generated from the version’s code. Use exported types and functions, preserving the typed identities of applications, bases and results. A mechanism’s internal modules do not replace the consuming API’s contracts.
Programmatic input must identify the same program and the same bases used by the command-line interface. An application invoked from code keeps its input and result contract.
Treat results by category
Examine the results of the application families and their outcomes. A query answer, a judgment, an admitted observation and a publication conclusion have their own structures and conditions. Preserve these categories when integrating FormaSL into another system.
When serializing a result, keep the coordinates the consumer needs to reconstruct the application, basis, provenance and completeness. The presentation representation must be derived from that result, rather than serving as a semantic identifier.
Integrate external capabilities
An external capability must go through the realization binding and interpretation boundary foreseen for its family. The adapter provides evidence and results within its guarantee. The semantic application determines how that information is admitted and used.
The execution, acquisition and incorporation surfaces use their own authorities and correlations. Keep typed records of each path, even when a single service hosts more than one of these functions.
Versions and verifications
Fix the Rust dependency revision and verify its consumers after updates. Generate the API documentation from the same code tree used in the build. The signatures extracted in this package’s catalog work as an index; the compiler-generated documentation provides the details of the actually compiled API.
Consult Workspace API to navigate the components found in the available implementation tree.
Providers and adapters
A provider realizes a capability required by an application. The semantic requirement describes what the operation needs; the realization binding selects a concrete capability whose revision and guarantees satisfy that requirement. The adapter organizes the interaction with the mechanism and the evidence crossing the boundary.
Define the capability
Identify the operation family, its input contract and the meaning of the output. Declare the pertinent regime of exactness, approximation, determinism and completeness. When there are external artifacts, keep their identity and revision in the binding.
The capability must express only the guarantees sustained by the boundary. A transport attestation, a sensor acquisition and an analytical output have different scopes.
Make the binding
The .fsl program keeps the requirement. The .fsp plan identifies the targets and realization choices. The binding process verifies identity, revision, compatibility and restrictions before producing an executable association.
Record the differences between mandatory requirements, limits and preferences. A preference guides the selection among admissible alternatives; a requirement participates in the candidate’s admissibility.
The platform’s own persistence follows the same shape: forma-kv-adapter binds the embedded FormaKV engine behind the storage provider port, and the revision pin is the version contract. FormaKV, the persistence engine records what that binding promises.
Preserve the correspondence
The interaction with the provider must keep application, invocation, inputs, binding and operational result. On the way back, the interpretation boundary applies the contract that constitutes the semantic result.
For acquisition, the evidence passes through the admitted observation bridge. For external execution, the invocation goes through the exposure authorization and produces an attempt. For an analysis, the output is interpreted under the analytical contract and its guarantees.
Verify the integration
Use cases with valid input, incorrect revision, altered external artifact, malformed response and incompatible correlation. Also verify interruption and unavailability. The adapter must produce outcomes that let the consumer decide the next step of the process.
Mechanisms can share transport and storage. Reuse must keep the contracts and identities of each family.
Update and migration
An update can change sources, contracts, interfaces, models or realization mechanisms. Migration identifies which of these bases changed and which consumers depend on it. The history keeps the interpretation of earlier versions.
Classify the change
A name alteration can be handled by resolution or by an alias. An interface change requires examining the guarantees used by consumers. A theory or policy change can alter consequences and judgments. A mechanism change must preserve the realized semantic contract.
Record the origin and destination identities and revisions. Describe the correspondence between referents and artifacts when there is a representation transformation.
Examine the existing results
The impact contract determines whether a result remains usable on the new basis, requires recomputation, remains historical only, or has an impact not yet determined. The analysis must consider additions and removals, including new information that comes to satisfy a query.
Historical results keep the revision that produced them. A migration can create another representation or another result under an explicit contract, keeping the binding to the origin material.
Prepare and publish
A source change uses exact bases and an accepted set of changes. Preparation produces the candidate; admission and publication introduce the authoritative state according to the contract. Concurrency is handled by the selected basis regime.
Keep the migration’s verification artifacts and the publication coordinates. Recovering an uncertain attempt must determine the earlier result before starting another publication.
Update consumers
Resolve the affected targets again, execute their verifications and examine the expected semantic differences. Keep historical references stable for queries, decisions and audits that still depend on the earlier basis.
Replacing a package version and selecting an authoritative source state follow their respective distribution and evolution contracts.
The Forma system
The Forma system brings together the FormaSL language, the development tools and the components that realize semantic applications. The language defines structures and operations. The platform offers mechanisms to execute them, present them, distribute them and integrate them with other systems.
Language and tools
The development core resolves sources, checks static contracts, elaborates applications and forwards their execution. The command-line tool and the programmatic API use these capabilities to form projects and produce results.
Modules and packages distribute reusable definitions. The manifest and the lock identify the basis selected by the project. Realization plans bind semantic requirements to resources and providers.
Platform components
Semantic interfaces present projections and operations over identified referents. Agent components use context, memory and results to conduct interactions. Network and storage capabilities transport and maintain artifacts under contracts of identity, integrity and authority.
These components share the language’s distinctions. A visual element keeps correspondence with its referent; a memory recovery keeps the origin of the information; an artifact transfer preserves its identity; an operational recording keeps its role within the executed path.
Domain applications
Applications combine reusable modules with specific contracts. A logistics solution can use shipment relations, temperature observations and quality decisions. A maintenance solution can relate equipment, inspections, restrictions and intervention requests.
The application publishes the interfaces other consumers can use. Its contracts determine inputs, results, completion conditions, lifecycle interactions and realization requirements.
Component navigation
The following pages describe responsibilities of interfaces, agents, memory, storage, network and operation. The Product catalog identifies the application sources found in the tree used by the generator. The Workspace API makes it possible to locate the corresponding Rust packages.
Semantic interfaces
A semantic interface presents information and operations of the domain while keeping correspondence with their referents. The visual projection is interpreted under a basis of context, visibility and version. User interactions are forwarded to the operations that have the contract needed to realize them.
Referents and visual elements
A screen element can represent an entity, a relation, a Claim, a decision or a result. The correspondence makes it possible to recover which semantic element is being presented and under which basis.
A row in an inspections table, for example, can point to the inspection and to the observations used in its evaluation. Ordering and pagination change the presentation, preserving the references to the elements.
View context
The view selects information by scope, time, perspective and disclosure conditions. Its contract determines which qualifications appear directly and which remain accessible by reference.
The same entity can be presented in different views to operators, quality owners and auditors. The projection keeps the basis that grounded the selection, including the relevant access policies.
Interactions and commands
An interaction can select a referent, request a query or start a governed application. The command must identify the operation, the inputs and the basis under which it will be evaluated.
The visual confirmation of an action accompanies the effective result of its operation. A recorded decision, a sent request and a concluded attempt are distinct states that the interface can present according to their contracts.
Updates
The interface can receive new projections as the application state evolves. Each presentation remains bound to its revision and to the corresponding admission. A basis change invalidates the earlier presentation; a new FormaSL evaluation is sealed and concluded under the existing contracts before its material results feed another admitted projection. The client can update the geometry and the visual scene by deltas between already admitted states, but this is not equivalent to semantically consuming incomplete prefixes of an evaluation. The RAC-L01 contract keeps this boundary closed; neither the interface’s incremental transport nor the reactive reevaluation changes the completeness regime.
When the basis of an interaction has changed since the presentation, the operation uses its admissibility contract to decide how to treat the input. The result informs the revision actually considered.
Maps and spatiality
A cartographic representation links projection elements to spatial referents. The geometry used by the map and the semantic region play their own roles. Selecting a figure can recover the referent and the situated information that grounded the projection.
Frame transformations, calibrations and perception evidence belong to the realization and observation boundaries. The interface uses the admitted results to present the domain.
Native graph topology
The architecture ratified for native graph presentation uses the typed profile project_topology_profile, derived from FormaSL computation and governed by ReadViewAdmission. N-ary relations remain a single instance with roles and incidences explicitly represented; higher-order relations and semantic references keep their identities and categories when admitted by the contract. The topology is not reconstructed on the client from containment or from textual equivalence.
The contract separates four planes: S1 (native semantic identity), S2 (admitted reference under a basis), S3 (visual occurrence based on admitted coordinates) and S4 (render slot/epoch). Graphical selection is local visual state; it does not introduce an authoring action or authority change. Changing the basis invalidates earlier visual occurrences, and stale selections are rejected in typed form.
The profile discloses only the relations, participants and incidences admitted by the view’s policy. Counts, degree and neighborhood refer to the disclosed content. A hidden relation or participant cannot reappear through layout inference. The current consequences bridge does not transport AtomApplicability (under, scope, frame, valid_at) over wire 0.2; this information is not reconstructed heuristically by the client.
The formasl-app-server host is domain-independent infrastructure for computation and admission. The ServiceNow s38 world constitutes the first operational witness, without becoming the host’s source of semantic authority. The experimental preview genealogy by containment remains distinct from the ratified native topological profile. These distinctions follow from decisions FF-01/FF-05 and R3-HOST-01..05 of the repository; the normative substitution of these sources in the new corpus still depends on the N30 gate.
Forma Sheet
Forma Sheet organizes a tabular work surface over semantic structures. The sheet can present referents, relations and results, keeping the correspondence between cells, domain information and the operations that produce them.
Tabular content and domain
A row or cell is a position of the representation. The surface’s contract identifies which semantic elements it presents. A shipments table can show the lot, the recipient, the transport condition and the result of an evaluation, each with its reference.
The visual layout can change by ordering, filtering or grouping. The identities used by later operations follow the referents and contracts, rather than depending only on the presented position.
Computation and results
The operations feeding the surface have input and output contracts. An analytical value, a query answer and a judgment can appear in distinct cells while keeping their status.
When an edit starts a transformation or a source change, the corresponding operation determines the meaning of the alteration. The visual update presents the result of that transition and its basis.
Composition with applications
A tabular surface can act as input and tracking of a larger application. Selections provide references; queries present slices; judgments display their conditions; decisions use the pertinent authority.
The integration must preserve the temporal and contextual basis of the presented information. The history of a decision can then be reconstructed from the artifacts the user actually consulted or selected.
Implementation reference
The product’s modules and contracts determine the set of operations offered by each version. The package’s code catalog identifies the surfaces found in the baseline. The specific file formats, commands and APIs must be consumed from these published interfaces, preserving their revision.
Agents
An agent uses information, capabilities and contracts to conduct an interaction or a process. In Forma, its activity can be related to Claims, observations, results, decisions and action requests with their own identities and bases.
Interaction context
The context of an interaction gathers the material selected for the task: applicable instructions, domain references, recovery results and work state. The selection keeps the origin and role of the items used.
The full history and the context delivered to an evaluation are different artifacts. A recovery can select only the material pertinent to the interaction and preserve references to the rest of the history.
Agent capabilities
A published capability identifies its inputs, its results and the realization conditions. Queries, analyses and inferences produce semantic information. Governed operations establish judgments or decisions. External action uses requests and the corresponding execution plan.
The agent can compose these operations in several steps. Each step keeps the consumed basis and the completion condition, making it possible to resume an interrupted process or examine the grounds of a result.
Authority and accountability
The requesting agent, the executor of a capability and the authority that admits the transition have their own roles. The application must identify which of them answers for each act.
A claim produced on behalf of an organization requires the pertinent representation basis. A decision leading to an external action uses the normative and operational conditions of the concrete case.
Persistent agents
Long-running processes keep state and history of tasks, results and interactions. A new evaluation uses the basis its contract selects, preserving the link with earlier evaluations.
Memory and recovery provide information for the next step. Incorporating a result into the corpus or assuming content as a Claim follow the specific semantic transitions.
Integration
The agent implementation uses the public APIs of context, memory, invocation and realization. The capability contracts continue to govern the meaning of the results, including when a language model participates in the selection or production of content.
Memory, recovery and learning
An agent’s memory organizes material that can be reused in later interactions. This material can include conversation occurrences, domain references, results, evaluations and decision records. Recovery selects what is pertinent to a task and keeps the link with its sources.
Recording and selection
The historical record keeps the material and the relations needed to reconstruct it. The context of an interaction is a selection of that material, built under criteria of task, relevance, visibility and basis validity.
The same piece of information can participate in different contexts without losing its identity. A synthesis adds its own representation, whose relation to the sources makes it possible to recover the needed details.
Recovery provenance
A recovery result identifies the found item, the origin and the pertinent selection conditions. When this result grounds an evaluation, its dependency can be kept in the application’s path.
Selecting an item for context is a usage decision. The classification of its content as a claim, observation or derived result remains bound to the origin contract.
Memory evolution
New information can add relations, update current selections or indicate that an earlier piece of information needs revision. The history keeps the references to the states and acts that produced those changes.
A reactivation uses earlier material under an identified current basis. The consumer verifies the time, context, authority and completeness conditions pertinent to the new use.
Learning
Learning produces or revises artifacts used in future evaluations, such as models, criteria or derived structures. The application identifies the origin material, the operation performed and the revision of the resulting artifact.
The later use of a learned artifact keeps its revision and its dependencies. When the change affects an authoritative source or a policy, it goes through the applicable evolution and authority contracts.
Operation
The memory surfaces must make recoverable the selected item, its basis and the role it plays in the context. The indexing and storage details belong to the realization and can evolve while preserving this semantic interface.
Network and distribution
The network transports and makes artifacts available between participants. Forma preserves the identity of the material, the revision of its contracts and the communication relations needed for interpretation. Distributing a representation and its adoption by a consumer are distinct events.
Distributed artifacts
Packages, sources, results and evidence can be distributed with references and integrity information. The recipient uses these coordinates to identify the received material and the basis that interprets it.
Distribution can produce new occurrences of transmission and reception. The transported content keeps the identity and status required by its contract.
Resolution and availability
A project dependency must be resolved to a determined artifact and revision. Availability through a network location provides a means of access; the lock and version references identify the selected material.
A location change can preserve the artifact. Replacement by another revision changes the resolution basis and requires the pertinent compatibility judgments.
States and replication
Physical replication makes representations of states or records available. The state’s contract determines its identity and historical relations. The authority and publication rules establish which transitions introduced the source used by consumers.
When participants keep different views, communication keeps the bases and access conditions. A state reconciliation is an explicit operation with its own criteria of conflict, succession and conclusion.
Failures and resumption
Distributed operation must keep the difference between unavailability, absent response, invalid content and negative semantic result. External execution attempts use their own rules of exposure and reconciliation.
Recovery uses records and stable identities to determine what was received, applied or still unresolved. Repeating a delivery preserves the relation with the original operation according to the admitted idempotency contract.
Public boundaries
The remote registry, consensus and transport capabilities are documented by their contracts and implementation surfaces. The workspace catalog identifies the components present in the baseline; the operational matrix records the paths actually verified.
Physical realization and hardware
Physical realization relates an executable plan to the devices, placement and resources needed to process it. It uses the semantic requirements of the application and the guarantees offered by the selected mechanisms.
Requirements and placement
A realization can require memory, processing capacity, latency, energy or bandwidth. The contract identifies which requirements participate in admissibility and which evidence supports the capability of the device or topology.
Placement associates components with concrete resources. The analysis must consider the dependencies between stages and the channels used to transport data and results.
Realization admission
The physical realization judgment determines whether the requirements were satisfied, whether some condition failed, or whether the available information is insufficient to conclude. The result keeps the examined basis of resources, providers and placement.
The physical capability realizes the received contract. The identities, results and semantic completion conditions remain bound to the application.
Logical budget and physical resources
Gas bounds the logical computational work. Processing time, memory and energy describe physical resources. The two sets of conditions can act on the same execution, each under its own contract.
A specialized implementation can change the organization of the computations and the physical cost to realize them. Its conformance depends on the preservation of the observables and guarantees of the executed contract.
Specialized interfaces
The hardware architecture and FISA artifacts specify the interfaces proper to this realization. Their use by an application goes through the same bindings of requirement, capability and result interpretation.
The API documentation and the baseline catalog identify the components actually present. The verifications must record the version of the hardware artifacts, the device and the profile used to realize each workload.
FormaKV, the persistence engine
A promise made to a user outlives the session. The bytes that keep that promise must outlive the crash. FormaKV is the part of the platform where the second survival happens: an embedded, durable key-value engine that the platform’s storage capability stands on.
An engine in the process, not beside it
FormaKV is a library. The application links it, hands it a directory, and the engine takes ownership of that directory. There is no socket, no protocol, and no second process to deploy, monitor, or restart; the durability guarantee runs inside the application’s own lifetime.
It is not a database. It keeps keys and values, and it knows nothing about schemas, queries, or meaning. A database layer (FormaDB, in the family’s plans) will sit above it and will inherit its guarantees rather than reimplement them.
From transaction to durable bytes
A write crosses a short path. A transaction buffers changes in memory. Commit appends the transaction to the engine’s write-ahead log and issues one fsync. When the sync returns, the commit is acknowledged; the engine’s visibility boundary is the durable prefix, so a value becomes readable at exactly the point where losing it becomes impossible short of device failure.
Writers do not wait in line for the device one at a time. Everything queued at a durability barrier shares a single sync. Under eight concurrent writers the engine measures four records per sync, which is the difference between a durability mechanism and a durability tax.
The space durability reserves
The log reserves space before using it: 8 MiB per epoch, set aside when the engine opens. An empty scope therefore occupies about 8.4 MB, and that number is a floor, not a leak. A checkpoint folds the log into sealed segments and gives the reservation back: a scope holding 300 claims went from 8.4 MB to 108 KB across one checkpoint, claims intact.
Two cost numbers must not be confused. The reservation is a capacity cost, bounded per scope and returned at checkpoint. Data amplification, bytes written per byte kept, is measured at 1.30 on the steady-state path. Reports that quote much larger factors are quoting the reservation.
What a crash takes
A crash takes the tail and only the tail. On reopen the engine validates the log frame by frame, stops at the first frame it cannot trust, cuts the file there, and reports the cut. The survivor is an exact prefix: every acknowledged write, nothing else. A commit that reached the device but whose acknowledgment never reached the caller recovers as committed, because the engine treats what validated as fact.
So a crash truncates. It never corrupts the prefix, never loses an acknowledged write, and never re-initializes a directory that already holds data.
What it costs and what it delivers
On consumer NVMe with default settings, the engine measures 3,517 durable commits per second for a single writer, with the durability barrier at 253 microseconds median, and roughly nine times the throughput at eight writers. The canonical scale run wrote a 4 GiB corpus under a 2 GiB memory cap in 467 seconds with a stable 306 MiB footprint, then reopened in 7.5 seconds to the exact prefix. On a memory filesystem the coordination alone sustains an order of magnitude more, which is why the device numbers are the honest ones for planning.
These figures come from a stated protocol: release builds, three consecutive runs that must agree, and interleaved before-and-after on the same device. The engine repository keeps the full tables, the knobs, and the rejected alternatives with their measurements.
Where it sits in the platform
Applications reach the engine through the forma-kv-adapter, which realizes the
platform’s persistence capability behind the storage provider boundary. The binding is
a revision pin of the engine repository, and the pin is the version contract: the
pinned revision passed its gate identically across three consecutive runs, and the
adapter’s own suite passes against exactly those bytes. When the engine advances,
nothing changes for an application until that application moves its pin and reruns its
gates.
Forma-Continuum, the durable execution engine
A program that steers the real world does not end in the request that spawned it. It waits on a clock, reacts to a signal, awaits an external worker that may never answer. The Forma-Continuum is the part of the platform where that waiting becomes durable: an execution engine that keeps a workflow alive across crashes, restarts and absences, because every decision it makes is already recorded before it is needed again.
The language executes; the journal decides
The engine carries no runtime of its own. It receives a .fsl program, elaborates it through the platform’s own compiler, and evaluates it with the language’s evaluation engine, in process. The Continuum adds the record around that evaluation: an append-only journal where every transition appends its events under contiguous ordinals and a monotonic generation, and a carrier state that advances with the journal. Ordering is not convention. Transition validation rejects an ordinal that skips and a generation that does not advance, and that validation is a single path shared by every backend that wants to keep a journal.
This splits authority without splitting the language. The carrier decides; the journal decides who may decide; and semantics remain the program’s own, because the payload that seeds each execution carries the exact bytes of the source, identified by the same hash the compiler computes.
Replay is not re-execution with fresh data
When the engine reopens an execution it need not re-evaluate everything: it must confirm
that every closed segment of the journal reproduces the same decisions. The evaluation
window therefore contains only what the original evaluation saw. The Scheduled/Started
pair the engine records alongside the result, and the completion marker written after the
decision, never entered the evaluation and so never enter the window. A carrier that
decides by the shape of the batch sees the same shape it saw the first time, and a journal
tamper surfaces as a divergence between the recorded command and the re-derived one, which
the engine seals as NonDeterministic and terminates.
Replay’s initial state deserves separate notice: it is the state seeded in the first event’s envelope, not the latest one. A carrier with private memory does not diverge for having slept.
The activity is the contract with the outside world
Pure workflow is deterministic by construction. The activity is what brings the world inside: the engine schedules, hands the task to a worker, and waits for a result that may arrive late, twice, or from someone who never received the task. The Continuum treats each of those arrivals as suspect until proven otherwise. A delivery carries the generation of its scheduling; an outcome validates the execution, the generation, the openness of the attempt and the actual delivery, in that order, before any transition. A late reply from an expired attempt, a duplicate for the same generation, and a result for a task that was never delivered fall into distinct typed errors, and none of them writes a line to the journal.
Time is a contract too. Each attempt has its own execution deadline; the activity has a total scheduling window and a ceiling on attempts. Expiration records the contracted timeout event, not a feigned worker failure; when the total window runs out, the event carries the discriminated cause, and the window holds even while the open attempt’s own deadline still lies in the future.
The crash is the experiment, not the exception
The conformance suite kills the engine for real. A subprocess runs the scenario to a deterministic frontier and calls abort; what survives is what SQLite committed under WAL with synchronous FULL. The scenarios all show the same shape: a crash between a recorded start and its outcome takes only the outcome away, and recovery reschedules the attempt kept by generation, so no poll reopens what was already delivered and no deadline is left unowned. The engine treats interruption as the normal regime, and the battery proving it runs identically over both journal backends.
Two backends, one law
The journal is a trait, and two keepers implement it: SQLite in durable mode and the FormaKV, the platform’s persistence engine. The conformance battery is the proof that the abstraction exists: same scenarios, same guarantees, different backends. And the layer is disciplined in the language’s direction: the Continuum’s substrates do not depend on the compiler; only the host references it, because semantics are decided by the host, not the record.
The journal speaks to the reactive world
A durable journal nobody can observe serves only the executed program itself. The reactive feed declares a source name and publishes every journal event as an occurrence: the position is the ordinal, the identity is the occurrence’s durable id, and reading checks contiguity against the consumer’s position, so a journal corrupted outside the API fails closed instead of continuing from the hole. A foreign execution’s event is never published under another’s name. On the consumer side a notification becomes an activation candidate only for whoever declared a dependency on that source, and activation passes a policy gate before it becomes an order. The cycle closes: journal, emission, declaration, candidate, gate, order.
What execution costs
The engine is embedded: it links as a library and inherits the durability of the chosen backend, with no second process. The visible cost is the journal, which grows with every decision and exists precisely to not be discarded; recovery reads closed prefixes and checks the past in windows.
A workflow that must survive asks nothing more of the infrastructure. It asks a journal that does not lie, a replay that does not invent, a delivery that accepts no stranger, and a clock that expires when the contract says. That is what the Continuum executes.
Forma Orchestrator: overview
A semantic program can state what a deployment should look like. It cannot, by itself, keep looking: somebody has to notice that the world moved, evaluate the program against the current revision, decide what work that implies, and drive the authorized part of that work to the nodes that execute it — without inventing any of the meaning involved. The Forma Orchestrator is the platform component that runs that loop. It is an operational mechanism, not a second semantics: every decision it acts on was evaluated by the FormaSL engine, every authority it forwards was produced by an owner, every observation it consumes entered through the governed acquisition chain.
The component exists as the bounded host service formasl-orchestrator (the
formasl-orchestrator crate), specified by the ratified
Forma Orchestrator v0.1 contract
and its traceability record.
The problem it solves
A desired-state program declares a target situation and the rules that derive work from the gap between target and reality. Between that declaration and a real effect on a real node there is a chain with many failure points: the evaluation can exhaust its budget; the decision can be stale by the time an effect would run; the admission of a physical realization can be refused; the dispatch can lose its acknowledgement; the coordinator itself can crash between authorizing and recording. Each of those failures has a different lawful outcome, and conflating them — retrying what may already have happened, treating a lost acknowledgement as “not applied”, reusing an admission that belonged to another context — is exactly the class of error the orchestrator is built to make impossible.
The orchestrator therefore owns one thing: the level-triggered operational cycle — activation over a designated control state, bounded evaluation of the desired artifact, coalescing of repeated wakeups, wiring of already-authorized dispatches through the execution plane, settlement of receipts, and durable checkpoint publication. It paces and forwards; it never decides meaning.
What it is made of
The v0.1 architecture, ratified as Candidate B — Hybrid Minimal Orchestrator, comprises four parts with deliberately different authorities:
- an orchestrator application authored in
.fsl— the desired-state model, reconciliation rules, rollout and governance policy live in the semantic plane; .fsprealization plans carrying authored placement preferences — physical selection authority belongs to the realization plane, not to the mechanism;- one bounded host service (
formasl-orchestrator) — activation, queueing, coalescing, bounded evaluation scheduling, dispatch wiring, operational persistence, recovery, roster handling; - per-node execution through existing carriers — dispatch crosses the C1 execution plane over declared transports to executor nodes; observation returns through C2.
The host implements no domain rules in Rust. That is a ratified boundary, not a
style preference: an automatic transcription of .fsl logic into Rust as a
performance fallback is explicitly forbidden, and no scheduling policy exists in the
mechanism — placement selection only executes what the closed selection set of the
provider law admits.
Orchestration is not semantic computation
The loop the orchestrator runs is operational: it moves work across boundaries and
records what happened at each boundary. It does not assert truth. When a cycle reports
DispatchedAndSettled, that is a statement about a settled dispatch under an admitted
receipt — not a claim that the intended semantic effect is now true in the world. When
it reports DispatchedUncertain, the uncertainty is preserved and handed to
reconciliation; no amount of retrying by the mechanism may resolve it. Claim, truth,
evaluation and observation remain distinct carriers owned by their respective
authorities; the orchestrator is a consumer of all four and a producer of none.
This also separates the orchestrator from the Forma-Continuum. The Continuum is the durable execution engine: it keeps a workflow alive across crashes with its own journal and replay laws. The orchestrator is a coordinator: it drives a reconciliation loop over a deployment’s control state, consuming the execution plane for every external crossing. The two can be composed — an orchestrator application may dispatch to a Continuum-hosted activity — but they are different mechanisms with different contracts, and neither substitutes for the other.
What v0.1 does not do
The contract’s horizon excludes, by owner decision: consensus-replicated control state, automatic coordinator failover, dynamic membership and discovery, preemption of running work, generalized adjudication of conflicting observations (CL4), and multi-tenancy. Nothing in the component may be read as providing them. Two ceilings deserve their own words because they are easy to over-read:
- Fencing is write exclusivity, not global execution exclusivity. Holding the current fence generation over the designated control state establishes that this instance’s publications win; it proves no process death, no cessation of in-flight external effects, and never re-authorizes an uncertain operation.
- Multinode is single-host, cross-process. The demonstrated reference class is one host with independent executor processes over real sockets. No cross-host duplicate-designation detection or prevention exists or is claimed (BOOT-N4); the exclusion of simultaneous provisionings is procedural — one owner act.
Where to read next
Architecture opens the mechanism plane and its six-plane
separation. The operational cycle follows one cycle
end-to-end, from .fsl evaluation to admitted receipt.
CLI and operations shows the working binary with verified
output; durability and recovery is the chapter to read
before an incident. Verification and limits
closes with the acceptance matrix, the measured performance method, and the exact
guarantee ceiling.
Forma Orchestrator: architecture
The orchestrator is deliberately thin. It has no runtime of its own, no registry of its own, no storage engine of its own and no policy of its own; what remains is a level-triggered loop that consumes five existing carriers and adds exactly one new mechanism-plane datum family. This chapter shows how that thinness is structural: the six planes that surround the orchestrator each keep their owner, and the orchestrator exists precisely at the seams between them.
Four parts, four authorities
The Hybrid Minimal architecture separates the planes that would otherwise corrupt each
other. The .fsl application owns meaning: desired state, reconciliation rules,
rollout and governance policy, evaluated by the FormaSL engine. The .fsp plans own
physical selection: bindings, requirements and authored preferences under the
provider law’s closed selection set. The host service owns pacing and wiring: the
cycle, the queue, the checkpoint, the fence. The executor nodes own effects: real
work performed on real targets, reached only through C1 dispatch, and observed only
through C2.
The six-plane separation
| Plane | Owner | Orchestrator integration point |
|---|---|---|
| Realization | .fsp/Binder + HWR-04 + the realization crate | forwards admission requests; placement per the closed selection set |
| MRS backplane | transport / time / trust / effect-adapter / mrs-terminal | consumed by providers and adapters at declared crossings |
| Execution control | C1 + DOC | typed references only; forwards within C1 law |
| Observation | C2 | observations enter only via governed acts |
| Orchestration | formasl-orchestrator (this component) | the loop, the checkpoint, the roster |
| Physical execution | host PlaneHost + the hosted runtime floor | agent realization per roster node |
The dependency law of the realization stack — realization ← provider ← transport —
applies unchanged above the orchestrator: it consumes providers that consume the
backplane, and it never absorbs, re-implements or replaces any layer. There is no
second provider registry and no EffectuationHost in this component; introducing
either would be a contract violation, not an extension.
Two heterogeneous realization scenarios are contractual, and deliberately not forced through one topology. In Scenario A (external-service realization), C1 dispatch reaches an effect-adapter over the transport, per provider family. In Scenario B (remote executor), an HWR artifact is deployed through the admission chain onto a roster node and C1 dispatch crosses the node transport. What is shared is the law: C1 authority, attempt and receipt; C2 admission; exact target designation. What diverges is the mechanism path — and no universal substrate interface is invented to hide that.
What the mechanism owns — and refuses to own
The coordinator’s jurisdiction is the operational loop: activation and repetition of the cycle, queueing, coalescing and work-in-progress control, scheduling of bounded evaluations under declared conditions, materialization and forwarding of already-authorized decisions, forwarding of admission requests, dispatch wiring between C1 and remote agents, operational checkpoints and recovery, availability detection, rollout coordination as execution of an app-authored policy, and static roster administration.
It does not own: domain meaning (.fsl), placement selection policy (.fsp and the
provider law), admission judgment (HWR), execution authorization (C1’s
owner-produced, exact-coordinate authority — an established application Decision is
semantic basis that authorizes nothing by itself), observation standing (C2), or
retry authorization beyond C1’s own law. The mechanism can order the execution of
work; it cannot decide meaning, and it cannot promote an operational fact into
semantic authority.
Reuse-first interfaces
Every interface the orchestrator touches is an existing carrier, consumed by typed
reference. The desired state arrives as the .fsl artifact revision; observed state
enters as C2 observation records with provenance; evaluation requests carry basis
revisions, budget and scope; the decision’s causal basis rides the C1 D1 authority
chain; placement arrives as application closures and conserved .fsp clauses;
targets as HWR descriptions; admission as HWR verdicts; dispatch as C1
request/operation/attempt chains over declared transports; receipts and outcome
reconciliation as C1 views; the operation journal as C1’s action journal.
The new mechanism data — and the only ones — are operational: the LoopCheckpoint
(journal position references, queue state, basis revisions — non-semantic, no
standing), the static versioned roster record, the rollout generation chain, and the
P4 composition record. Each is justified the same way: it is operational-only
bookkeeping that exists to make the loop’s own invariants checkable, and none of
them can carry semantic standing. No universal identity is created anywhere;
application, realization, operation, attempt, observation and node identities remain
their existing carriers.
The crate and its process topology
formasl-orchestrator is a small crate over large dependencies: the formasl engine
entry points (check/run) for the semantic plane; formasl-action for attempt and
observation carriers; formasl-realization for closures, admission and distributed
composition; formasl-provider, formasl-effect-adapter (the sealed transport),
formasl-resolver, formasl-result-core (owner rule references) and formasl-time
(clock domains). Internally it is four modules: coordinator (activation, the cycle,
persistence, roster and rollout), executor (the executor-side endpoint trait and the
in-process router used by the vertical path), loopback (the single-host raw-socket
primitive), and two binaries: the operational CLI formasl_orchestrator and the
executor process orch_executor.
The executor is a separate OS process by design: it binds its own port, performs its own effects, and reports honestly — including failure-after-invocation, which is reported as exposure may have occurred, never as “not applied”. The coordinator connects to it over real sockets through the MRS native profile; there is no in-process shortcut across that boundary on the productive path.
Where authority is produced (it isn’t)
A reader looking for the place where the orchestrator “decides” will not find one.
Selection happens in the closed set (unique candidate, or recorded authored
preference, or epistemic PROVIDER_AMBIGUOUS — never a tie-break). Admission is
HWR’s verdict, consumed. Dispatch authority is owner-produced and exact-coordinate;
the mechanism forwards references to it. Uncertainty is a C1 outcome class,
reconciliation-gated forever. Even the cycle’s own failure to publish is reported as
a typed persistence_error rather than absorbed. The architecture’s whole content is
in what it refuses to invent — the operational cycle shows
that discipline executing, phase by phase.
Forma Orchestrator: the operational cycle
One cycle is the whole mechanism in motion. This chapter follows a single level-triggered pass from the desired artifact to the admitted receipt, naming the law that governs each transition — because the transitions, not the data structures, are where the guarantees live.
Activation before anything
Nothing runs until an activation law is satisfied. A deployment’s control state is
born from an owner provisioning act that designates exactly one control-state root and
one authoritative roster record; the first instance opens that state and establishes
the first writer-fence generation, publishing the initial durable registration
(checkpoint, fence, roster, rollout) so that a provisioned state is complete from
birth. Every later activation is a recovery: reopen the designated state, restore
the exact request/operation/attempt identities from the durable snapshot, claim the
current fence generation by CAS, hydrate the coalescing checkpoint and the uncertain
set. Empty storage where the roster designates an existing state is a typed
ControlStateLost refusal — never a silent fresh start; unreadable records are typed
ControlStateCorrupt — never an empty operational state. An instance that cannot
open the designated state does not become coordinator.
The five phases of a cycle
EVALUATE → COALESCE → WIRE → SETTLE → CHECKPOINT
Evaluate. The cycle checks and runs the desired .fsl artifact through the
engine, inside the deployment’s declared evaluation budget (evaluation_gas —
explicit, versioned configuration, never a mechanism default). The engine’s run
outcome carries the semantic work: each recorded execution request is a lane with an
action and a serial. A desired state that does not check fails closed for that
artifact — no dispatch. An evaluation that exhausts its budget yields
EvaluationNotEstablished: the decision is not established, recorded with its
budget attribution, never consumed as established, never a trigger for effects.
Incomplete data behaves as epistemic insufficiency, never as negative fact.
Coalesce. The mechanism never depends on perfect event delivery. Each lane’s
checkpoint key is (desired artifact, action); if the checkpoint already holds a
revision at or above the current desired revision, the lane is Coalesced — one
dispatch per revision per deployment generation, duplicate wakeups collapse, and a
missed notification is covered by the next periodic rescan. Coalescing also holds for
uncertain lanes: an operation whose outcome is uncertain keeps its checkpoint entry,
so re-evaluation coalesces rather than re-drives.
Wire. A lane dispatches only under an exact-coordinate owner authority whose
currentness equals the designation’s basis revision. No authority for the exact
coordinates: PendingNoAuthority, with zero wire contact — the mechanism
auto-authorizes nothing. Before any dispatch, the lane passes the HWR admission gate:
a designation carrying an application closure dispatches only under Satisfied;
NotSatisfied and Unresolved both block with their classes preserved, and nothing
dispatches that cycle. Before wiring, housekeeping cancels staged pre-exposure
operations whose action the desired state no longer requests. And the WINDOW LAW
guards the whole ordering: a lane whose prior decision’s outcome is still uncertain
cannot be re-bound to a new desired state — after exposure authorization is frozen,
a desired-state change can no longer revalidate; the only lawful paths are pre-exposure
cancellation or reconciliation of the open resolution. A new dispatch for such a lane
is the forbidden re-drive, typed as WindowLawResolutionOpen.
Settle. The dispatch crosses C1 with the operation’s declared payload identity as
the transport body — canonical bytes cross verbatim; an owner-verified content
reference crosses with an empty body for the node to resolve. When the executor’s
ack returns and the attempt’s C1-owned outcome is accepted-pending, the coordinator
admits the provider receipt under the exact attempt coordinates. A dispatch that
never crossed the exposure boundary (no route, node unreachable) stays staged —
cancellable while the desired state still requests it. A dispatch that crossed but
came back without a usable answer is DispatchedUncertain: possible exposure, no
recollection mechanism, reconciliation-gated forever. The coordinator never settles
uncertainty by itself — not by timeout, not by silence, not by repetition.
Checkpoint. The cycle publishes its operational state durably: the C1 snapshot first (its error propagates), then the staged records, then a writer-token CAS that mints the next fence generation, then the renames, then a currency re-check. A publication that loses the fence — before, during or after the CAS window — is refused, typed, and reported; the cycle never claims success over a state another generation owns.
The causal chain, end to end
Read as one sentence: a checked .fsl revision is evaluated within a declared
budget; the engine records execution requests; an owner-produced authority exists for
the request’s exact coordinates; the HWR admission verdict admits the physical
realization; the mechanism stages and dispatches the operation through C1 over the
declared transport; the executor performs a real effect and returns a receipt; the
receipt is admitted under the exact attempt; and the checkpoint records that the lane
converged. Every arrow in that sentence is a boundary with its own law — and none of
them is an assertion of truth about the world. Settled means the dispatch settled;
what the effect made true is a matter for observation, through C2, with standing.
Convergence, staleness and the budget
The loop is level-triggered: correctness never depends on events arriving; it depends on the next cycle seeing the current desired revision. Work always targets the current revision, so a decision derived over a superseded state does not authorize an effect on the current state — the decision-staleness law. Revalidation before any effect covers every materially relevant revision, authority and realization dependency. And when evaluation cannot complete, the honest outcome is recorded and the loop keeps acting only on what is established. A cycle therefore ends in one of the typed dispositions — settled, uncertain, coalesced, pending-no-authority, admission-blocked, window-law-open, or evaluation-not-established — and the API chapter enumerates exactly what each class promises.
Forma Orchestrator: deployment and placement
Placement — the question where physical realization happens — is the territory
where a coordinator would most easily become an unauthorized scheduler. The v0.1
answer is structural: selection authority belongs to the .fsp plane under the
provider law, and the orchestrator executes what that law admits. This chapter walks
from the R3 decisions to the working objects: the deployment designation, the roster,
rollout generations, and coordinated partitions.
The placement law (R3-01)
.fsl defines requirements, meaning and semantic constraints, and gains no
implicit physical authority. Selection follows the provider contract’s closed set,
preserved verbatim by the orchestrator:
- exactly one admissible candidate → select it (uniqueness is the recorded basis);
- several candidates with a conclusive authored
.fsppreference → select and record the applied preference clause; - several remaining candidates, no conclusive preference →
UNRESOLVED(PROVIDER_AMBIGUOUS)— an epistemic outcome: the missing datum is the selection decision, never a capability fact (zero candidates is the distinct pre-dispatchPROVIDER_UNRESOLVED).
Forbidden, always: first-candidate, registration-order, name, identifier or any other deterministic tie-break; converting an unresolved set into a satisfied one; scoring preferences as independent authority. The consequence is honest: no semantically autonomous scheduler exists in v0.1. The placement mechanism executes authorized decisions and admissions; anything beyond that requires a new normative decision.
What a deployment is (the designation)
A deployment exists as a DeploymentDesignation, and every field of it is
owner-provisioned material — the mechanism fabricates nothing:
| Field | Authority |
|---|---|
deployment, control_state_root | the provisioning act’s designated identity and control-state location |
roster | the initial versioned node roster (R3-05) |
basis | the governing contract revision of the desired artifact |
adapter | the single adapter configuration this deployment binds (closed selection happened upstream) |
realizations | Binder-produced bindings, one per exact target — never minted, never retargeted |
observer | the accountable observer rule for externally-observed crossings |
evaluation_gas | the declared evaluation budget (§14) |
admission_closure | the owner-provisioned application closure; present ⇒ every dispatch is gated on the HWR verdict |
partition_closures, partition_dependencies | the P4 coordinated-realization carriers |
The per-target binding rule is a forge wall: a binding produced for target T carries T’s requirement/provider/revision correspondence, so consuming it for another target would fabricate that correspondence. Lookups are exact; a missing entry is a refusal, never a fallback.
Roster: static, explicit, versioned (R3-05)
Membership in v0.1 is a static, versioned node roster. No dynamic discovery, no consensus reconfiguration, no preemption of running work. Roster changes go through a controlled procedure that validates before mutating (empty roster, duplicate node: typed refusals), publishes the new record under the same fence-gated window as every other control-state record, and rolls the change back if publication is refused — an unpublished mutation never survives. Affected admissions are re-evaluated by construction: the admission gate runs fresh every cycle, so no stale admission outlives the version bump. Two operational facts complete the law: connectivity loss is not proof of node death — probes, heartbeats and statuses are situated operational evidence, never semantic truth — and the roster record, not the activating designation, is authoritative at every recovery.
Rollout generations (P10)
Realizations advance by admitted generations. Admitting the next generation requires
the Satisfied verdict of that generation’s own closure; any other verdict is a
typed refusal that preserves the class and leaves the chain untouched. The chain
records each generation’s closure identity with its predecessor’s, append-only, so
predecessor history is reconstructible across restarts — a lost history is a contract
violation, and a publication refusal rolls the append back. As with the roster, the
mechanism executes the app-authored rollout policy; it does not decide stage
progression or promote canary stability semantically.
Coordinated partitions (P4)
A deployment may carry one coordinated realization over several partitions. The law is
all-or-nothing with preserved classes: one plan identity (the deployment), one
placement assignment covering the closed partition set, a distinct closure with its
own admission record per partition, one shared contract revision, and every declared
cross-partition dependency inside the closed set. Every partition is judged — one
partition’s failure never short-circuits another’s judgment, so the report preserves
all verdict classes. Any structural incoherence or any non-Satisfied partition
blocks the whole deployment with zero dispatch; a valid composition is published
durably under the same fenced window, and a corrupted composition record at recovery
is typed corruption, never “no composition”. The composition record never substitutes
for a partition’s own record — the realization-plane wall.
The multi-node ceiling, stated where it is used
The demonstrated reference class for all of the above is single-host, cross-process: real executor binaries over real kernel sockets. Physical multi-node deployment is an implementation obligation stated as an obligation, not a capability; and BOOT-N4 holds everywhere: two hosts with independent control states and no shared authoritative reference are detected neither as duplicates nor as fences. The provisioning exclusion is procedural — one owner act — and activation checks are locally conclusive only against the designated record. No text in this chapter, and no green test in the matrix, extends that ceiling.
Forma Orchestrator: CLI and operations
The orchestrator ships one operational binary, formasl_orchestrator, and one
executor binary, orch_executor. The CLI has four subcommands — provision,
cycle, status, demo — and one law that shapes everything else: it fabricates
nothing. Every identity, authority and admission input is either restored from
persisted coordinates the operator passes explicitly (OwnerRuleRef::restore and
kin — restore confers no standing and mints nothing), or read from the closure
provisioning envelope verified by its own identity digest. There are no default
serials, no fallback identities, no implicit authorities; a missing required flag is
a usage refusal, never a guess.
Every example below was executed against the real binaries; outputs are verbatim.
Building and running the executor
cargo build -p formasl-orchestrator --bins
The executor is an independent OS process: it binds a loopback port, performs real local effects for the dispatches it receives, prints its port for the provisioning act, and serves until killed:
$ orch_executor <node> <effects-dir>
node=cli-node
PORT=46679
Effects land in <effects-dir>/<node>/<target>.effect, written with the exact payload
bytes that crossed the wire. The roster entry’s node label names the executor
process — the effects directory follows the executor’s own node name, and the
endpoint (ip:port) is what routes dispatches.
The four subcommands
provision is the first authorized provisioning act (BOOT-P1): it opens the
designated control state, establishes the first fence generation, and publishes the
initial durable registration — checkpoint, fence, roster, rollout — so the state is
complete from birth. It writes a production marker (provisioning.json) whose
failure to land means the provision did not happen. A second provisioning for the
same designated state is refused:
$ formasl_orchestrator provision --deployment book-example --root rel2/control ...
provisioned book-example generation Some(2)
$ formasl_orchestrator provision --deployment book-example --root rel2/control ...
activation refused: WriterExclusivityNotEstablished { root: "rel2/control" }
cycle is recovery-only: it reopens the designated state (never provisions
another one) and runs one level-triggered cycle. Against a never-provisioned root it
fails closed — the missing state is never auto-created (BOOT-N2):
$ formasl_orchestrator cycle --root rel/control ...
activation refused: ControlStateLost { designated: "rel/control" }
A working cycle evaluates the desired artifact, dispatches under the exact-coordinate authority, and settles over the real socket; a repeated cycle at the same revision coalesces with zero new exposure:
$ formasl_orchestrator cycle --root control ... --artifact plan.fsl --rev 1 --payload amount=10 --authority-origin plan-decision.fsl --authority-serial 105
DispatchedAndSettled { operation: ExecutionOperationId { origin: ContractRevisionRef { artifact: "plan.fsl", revision: 0 }, serial: 0 } }
wire_exposures 1
$ formasl_orchestrator cycle --root control ... --rev 1 ...
Coalesced { artifact: "plan.fsl", revision: 1 }
wire_exposures 0
status inspects the persisted control state — the durable fence generation and
the checkpoint entry count:
$ formasl_orchestrator status --root control
generation 6
checkpoint_entries 1
The generation is a publication counter, not a cycle counter: each cycle advances it
twice (one claim at activation, one publication at the checkpoint), so a healthy
deployment’s generation grows monotonically with activity. On a never-provisioned
root, status reports generation 0 and checkpoint_entries 0 without touching
anything.
demo exists to show the loop end-to-end with a fully synthetic designation —
fixed coordinates, no production provenance — and it says so on every run. The
separation is enforced, not just announced: the demo refuses to drive a
production-provisioned control state.
$ formasl_orchestrator demo --root demo-control --endpoint 127.0.0.1:46679 --node demo-node --target Deploy --artifact demo-desired.fsl --rev 1 --payload demo-payload
=== DEMONSTRATION MODE — synthetic designation, NO production provenance ===
DispatchedAndSettled { operation: ExecutionOperationId { origin: ContractRevisionRef { artifact: "demo-desired.fsl", revision: 0 }, serial: 0 } }
wire_exposures 1
$ formasl_orchestrator demo --root rel2/control ...
=== DEMONSTRATION MODE — synthetic designation, NO production provenance ===
demo refused: rel2/control is a PRODUCTION-provisioned control state
The demo’s reconcile-or-provision convenience exists nowhere else: the productive
cycle never provisions.
The provisioned-coordinate flag set
Because nothing is fabricated, provision and cycle require the full designation
coordinate set. The durable set (both subcommands) names the deployment, root, node,
endpoint, target, action, the basis artifact, the binding and requirement identities
with their origin artifact and serials, the candidate capability origin/revision/
serial, the runtime binding, the adapter registration serial, the observer rule
coordinates, the evaluation gas, and the provisioned outcome-classification policy —
--guarantee-claim and --not-applied-statuses are operator flags, never binary
constants. cycle adds the desired artifact, its revision, the payload, and the
authority coordinates (--authority-origin, --authority-serial). An admission
closure may be supplied with --closure as the canonical provisioning envelope;
absent, the generic path is preserved.
Omitting a required flag is a typed usage refusal:
$ formasl_orchestrator cycle --root control ... --payload amount=10
missing required --authority-origin
The exit contract
| Code | Class | Meaning |
|---|---|---|
| 0 | settled / coalesced / cancelled | the cycle’s lanes all reached definite, lawful outcomes |
| 3 | uncertainty | a lane is DispatchedUncertain or has an open window-law resolution — an exposure may have occurred |
| 4 | typed refusal | activation, admission, provision or usage-input refusal (nothing fabricated, nothing dispatched) |
| 5 | persistence error | the cycle could not durably publish — never reported as operational success |
| 64 | usage | missing or malformed required flag |
The classes dominate in a fixed order, and the order is the safety property: a mechanism refusal never masquerades as a persistence failure, and uncertainty dominates refusal — an operator must never read “typed refusal” (4) on a cycle where an exposure may have occurred. A persistence-blocked cycle demonstrates the honesty concretely: the dispatch happened (the executor performed the effect — the marker holds the payload bytes) but the exit is 5:
$ formasl_orchestrator cycle --root control ... --rev 2 --payload amount=20 ...
DispatchedAndSettled { operation: ExecutionOperationId { origin: ContractRevisionRef { artifact: "plan.fsl", revision: 0 }, serial: 1 } }
wire_exposures 1
persistence_error: checkpoint write: Is a directory (os error 21)
The remedy is the recovery path — durability and recovery walks it — never a re-provision.
Operator diagnostics
status is the first probe: a non-zero, advancing generation with a stable
checkpoint count is a healthy, converged deployment. Activation refusals are always
typed and are journaled outside the control state they could not open, in an
activation-refusals sibling directory — the record never depends on the
inaccessible state. The typed refusal names the law that fired
(ControlStateLost, ControlStateCorrupt, WriterExclusivityNotEstablished,
InitialPublicationRefused), and each maps to a distinct recovery procedure, covered
in the next chapter.
Forma Orchestrator: durability and recovery
Recovery is where coordinators earn their honesty. The v0.1 law starts from one admission: a restored state creates no new facts. Restart creates no new semantic identity; the checkpoint references journal positions instead of replacing them; a recovered operational state implies nothing about observed external effects; a stale writer cannot recover authority by replay; recovery without demonstrable exclusivity fails closed; and corrupt or incomplete data gets no optimistic defaults. Everything in this chapter is those seven invariants, made operational.
What is durable, and how it is published
The control state is a directory of small, canonically encoded records alongside the
C1 plane’s own persistence: checkpoint.tsv (the coalescing map plus a __fence
publication marker — a checkpoint without it is corruption, because recovering it as
“nothing ever dispatched” would lawfully re-drive every lane), roster.json and
rollout.json (each stamped with the generation it was published under),
composition.json (additive: absence means the deployment never coordinated a
distributed realization), and the plane’s snapshot, digest and writer-fence records.
Publication is one inter-process critical section: acquire the publication lock; verify the held fence is still the durable generation; persist the C1 snapshot first, propagating its error; stage every record to temporary files; then win the writer-token CAS against the recorded generation — the winner adopts and mints the next generation, the loser discards its staged bytes and publishes nothing; fsync and rename each record; and re-check currency after the renames, because a second coordinator can claim the next generation inside the CAS-to-rename window — a takeover there is typed and reported, never a silent success over a state another generation now owns. A rename-phase failure after a won CAS leaves the instance current (it adopted the minted generation) and free to retry lawfully; a genuinely superseded instance refuses every later publication until a lawful re-claim.
Two design consequences are worth saying aloud. The records carry the generation they were published under, so a torn publication — one rename landed, another did not — is detected at recovery (the roster and rollout records disagree about their generation) and refused as typed corruption, never silently mixed. And both records lagging the fence by one failed publication is recoverable by design: they are the last mutually coherent published state, re-stamped by the next successful publication.
Restart is reopen, not rebirth
A recovering coordinator does not “open fresh and hydrate”. It reopens the C1
plane from the durable snapshot, restoring the exact request, operation and attempt
identities of the previous generation — restore, never mint, never discard. This is
what makes late evidence adjudicable: an attempt that was uncertain before the crash
is still uncertain after it, with its exact coordinates intact, so a late
executor receipt can be admitted by those coordinates rather than by generation
bookkeeping. The recovered set of uncertain operations is rebuilt from the reopened
views (reconciliation-required and in-flight attempts survive restart); the
coalescing checkpoint is hydrated; the roster and rollout records are re-read, with
the durable record — not the activating designation — authoritative. Missing or
malformed records are typed ControlStateCorrupt per record; an empty designated
state is typed ControlStateLost. The recovery CLI path never provisions: a lost
state routes through the controlled roster procedure as an explicit operator act.
The five cases, each with its own law
The contract’s transit law exists because these cases are not the same, and each maps to a different operator response:
| Case | What is true | What the mechanism may do | What it must never do |
|---|---|---|---|
| Prepared, not yet authorized | nothing crossed | §13 cancellation, CANCELLED_NOT_EXPOSED | treat as exposed |
| Authorized, not exposed | permit single-use, D4 frozen | cancel while unconsumed | re-present a consumed permit |
| Sent, answer lost in transit | exposure may have occurred | record OUTCOME_UNCERTAIN, reconcile with admitted evidence | re-drive; read silence as “not applied” |
| Message arrives after a generation change | in-flight validity is C1’s question | C1-law adjudication by exact coordinates and idempotency | discard by generation; re-authorize by fence |
| Duplicate or late acknowledgement | replay conditions | replay settlement, zero state change | second exposure without its own permit |
The scope walls on the fence deserve their own line, because they are the most over-read guarantee in systems like this: write exclusivity is not proof of non-occurrence; a lost ack is not proof of non-execution; a new fence is not a new dispatch authority; a restart is not a new semantic world. Fence acquisition establishes publication exclusivity over the designated control state — nothing else. It never re-authorizes an operation whose outcome is uncertain: those remain reconciliation-gated regardless of who holds the fence. Resumption extends only to operations whose C1 state is definite and whose decisions revalidate against the current desired revision.
The recovery procedure, concretely
For an operator holding a refused cycle exit, the procedure is short and typed:
- Exit 5 (persistence error) — the cycle’s dispatches happened; only the
durable publication failed. Fix the publication cause (the typed detail names the
failed stage:
checkpoint write,roster record rename,fence superseded…), then run the nextcycle: activation reopens the state — mutually coherent lagging records are re-stamped — and the loop continues. Do not re-provision; do not expect the failed cycle’s checkpoint entries to exist (their absence is why the affected lanes re-evaluate lawfully). - Exit 4 with
ControlStateCorrupt— the typed detail names the record. A torn publication between the roster and rollout records, an unparsable checkpoint, or a malformed composition record each fail closed; the state is not silently rebuilt. Recovery is an explicit, journaled operator act under the roster procedure — never a parallel state. - Exit 4 with
ControlStateLost— the designated root no longer holds a state. The instance refused to present itself as a first deployment; restoring the state is the controlled procedure’s problem, and the refusal record inactivation-refusalsis the evidence of what happened. - Exit 3 (uncertainty) — nothing to restart: an uncertain operation is not re-driven by any cycle. The remedy is admitted evidence — a governed C2 observation reconciles the attempt, and only an admitted record whose referent is not conflict-shadowed can do it. A transport receipt is not automatically evidence; silence is never evidence.
A last word on scope: local durability is the proven envelope. The control state is an application-level composition above C1, owning its own law, and its persistence runs through the canonical storage plane for the MVCC/ACID envelope claim. Distributed durability of the control state is future work and is not claimed — no high-availability or exactly-once promise extends beyond what the witnesses actually demonstrate.
Forma Orchestrator: security and observability
The orchestrator’s security posture is an authority discipline more than a cryptography story: every act that could have consequences outside the mechanism is gated on something the mechanism did not produce. Observability follows the same discipline — the mechanism reports what happened at its boundaries, honestly and in typed classes, and creates observation standing for none of it.
Dispatch authority is consumed, never minted
A dispatch happens only under an owner-produced, exact-coordinate authority: the C1
D1 properties — issued by the owner, naming the exact payload, target and
currentness, already a durable control fact before the mechanism forwards anything.
An established application Decision is semantic basis that supports such an
authority and authorizes nothing by itself (C1 D2); the coordinator is never the
issuer. The CLI embodies this as its provenance law: every rule, binding and
capability identity enters through restore from persisted coordinates the operator
supplies — restore confers no standing — and the production binary contains no
test-minting paths at all.
The §12a idempotency key makes each dispatch case’s identity lossless: action,
serial and payload encode as lowercase hex under the deployment’s orch/ key-domain
prefix. Two different payloads — including payloads that differ only in bytes a
lossy text encoding would collapse — can never share a key; an action containing a
delimiter can never impersonate another action/serial pair; a distinct owner-verified
content reference never folds into another by convenience.
What gates a dispatch
Four gates stand between a semantic request and the wire, in order, and a failure of any one of them means zero exposure:
- Exact-coordinate authority — no authority for these coordinates:
PendingNoAuthority, zero wire contact. The mechanism never auto-authorizes. - HWR admission — a designation carrying an application closure dispatches only
under
Satisfied;NotSatisfiedandUnresolvedblock with their classes preserved, never conflated, and the unresolved case stays epistemic — absence of evidence is never read as a lower tier. - Window law — a lane whose prior outcome is still uncertain cannot be re-bound; the open resolution owns the lane.
- Binding exactness — the operation stages under the one binding provisioned for its exact target; a missing binding is a refusal, never a retarget.
When an invocation nevertheless occurs without authority — observed at the boundary — the mechanism records it honestly: the occurrence enters with both correlation edges unknown, the authority absence is admitted, and the standing becomes not-established. The record is the durable witness that an unauthorized invocation happened; there is no operation to re-drive and no standing laundering anywhere.
Accountability at the boundary
Every external crossing is accountable to an owner-provisioned observer rule. The
transport layer’s classification is honest by construction: once request bytes have
crossed toward the node, any later failure — head or body write, lost or malformed
response — is ambiguous (exposure may have occurred), and only a failure before
the first byte (connect refused) is a plain failure, which C1 may lawfully re-drive.
The exposure count is incremented at exactly one point — route resolved and
connection established — so wire_exposures in a cycle report is the same number
the transport primitive counted: one counting authority, no divergent copies.
Probes, heartbeats, statuses and receipts are distinct carriers, and none of them is an observation record. Availability detection produces mechanism dispositions; where observation standing is needed, the evidence enters only through a governed C2 acquisition act — session, admitted bridge, admitted record — never a mechanism write-channel. The coordinator exposes the governed acquisition surface (open session, admit bridge, record receipt, admit observation) as thin delegations; the plane owns the one journal. Conflicting observations over one referent coexist in full, the effective standing is the computed weakest grade, and only the materially dependent decisions are blocked — v0.1 has no adjudication (CL4), by ratified scope.
The cycle report as the observable record
Each cycle emits a typed, discriminative report: the evaluated revision count, the semantic request count, the per-lane dispositions, the wire exposure count, the measured phases (evaluation, admission, persistence, total loop), the budget that governed the evaluation, and — when a closure was consumed — the admission verdict with its full typed reason set, plus the per-partition verdicts and the composition identity for coordinated deployments. A persistence failure is reported as its own field, never folded into the dispositions; a mechanism refusal likewise. The operator-facing exit contract preserves exactly this separation (CLI and operations).
Two time measures deserve a word because they are deliberately never conflated: T_eval is the engine’s semantic evaluation time, gas-bounded; T_loop is the operational cycle time around it. The budget provenance is the accountability hook: every evaluation result records the budget that governed it, so a budget refusal is auditable with its attribution — and the numeric SLO profile is frozen from measurement, never invented (see verification and limits).
The trust boundary, stated plainly
Required and implemented: operational-actor identification; contextual dispatch authorization; permission and revision checks; refusal of decisions with stale foundations; authorization, execution and outcome separation; auditable history (journal and control events); replay protection; per-node responsibility isolation. Multi-tenancy is absent from v0.1 by scope decision. And the deepest boundary is the one this chapter keeps repeating in different registers: the coordinator can order the execution of authorized work and record what happened — it cannot make any of it true, observed, or authorized by itself.
Forma Orchestrator: API and outcomes
The formasl_orchestrator library surface is small because it is mostly seams: a
coordinator that owns a cycle, a designation structure that carries owner-provisioned
material, typed outcomes for every refusal path, and an executor/transport pair for
the far side of the wire. This chapter is the integration reference: what an embedder
must supply, what they get back, and what the surface will never do.
The coordinator
OrchestratorCoordinator is the mechanism. Two constructors, one per activation law:
activate_provision(designation, transport, clock, domain)— the first provisioning act: opens the designated state, mints the first fence generation, publishes the initial durable registration. Fails closed on an empty roster, an unusable root, an unclaimable fence, or a refused initial publication.activate_recover(designation, transport, clock, domain)— recovery: reopens the designated state (exact carrier identities restored, never minted), CAS-claims the current generation, hydrates checkpoint and uncertainty. Fails closed on a lost, corrupt or torn state, or a fence held by another writer.
Both refusals are the typed ActivationRefusal: ControlStateLost,
WriterExclusivityNotEstablished, InvalidDesignation, ControlStateCorrupt,
InitialPublicationRefused. Each is a distinct operational fact with a distinct
remedy; none is ever an empty operational state.
The cycle itself is run_cycle(desired, authorities, transport_exposures): desired is
the (artifact, revision, source) triplets; authorities are the exact-coordinate
dispatch authorities; the exposure counter is the same atomic the transport
increments. The result is a CycleReport — never a bare success flag.
The typed outcome vocabulary
Dispositions (per lane, in the report):
| Disposition | Contract |
|---|---|
DispatchedAndSettled { operation } | dispatched under exact coordinates; settled within the declared boundary |
DispatchedUncertain { operation } | exposure may have occurred; reconciliation-gated, never re-driven by any cycle |
PendingNoAuthority { action } | no owner authority for the exact coordinates; zero wire contact |
Coalesced { artifact, revision } | this revision already dispatched for this lane; convergence, not loss |
AdmissionBlocked { satisfied, unresolved, action } | HWR verdict refused the deployment; classes preserved, zero dispatch |
WindowLawResolutionOpen { action, operation } | the lane’s prior outcome is still uncertain; re-binding is forbidden |
EvaluationNotEstablished { detail } | the evaluation did not complete under its budget; never a trigger for effects |
The report carries the measured phases (t_eval, t_admission, t_persist,
t_loop), the governed budget, the admission verdict and per-partition verdicts with
their typed reason sets, and two fields that keep failure classes separate:
persistence_error (the durable publication was refused — the cycle’s results are
honest but the state is not current) and mechanism_refusal (a typed refusal to
judge, e.g. incoherent provisioned admission input). The exit contract of the CLI is
a direct mapping over these.
The remaining typed refusals follow the same one-class-one-law discipline:
RosterChangeRefusal (empty roster, duplicate node, refused publication — the change
rolls back), RolloutRefusal (non-Satisfied verdict with the class preserved,
refused admission input, refused publication — the chain stays untouched),
DistributedDeploymentRefusal (structural incoherence vs per-partition verdicts vs
publication — three different facts), ReconcileWithObservationRefusal
(EvidenceNotAdmitted, ConflictingObservationsPreserved, plane error), and
RetryDriveError (a stale or foreign §12e authorization is refused by C1, never
budget-augmented by the mechanism).
The reconciliation and census surface
An embedder driving the productive writers finds them as explicit methods, each
delegating to C1’s own law: reconcile and reconcile_with_observation (an
uncertain attempt resolves only through admitted C2 evidence — unadmitted evidence
is typed-refused, and a conflict-shadowed referent keeps both records and blocks the
dependent decision); cancel_superseded (staged pre-exposure operations whose action
the desired state no longer requests); replay_last_receipt and
present_duplicate_delivery (the §12a replay path — zero state change); drive_retry
(only under the owner’s §12e authorization); admit_late_receipt (FENCE-N2: the late
ack is adjudicated by exact restored coordinates, never by generation);
record_unauthorized_invocation (the honest N11 record); and the governed C2
acquisition delegations (open_acquisition_session, admit_observation_bridge,
record_observation_receipt, admit_observation_record). Read access mirrors the
boundaries: uncertain_operations, attempt_view, settled_attempt,
effective_standing, admitted_observations, composition_record, roster,
rollout_history, designation.
What an embedder must supply
The coordinator constructs nothing semantic: a sealed transport (the MRS backplane’s
request_once profile — the crate’s LoopbackRawClient is the single-host
reference primitive), a clock source with its time domain, the full
DeploymentDesignation (every field owner-provisioned, per
deployment and placement), and — per cycle — the
authorities and the desired artifacts. The executor side is one trait:
EffectHandler::perform(target, payload) -> Result<receipt bytes, failure>, served by
ExecutorEndpoint (contacts and last-payload evidence included) or by the orch_executor
process over the loopback server.
What the surface will never do
The API is a contract about absences as much as presences. No constructor mints an identity; no method converts an unresolved verdict into a satisfied one; no path re-drives an uncertain operation; no reconciliation accepts time or silence as evidence; no roster or rollout mutation survives a refused publication; no composition record substitutes for a partition’s own admission. An embedder who needs any of those behaviors needs a normative change, not a workaround — and the verification chapter shows exactly which negative witnesses hold each of these lines green.
Forma Orchestrator: verification and limits
The orchestrator’s guarantees are exactly what its witnesses demonstrate — no more. This chapter is the reader’s map of that evidence: the acceptance matrix, the census obligations, the measured performance method, and the guarantee ceiling stated in the words the ratification actually used.
The acceptance matrix
The contract defines 32 acceptance and falsification rows, each with its allowed and
forbidden outcomes, and every row maps to an executable, discriminative witness in
the crate (the live mapping lives in crates/orchestrator/WITNESS-MATRIX.md):
| Family | Rows | What the family proves |
|---|---|---|
| N1–N12 (negative) | 12 | ambiguous placement is epistemic; stale decisions never authorize; replays settle with zero change; lost acks stay uncertain; split-brain activation fails closed; restart mints nothing; unreachable nodes are typed dispositions, never death facts; conflicts coexist and block only dependents; refused admission blocks with classes preserved; exhausted budget yields not-established; unauthorized attempts are recorded with absence; invalid recovery refuses |
| P1–P10 (positive) | 10 | selection by uniqueness and by recorded authored preference; authority-gated dispatch; three-partition coordinated realization; evidence-gated reconciliation; restart with zero minted facts; desired-change re-evaluation; budget-adequate evaluation; validated, versioned, durable roster changes; reconstructible rollout generations |
| BOOT-P1, BOOT-N1–N4 | 5 | provisioning act and first fence; second provisioning refused; lost state refused; concurrent initialization — one fence, one refusal; cross-host independence is the declared ceiling, not a claim |
| FENCE-N1–N4, FENCE-P1 | 5 | stale publication refused; in-flight messages adjudicated by C1 coordinates; uncertain stays reconciliation-gated; duplicate authorization drives once; legitimate resumption touches only definite operations |
Every row is EXECUTED — a green, runnable test at the recorded commit — except
BOOT-N4, which is HONEST-BY-LAW: it is the ratified ceiling itself, witnessed by
the absence of any detection claim anywhere in the mechanism. A row whose correct
result is a declared limit is still counted; that is the point of the matrix.
Three census obligations from C1 §22 close on the reused realization and are exercised by this component’s flows: the productive cancel entry (b), the inbox-dedup productive writer (c), and the retry-budget enforcement site (d).
The witnesses
Twelve integration test files hold the evidence, each named for its territory:
vertical_path.rs (the end-to-end lane), selection_set.rs (C4 §7 cases A/B/C),
hwr_wiring.rs (the admission gate and its epistemic classes), c2_acquisition.rs
(N8/P5), n2_n7_n10_p8.rs (staleness, reachability, budget), census_fence.rs
(§22 writers, N3, N11, FENCE-N4), multinode.rs (two independent executor
processes over real sockets: dispatch, restart recovery with zero re-exposure, and
the armed lost-ack that must never re-drive), p4_three_partitions.rs (coordinated
realization with its full negative set), c6_rollout_roster.rs (P9/P10),
transport_metric.rs (one exposure counting authority), cli_e2e.rs (the binary
end-to-end, including the persistence-blocked cycle that must exit 5) and
slo_profile.rs (measurement). The coordinator’s unit tests hold the
publication-window falsification reproducers: the interleaving that must be
impossible (a concurrent claim inside the critical section is refused, not merely
detected), the rename-phase failure that must not wedge the instance, and the
lossless idempotency-key laws.
The performance method
The §14 method separates what must never be conflated: T_eval (semantic evaluation,
gas-bounded) and T_loop (the operational cycle around it), measured per cycle with
phase attribution — evaluation, admission, persistence — and recorded without
invented thresholds. The slo_profile test measures both, plus a parametrized sweep
over lanes and change rates with warmup separated from the steady regime; the
committed evidence/slo-profile.tsv and evidence/slo-sweep.tsv are the frozen
records. Two facts about those files matter to a verifier: the test writes the
profile of the build that runs it (a debug-profile workspace run re-records them
as debug — which is exactly how a later campaign’s debug gate runs once overwrote
the release-profile freeze; the traceability record documents the incident and the
re-freeze), and structural laws are asserted alongside the numbers (T_loop subsumes
T_eval and the disjoint phases). The numeric SLO profile is acceptance material for
a release gate, not a standing performance promise; a measured, reproducible
violation that a per-domain boundary change could fix escalates as a new owner
decision — there is no automatic .fsl→Rust fallback, ever.
Re-verifying the component
cargo test -p formasl-orchestrator --all-targets
cargo test -p formasl-orchestrator --release --all-targets
cargo clippy -p formasl-orchestrator --all-targets -- -D warnings
cargo fmt --all --check
bash scripts/book-publication/build_docs.sh
The release run is not optional ceremony: a release-profile dispatch defect once compiled away a side effect that every debug witness kept green, and the release SLO profile is the binding record. The documentation pipeline builds the book, projects the carriers, and refuses broken references and divergent carrier bytes.
The guarantee ceiling, in the ratified words
What v0.1 demonstrates: one active coordinator with fence-established write exclusivity over the designated control state (established, not observed); recovery that reopens rather than re-derives; level-triggered convergence with coalescing; typed refusals on every ambiguity; and a single-host, cross-process reference class with real kernel sockets.
What no text may claim: consensus replication of control state; automatic coordinator failover; dynamic membership; preemption; generalized conflict adjudication; multi-tenancy; cross-host duplicate-designation detection or prevention (BOOT-N4); global execution exclusivity from a fence; proof of process death; “not applied” readings of lost acknowledgements; high availability or exactly-once execution beyond the demonstrated guarantees; and any physical-support claim beyond the hosted x86_64-linux reference class. The witnesses hold each of these lines by failing when a mechanism tries to cross them — which is the only kind of evidence a falsification matrix can honestly give.
Application catalog
This reference identifies applications from their source modules. Operation names are declarations found in the code; the verification matrix separately records their execution.
Application organization
Domain applications combine vocabulary modules, contracts, operations and realization. The development guides describe how to organize this composition. Enumerating the baseline’s products requires the implementation tree indicated in the coverage record.
Domain examples
The examples in this set were organized by modeling problems. Each case presents its goal, the complete source and the property that must be verified.
| Case | Distinction exercised |
|---|---|
| Custody | Unity of an n-ary relation and participants’ roles. |
| Inspection | Instrumental reading and the assessment about the reading. |
| Regions | Transitive rule of containment. |
| Competences | Agent and candidate assessed for an activity. |
| Revisions | Historical basis of an evaluation. |
| Classifications | Categories situated in different schemes. |
How to verify
The sources are distributed in exemplos/, next to the book. The script verificacao/verificar_exemplos.py receives the path of the FormaSL executable and records the command, the exit code and the output of each formation verification.
The examples manifest distinguishes the formation of the model from the execution of an application. The package report keeps those classes separately, making it possible to add the execution witnesses without confusing syntactic acceptance with the expected behavior.
How to extend a case
First add the information and the application contract needed by the domain question. Define the expected result, the basis and the completion condition. Include a case that fails when the central distinction is removed.
The extension must reuse the library and the interfaces of the selected version. Keep domain changes separate from realization choices.
Custody of a load
Identify a custody transfer with its participants and roles.
Model
A transfer relates the load, the two organizations, the place and the moment. The unity of the relation makes it possible to query the same transfer by any of those roles.
module exemplos::custodia {
type Carga
type Organizacao
type Local
type Instante
relation TransferenciaCustodia {
role carga: Carga
role cedente: Organizacao
role recebedor: Organizacao
role local: Local
role momento: Instante
}
}
Verification
Formation accepts the relation with five typed roles. The execution scenario must keep the unity of the transfer when querying transferor and transferee.
The complete source is at exemplos/01-custodia/modelo.fsl in the package. The script verificacao/verificar_exemplos.py runs the formation with the indicated binary and records the result. Formation and the execution of applications are separate gates in the report.
Inspection and assessment
Separate an instrumental reading from the assessment that uses that reading.
Model
The reading is linked to the instrument and the equipment. The assessment references the reading and identifies the responsible party. The two artifacts can circulate and be revised under their own contracts.
module exemplos::inspecao {
type Equipamento
type Instrumento
type Tecnico
type Leitura
type Parecer
relation LeituraDoEquipamento {
role leitura: Leitura
role equipamento: Equipamento
role instrumento: Instrumento
}
relation ParecerSobreLeitura {
role parecer: Parecer
role leitura: Leitura
role responsavel: Tecnico
}
}
Verification
Formation preserves distinct types and roles. The execution scenario must locate which reading grounds each assessment.
The complete source is at exemplos/02-inspecao/modelo.fsl in the package. The script verificacao/verificar_exemplos.py runs the formation with the indicated binary and records the result. Formation and the execution of applications are separate gates in the report.
Containment between regions
Declare and verify the transitive rule of containment used by a spatial domain.
Model
The example’s contract defines transitive containment. If a yard contains a zone and that zone contains an inspection area, the rule derives the containment of the area in the yard.
module exemplos::regioes {
type Regiao
relation Contem {
role externa: Regiao
role interna: Regiao
}
rule ContemTransitiva using Contem(?a: Regiao, ?b: Regiao, ?c: Regiao) {
when Contem(externa: ?a, interna: ?b)
when Contem(externa: ?b, interna: ?c)
derive positive Contem(externa: ?a, interna: ?c)
}
}
Verification
Formation verifies the rule and the typed variables. The execution verification requires two admitted premises and the corresponding consequence; that layer is recorded separately in the report.
The complete source is at exemplos/03-regioes/modelo.fsl in the package. The script verificacao/verificar_exemplos.py runs the formation with the indicated binary and records the result. Formation and the execution of applications are separate gates in the report.
Competence and candidate
Represent separately the authorized person and the equipment assessed for an activity.
Model
The relations have different targets: one relates the person to the activity; the other identifies the assessment of an equipment for that activity. The authorization and admission judgments use the corresponding bases.
module exemplos::competencias {
type Pessoa
type Equipamento
type Atividade
type Avaliacao
relation CompetenciaParaAtividade {
role pessoa: Pessoa
role atividade: Atividade
}
relation AvaliacaoDoCandidato {
role avaliacao: Avaliacao
role equipamento: Equipamento
role atividade: Atividade
}
}
Verification
Formation keeps the categories distinct. The execution scenario must admit combinations in which only one of the requirements is satisfied.
The complete source is at exemplos/04-competencias/modelo.fsl in the package. The script verificacao/verificar_exemplos.py runs the formation with the indicated binary and records the result. Formation and the execution of applications are separate gates in the report.
Revisions of a procedure
Keep the relation between a procedure and the revisions used by historical evaluations.
Model
An evaluation points to the revision it used. The succession relation identifies another revision without altering that historical reference.
module exemplos::revisoes {
type Procedimento
type Revisao
type Avaliacao
relation RevisaoDe {
role revisao: Revisao
role procedimento: Procedimento
}
relation AvaliadoSob {
role avaliacao: Avaliacao
role revisao: Revisao
}
relation SucedeRevisao {
role anterior: Revisao
role posterior: Revisao
}
}
Verification
Formation preserves the typed references. The execution scenario must show evaluations under different revisions of the same procedure.
The complete source is at exemplos/05-revisoes/modelo.fsl in the package. The script verificacao/verificar_exemplos.py runs the formation with the indicated binary and records the result. Formation and the execution of applications are separate gates in the report.
Classifications in distinct schemes
Relate the same load to categories of different schemes.
Model
A load can be classified by transport requirements and by commercial categories. The reference to the scheme makes it possible to interpret each framing under the corresponding basis.
module exemplos::classificacoes {
type Carga
type Categoria
type Esquema
relation Enquadramento {
role carga: Carga
role categoria: Categoria
role esquema: Esquema
}
relation CategoriaDoEsquema {
role categoria: Categoria
role esquema: Esquema
}
}
Verification
Formation verifies the roles. The execution scenario must query the same load under two schemes without merging their categories.
The complete source is at exemplos/06-classificacoes/modelo.fsl in the package. The script verificacao/verificar_exemplos.py runs the formation with the indicated binary and records the result. Formation and the execution of applications are separate gates in the report.
Commands
The formasl tool offers formation, inspection, execution, realization, verification and distribution operations. The commands use explicitly provided sources and plans or the resolved targets of a project. The help emitted by the binary of the version in use is the reference for argument order and for each subcommand’s options.
| Command | Responsibility | Main result |
|---|---|---|
check | Verify formation and resolution of the sources. | Admitted program or typed diagnostics. |
inspect | Examine the admitted declarations. | Summary or structured representation of the program. |
run | Invoke selected applications. | Results typed per application and aggregated summary. |
realize | Resolve realization requirements and bindings. | Bound plan or typed refusal. |
analyze | Invoke the declared analytical application. | Result of the same analytical family used by run. |
test | Execute suites admitted by the test system. | Case results and aggregated receipt. |
package seal | Prepare a sealed package version. | Version directory and integrity identities. |
package verify | Verify a sealed version. | Reconstructed identity and verification results. |
serve | Host a resolved project on the interface published by the host. | Service exposing the operations admitted by its contract. |
Help and version
Consult the help of the executable available in the environment:
formasl --help
The documentation of an option must correspond to the version actually installed. The verification package records the help when it manages to execute the audited tree’s binary.
Explicit sources and project
In explicit-sources mode, the caller provides the files participating in resolution. In project mode, the manifest, the lock and the version storage determine the selected set. The contracts of check, inspect, run and realize remain the same; project mode adds the reproducible resolution of the inputs.
Interpreting run
The result of run is structured per application. Examine the result category, the interpretation basis and the completeness. The aggregated summary informs the situation of the whole selection and keeps rejected members visible — without resources or without support by the chosen path.
The reference on Outcomes and diagnostics describes the meanings the consumer must preserve.
External operations
Execution requests, observation acquisition and source incorporation use specialized surfaces. The behavior of the invocation path must be consulted in the Operational matrix, together with the implementation revision that provides it.
Formats and artifacts
The Forma formats are distributed across semantic source, realization, project, verification and machine interfaces. Each format has a defined responsibility and a version compatible with the consumers that interpret it.
| Format | Use |
|---|---|
.fsl | Declarations and data of authoritative semantic source. |
.fsp | Realization bindings, requirements, limits and preferences. |
forma.toml | Project and package manifest. |
forma.lock | Resolved dependency basis. |
*.test.toml | Verification cases admitted by the test system. |
| JSON machine document | Structured projection of results and diagnostics per the operation’s schema. |
| Sealed artifacts | Version content accompanied by integrity identities and digests. |
Source .fsl
The source unit contains a module declaration. The module organizes definitions, imports, exports and applications. The surface grammar determines identifiers, expressions, declarations and contract bodies.
A qualified name is resolved under the basis of modules and interfaces. Source references, declarations and semantic referents keep their own identities.
Realization .fsp
A realization declaration selects targets and applies clauses to the admitted slots. bind establishes a binding; require expresses a requirement; limit bounds a resource; prefer guides selection; budget sets a budget on the corresponding slot.
Specificity resolution and field schemas belong to the language version. The plan uses the semantic identities already determined by the sources.
Manifest and lock
The manifest declares the package organization, its sources, dependencies and targets. The lock records the resolved selection of artifacts. The exact fields must be obtained from the schema or project reference of the revision used.
Changing the lock changes the resolution basis. Keep the file together with the verifications executed for the project.
Machine results
Machine projections keep typed fields for identities, bases, results and diagnostics. Each schema defines the admitted fields and the compatibility rules. Interfaces that refuse unknown fields must receive exactly the schema of the corresponding version.
The textual presentation is a projection of that result. When integrating with another program, use the identifiers and structured fields published by the contract, preserving the semantic categories.
External artifacts
Analytical models, calibrations, images and other inputs can remain outside the textual source. The realization binding identifies the required version and integrity. The application keeps the correspondence between the external artifact, the requirement and the produced result.
Grammar and declarative forms
The Consolidated concrete surface gathers the lexicon, the productions, the formation and the elaboration of .fsl and .fsp, under the H1 basis and the H4, Post-H4, P8 and R2 amendments.
The EBNF file allows consulting the productions. The two source loci in reconciliation are identified in the reference; the file is not an executable parser.
Outcomes and diagnostics
The outcomes of an operation are interpreted according to its family and basis. The consumer must preserve the difference between semantic result, completion condition, reach of a branch and operational termination.
Information and judgment
| Class | Meaning |
|---|---|
EMPTY | Collection without members under the query’s criterion and basis. |
UNKNOWN | The available basis does not determine the requested content. |
UNOBSERVED | There is no pertinent observation in the selected observational basis. |
HIDDEN | Information unavailable to the observer under the disclosure conditions. |
NOT_APPLICABLE | Judgment that the target is outside the domain applicable to the contract. |
UNRESOLVED | A material semantic condition remains unresolved. |
INCONCLUSIVE | The evaluation did not establish the foreseen affirmative or negative outcomes. |
| Negative judgment | Negative result established by the producer contract’s rules. |
Non-existence and non-logical-implication require the scope, closure and conclusion regimes proper to the operation. The empty query and the absence of proof have their specific meanings.
Completeness and reach
An operation can establish a complete result under a criterion, an incomplete result with an identified gap, or completeness not yet determined. These states are relative to the selected basis.
NOT_REACHED describes a conditional stage that was not reached. The composition contract determines whether that stage was required, optional or conditional for completion.
External execution
The execution plan distinguishes failures before exposure, observed response and possible exposure with uncertain outcome. OUTCOME_UNCERTAIN keeps the determination of the external processing open. Reconciliation uses the attempt’s evidence and precedes a new dispatch when required.
SUCCEEDED_WITHIN_BOUNDARY and FAILED_NOT_APPLIED are read within the scope of the declared operational guarantee. The authorization result of the attempt is a separate axis.
Source incorporation
Incorporation uses APPLIED, NOT_APPLIED, OUTCOME_UNKNOWN and MECHANISM_FAILED. A refusal carries the responsible gate and the coordinate that failed. An applied publication provides the references to the successor and the corresponding conclusion.
Handling by the application
Declare the routing for the outcomes that can reach each consumer. A recovery, a new acquisition, a revision or a compensation has its own contract. Keep in the history the result that motivated that passage.
Standard library
The standard library modules publish reusable vocabularies and contracts. This reference was organized by source declarations, with the path and line of each signature.
World modules
The documented world vocabulary comprises classification, communication, dynamics, information, measure, money, normative, observation, party, reference, security, space and time.
The ontology, time, space, Claims, observation and dynamics chapters describe the corresponding contracts. The exact enumeration of signatures must be regenerated with the library of the publication revision.
Workspace API
The relation below identifies the Rust packages and public declarations found in the source tree used to generate this package. For details of methods, parameters and trait implementations, use the Rust documentation generated from the same revision.
The implementation tree was not made available to the local generator. The package keeps the integration guides and records the API reference generation as a pending gate.
Glossary
Admission. Judgment about a candidate’s passage through a governed boundary.
Semantic application. Binding of a contract to inputs, parameters and an interpretation basis.
Artifact. Identifiable element produced or used by a semantic or operational activity, interpreted according to its category.
Assessment. Attributable evaluation about a piece of information or a target under a determined basis.
Authority. Relation that grounds a competence or transition within a scope and applicable conditions.
Authorization. Normative position of an agent before an action or capability.
Interpretation basis. Set of references and roles that determines how a piece of information or a result is interpreted.
Resolution basis. Declarations, interfaces, revisions and rules used to resolve the program’s designators.
Claim. Situated, attributable act of assertion, with its own semantic identity.
Completeness. Meeting the completion criterion of an operation under an identified basis.
Composition. Program that relates applications, inputs, results, orderings and completion conditions.
Conformance. Meeting, or judgment of meeting, the restrictions of a validation contract.
Context. Conditions participating in the interpretation or use of a piece of information.
Semantic continuity. Reconstructible preservation of the qualifications and dependencies needed by meaning across operations and compositions.
Semantic contract. Definition of the meaning and obligations of a structure or operation.
Decision. Attributable act of selection, adjudication or assumption of a result under a basis.
Dependency. Relation identifying how a piece of information participates in the meaning or production of another.
Derivation. Relation of producing consequences according to inference rules and premises.
Effect. Occurrence considered under an explicitly causal or contractually established relation.
Elaboration. Formation of an explicit semantic representation from the resolved and admitted program.
Scope. Coverage of a piece of information, relation, rule or operation.
Semantic status. Nature of the result and the meaning its contract attributes to it.
Authoritative source state. Immutable state admitted as a source basis for later interpretations.
Execution. Concrete processing of an application or activity of a mechanism under determined conditions.
Exposure. Boundary at which the invocation to the provider has started and external acceptance became possible.
Frame. Interpretation reference for relations or quantities that depend on it.
Gas. Deterministic budget of logical computational work.
Semantic identity. Identification of the element that persists through the representations and transitions admitted by its contract.
Incorporation. Governed introduction of bindings to artifacts into an authoritative source state.
Semantic invariant. Meaning property that must remain preserved by the language’s constructs and operations.
Lineage. Historical relations between sources, representations, transformations or states.
Metagraph. Logical structure of relations, participants, roles and references to semantic elements, including higher-order ones.
Module. Unit of declaration, binding, visibility and interface of the language.
Observation. Situated epistemic access to a state, event or referent.
Ontology. Intensional artifact organizing concepts and interpretation commitments of a domain.
Role. Semantically defined position of a participant in a relation.
Perspective. Position from which an agent knows or evaluates information.
Provenance. Relation that makes it possible to reconstruct the semantic origin and the contributions of a piece of information.
Realization. Binding of semantic requirements to concrete capabilities and resources.
Referent. Semantic element designated by a resolved reference.
Region. Spatial referent used in qualitative relations.
ResultContract. Contract defining the content, status, basis, dependencies, completeness and guarantees of a result.
Retraction. Attributable act of withdrawing a position, keeping its history.
Revision. Change or historical relation between contracts, artifacts, positions or states under the corresponding regime.
StandingAnnotation. Later record qualifying the usable status of an observation under its own authority.
Static weaving. Resolution of the bindings between semantic requirements and realization choices.
Subtyping. Relation authorizing substitutive use while preserving the guarantees of the type required by the consumer.
Theory. Artifact organizing declarations and statements under an identified formalism basis.
Validation. Operation examining targets according to restrictions and a declared validation world.
View. Slice or projection of information under criteria of selection, context and disclosure.
Baseline support
Operational availability is identified per application family and per invocation path. The exact revision of the tree and the execution record of the examples accompany this package in the verification directory.
Invocation paths
The conceptual contracts of this book are separated from the implementation’s verification results. The NOT_RUN fields of the closing report identify exactly the paths that were not executed in this environment.
Reproducible verification
Use the scripts distributed in verificacao/ to rebuild the book, examine references and execute the examples over the baseline binary. Each test result must record the command, the exit code and the verified condition.
Contracts and semantic authority
The definition of FormaSL is organized by responsibilities. The constitutive commitments determine the world model’s categories. The invariants establish preservation properties. Semantic continuity governs the passage of information between operations. The architecture selects the logical representation and the boundaries that the capability contracts use.
Foundations
Purpose and scope presents the language’s identity. The World model defines its categories. The Invariants and Continuity describe the preservation obligations. These foundation texts are carried verbatim in Foundations.
Formation and representation
The Logical architecture, Types and Modules organize static formation, identities and references. Ontologies and theories handle domain commitments.
Operations and results
Operations and Situated results define producers and consumers. Composition establishes their linkages, orderings and completion conditions.
Lifecycle
Claims, Observation, External execution and Source evolution describe transitions with their own identities and authorities.
Realization and implementation
Realization binds these contracts to concrete mechanisms. The API reference and the support matrix identify the surfaces published by the implementation tree used in the package.
The succession editorial record, distributed separately from the book, relates the earlier owners to the new corpus’s responsibilities and to the verifications needed for its transfer.
Construction contracts of this edition
Authority and governance fixes precedence and jurisdiction. Identity and protected capabilities develops the product doctrine. The construction basis 0.1.0 consolidates T00–T29 and the decisions after the freeze, while QEC governs the specialized locus of query execution.
Machine schemas
The schemas describe the representations accepted at machine boundaries. Each entry below keeps the schema artifact of the revision used. The semantics of the result remains defined by the operation’s contract.
The local generation did not receive the schemas from the implementation tree. Their presence and validation are recorded separately in the closing report.
Declaration and use in the language
The declarative surface of FormaSL includes define ontology and define theory. Theory constructs provide for referencing a formalism basis and items such as use, statement and adopt. Rules, relations, validation restrictions and policies have their own declarative categories, which can participate in theories according to the applicable contracts.
The reasoning operations can select a theory or ontology as semantic basis, while queries, evaluations and transformations use the domain elements according to their contracts. The reference to the artifact and the reference to its contents remain distinguishable.
The complete syntax of these constructs belongs to the language reference. The availability of each form on the executable surface is described in the implementation support reference.
Consult the operational matrix and the grammar for the publication revision.
Claim declarations in the language
The declarative surface of .fsl includes assert claim, import claim, adopt claim, retract claim and supersede claim. The emission declaration has attribution fields, such as by, and can include for and under, besides the bindings to the roles of the asserted content. Qualifications such as based_on, valid_at, recorded_at, scope, frame and support participate in the declaration when their contracts admit them.
The adoption, retraction and succession constructs use transition contracts with the attribution and basis fields required by the language version. The syntactic reference of these constructs belongs to the definition of the concrete surface; the executable availability of each path must be consulted in the support documentation of the current implementation.
The language also offers the communication relations of std::world::communication, allowing applications to represent messages and associated occurrences. The correspondence between the content of a message, a Claim and its semantic references belongs to the contracts declared by the domain.
Consult the operational matrix and the grammar for the publication revision.
Declarations and executable availability
The .fsl surface contemplates the observe family, declared by an application signature and a contract reference. The acquisition requirements can be realized by adapters and providers bound through the realization interfaces. The concrete syntax and the applicable fields belong to the language reference and to the specialized contracts.
In the currently documented implementation, the isolated invocation of observe without an acquisition session returns NOT_ACQUIRED. It does not simulate a reading nor produce external observation. Productive acquisition uses the typed operations of session, receipts and admission foreseen by contract C2; the support documentation identifies the mechanisms and limits actually available.
This distinction allows reading the conceptual documentation as the definition of the language’s meanings and obligations, while the operational reference describes the paths that realize them in the executable version.
Consult the operational matrix and the grammar for the publication revision.
Declaration and executable capability
The concrete surface of FormaSL includes execution_request as an application family in .fsl, associated with a contract by using. The mechanism choices belong to the realization plan, while the external execution contract specifies the chain of dispatch, attempts, evidence, reconciliation and durable control.
In the documented support version, the isolated invocation of execution_request through the public run path produces the result REQUESTED under the RecordedOnly guard. This path records the request and does not, by itself, dispatch to the external system.
The programmatic surface formasl::execution_plane realizes the durable operation and attempt contracts. Its reference route uses HTTP loopback transport for controlled scenarios; the results of that route are interpreted within the scope of the bound capability and are not presented as effects of production enterprise systems. The documented surface has no dedicated CLI verb for dispatch, and the external execution plan does not by itself constitute a business or task orchestrator. In the native reference route, the adapter also has no provider cancellation channel; the CANCEL_ACKNOWLEDGED class remains representable, without being produced by that path.
The syntax of the declarations is specified in the language reference. The availability of each mechanism and the guarantee limits of the current implementation belong to the operational support documentation.
Consult the operational matrix and the grammar for the publication revision.
World model
Normative authority: the integral normative text of this foundation is carried verbatim in Foundations — this chapter is pedagogical and does not replace it.
The FormaSL world model organizes the information agents produce about a shared reality. It defines how claims, observations, evaluations, decisions and events relate, which differences exist between those categories and which conditions participate in their interpretation.
The starting point is situated information. Each agent knows part of the domain, acts under its own contexts and can reach evaluations different from those of other participants. FormaSL represents those positions in an attributable manner and lets them participate in computations, keeping their identities, qualifications and dependencies.
The world model establishes these semantic categories. The language and the architecture determine later how to declare, represent and process them.
Reality, agents and perspectives
Reality exists independently of the representations built in FormaSL. Agents have access to it through observations, received information, inferences and other forms of knowledge. Each of those paths produces information under its own conditions.
In a railway network, a maintenance crew can record that a stretch is fit for circulation, while the control center keeps an operational restriction for the same place. The positions refer to a shared infrastructure, but were produced by participants holding different responsibilities, criteria and information.
The model keeps the origin and conditions of each position. Thus the network can be analyzed from different perspectives, including situations of agreement, disagreement or incomplete information.
Agents are autonomous semantic participants. They can issue claims, observe, evaluate, decide, take commitments and perform actions within their capabilities. Their authority follows from the normative relations and the scopes applicable to each one’s activity. In this way authorship, competence, legitimacy and the possibility of acting remain distinct concepts.
Claims, communication and evaluation
A Claim is a semantically identifiable token of a situated, attributable assertion. It brings together the identity of the act of asserting, its issuer, the interpreted content and the qualifications needed to understand the claim.
The identity of a Claim belongs to the semantic act of assertion. Two people can assert the same content and produce different Claims. Conversely, a Claim can be copied, transmitted, stored and retransmitted while preserving its identity. The token, in this sense, is a semantic and historical unit; its physical representation can vary.
The communication operations have their own roles. Issuing a Claim, transmitting it, receiving it, accepting it, using it and retransmitting it are distinguishable participations. The recipient can register the reception and later produce an evaluation without becoming the issuer of the original assertion.
An evaluation expresses an agent’s position towards a Claim or propositional content. Different agents can accept, reject or otherwise evaluate the same information. Each evaluation adds a semantic relation and keeps the identity of what was evaluated.
There is also a distinction between assertion and computational result. A query can select information; an inference can produce a derived conclusion; an analysis can establish a result according to determined criteria. These results have computational status. When an agent assumes one of them as its own assertion, the new Claim incorporates its issuer and its history, keeping the relevant dependencies of the originating computation.
In the world model, assertions, evaluations, observations and computational results can refer to the same situation. Each category tells in which way the content entered the semantic domain and how it can be used.
Context, time and information access
A piece of information can vary in meaning or applicability according to the context in which it is considered. Jurisdiction, perspective, domain, authority and other scopes establish interpretation conditions. In spatial systems, the frame and the region of reference can also participate in those conditions.
An authorization to circulate on a certain railway stretch, for example, can depend on the operator, the hour and the current condition of the track. The semantic contract expresses those qualifications so that queries and decisions can use them together.
The scope delimits the applicability of the information. A query performed under a determined context presents what is pertinent to that slice; information outside it continues belonging to its respective contexts. When an operation relates frames, their compatibility and the effective transformation from one frame to another have their own meanings.
Temporal roles
Time participates in meaning in different ways. The model distinguishes, as the domain requires, the period in which information is valid, the moment of observation, the moment an agent came to know something, the time of decision and the instant of record or transaction.
An inspection can happen at 10 am, be recorded at 11 am and ground a release valid from 12 pm. Each time answers a different question about the same operation. Even when the values coincide, the temporal roles remain distinct.
The language can work with those roles according to the applicable contracts. Its concrete representation is defined by the corresponding temporal structures and operations.
Visibility and absence
Access to information depends on the observer’s position and the visibility conditions. Existing information can be out of an agent’s reach, not yet observed, or hidden by an access restriction.
The model distinguishes, when relevant, falsity, unknownness, absence of observation, hiding, non-existence and non-applicability. These categories guide the interpretation of queries and evaluations. An empty answer, for example, can follow from the selected scope or the available visibility, with a meaning different from the finding of non-existence.
Plurality, hypotheses and history
Incompatible Claims and evaluations can coexist in the same domain. Conflict is a semantic condition that can be queried, analyzed and submitted to selection or decision processes.
In the railway case, one crew can record a safety condition and another can present an incompatible evaluation. The history of each position remains available for the pertinent operations. A reconciliation, when performed, introduces a new semantic transition, with an identifiable basis and consequences.
FormaSL also works with hypothetical contexts, in which operations are evaluated under declared premises. An analysis can consider the scenario in which a stretch stays closed for six more hours and calculate circulation alternatives. Its results keep the relation with the premises used.
The base context represents the information selected for the non-hypothetical evaluation. The hypothetical context uses that basis together with its own suppositions and produces results under those conditions. A decision using those results establishes explicitly how the hypothetical scenario participates in its grounding.
The historical dimension completes this organization. Claims, evaluations and decisions can be revised or replaced for certain uses, while the earlier acts remain identifiable as part of the domain’s history.
A new evaluation about a stretch’s safety can change the current decision. The earlier evaluation remains relevant for understanding the decisions taken during its validity, even after being replaced.
Identity and semantic references
The identity of a semantic element follows the referent through names, identifiers, representations and versions, according to the rules applicable to the domain. An equipment can change its asset code and remain the same equipment; an organization can go through succession processes requiring explicit relations between earlier and later identities.
The model admits renaming, correspondence, merging, splitting, succession and contested identity. Each situation has its own conditions. References are resolved under an identifiable basis, and the correspondence between designations participates in the interpretation without automatically replacing the semantic judgment of identity.
References can also point to higher-order semantic elements. A Claim can be the object of an evaluation; a decision can refer to a policy; a revision can identify the earlier Claim it answers. In these cases, the reference keeps the identity and category of the referred element.
Distinguishing the content of a Claim from the Claim itself is especially important. Two assertions can have equivalent content, while evaluations, communications and accountabilities bind to each act of assertion separately.
Normativity and judgments
The world modeled by FormaSL contains obligations, permissions, prohibitions, commitments, policies and authority relations. These structures establish conditions of action and judgment for agents and processes.
The model distinguishes the concepts used in governed decisions:
Validation examines a target under a declared validation contract. Conformance expresses the meeting, or the judgment of meeting, that contract’s restrictions. Admission determines whether a candidate can cross a governed boundary, considering the applicable normative conditions. Authorization expresses an agent’s position towards a determined action or capability within its scope. Decision records an attributable act that selects, adjudicates or assumes a result under a declared basis.
These concepts can participate in the same process, each with its function. A railway composition can satisfy the technical checks of an equipment and still depend on an admission judgment to circulate on a determined stretch. The agent responsible for the maneuver holds, in turn, an authorization relative to the activity it will execute. The operational decision relates those elements according to the pertinent policies and authority.
The sources of authority remain attributable. Their representation in the language allows using them in evaluations and decisions, preserving the jurisdiction, conditions and history of the commitments involved.
States, actions, events and observations
The model distinguishes state, change or event, action and process. A state describes a condition; a change or event corresponds to an occurrence; an action involves performance; a process organizes related activities or events over time.
These categories participate in computations and decisions, which can lead to operations in the world. A decision to release circulation can trigger commands for the responsible railway systems. The executing system records the processing of the commands according to its interface’s guarantees.
External events and their effects are considered in the domain’s proper relations. An effect is an occurrence linked to a cause by an explicit or contractually established causal relation. Temporal precedence, alone, describes the order of events; causality describes another relation.
An observation provides epistemic access to a state or event. Sensors and inspections can record information about the track conditions after an operation. These observations are attributable to their originating mechanisms or agents and can ground new evaluations.
In this way, a sequence can relate decision, execution, event, effect and observation without losing the identity and meaning of each stage. The system works with the evidence and guarantees each passage effectively offers.
Provenance and dependency
The interpretation of information can also depend on its origin and on how it was produced.
Provenance makes it possible to reconstruct where information and artifacts came from. Derivation relates results to the operations and inputs that produced them. Support and evidence identify grounds used in evaluations. Lineage tracks successive transformations, while hypothetical dependency identifies premises of an evaluation under a scenario. Relations of causality and temporal precedence describe different bindings between events.
These relations can involve the same elements. An observation can precede a decision, serve as evidence for it and participate in the derivation of an intermediate conclusion. Each binding tells something specific about the information’s semantic path.
Crossing operations, the relevant dependencies remain reconstructible directly, by reference or through preserved elements that allow deriving them. This connects the world model to semantic continuity, responsible for preserving meaning during transformations and compositions.
Types and classifications
FormaSL distinguishes the formation of the language’s constructs, the judgments under type contracts, and the classifications made about domain entities.
The formation rules determine how the language’s constructs can be composed. Type contracts establish conditions of compatibility and substitution. A situated classification, such as the claim that a determined organization belongs to a category, is attributable semantic information and can participate in evaluations and conflicts.
Polymorphism, specialization and subtyping have their own functions in the type architecture. Substituting one type for another depends on the guarantees required by the target type’s contract.
This organization lets world classifications and type-system relations participate in computations according to their respective responsibilities.
Relation to the language’s contracts
The world model provides FormaSL’s fundamental semantic categories and relations. The semantic invariants establish the preservation obligations of those distinctions. Semantic continuity specifies their maintenance through transformations and composed operations.
The language, the logical architecture and the realization mechanisms use these contracts to define concrete operations and structures, preserving the identities, qualifications and dependencies that constitute the domain’s meaning.
Semantic invariants
Normative authority: the integral normative text of this foundation is carried verbatim in Foundations — this chapter is pedagogical and does not replace it.
The semantic invariants establish the distinctions FormaSL preserves when representing information, performing operations and composing results. They give continuity to the world model’s commitments: each element keeps its category, its identity and the qualifications needed for other operations to interpret it correctly.
An invariant defines a property of meaning, not a mandatory storage form. Different pieces of information can use the same physical structure as long as their semantic differences remain recoverable. In the same way, distinct representations can realize the same semantic contract.
The invariants apply to the boundaries where information changes representation, participates in a computation, crosses components or comes to play another role. When there is a category change or the loss of a relevant qualification, the operation’s contract expressly determines that transformation.
Truth judgments, occurrence, authority, relevance, compatibility and conflict resolution use declared information or contracts. External mechanisms can provide them through interfaces with defined guarantees, keeping the basis of each judgment identifiable.
Identity and semantic category
Each piece of information represented in FormaSL belongs to a semantic category, such as Claim, evaluation, observation, decision or derived result. These categories guide how the information can be used. A transformation keeps its origin category or performs an explicitly defined change in the contract.
Semantic identity also remains distinct from names, identifiers, memory addresses, records and serializations. An element can receive another representation without acquiring a new identity. Complementarily, two elements with equal representations can remain semantically distinct.
Consider two crews performing independent inspections of the same railway composition. Both can conclude the equipment is fit for circulation and record equivalent contents. They are two attributable claims, with their own histories and issuers. The equality of contents allows comparing them, but does not turn the two acts of assertion into one.
Assertions, evaluations and communication
A Claim identifies a situated, attributable act of assertion. The asserted content, the issuer and the pertinent qualifications compose its interpretation. The truth of the content and the evaluations made by other agents are semantic questions distinct from the Claim’s existence.
A single Claim can circulate through several systems. Issuance, transmission, reception, acceptance, use and retransmission have different roles. Reception records the information’s arrival at a recipient; acceptance expresses that recipient’s position; use characterizes its participation in another operation. Each stage keeps its identity when it is relevant to the information’s history.
Computation follows the same discipline. A query, inference, aggregation or validation produces a result defined by the performed operation. That result keeps its computational nature. When an agent assumes it as an assertion, a new attributable act arises, related to the computation it originated from.
The agent or component producing a result can also be different from the authority responsible for an assertion or decision. The roles of producer, issuer, executor and authority are determined by their respective contracts.
Context, time and visibility
Semantic information can be qualified by the context in which it applies, the interpretation frame, an agent’s perspective and different temporal roles. The invariants preserve those qualifications across the operations depending on them.
An authorization valid for a railway stretch, for example, can involve a validity interval, an operational jurisdiction and a set of circulation conditions. A query limited to another stretch can omit it from its results without changing its existence. The filter determines the answer’s scope; the record keeps its own semantic status.
Visibility follows the same distinction. Information can be hidden from an agent, not yet observed, unknown or not applicable to the evaluation. FormaSL keeps distinguishable, when represented, the states of falsity, unknownness, absence of observation, hiding, non-existence and non-applicability.
In the treatment of time, each role keeps its meaning even when two times coincide. The observation instant, the time an information becomes known, its validity period, the moment of a decision and the record of a transaction can participate in different operations.
Frames also have their own contracts. The compatibility between two frames indicates a compatibility relation; the transformation between them is an operation with identifiable conditions and results.
The revision of information joins that historical continuity. Changing, replacing or withdrawing a position changes its state or applicability, while the earlier semantic event stays distinguishable from a history in which it never existed.
Conflict and hypotheses
Incompatible assertions, evaluations and observations can coexist in the semantic model. Conflict is information available for query and analysis. An operation that selects, reconciles, revises or adjudicates positions records the corresponding transition and keeps the basis needed to interpret it.
That property also regulates the inferences performed over conflicting information. The conclusions depend on the semantic rules of the operation used; the existence of incompatibility between premises does not authorize conclusions without relation to them.
Hypothetical contexts add another evaluation modality. A scenario can assume a railway line will stay unavailable during part of the day and calculate circulation alternatives. The premises belong to the scenario and the results depending on them keep that dependency.
The later adoption of a hypothetical result in a decision or assertion requires the corresponding semantic transition. The new use keeps the information’s hypothetical origin identifiable. A hypothesis, unknown information and a future forecast play different roles and remain distinguishable.
Governance and authority
FormaSL represents capabilities, permissions, obligations, prohibitions, judgments and decisions as normative relations with their own functions. Their interpretation depends on the applicable policies, authorities, scopes and conditions.
Validation examines a target under a validation contract. Conformance characterizes meeting that contract’s restrictions. Admission determines whether a candidate can cross a determined governed boundary. Authorization describes an agent’s position towards an action or capability. Decision records the attributable act that assumes, selects or adjudicates a result under a declared basis.
These relations can integrate the same operational process. A composition can meet the technical requirements of an inspection, depend on admission to use a determined track and require the maneuver to be conducted by an authorized agent. The technical judgment, the candidate’s admission and the agent’s authorization keep their own grounds and effects.
The model also distinguishes an eligibility evaluation from the historical act establishing a decision. A valid negative result keeps its nature as a judgment; a failure of the evaluation mechanism is a different operational condition.
The semantic authority of a source, the authority of a record, the language’s formation rules and the operational permission to write are separate responsibilities. A permission to write data determines modification capability on the corresponding surface; the issuing of claims and decisions depends on its own authority basis.
Actions, occurrences and observations
States, changes, events, actions and processes have distinct semantic categories. The model makes it possible to represent them and relate them according to their contracts, including when they refer to possible or not-yet-observed events.
A decision can authorize an action, which can be forwarded to an executing system. Execution produces information according to its interface’s guarantees. External events, the effects attributed to a cause and the later observations are related by their own contracts.
For example, sending a command to release a track and confirming the command was processed describe execution stages. A later inspection can produce an observation about the track’s conditions. If an event is treated as an effect of the command, the pertinent causal relation integrates that interpretation.
The invariants preserve these passages: decision, execution, occurrence, effect and observation keep their meanings, even when they appear chained in a single process. The reference to a possible event also keeps its condition of reference until an epistemic or contractual basis establishes what is known about its occurrence.
Provenance, dependencies and reasoning artifacts
The origin of information and the relations connecting it to later results can be relevant to its interpretation. FormaSL distinguishes provenance, derivation, support, causality, temporal precedence, lineage and hypothetical dependency.
These bindings answer different questions. Provenance identifies the origin of information; derivation relates a result to the operations and premises used; support records grounds of an evaluation; causality expresses the appropriate relation between causes and occurrences. Lineage tracks transformations over time.
When a conclusion uses sensor observations, operational rules and earlier evaluations, its material dependencies remain reconstructible according to the operation’s contract. That reconstruction can use references or other support artifacts, respecting each participant’s access conditions. Traceability does not mean unrestricted visibility.
The reasoning artifacts also keep their functions. A derivation presents inference relations; a proof has the obligations proper to a proof object; a certificate declares guarantees under a contract; a trace records aspects of an execution; an explanation organizes information for interpretation. These artifacts can relate to each other without automatically assuming one another’s function.
Types, classification and substitution
FormaSL keeps three levels separate: the formation rules of the language’s constructs, the judgments established by type contracts, and the situated classifications of domain entities.
A Claim about an organization’s category belongs to the semantic world and can be evaluated or contested. The compiler’s judgment about a type belongs to the language’s contract. Each has its own criteria and participates in the corresponding operations.
Specialization, inheritance and subtyping also represent distinct relations. When a type is accepted as a substitute for another, the substitution keeps the semantic guarantees required by the target type’s consumer. Structural similarity can participate in the compatibility analysis, according to the contract, but does not by itself determine substitutability.
The typing judgments deal with the formation and use of constructs. Conformance with policies, admission and authorization belong to the governance operations described earlier.
Semantic source, realization and execution
The invariants follow information through FormaSL’s layers. The .fsl source establishes the authoritative semantic contract and data of the corpus. Its inclusion in the source determines that origin authority, while truth, issuer competence and domain judgments depend on the corresponding contracts.
The .fsp files define realization aspects. A realization binding can select resources, storage mechanisms, execution paths and operational policies. The meaning of the .fsl contract remains identifiable throughout those choices. Static weaving resolves bindings between requirements and providers within that separation.
Execution evaluates previously defined contracts against the available state and resources. Runtime results and storage writes have operational status; incorporation into the authoritative semantic source is its own transition.
FormaSL’s logical representation uses graphs and metagraphs. Its physical realization can employ tables, key-value structures, indexes, native graphs or other substrates. The conformance of those alternatives depends on preserving the semantic contracts, including identity, relations, roles and relevant qualifications. Common computational operations can also be delegated to specialized mechanisms under the same separation of responsibilities.
Bounded computation and completeness
The execution budget, called gas, establishes a deterministic limit of logical computational work. The operation keeps its meaning while the budget bounds the work available to perform it.
An execution can end with a complete result or reach the limit before satisfying its completion conditions. When that difference participates in the interpretation, the result keeps its completeness state. A partial set of results, for example, remains partial when serving as input to another operation.
The budget contract also considers the work actually performed. Charging only an external iteration does not establish a sufficient limit when that iteration can contain combinatorial work without a corresponding bound.
Thus budget consumption, completion, absence of result, false value and absence of proof remain semantically distinct situations when relevant.
Preservation across composition
The invariants hold both for isolated operations and for their composition. A query can feed an inference; the result can participate in a validation and later ground a decision. At each boundary, the categories and qualifications the next operation depends on remain reconstructible.
A transformation’s contract can preserve information, explicitly change its meaning, derive new properties, restrict scope or discard qualifications when that loss is part of the operation. Preservation depends on the required semantic use, and can happen directly, by reference, or through keeping the inputs needed for derivation.
That discipline constitutes the link between the invariants and semantic continuity. The invariants determine which differences FormaSL recognizes and preserves; continuity defines how the relevant information crosses the operations and how its transformations can be reconstructed.
Semantic continuity
Normative authority: the integral normative text of this foundation is carried verbatim in Foundations — this chapter is pedagogical and does not replace it.
Semantic continuity is the property by which FormaSL’s operations keep recoverable the information needed to interpret, verify and continue using their results. It applies to individual transformations and to sequences of operations, including the boundaries between components and realization mechanisms.
A computation can deeply modify the form of its data. It can select part of the domain, produce new relations, derive conclusions or forward results to another mechanism. Along that path, the qualifications that remain relevant to the result’s meaning stay accessible directly, by reference, or through a reconstructible derivation.
Continuity, therefore, follows the information’s semantic path. Its reference are the world model’s commitments and the language’s invariants; the physical structures used to transport or store the data can vary.
What accompanies a result
The content of a piece of information is only part of what can be needed for its interpretation. Its identity determines which semantic element an operation refers to. Attribution identifies who issued an assertion, performed an observation, produced a result, decided or executed an action. Those roles are preserved according to the effective participation of each agent or component.
The qualifications of time, context and frame indicate when and under which conditions the information applies. An observation instant, a validity period and the moment of a decision play different roles, even when they present the same value. A transformation between frames also has its own meaning, distinct from the compatibility between them.
The epistemic status tells whether determined content was asserted, observed, inferred, assumed in a hypothetical scenario or evaluated by an agent. Situations of unknownness, absence of observation and visibility restriction keep their differences. When incompatible claims exist, the conflict remains representable until an explicit operation selects, revises, reconciles or adjudicates it.
Governed results also carry a normative basis when their interpretation depends on policies, obligations, conformance, admission, authorization or decisions. The relations of provenance and dependency make it possible to reconstruct the origin of information, its derivation, the evidence used and the pertinent support or causality bindings.
In operations contributing to decisions and actions, this information forms an accountability path: it is possible to recover the relevant positions, the evaluations performed, the authority applied, the decision issued, the corresponding execution and the later observations. The path also keeps the completion condition of computations when the result can be partial.
The representation of information can change during processing. The contract determines which identities and categories remain and which undergo explicit semantic transformation, regardless of serialization, indexes or physical organization.
How transformations treat information
The contract of a semantically meaningful transformation specifies the information used, the results produced and the treatment of the relevant qualifications. FormaSL distinguishes six semantic behaviors:
| Behavior | Effect on the information |
|---|---|
| PRESERVE | Keeps the information recoverable with the same meaning. |
| TRANSFORM | Explicitly changes a qualification and keeps the elements needed to understand the change. |
| DERIVE | Produces a new property or result, with reconstructible dependencies. |
| RESTRICT | Bounds visibility, applicability, scope or domain of an operation. |
| DISCARD-EXPLICIT | Discards information according to a loss foreseen in the semantic contract. |
| NOT-APPLICABLE | Indicates that the dimension does not participate in that transformation. |
These behaviors are evaluated against the dimensions pertinent to the operation. A query can restrict the set of visible information and preserve the identity of the selected elements. An inference can derive a conclusion and keep references to the premises it depends on. A context transformation can change the spatial or temporal qualification according to its contract.
Continuity admits discarding. A projection meant to display aggregated totals, for example, can omit details that do not belong to the meaning contracted for its result. If another processing needs to verify the origin of an aggregation, the dependencies required for that verification must remain reconstructible.
The obligation is defined by the meaning and the use of the result. There is no requirement to copy all fields of all inputs to every output, nor to keep a universal representation of history or provenance.
Continuity across composition
In a composition, the result of one operation becomes the input of another. Continuity is evaluated considering the whole path: a qualification preserved at the first stage must remain recoverable while it stays necessary to interpret the composed result.
Consider a batch of medicine transported under temperature control. A sensor records a measurement outside the interval defined for a determined period. The carrier issues a Claim about the transport conditions. A quality team consults the available information, applies evaluation criteria and produces a judgment used in the decision about the batch’s destination.
The processing relates information of different natures. The measurement has origin and observation time; the Claim has its own issuer and identity; the quality criteria have scope and normative basis; the judgment keeps the information it depends on. A later decision can use that result without turning the measurement, the assertion and the evaluation into a single category.
The same sequence can involve incompatible records. The composition keeps the existence of the conflict and the conditions of its evaluation. If the decision determines the batch’s retention, the execution of that measure and the later observations add new stages to the semantic path.
Continuity makes it possible to recover the relevant chain: which information was considered, which criteria applied, what was decided, what was executed and which information became available afterwards. The applications participating in that process can use distinct mechanisms, as long as their boundaries realize the corresponding preservation contracts.
Assertions, derivations and scenarios
A Claim can cross operations of serialization, transmission, reception and storage keeping the identity of its act of assertion. Communication adds its own history when that history is relevant; reception does not change the Claim’s issuer. Two independent assertions with equivalent content remain distinguishable.
Computational derivation follows another path. An inference produces a derived semantic result, with the dependencies established by the operation’s contract. When an agent adopts that result in a new assertion, the new Claim has its own identity, issuer and history. Its relation to the earlier derivation remains available as needed.
Hypothetical contexts also keep their condition of origin. An evaluation can assume the batch stayed exposed to a determined temperature for an additional period and calculate consequences under that scenario. The results that effectively depend on that premise keep the hypothetical dependency. Results independent of the premise keep their original status.
If a hypothetical conclusion is later used as the basis of an assertion or decision, that passage has its own contract and history. The scenario, its premises and the later operation remain distinguishable.
Judgments, decisions and events
Semantic continuity also organizes the bindings between governed operations. Validation, conformance, admission and authorization have different responsibilities and can participate in varied compositions.
Validation examines a target according to a declared contract; conformance expresses the judgment of meeting that contract’s restrictions. Admission considers the conditions applicable to a candidate’s passage through a governed boundary. Authorization expresses the normative position of an agent towards an action or capability. The decision is an attributable act performed under a determined basis.
When these operations relate, each result keeps its role and ground. A valid negative judgment remains distinguishable from a failure of the mechanism responsible for the evaluation.
The decision can trigger an execution attempt. The executor produces records and results under its interface’s guarantees; external events and effects are treated according to the evidence or guarantees that make them semantically accessible. Later observations provide new information about the state of the world and can ground revisions.
In the batch example, a retention decision can be followed by forwarding an order to the stock system. The processing of that order, the actual movement of the batch and the observed confirmation of its location are related stages, with their own identities and conditions.
Continuity preserves the sequence between decision, execution, possible occurrence, effect and observation. When an occurrence is interpreted as the effect of an action, the pertinent causal relation integrates the reconstructible path.
History, representation and realization
The semantic history covers assertions, revisions, decisions, communications and records relevant to interpreting later events. Revising a position can change its present applicability and keep the binding to what had been asserted or decided earlier.
The same Claim can participate in multiple records or imports. When those record occurrences have their own meaning, their multiplicity remains recoverable, even if all of them reference the same Claim.
The physical representation can evolve without changing the identity of the semantic elements. Serializers, compilers, indexes and adapters can reorganize information, as long as they preserve the categories and relations required by the contract. The artifacts used to reconstruct the path can include provenance references, derivations, certificates, witnesses, typed traces or structured metadata, according to each one’s purpose.
The separation between source, realization and execution follows the same rule. The .fsl file establishes the authoritative semantic source; the .fsp specifies realization bindings. The choice of a backend, a plan or a resource budget can change the operational conditions without redefining the semantic contract. The output of an execution and a storage write keep their status until an appropriate transition incorporates information into the authoritative source.
Type substitutions also preserve contracts. When a value of type S can be used where T is expected, the properties the consumer of T is authorized to use remain guaranteed. An effective change of meaning belongs to an explicit semantic transformation. Type judgments stay separate from the situated classifications of domain entities.
Bounded computations and partial results
Gas establishes a deterministic budget of logical computational work. The exhaustion of that budget can end an execution before its completion condition.
When completeness participates in the meaning, the result keeps the information needed to distinguish a concluded computation from a partial one. A prefix produced before budget exhaustion can be used by other operations under appropriate contracts, keeping its partiality condition.
This makes it possible to distinguish a query that found a complete set of results from one that ended the search early. Likewise, an interrupted derivation keeps its completion state, which participates in interpreting the produced result.
Reconstruction and verification
Semantic continuity makes it possible to reconstruct the relevant path of information without depending on hidden assumptions about earlier transformations. For that, each semantically meaningful operation defines its inputs and outputs, the qualifications consumed, preserved, transformed or discarded, the dependencies produced and its failure and completion conditions.
Reconstruction can use different artifacts. A derivation makes inference relations explicit; a trace records aspects of the execution; provenance identifies origins; a proof or a certificate meets the guarantees of its specific contract. These elements complement each other according to the information each provides.
In the verification of a transformation, the analysis examines whether each piece of material information remained directly available, preserved by reference, derivable, intentionally discarded or lost. The classification can also indicate a non-applicable dimension or one whose state is still unknown. Derivable information depends on the permanence of the elements needed for the derivation.
The continuity property is satisfied when a later component can interpret and, when required, verify its result with the semantically necessary information still reconstructible, including the transformations that led to it.
Logical architecture and metagraph
Authorities: the architecture and the language-definition foundations are carried verbatim in Authorities — this chapter is pedagogical and does not replace them.
The logical architecture of FormaSL organizes entities, relations and other semantic elements in a typed role-incidence metagraph. In that structure, relations have their own unity and identity, their participants occupy contract-defined roles, and the represented elements can participate in higher-order relations.
The metagraph provides the logical organization used by the language to declare, reference, query and compose semantic structures. Its storage form is determined by the realization: tables, indexes, key-value structures and other mechanisms can represent the same elements as long as they keep the properties required by the contract.
Relations as semantic units
An n-ary relation is represented as one semantic relation instance, with participants associated to roles. The unity of the relation remains identifiable even when the realization distributes it over several physical structures.
Consider a medicine shipment organized among manufacturer, carrier and recipient. The domain can declare a shipment relation binding the transported lot, the sending organization, the logistics operator and the recipient organization. Each participant occupies its own role in that relation. The identity of the shipment lets different applications refer to the same instance without reconstructing it from isolated pairs of information.
The relation’s contract determines which participants are admitted in each role and which properties characterize their participation. It also defines, when necessary, the number of participants, the possibility of repetition, the multiplicity, the ordering and the use of positions or semantic keys.
A shipment can, for example, involve several recipients. The contract establishes whether they constitute distinct participations, whether the order of service matters and which qualifications belong to the relation as a whole or to each participation. Those decisions follow the domain’s meaning, so different relations can adopt different regimes of multiplicity and ordering.
Roles and participations
The binding of a participant to a role has a structural participation point, used by the logical representation to organize the binding. That point can receive keys and internal records, according to the mechanism employed.
The semantic identity of a participation is a distinct question. In a relation that only requires identifying the sender and the recipient, the structural bindings can suffice. In another, it can be necessary to track a specific participation across revisions, transformations or reference operations. In that case, the contract establishes the participation as a semantic referent and defines how its identity remains recognizable.
The number of declarations contributing to a relation and the number of records used to represent it are also distinct from its semantic multiplicity. Two declarations can add information about the same participation, or record different participations, according to the applicable contract.
That separation makes it possible to correlate information from different modules without confusing documentary contribution, structural binding and participation in the domain. When a correlation gathers information about a participation, the provenance of each contribution remains identifiable where relevant.
Higher-order structures
The metagraph admits typed references to relations and other semantic elements. Thus a relation can participate in another relation, and composed structures can be treated as objects of query, evaluation and transformation.
A decision to retain a batch, for example, can refer to the shipment relation, to the temperature observations and to the criteria used in the evaluation. The decision, in turn, can be referenced by a later revision. Each reference keeps the semantic type and the identity of the element it addresses.
This mechanism makes it possible to represent relations between information without reducing them to texts or generic identifiers. A reference to the Claim issued by the carrier is different from a reference to the assertion’s content; a reference to the retention decision is different from a reference to the action executed as a consequence of it.
Recursive and cyclic structures can also be part of the metagraph when admitted by the involved contracts. Their interpretation depends on the declared relations and roles. The contracts of each domain further determine which positions are asymmetric: roles such as origin, destination, owner or beneficiary can introduce semantic direction into the relations where they appear.
Identity and reference resolution
The language distinguishes origin designators, resolved semantic references and referents. A name, path or identifier is interpreted under a resolution basis. When that basis determines a referent, the language produces a typed semantic reference; when the determination still depends on additional information, the resolution obligation remains explicit.
For this reason, different modules can use the same name for distinct elements. They can also use different names for the same referent, provided the correspondence is established by the applicable resolution basis. Once resolved, the reference keeps the identity of the interpreted element, even if names, paths or physical records are reorganized.
The resolution basis has a specific function in the language. Contexts, frames, jurisdictions and ontological scopes can participate in the interpretation of the domain, but carry responsibilities different from resolving names and references.
In composition between modules, a same-target correspondence recognizes references that already designate the same semantic element. It makes it possible to gather contributions relative to that element. The reconciliation of previously distinct identities, in turn, is its own semantic operation, with an explicit contract.
That distinction also holds when an agent asserts that two domain entities are the same. The assertion can be represented, evaluated and used in the appropriate operations. The identity of the references resolved by the language continues to be determined by its resolution contract.
Content and semantic status
The presence of a structure in the metagraph indicates that it participates in the represented semantic domain. Its semantic status is determined by the category and the qualifications with which that structure appears.
A relation can be part of a Claim’s content, constitute the object of an observation, appear as a hypothetical premise or compose a derived result. Those uses keep their own meanings. The relational structure provides a way to represent and relate content; Claims, evaluations, observations and other elements express the positions taken towards it.
The same care applies to ontological categories. An entity can be classified under a determined ontological scope, while language types and contracts determine the formation and compatibility of the constructs. Ontology relations, relation contracts and inference rules can use associated structures, each with its semantic function.
This organization makes it possible to use shared relational structures for agents that adopt different classifications or interpretations. The contract of each operation determines how the pertinent positions and scopes enter the processing.
Ontologies and the interpretation of the metagraph
The metagraph provides the logical structure of entities, relations, roles and references. Ontologies and semantic theories organize the concepts and interpretation commitments under which those structures are used. An ontology is an intensional, referenciable artifact, with content interpreted according to its contract and its formalism basis.
The same shipment instance can participate in a logistics ontology and in a contractual ontology. The first organizes concepts related to transport; the second relates the shipment to the conditions of receipt and fulfillment of obligations. The references to the shipment remain stable while the categories and commitments of each ontology keep their scope.
Type and relation contracts determine the formation and participation conditions of the language. Ontological categories and situated classifications express domain interpretations. The complete treatment of those relations, of the axioms and of the composition between theories is in Ontologies and semantic theories.
Composition of modules and fragments
FormaSL modules can contribute structures that will be related in a composition. The process uses resolved references, relation contracts and correlation rules to form a result with determined meaning.
Consider two modules dealing with the same shipment. The first declares the relation with the lot and the sending organization; the second adds information about the carrier and the recipient. When both designate the same semantic instance and their contracts allow composition, the contributions can be gathered preserving the involved roles.
The treatment of overlapping contributions depends on the contract. Two pieces of information about the same role can correspond to the same participation, to distinct participations or to a correlation not yet resolved. The result keeps that condition until there is sufficient basis to determine it. Structural equality, the reading order of files and the number of physical records do not replace the correlation rules.
When the contributions belong to different contracts, an operation-specific correlation basis establishes which roles or participations can be related, under which scope and with which preservation obligations. That basis guides the composition and keeps the identity of the origin contracts.
The composition preserves the elements, the relevant qualifications and the interpretation dependencies that remain necessary. The acceptance of a contribution as input is also governed by the consuming operation’s contract. Thus, shared information can be used in new operations with scope, admissibility criteria and authority determined for each use.
When different composition orders satisfy the same completeness contract and use the same resolution, correlation and judgment bases, the results keep the semantic observables required by that contract. The incidental organization of module loading does not come to determine identity, authority or semantic precedence.
Views, projections and interpretation dependencies
Queries and projections present slices of the metagraph. A view can select relations of a determined type, participants of a role or structures applicable to a certain context. It expresses the result of that slice and keeps the qualifications needed to interpret it.
A query over the shipments destined to a distribution center, for example, can present lot, recipient and arrival forecast. The other participations of the relation remain available according to the contract and the access conditions. The slice can be used by an operational application without turning the selected structure into a new domain relation.
Beyond the referent’s identity, some operations depend on the state of an interpretation basis: the relation contract used, the version of a policy, the scope considered or the normative basis of a judgment. When those elements affect the result, the dependency keeps both the identity and the semantic role and the relevant state of the basis used.
This lets a later operation reconstruct the meaning of the received information, even when the current basis has already evolved. The continuity of a referent’s identity and the continuity of its interpretation are related, but distinct, responsibilities.
Relation to the language and the realization
The metagraph’s logical architecture belongs to the plane of the semantic contract. It is in that plane that the identity of relations, the roles, the participation criteria, the references and the composition obligations are defined.
The .fsl files constitute the authoritative semantic source. The organization into modules and files structures authorship and the resolution of designators. The topology of those files can differ from the topology of the declared semantic structures.
The .fsp files specify realization bindings for concrete capabilities and resources. Static weaving resolves those bindings, producing an executable association with the semantic contract preserved. The runtime evaluates the operations defined in that contract over the available data and resources.
In the physical representation, a relation instance can occupy several tables, records or indexes. In the same way, different relations can share storage structures. The realization keeps recoverable the identity of the instances, the typed participation, the relevant qualifications and the reference relations required by the logical model.
The metagraph thus works as the common logical structure over which the language expresses relations, performs queries and composes semantic information. The choice of execution and storage mechanisms belongs to the layers responsible for realizing those operations.
Ontologies and semantic theories
FormaSL uses ontologies to organize a domain’s concepts and interpretation commitments. An ontology establishes an identifiable semantic basis under which categories, relations and statements can be declared, related and used by applications and computational operations.
Ontologies coexist with other structures of the language. The world model establishes the fundamental semantic categories; the metagraph provides the logical organization of entities, relations, roles and references; ontologies and theories define conceptual commitments under their own interpretation bases. FormaSL’s operations use those elements according to their contracts.
This organization lets different applications share structures and referents without concentrating their interpretations in a single ontology.
Ontology as a semantic artifact
An ontology is an intensional semantic artifact, identified and referenciable, interpreted under an ontology or theory contract. The intensional character concerns the concepts and commitments organizing a domain: what its categories express, which relations are recognized and how determined statements must be interpreted.
In FormaSL, ontologies belong to the family of theory-like artifacts. A semantic theory organizes declarations, sentences, premises, rules, restrictions and other contents under an identified formalism basis. The ontology is a form of that artifact devoted to the conceptualization of a domain, with the meaning of its contents determined by the corresponding contract.
The artifact has identity and can be referenced by other declarations. Its contents are interpreted according to the applicable revision and basis. Program composition can use that reference without confusing the ontology with the module providing it or the package distributing it.
A logistics ontology, for example, can organize the concepts of shipment, load, custody, delivery and receipt. Its interpretation establishes the distinctions pertinent to the logistics domain. Different applications can use those concepts to query movements, evaluate transport conditions or relate events to contractual obligations.
Concepts and classification schemes
Concepts identify categories and meanings used in organizing a domain. A concept scheme gathers classifications and relations between concepts under a common reference, allowing different schemes to coexist.
The std::world::classification library offers a reusable basis for that modeling. It defines Concept and ConceptScheme, plus the relations ConceptInScheme, ClassifiedAs, BroaderConcept and RelatedConcept.
ClassifiedAs relates a subject, a concept and the scheme the classification belongs to. BroaderConcept represents a relation between broader and more specific concepts within a scheme; RelatedConcept associates related concepts in the same scheme. The module also contains rules deriving concept participation in their schemes from those relations and making RelatedConcept symmetric.
Consider a batch of medicine. In a regulatory scheme, it can be classified as a pharmaceutical product. In a logistics scheme, it can receive the classification of thermosensitive load. The two classifications refer to the same batch and serve different purposes. A regulatory conformance operation and a transport planning query can use those classifications under their respective schemes.
Classification and ontology have related functions. The scheme organizes concepts and classificatory associations; the ontology gathers broader commitments about the domain, possibly including sentences, relations and axioms interpreted under a formalism. An ontology’s vocabulary can be expressed by declarations and references admitted in its basis.
Ontological categories and type contracts
FormaSL distinguishes the category attributed to something in the domain from the static contracts governing the language’s constructs.
An ontological category expresses a classification or conceptual commitment within an ontology. A situated classification relates a referent to a category under determined conditions and can be part of a Claim’s content. A semantic type contract establishes the guarantees the language uses for formation, compatibility and substitution of constructs.
The same separation appears in relations. A relation’s contract defines typed roles, admissible participants and participation rules. An ontological category of a relation or role expresses a domain interpretation. A transport relation can have sender and recipient roles defined by the language contract, while a commercial ontology interprets the responsibilities those participants assume in a determined process.
A classification judgment can be revised, contested or situated in a specific ontology. The type system keeps its own identity and formation rules. The two structures can be related by explicit contracts when an operation needs to consider both.
Ontologies over the metagraph
The metagraph is the common logical representation of FormaSL’s semantic structures. It organizes relation instances, participants, roles, typed references and higher-order structures. Ontologies use that infrastructure to declare and relate their intensional content.
A shipment relation represented in the metagraph can connect the lot, the sender, the carrier and the recipient. A logistics ontology interprets that relation as part of a transport process; a contractual ontology can use the same referent to establish the meaning of delivery, acceptance and responsibility. The commitments of each ontology remain identified by their interpretation bases.
The metagraph also makes it possible to reference elements of an ontology, assertions about those elements and results depending on them. Thus an evaluation can point to a classification, a revision can refer to an earlier commitment and an inference operation can keep the declarations used as basis.
An element’s membership in the graph, its adoption by an ontology and its classification under a scheme are relations with distinct functions. Each one’s contract determines which information it adds to the interpretation.
Ontological scope
Ontological commitments can have their own scope. The scope identifies the basis under which determined categories, relations and interpretations are applicable.
In the language, that scope is distinct from the context frame, the type environment and the slice of a query or view over the metagraph. Those structures can participate in the same operation, but fulfill specific functions: an ontology establishes conceptual commitments; a frame situates the interpretation; the type environment governs static judgments; a view selects information to present or process.
The batch of medicine can be considered simultaneously by logistics, pharmaceutical and contractual ontologies. Each organizes categories pertinent to its purpose. An operation can consult information under one of them or relate commitments of several, using the involved bases explicitly.
The scope accompanies the interpretation when necessary. Revising an ontology or selecting another conceptual basis can change the conclusions admitted in a determined operation, even when the identities of the queried referents remain the same.
Theories, axioms and rules
The contents of an ontology are interpreted under a theory or formalism basis. That basis establishes the meaning of the sentences and theory relations used by the operations consuming the artifact. The pertinent vocabulary is reconstructed from the admitted declarations and references and the corresponding formal basis.
An ontological axiom expresses a commitment within that formalism. An inference rule participates in a reasoning contract and establishes conditions for producing semantic consequences. A validation restriction defines conditions to examine a target in a validation world. A governance policy establishes normative conditions for judgments and decisions.
These contents can be related and reused by an application. Each keeps the interpretation and effects defined by its function. A cardinality condition, for example, can be formulated as a constitutive guarantee of a role, an axiom of a theory or a validation restriction; its purpose determines the contract governing it.
An ontology can adopt declarations and statements under its own intensional basis. That adoption establishes membership in the artifact and keeps the identity and semantic category of the adopted elements. Situated assertions by agents and conclusions derived by computation have their own production transitions.
Relations and composition between ontologies
Ontologies can be used together through explicit relations between theories. The architecture distinguishes inclusion, extension, mapping, interpretation and refinement. Each relation has a meaning defined by the applicable theory contract.
A mapping can relate the concept of delivery in a logistics ontology to the concept of fulfillment of obligation in a contractual ontology. That relation can establish a partial or conditioned correspondence, letting an operation consider information from both bases. The referents and origin categories keep their identities.
Theory composition is different from language module composition. Importing a module makes declarations available according to visibility and resolution rules; including or relating theories establishes a semantic linkage between their contents. Likewise, an ontological correspondence has a meaning different from a name alias or a referent identity.
The language can express multiple ontologies over shared structures. The operations combining them identify which commitments were used, which relation between theories was applied and how the pertinent dependencies participate in the result.
Ontologies and reasoning
Ontologies can serve as semantic authority bases for reasoning operations. A ReasoningContract determines which premises are admitted, how they are interpreted, which consequence relation applies and under which conditions the operation is considered complete.
FormaSL offers reasoning profiles covering positive recursive deduction, stratified reasoning with negation and controlled aggregations, and positive existential rules under specific restrictions. Those profiles are selected and used according to their contracts, preserving the contents and dependencies of the produced conclusions.
A pharmaceutical ontology can provide concepts and commitments for interpreting information about a batch; an operational theory can associate that information with specific evaluation rules. Reasoning uses the premises admitted under the selected basis and produces semantic consequences attributable to the inference contract.
The consequences can be queried, related to other information and used in later operations. A decision or Claim adopting a determined result introduces its own semantic passage. In existential reasoning, the witness terms used internally by the mechanism remain distinct from the identities of domain referents.
Ontological revisions and evolution
Ontologies can evolve with the domain they describe. New concepts can be introduced, relations can receive another interpretation and earlier commitments can be revised or replaced under appropriate evolution rules.
Revisions keep identifiable bases for historical interpretation. A classification issued under a determined version of an ontology stays associated with that basis. A later operation can use another revision and, when necessary, relate the two by an explicit transition or mapping.
This also applies to theories adopted by applications. The result of an inference depends on the theory, the rules, the premise regime and the interpretation basis used. Those dependencies participate in semantic continuity and make it possible to recover the result’s meaning after changes in the corpus.
The distribution of ontologies through modules and packages is organized by FormaSL’s source and resolution infrastructure. The correspondence between artifact identities across distinct revisions is established by the references and succession relations foreseen in the corresponding contracts.
Language surface
The declarative form and the operational paths are gathered in the surface reference.
Related documentation
The Logical architecture and metagraph describes the structure over which ontological contents are represented. The World model defines the fundamental semantic categories, while Semantic invariants and Semantic continuity specify the preservation of distinctions and dependencies across operations.
Semantic operations and transitions
Authorities: the integral contracts of Query, Analysis, Reasoning and Transformation, the regime boundaries and the R2 amendment are carried verbatim in Capability and regime Authorities — this chapter is pedagogical and does not replace them.
FormaSL’s operations apply semantic contracts to the information of a domain. An operation determines how its inputs are interpreted, which relation it establishes with the results and which conditions must be satisfied for those results to be usable in other computations.
FormaSL gathers queries, analyses, inferences, transformations and governed judgments in the same semantic environment. It also allows declaring acts of assertion, decisions, hypothetical contexts and transitions relating the authoritative source to execution and to the new information obtained in the world. Each capability has its contract, its inputs and its way of producing results.
The metagraph provides the logical structure over which those operations work. Ontologies and theories offer interpretation bases; type and relation contracts determine the formation and participation conditions. Semantic continuity keeps recoverable the qualifications needed when the result of an operation comes to be part of another.
Contracts and semantic applications
An operation is defined by an identified semantic contract and an interpretation basis. The contract establishes the admitted inputs, the meaning of the computation, the nature of the results and the completion conditions. It also determines the relevant dependencies, the negative or inconclusive results and, when applicable, the authority conditions needed for its performance.
A semantic application binds that contract to determined inputs and parameters. It identifies the revision of the contract used, the resolved references and the information that must be available during the evaluation. The declaration of an application in .fsl belongs to the semantic program; its concrete execution happens later, under a realization binding and an execution instance.
Two applications can use the same definition and produce different results by receiving distinct inputs or interpretation bases. The identity of the application, the identity of each execution and the identity of the results remain recoverable according to their respective contracts.
This organization makes it possible to compose operations of different natures. A query can provide elements for an analysis; an inference can produce content for a new query; a validation can provide a judgment used in a decision. The passage between them respects the consuming operation’s contract.
Query
The query, expressed by the match family, selects and relates information under a QueryContract. Its result is a query answer, interpreted over the semantic basis used in the evaluation.
FormaSL queries entities, relation instances, roles and typed references of the metagraph. Patterns can combine relations and conditions over the participants, while projections, groupings, aggregations and orderings organize the answers. Paths can also be queried under contracts determining the admissible steps, the reuse of elements and the selection of routes.
The answer keeps the information needed to interpret its origin, its bindings and its completeness. A projection can present only part of the qualifications available in the queried basis, according to the query’s contract. A graph view produced by a query remains a view over that basis.
For example, a query over the maintenance history of a pumping station can select inspections of an equipment, relate each inspection to its responsible party and identify measurements taken during an interval. The result keeps the references needed for a later analysis to use the measurements and their production conditions.
Analysis and prediction
The analyze family applies an AnalysisContract to inputs interpreted under a defined basis. It covers analytical, statistical, algorithmic and model-based operations, including analyses over relational structures and predictions.
The contract establishes the relation between inputs and outputs, the semantic parameters of the operation and the nature of the result. An analysis can be exact, approximate or stochastic. When estimates, uncertainties, evaluation criteria or reproduction conditions participate in the meaning, those properties accompany the result.
A failure-risk analysis, for example, can use measurements, inspection history and characteristics of an asset to produce an estimate. The result has the interpretation defined by the selected model and analytical basis. It can join other operations as analytical information, keeping its origin and production conditions.
Models, training, evaluation and inference have their own identities and responsibilities. A learned artifact can be referenced by its revision; the use of that artifact in a determined execution produces a result with dependencies on the model version and the data effectively employed.
Semantic reasoning
The infer family produces semantic consequences according to a ReasoningContract. That contract identifies the theory or ontology, the applicable rules, the premise regime and the consequence relation used.
A premise is admitted under the operation’s conditions. A Claim, an observation or an analytical result can participate in an inference when the contract establishes how its content will be interpreted in that position. The produced consequence keeps its relation with the theory, the premises and the pertinent derivation.
FormaSL’s reasoning profiles include positive recursive deduction, stratified reasoning with negative conditions and aggregations, and controlled positive existential rules. Each profile defines its formation, safety, conclusion and witness-production conditions.
A maintenance theory can establish consequences about the need for an inspection from conditions observed in equipments. The inference produces the derived content under that theory. A possible intervention decision uses the result according to the deciding operation’s policy and authority.
Reasoning can also produce derivation artifacts, references to the dependencies and completeness information. Those elements make it possible to query and use the consequences without confusing the inference’s result with a new act of assertion attributable to an agent.
Semantic transformation
The transform family builds target semantic artifacts from source information, according to a TransformationContract. The contract describes the correspondence between origin and target, the formation of the new content and the treatment of the relevant qualifications.
A transformation can gather information, reorganize relations, build new instances or produce structures destined for another application. The resulting artifact has its own meaning, bound to the transformation that produced it.
The difference between query and transformation appears in the result’s contract. A query that builds a view or presents derived values continues producing a query answer. A transformation constitutes its own stage when it establishes a target artifact under a semantic correspondence between origin and target.
The transformation also declares how it treats identity, provenance, dependencies and the other material qualifications. The result can preserve properties, derive new information, explicitly change determined conditions or restrict content according to the contract.
A transformation between an inspections model and an operational evaluation structure, for example, can relate different records to a tracking artifact of an equipment. The correspondence between the source information and the built elements remains recoverable for later use.
Results and completion conditions
Each operation produces results whose semantic status follows from its contract. A query answer, an analytical value, a reasoning consequence and a conformance judgment have their own interpretations.
The result gathers, according to its nature, content, interpretation basis, dependencies, provenance and completeness information. Those dimensions form the semantic interface that lets the result be used in compositions. The presence of similar fields or structures in two results does not, by itself, establish that they can be consumed under the same contract.
Completeness indicates whether the completion criterion defined by the operation was satisfied for the considered basis. A query can end with a complete set of answers, an evaluation can remain inconclusive and an inference can produce partial results under a bounded budget. Completeness states accompany results when relevant to their use.
Gas bounds the logical computational work. Its exhaustion ends or limits an execution according to the applicable rules and keeps that condition distinguishable from semantic completion. An execution can end operationally without the operation having satisfied its completeness criterion.
Likewise, an empty query, a negative judgment, unknown information, an inconclusive result and a mechanism failure have different meanings. The producer’s contract determines which results are admissible and how they can be routed to the next operation.
Validation and governed judgments
The validate family examines a target under a ValidationContract. The evaluation considers a validation world, selection criteria and admitted restrictions, producing results and findings according to that contract’s conformance conditions.
Validation uses the world and criteria of its own operation. A conformance judgment can be used by governance processes, keeping the identity of the criteria, the evaluated information and the considered basis.
The admit, authorize and decide families perform the other roles:
- Admission examines a candidate’s passage through a governed boundary, under the applicable policies and conditions.
- Authorization evaluates an agent’s position towards a determined action or capability, considering its authority and the relevant scope.
- Decision records an attributable act of selection or adjudication under a determined normative and informational basis.
These operations can share information and judgments without losing their responsibilities. An inspection can meet an equipment’s quality restrictions, while its use in a determined activity depends on admission and on the responsible agent’s authorization. The operational decision associates the pertinent conditions to the result assumed by the decider.
The normative effectiveness of a decision is determined by the applicable governance relations. Its record constitutes an identifiable semantic event, with its own subject, responsible party, basis and time.
Assertions, revisions and semantic positions
FormaSL also has transitions that introduce or modify attributable positions.
The issuance of a Claim creates the identity of an act of assertion, binding content, issuer and interpretation conditions. The adoption of information or a result as one’s own assertion introduces a new Claim when it constitutes a new attributable act. The communication and reception of an already existing Claim keep its identity.
A position can be revised over time. Retraction, correction and replacement by succession have their own historical relations. Retraction records the position change under the pertinent authority; correction can introduce new content associated with the earlier one; succession establishes how one position comes to be considered in relation to another.
These transitions preserve the history of the assertions and the conditions in which they were used. A query over the current state can select the applicable position, while a historical query recovers the assertions and revisions that contributed to earlier decisions.
The revise family participates in the revision semantic transitions according to the corresponding contract. The evolution of the authoritative source, treated below, is an additional responsibility.
Scenarios and hypothetical evaluations
The scenario family establishes an evaluation context from a determined basis and local premises or changes. The resulting context allows executing operations over hypothetical information, keeping their relation to the origin basis.
A scenario can add hypotheses, restrict visible elements, replace information for the evaluation, introduce local content or apply hypothetical transitions authorized by its contract. The applications executed in that context produce results whose dependencies on the premises remain reconstructible.
A team responsible for water supply can evaluate the network’s operation assuming a pumping station stays unavailable during a determined period. The query over distribution routes and an analysis of the remaining capacity are performed under that hypothetical basis. Their results can support a later evaluation, preserving the origin of the premises used.
The definition of a scenario, the context instance created for a determined basis and the obtained results are different elements. The later use of a hypothetical result in an assertion or decision happens through an explicit transition, with the corresponding qualifications and dependencies.
Execution request and observation
Semantic operations can lead to actions performed by external mechanisms. The execution_request family expresses a request bound to an action contract, with inputs, requester and pertinent governance conditions.
The fulfillment of the request involves an operational boundary. An execution attempt has its own identity, executor, start conditions and result. The responsible mechanism can provide records or receipts describing the processing performed under its interface’s guarantees.
The effects occurred in the environment are interpreted by appropriate relations, including the causal basis when necessary. The observe family relates information acquired by agents, instruments or services to what was observed, keeping the relevant method, time, context and provenance.
Consider a decision requesting the shutdown of a pump. The request forwards the action to the responsible system; the execution attempt produces its operational result; a later reading can provide information about the equipment’s state. The decision, the attempt, the external event and the observation join the same semantic history through explicit relations.
The observation can participate in new evaluations, inferences and decisions. Its incorporation into the authoritative corpus follows the applicable source transition.
Evolution and incorporation into the source
The .fsl source constitutes the authoritative plan of meaning and semantic data. The execution of an operation can produce results and artifacts usable in other computations; source evolution introduces a new authoritative state under a change contract.
FormaSL distinguishes the authorship of source material, the evolution of its authoritative state and the revision of the semantic elements represented in it. A file change can produce a new source version without constituting, by itself, a new identity of each element. A semantic revision can relate historical elements without requiring physical mutation of the earlier record.
The evolve source surface describes source changes from an identified basis. The incorporate family performs the governed incorporation of information, according to the authority, acceptance and publication conditions established by the applicable contract. The result of those transitions determines when a new authoritative source comes to exist.
That separation keeps the traceability between the state used in the computation, the produced result, the decision that possibly adopted it and the source revision that received the information. It also allows keeping the different times of occurrence, observation, record and validity.
Composition of operations
A composition relates semantic applications and their dependencies. It defines how results are forwarded between stages, which conditions determine the execution paths and which results or transitions integrate its completion.
The acceptance of an input considers the type and category of the result, its semantic status, the interpretation basis, the relevant dependencies and the completeness condition. Operations with additional requirements, such as premise admission in reasoning or authority for decisions, apply their own criteria.
The composition contract distinguishes the dependency between information from the declared semantic precedence. The effective scheduling belongs to the execution and can use different strategies as long as it preserves the required conditions. When stages need to be introduced in a coupled form, the composition contract establishes that relation.
A composition also determines the treatment of alternative results, conditional stages, inconclusive results and failures. Its semantic completion depends on the results and transitions required by the contract, while the termination of an execution describes the ending of the corresponding processing.
The interruption of a stage does not eliminate already performed semantic events or external effects. Revisions, retractions and compensations are new transitions, whose relation to the earlier history remains identifiable.
Relation between source, computation and world
FormaSL’s operational path connects the semantic source to the applications and mechanisms realizing its contracts. A source is resolved and elaborated into a semantic program; applications select inputs and produce results; judgments and decisions can trigger execution requests; observations and later information can feed new operations.
When there is governed incorporation, that path produces a new source state. Each passage keeps the identities, interpretation bases, authorities and dependencies needed for semantic continuity.
The detailed reference of the language describes the syntax and parameters of each operation family. The specific contracts of query, analysis, reasoning, transformation, validation, governance and lifecycle establish their semantics and execution conditions.
Related documentation
The Logical architecture and metagraph describes the structure of the elements these operations work on. Ontologies and semantic theories presents their conceptual bases. Semantic invariants and Semantic continuity define the properties preserved when information and results cross operations and transitions.
Types, contracts and substitutability
The FormaSL type system determines how the language’s constructs are formed, which guarantees accompany their use and under which conditions a construct can take the place of another. It participates in defining entities, relations, roles, references and semantic operations, connecting the source declarations to the contracts used during computation.
Types have semantic identity, identifiable contracts and compatibility rules. The language also allows type parameters, specialization, subtyping and different forms of exposing definitions. These mechanisms are interpreted over a static environment of declarations and resolved references.
The type system operates together with the metagraph and the ontologies. The static contracts define the formation and substitution conditions of the constructs; the ontologies organize domain categories and commitments; the situated classifications express positions about concrete referents.
Formation and resolution of types
A type declaration introduces an identity recognized by the language and a contract determining the conditions of its use. Types can be referenced by qualified names, used in relation declarations or used in operation signatures. Resolution binds each reference to the pertinent declaration under a basis of modules, interfaces, imports and revisions.
FormaSL distinguishes the formation of a type expression, the validity of a declaration and the compatibility judgments between types. A well-formed expression uses resolved references and admissible arguments. A well-formed declaration meets its category’s rules. Compatibility, in turn, is determined by the guarantees and relations established by the involved contracts.
Those verifications belong to the language’s static environment. The elaboration of a program uses the admitted declarations and their resolution bases to build an explicit semantic representation, in which the relevant identities, revisions and static dependencies remain recoverable.
Identity and type contract
Type identity determines which semantic type is being referenced. The type contract establishes the guarantees other constructs can use, and its revision identifies the version of those guarantees considered in a determined judgment.
The same identity can cross contract revisions. Historical use remains bound to the revision under which it was formed, while new declarations and operations can use a later revision. The equivalence between contracts and the subtyping relation are judgments of their own, determined over the corresponding bases.
Consider an industrial maintenance domain. A declaration can introduce the type of an equipment and offer static guarantees used by relations referencing it. A contract revision can modify that type’s conditions of use. The semantic referent of an equipment and the identity of the type a construct binds to remain different questions: one describes the domain element; the other governs the construct’s formation and compatibility.
The physical representations used to realize those types can vary. The relation between a type’s semantic identity and its representation in Rust, in a serialized format or in a database is established at the appropriate realization boundaries.
Declarations, aliases and visibility
FormaSL has declarative forms for named, parameterized, distinct, opaque types and aliases. Each form determines how identity and contractual information are exposed to consumers.
A type alias adds a designation for an already existing identity. The new name participates in resolution without introducing another semantic type.
A transparent distinct type has its own identity and can expose selected information of its definition or representation. Transparency allows using the information published by the contract, preserving the type’s distinct identity.
An opaque type exposes its identity and the guarantees made available by the interface, keeping other definition details under the responsibility of the declaring module. The consumer uses the visible contract, even when the internal implementation or the representation change.
Module interfaces control the visibility of those definitions. A module can export a type with a determined set of guarantees, and another module can use it through the published interface. Alias, re-export and interface exposure have specific effects on name bindings and on the available information, preserving the identity of the referents they designate.
Parameters and polymorphism
FormaSL admits parametric polymorphism in type and relation declarations. A parameterized declaration establishes type variables that will be bound to arguments at instantiation. The parameters can have bounds, and each argument must satisfy the corresponding conditions.
That capability allows defining reusable contracts without fixing in advance all the participating types. The ClassifiedAs<T> relation of the std::world::classification library, for example, uses a parameter for the classified subject’s type, keeping the other roles associated with classification concepts and schemes.
Instantiation verifies the constructor’s resolution, the number of arguments, the formation of the provided types and the declared bounds. When a bound uses subtyping, the applicable subtyping judgment determines the argument’s admissibility.
The compatibility between different instantiations also belongs to the constructor’s contract. A subtyping relation between S and T only propagates to F<S> and F<T> when a variance or substitution rule established for F admits that passage. Thus, the parameterized type’s contract defines the guarantees available for each use.
Specialization and inheritance
Typed specialization allows declaring an explicit relation between a specialized construct and an origin construct. The specialization contract determines which structures and guarantees are inherited, reused or refined.
A maintenance application can define a general equipment type and specializations for equipments of distinct operational classes. Those specializations can share declarative aspects and add specific elements, according to the corresponding contracts.
Specialization organizes the relation between the declarations. Its use as a substitute of the origin type is determined separately by the subtyping judgment. This lets structures be reused across types even when their contracts do not authorize all the same uses.
The cycles of strict specialization follow the language’s formation rules. The recursive relations present in the metagraph, such as equipments referencing other equipments in a configuration, have their own contracts and can form cycles without altering the type identity rules.
Subtyping and safe substitution
Subtyping expresses the possibility of using an admissible element of type S where a consumer requires type T. That substitution preserves all the static guarantees the consumer of T is entitled to use.
The judgment considers the target contract’s guarantees and verifies whether the candidate type satisfies them under the applicable rules. An explicit subtyping declaration participates in that process according to the language’s acceptance conditions. There are also relations authorized by properties such as reflexivity, transitivity and rules proper to determined declaration categories.
In a maintenance system, suppose an operation accepts an equipment type whose contract ensures a determined semantic interface of identification and reference. A specialized type can be used in that position when its contract preserves those guarantees. Additional characteristics of the specialization remain available in the uses that know them, while the consuming operation can depend on the properties ensured by the required type.
Substitution can also involve relation and role contracts. When a relation requires certain guarantees of participation, cardinality, multiplicity or ordering, the corresponding static rules need to be considered to preserve what its consumers use.
Conversion is a different operation. It establishes how to produce a target construct from another, under its own contract. Subtyping, in contrast, authorizes the substitutive use of a construct within the already established guarantees.
Types and relation contracts
Relation contracts use the type system to define admissible participants and references to semantic elements. A role can indicate a participant type or use another admissibility contract appropriate to the relation.
In the typed role-incidence metagraph, participants can be entities, relations or other referents admitted by the formation rules. An inspection relation, for example, can define roles for the inspected equipment, the responsible party and the recorded result. Typing contributes so that each participation is formed according to its contract.
Participation rules cover, when material, number of occurrences, multiplicity, repetition, ordering, keys and qualifications associated with the roles. Those guarantees belong to the relation’s contract and are expressed under its semantic unity of counting and correlation.
A validation restriction can later examine a set of information under specific criteria. An ontological axiom can establish conditions interpreted within a theory. A constitutive participation guarantee defines what the relation admits or requires in its own formation. The three structures use related information, each under the contract responsible for its interpretation.
Types, ontologies and situated classifications
An ontological category represents a conceptual commitment under an ontology. A situated classification relates a referent to a category in a determined scheme, context or attributable position. The language type participates in static judgments about declarations and constructs.
An equipment can be classified as critical by an operation team and receive another evaluation under a maintenance scheme. Those positions can coexist and change over time. The typed declarations used to represent the equipment and the relations it participates in keep their identity and contracts.
An application can query situated classifications and use them in analyses, inferences, validations or decisions. The operations interpret those classifications as domain information. The static type rules continue being determined by the environment of resolved declarations and contracts.
That separation also guides the use of ontological concepts in typed relations. A correspondence between an ontological category and a type can be declared or used by an operation under its own contract, respecting the meaning of both.
Typing, results and governance
Typed formation is one of the conditions for using a construct in a semantic operation. Other judgments apply their own contracts over inputs and results.
Validation examines information under restrictions and a validation world. Conformance expresses the corresponding judgment. Admission and authorization depend on governance bases, while a decision constitutes an attributable transition under declared conditions. Those stages can consume typed constructs and add domain or authority judgments.
Computational results also have a semantic status. A typed output signature specifies aspects of the static interface of the produced content; the result contract determines whether it is a query answer, an inference consequence, an analytical value or another result, including its bases, dependencies and completeness conditions.
When composing operations, FormaSL verifies the static formation of the inputs and the acceptance conditions defined by the consumer. Type compatibility participates in that verification, together with the result’s status, its interpretation basis and the semantic requirements of the next operation.
Historical contracts and realization
Type judgments are relative to an identifiable static basis. It gathers the declarations, interfaces, bindings and revisions needed to interpret each construct. When those elements evolve, historical judgments remain related to the originally used basis.
Elaboration transforms the resolved and admitted program into an explicit semantic program, preserving the relevant identities and static guarantees. The contracts thus reach the composition, realization and execution stages as information defined by the language.
Realization can select different physical representations, storage mechanisms or execution components. The binding between semantic types and operational representations follows the applicable contracts, letting the implementation evolve while the published guarantees continue being respected.
Related documentation
The Logical architecture and metagraph presents the relations and participations using typed contracts. Ontologies and semantic theories develops the conceptual categories and domain classifications. Semantic operations and transitions describes the consumers of those constructs, while Semantic invariants establishes the distinctions preserved throughout computation.
Modules, interfaces and reference resolution
Modules organize the authorship and reuse of FormaSL programs. They gather declarations, establish which names become available to other modules and offer static interfaces through which types, relations, theories and operations can be used. Reference resolution connects the designators written in the program to the appropriate declarations and semantic referents.
That organization allows developing a domain in parts and composing them under identifiable contracts. One module can declare logistics relations, another can use those relations in risk evaluations and a third can publish operations destined for applications. The linkage between them keeps the identity of the declarations, their revisions and the guarantees exposed by the interfaces.
Source units, modules and packages
A source unit (SourceUnit) contains authored material of the language: FormaSL text or an equivalent representation. A module (LanguageModule) is a unit of binding, visibility, import, export and interface definition. A package gathers sources and modules for distribution, version selection and reproduction of a resolution basis.
On the H1 concrete surface, each .fsl source file contains a module declaration. That organization eases working with files, while the semantic identity of the module is determined by the language contract. The file name and its physical path are authorship and location information.
A module can declare types, relations, contents, theories, rules and semantic applications. The references those elements establish reach other modules through resolved bindings. The set of a module’s declarations can contribute to many regions of the metagraph, just as a semantic region can gather contributions from different modules.
Packages give those sources a unit of distribution. The project system uses forma.toml to declare the package, its sources, dependencies and targets. The resolved dependency basis can be fixed in forma.lock, including the selected versions and artifacts. That basis provides the coordinates needed to reproduce the resolution and the contracts used by a program.
Names, bindings, declarations and referents
When finding a name in an expression, FormaSL resolves a language binding under the applicable basis. The binding identifies the designation available in that scope. A declaration has its own identity; when it introduces or designates a semantic referent, that referent has another identity.
That difference appears in the use of aliases. A module can publish an alternative name for an existing type. The alias creates another way to reach the declaration, keeping the type’s identity. A re-export performs a similar operation at the boundary between interfaces: the name seen by the consumer can change while the referent remains the same.
A new declaration with its own meaning follows the corresponding introduction contract. Having the same name as an earlier declaration, including after a package revision, is a textual and resolution property; the succession between declarations or referents is determined by the appropriate identity and evolution relations.
Consider a shipment relation used by two modules. The logistics module can make it available under its original name, while an integration module publishes it under an alias adjusted to its consumers’ interface. The two designations can resolve to the same relation without creating two shipment instances. The identity of the concrete instances keeps belonging to the represented semantic domain.
Imports and exports
Imports make declarations of other modules accessible under resolution and visibility rules. Exports determine which bindings a module publishes to its consumers. The language admits qualified references and explicit renaming when the author wishes to select specific names in the interface.
A quality evaluation module can import the types and relations used to describe an inspection. That import makes available the relation’s contract, its roles and the guarantees needed for use. The evaluation operation can then query domain information and produce results under its own contract, without needing to redeclare the imported elements.
Importing a theory and adopting a theory are distinct actions. The import gives access to declarations through the module infrastructure; inclusion, extension, mapping and interpretation between theories establish semantic relations of their own. The same holds for policies: the availability of a declaration does not automatically establish its applicability or its authority in a determined judgment.
The order of files or imports is not used as a precedence criterion between competing declarations. When alternatives with the same specificity exist, resolution keeps the ambiguity so the program chooses a qualified designation or establishes an explicit binding.
Interfaces as static contracts
A module interface describes what consumers can use. For each exported binding, it makes available the information needed for static formation: the declaration’s category, the type or contract involved, its public guarantees, the visibility and the corresponding revision basis.
The interface contract can be presented by an explicit declaration or obtained by the formation rules applicable to the module. An InterfaceView represents the set of guarantees effectively exposed to the consumer at an import or export boundary.
The same declaration can be seen by different consumers through different interfaces. A module can publish the identity of an opaque type and operations using it, while another consumer has access to a more detailed interface. The type’s identity is preserved; the information each consumer can use depends on the selected interface view.
Compatibility between interfaces is directional. A module provides a required interface when it makes available the necessary bindings with compatible static guarantees. Additional elements published by the provider can remain outside the contract required by the consumer.
Verification is specific to each declaration’s category. Type compatibility considers type contracts and substitutability; that of relations takes into account relevant participation roles and guarantees; other categories use their own contracts. That discipline lets modules be composed preserving the meaning of the constructs crossing their interfaces.
Resolution under an identified basis
The resolution of a name depends on a resolution basis (ResolutionBasis). That basis gathers the revisions of modules and interfaces, the admitted imports and aliases, the visibility rules, the contracts expected for the target and the applicable scope path.
The language can determine a binding uniquely, identify several admissible candidates or conclude that the reference was not resolved. It also distinguishes an absent reference, a reference of incompatible category, a visibility conflict and a cycle of aliases without an origin declaration.
Explicit qualification restricts the search path. In nested lexical scopes, a nearer admissible local binding has precedence over more distant lexical bindings. An explicit declaration or alias in the current module is also more specific than bindings reached only through unqualified import. Among competing imports with equal priority, the author resolves the choice through qualification, alias or interface selection.
The category expected by the consumer participates in resolution. A position requiring a theory reference is evaluated according to that contract, just as a relation role needs an admissible participant. The spelling coincidence between two declarations of different categories does not turn one into the other.
A resolved reference stays bound to the basis that determined its meaning. Updating a package, changing an alias or revising a module’s interface can produce a new resolution for later programs. Historical bindings keep the reference and the revision under which they were interpreted.
Language resolution and domain identity
Name resolution is an operation of the language. The identity of the represented entities can, in turn, be discussed, evaluated or contested within the semantic domain.
A Claim can assert that two external designations refer to the same organization. An evaluation can accept that correspondence in a determined context. Those positions have value for the operations admitting them, while the program’s constitutive name resolution keeps its own grounding.
In the composition of the metagraph, a same-referent correspondence recognizes that resolved references point to a shared semantic element. The reconciliation of previously distinct identities, in turn, requires a semantic relation of identity or co-reference with its specific contract.
It is also important to distinguish the resolution basis from an ontological scope or a context frame. The first determines the interpretation of the language’s designators; the ontological scope establishes conceptual commitments; the frame situates information under its own interpretation conditions. An operation can depend on the three, preserving each one’s function.
Resolution, types and relation contracts
The type system uses the resolved references to verify the formation of expressions and declarations. A type reference must identify an admissible declaration and the revision of its contract; parameters and bounds must be satisfied under the applicable static rules.
In relation contracts, resolution identifies roles and admissible participants. When the contract distinguishes multiplicity, ordering, participation identity or semantic keys, that information accompanies the declaration’s meaning. The module infrastructure preserves the guarantees needed for consumer applications to use the relation correctly.
Resolution also reaches higher-order elements: theories, ontologies, policies, rules and operations are referenced according to their declarative category. The sharing of the name infrastructure allows using all those declarations in the same program, keeping their own semantic contracts.
Module composition and semantic composition
A program can combine modules to make declarations available, form applications and establish reusable interfaces. That composition happens in the authorship and resolution plane. The metagraph’s semantic composition works with the structures and referents defined or used by those modules.
Consider three modules: one describes relations between equipments and inspections; another declares evaluation operations; a third composes queries, judgments and decisions. The first provides typed references, the second publishes operation contracts and the third uses those contracts in applications. The interfaces determine what each consumer knows and which guarantees it can use.
When the operations reference the same equipment or the same inspection, the shared identity follows from the resolved referents and the established semantic correspondences. That identity can cross several documentary contributions, without depending on the number of files participating in the composition.
The composition of applications adds other obligations: compatibility of inputs and results, historical bases, data dependencies and authority conditions. They are governed by the operations’ contracts and by the composition contract, complementing module formation and resolution.
Revisions, dependencies and reproducibility
Modules, interfaces and packages can evolve at different rhythms. A new revision can add a declaration, modify an interface or change a type’s contract. The resolved basis of the program identifies the revisions that effectively participated in its formation.
The historical binding keeps the identity of the consulted declaration, the exposed interface view and the contract used. A later change of name, physical location or published version does not retroactively redefine the meaning of the already resolved program.
FormaSL projects can fix their dependencies through the manifest and the lock file. The exact selection of sources and their revisions provides the basis for repeating verifications and executions according to the pertinent contracts. The distribution of a package and the semantic authority of an assertion remain different responsibilities.
From source to the explicit semantic program
FormaSL starts from source units, resolves the declarations and verifies their static formation. An admitted and resolved program goes through elaboration, which makes explicit or reconstructible the bindings, identities and contracts needed by the later stages.
In that passage remain the correspondence with the source, the identity of declarations and referents, the revisions of types and relations and the relevant static dependencies. The execution mechanisms receive a program whose meaning was determined by the language’s rules.
Realization, specified in .fsp, binds semantic requirements to capabilities and resources. Planning and the runtime can select mechanisms appropriate to the elaborated program, preserving the contracts they receive. Thus the module organizes authorship, the interface governs sharing and resolution establishes the referents over which computation will act.
Related documentation
Types, contracts and substitutability details the static judgments used by interfaces. Logical architecture and metagraph describes the identities and semantic relations modules reference. Ontologies and semantic theories presents the domain artifacts that can be made available and related across modules. Semantic operations and transitions develops the applications consuming those structures.
From the semantic program to realization
Authorities: the corresponding contract is carried verbatim in Authorities — this chapter is pedagogical and does not replace it.
FormaSL separates the semantic definition of an application from the mechanisms used to execute it. The .fsl programs declare the structures, contracts and operations constituting their meaning. Realization associates those declarations to capabilities, providers and concrete resources, preserving the conditions under which the results must be interpreted.
That passage goes through the resolution of declarations, the formation of the explicit semantic program, the identification of realization requirements and the binding of those requirements to available mechanisms. The resulting plan can then be executed over a determined state. The information produced by the runtime is interpreted according to the operation’s contracts and can join new computations or semantic transitions.
The semantic source
The .fsl files constitute the authoritative source of meaning and semantic data. They gather declarations of types, relations, theories, rules and applications, besides the source content admitted by the language. An application uses those structures under contracts establishing its inputs, operations and results.
The declared semantics keeps its interpretation basis: resolved identities, contract revisions, time and context information and the pertinent authority or dependency relations. A program can be employed in different operational environments because those conditions belong to the language’s definition, and the choice of concrete mechanisms happens at another stage.
Modules and packages organize the authorship and distribution of those declarations. Resolution fixes which contracts and referents were selected; the file path, a package name or the loading order do not replace that basis.
Resolution, verification and elaboration
Before realization, FormaSL determines the program’s structure. The language recognizes the source constructs, resolves bindings and references and applies the static judgments of formation, types and interfaces. The result is an admitted and resolved program, with a declaration basis sufficiently determined for the next stage.
Elaboration takes that program to an explicit semantic representation. In it, the meaning of the constructs stays associated with their contracts, the referents’ identities and the origin in the source text. The correspondence includes, when relevant, the revisions of types, relation contracts and operations, as well as the input, result and semantic continuity requirements.
The explicit semantic program is a contractual function of the architecture. Compilers and tools can employ their own intermediate representations as long as they keep the correspondence with the source and the semantic observables required by the language.
Applications and realization requirements
A semantic application binds a contract to inputs and conditions of use. It can represent a query, an analysis, an inference, a transformation or a governed operation. The application’s declaration and the execution instance are identified separately, letting the same contract be realized and executed under different bases.
When an application needs mechanisms external to the semantic definition, it establishes a RealizationRequirement. That requirement describes, independently of a specific provider, the capability needed to realize the operation. According to the contract, it can include the capability class, the exact revision of the operator or model, the regime of exactness or approximation, the completeness and determinism guarantees, the assurance requirements and the trust boundary for external inputs.
An analysis application can require an operator whose output has a determined statistical interpretation; an observation can require acquisition by an instrument with identified guarantees; an action operation can require an appropriate execution capability. Each requirement allows examining what the environment offers without changing the application’s semantic contract.
The semantic admission of the program, the satisfaction of its realization needs and the readiness to execute are different states of the path. That separation makes it possible to identify precisely whether a difficulty belongs to the declaration, to the availability of capabilities or to the execution.
The role of .fsp files
The .fsp files specify realization. They select or restrict mechanisms, providers, resources and operational policies to satisfy requirements previously established by the semantic program.
The language surface offers a realization declaration, with binding targets. A for app target refers to an application declaration; for stage identifies a specific application locus within a composition. There are also targets of module, source, composition and capability, according to the contracts admitting them.
The clauses have their own responsibilities. bind associates a realization slot with a value or mechanism. require declares a requirement, limit establishes a limit, prefer expresses a preference and budget specifies a budget applicable to the corresponding slot. Groups allow formulating joint conditions over related targets. Those choices are interpreted according to the exact realization schema and the language’s specificity rules.
One profile can, for example, bind an analysis to an operator available in a determined infrastructure and establish resource requirements. Another profile can select a compatible alternative for the same program. The binding keeps the operation’s identity, its contract’s revision and the guarantees the chosen mechanism must satisfy.
Static resolution of realization
Static weaving is the stage resolving the relation between semantic requirements and realization choices. From the declared program and the .fsp configuration, FormaSL determines the applicable bindings and obtains an executable association with the original contract preserved.
The resolution considers the required capabilities, the guarantees offered by candidate mechanisms, the selected targets and the operational restrictions. When the environment satisfies those conditions, the bindings can be incorporated into the realization plan. When a reference remains ambiguous or a needed capability cannot be satisfied, the result expresses the corresponding condition.
The identity of an application and the choice of the mechanism are recorded in different plans. Static weaving establishes how to realize a contract, preserving the contract defined in the .fsl source.
Planning and executable representation
A resolved realization offers the planner the operations, dependencies and restrictions needed to build an executable plan. That plan can use indexes, specialized algorithms, intermediate transformations, parallelism, batches and storage mechanisms adequate to the selected infrastructure.
Planning distinguishes data dependency, semantic order and operational scheduling. Data dependency indicates that a stage consumes another’s result. Semantic order establishes precedences needed by meaning, such as introducing a decision before a request using it. Scheduling organizes the effective execution, respecting those conditions.
With that, a query can be optimized without changing the meaning of its results, and independent stages can be executed according to the environment’s possibilities. The transformations and optimizations keep the material semantic observables: identity, interpretation basis, required order, result status, dependencies and completeness, among others.
Resources and physical realization
Realization choices can also involve physical requirements and component placement. The PhysicalRealization contract relates a realization plan, the resolved providers, a placement assignment and the resource requirements needed to examine its adequacy to a device or topology.
The admission of that realization can determine that the requirements are satisfied, that some condition is provenly not satisfied or that the available information is still insufficient for the judgment. That evaluation uses evidence of capabilities, resources, placement and required guarantees, keeping the basis that grounded the result.
Memory, processing capacity, latency, energy and bandwidth can join the physical requirements. Gas has another function: it bounds the logical computational work according to the execution contract. The two sets of requirements can act on the same application without losing their responsibilities.
Execution instances and dynamic state
The runtime executes bound applications over a determined state. Each execution instance identifies the application, the pertinent interpretation basis, the resources employed and the operational events needed to reconstruct its results.
Some inputs only exist during execution. An operation can consume a newly acquired observation, an identity introduced by an earlier transition or a result produced at another stage. The semantic definition fixes the nature of the required input and the binding rule; the runtime provides the concrete value through an admitted path.
The contract also determines when the interpretation basis is fixed. In prolonged evaluations, it can be relevant to operate over a frozen revision or under explicit rules of basis evolution. The execution record keeps the revisions and instants that effectively participated in the result.
The ending of an operational task is recorded separately from the semantic completeness of the result. Thus gas exhaustion, a provider failure, a partial response and a concluded query have the states corresponding to the contracts producing them.
Providers and reconstruction of results
Providers and specialized engines realize capabilities under defined interfaces. A mechanism can execute a query, perform an analysis, access a service or acquire external information. Its operational output crosses an interpretation boundary before acquiring the semantic status foreseen by the consuming contract.
That boundary verifies or reconstructs, according to the operation, the compatibility of values and types, the revision of the contract used, the interpretation basis, the completeness or precision guarantees, the provenance and the correspondence between source, application, execution and result.
An analytical model can return an estimate accompanied by information about its execution. The corresponding semantic result is constituted under the AnalysisContract admitting it. An instrument can provide a reading, used as evidence by an observation contract. Each passage keeps the nature and guarantees of the produced information.
Reuse, incrementality and continuity
Realization can use previously produced results, caches, incremental execution and fusion optimizations when the contracts allow. Reuse considers the dimensions participating in meaning: source and theory revisions, context, scope, temporality, provenance, result identities and completeness conditions.
An incremental result can be consumed before total completion when an incremental consumption contract establishes the admitted partial states, their evolution and the effects allowed to the consumer. Stream transmission is a delivery mechanism; the semantics of the increments belongs to the result’s contract.
Semantic continuity applies to the whole path: from source to elaborated representation, from the realization binding to the plan, from execution to the reconstructed result. An optimization can reorganize the calculations, but preserves the distinctions required for other operations to interpret its results correctly.
A realization path
Consider an application tracking the preservation of medicine during transport. Its .fsl modules declare lots, shipment relations, temperature observations, quality criteria and evaluation operations. A composition queries the pertinent measurements, produces an analysis and forwards the result to the governed operations deciding the batch’s destination.
Resolution fixes the identities of the declarations, the contracts and their revisions. Elaboration makes the applications and dependencies explicit. An .fsp profile associates the query, analysis and acquisition requirements to the capabilities available in the environment. Static weaving produces the bindings, and planning organizes the execution under the declared precedences.
During execution, an acquisition mechanism can provide readings under its contract, while another mechanism calculates a risk estimate. The runtime receives the outputs and relates them to the pertinent execution instances. The interpretation boundaries constitute the semantic results to be consumed by the later stages, preserving the dependency on the measurements, criteria and models used.
If the decision requires an external action, it can ground an execution request. The operational attempt, the possible effect on the batch and the later observations add distinct events to the history. The incorporation of information into the authoritative source happens through a governed transition, producing a new source basis for later computations.
The same semantic program can be bound to another infrastructure satisfying its requirements. The realization choices change; the operations’ responsibilities and the interpretation conditions remain determined by the origin contracts.
Related documentation
Modules, interfaces and reference resolution presents the organization of source and bindings. Semantic operations and transitions describes the contracts applied during computation. Semantic continuity defines the preservation obligations accompanying transformations and execution.
Semantic applications and composition
FormaSL allows building larger programs through the composition of semantic applications. Each application uses an identified contract, receives inputs under defined conditions and produces results or transitions with their own meaning. The composition determines how those operations relate, which information can cross their boundaries and which events constitute the completion of the composed program.
Queries, analyses, inferences, transformations and governed judgments can participate in the same composition. The contracts of producers and consumers establish the conditions of that integration. The resulting program has a semantic interface usable by other compositions, preserving the guarantees of its components and the history of the materially relevant transitions.
Applications bound to contracts
A semantic application binds a specific contract revision to declarations, arguments and input requirements. In the program’s explicit semantic representation, that binding makes recoverable the application’s identity, its origin in the source, the required inputs, the interpretation basis and the contract of the results it can produce.
The declaration of an application and its invocation play distinct roles. The same declared application can be used by several compositions and executed many times. Each execution receives identifiable arguments and an evaluation basis; the results keep the correspondence with the application and with the contract that produced them.
Within a composition, a stage identifies the place of an application in the composed program. The stage’s name serves to relate results, dependency and ordering. It does not replace the identity of the semantic application nor the identity of an execution occurrence.
Results preserving their meaning
A producing operation defines a ResultContract. That contract describes the content that can be delivered, the semantic status (standing) of that content, the basis needed to interpret it, its dependencies and the completeness criterion. It also identifies the alternative results and the pertinent assurance guarantees.
A query answer, an analytical value, an inference consequence and a conformance judgment can contain structurally similar data and still represent different things. The result keeps the status attributed by the contract that produced it. The consumer receives that information without needing to reconstruct the meaning from a storage format or a local runtime convention.
Dependency also has a typed role. A result can depend on a derivation premise, on evidence used by an evaluation, on a theory defining its interpretation or on a transformation producing its representation. When those relations affect the interpretation, the contract preserves their specific role, directly or by reference.
The identity of a result becomes especially relevant when it will be referenced, communicated, revised or used as support of another judgment. In those cases, the contract provides a stable way to designate the result or the intended fragment, according to the producing operation’s semantics.
Admissibility between producer and consumer
The linkage between two applications is governed by the consuming operation’s input contract. The verification considers the static formation and types, the result’s effective status, the compatibility between interpretation bases, the necessary dependencies and their completeness condition. Specialized operations add the corresponding admissibility and authority judgments.
FormaSL distinguishes the admissibility of a concrete result from the direct composability between contracts. A producer contract is directly composable with a consumer’s input contract when all its admissible outcomes for that unconditional linkage satisfy the consumer’s requirements. When the producer admits alternative states, a branching or an explicit transformation can select the appropriate results before the passage.
The acceptance of several inputs is examined jointly when their meaning depends on relations between them. Two individually admissible inputs can belong to incompatible historical revisions, to frames requiring transformation or to contexts whose correlation has not yet been established. The consumer contract defines how to evaluate the set.
A reasoning consequence, for example, can be queried as a semantic artifact. To work as a premise of another inference, it also goes through the premise admission rules of that second operation. If it is used by an authorization judgment, the corresponding governance criteria apply independently.
Dependencies and inputs bound during execution
The composition declares the data and result dependencies between its stages. An operation can consume a query’s answer, the source revision introduced by an earlier transition or the identifier of a decision produced within the program itself.
Some values only become known during evaluation. In those cases, the semantic program defines in advance from which result or transition the value will be obtained, which role it plays and how it will be selected. The binding can require a single referent, admit an optional input or operate over a set according to the applicable contract. The runtime provides the concrete values keeping those rules.
The interpretation basis also participates in the binding. The revision of a policy, the queried source state, the relevant authorization instant or a hypothetical context can change the operation’s meaning. Materially relevant environment values, such as the consulted clock or the selection of a current revision, join semantically identified inputs or dependencies. The composition records how those bases are fixed and how they stay associated with the results, even when the environment evolves during a prolonged evaluation.
Dependency, semantic order and scheduling
Data dependency indicates that a stage needs determined information produced or made available by another. Semantic order establishes precedence when the constitution of meaning requires that an event or judgment exist before another. Execution scheduling organizes when and where the work will be performed by the concrete mechanisms.
A decision used as the ground of a request establishes a semantic precedence relation. A query consuming already available data can depend on that data without requiring a new execution of the producer. Two independent analyses can be performed in parallel when their contracts guarantee the absence of relevant semantic interference.
The composition makes explicit the interactions between transitions changing authority, source or other semantic positions. When necessary, it establishes ordering, coupling, isolation over a shared basis or non-interference rules. The planner uses that information to define the scheduling, preserving the declared bindings and guarantees. The order of the source text only determines precedence when the construct’s contract attributes that role to it.
Routing of results and alternatives
The paths of a composition can depend on the results of earlier stages. FormaSL uses typed outcomes and result vocabularies to determine those alternatives. An empty answer, a violated conformance judgment, a denied admission, unknown information and an inconclusive result can lead to different paths according to the composed contract.
The unavailability of a provider or the exhaustion of resources belongs to the operational result channel. The composition contract specifies how that condition is presented or routed, including recovery or interruption alternatives when applicable.
A branching can route a valid negative result to a revision stage, use an empty query as a semantic condition or return an inconclusive composition when evidence is missing. The interpretation of each path depends on the result actually received and the rules declared for that branch.
Conditional stages that were not reached keep the condition of not reached. Their lack of execution has a meaning distinct from a performed attempt that failed or an evaluation that ended without conclusion.
Completion of the composed program
Every composition has a CompositeCompletionContract. It determines which final results and transitions are required, which alternative outcomes are admissible and which branches participate in completion under determined conditions.
A stage can be required for completion, conditional on a judgment or optional under a contract treating it as non-blocking. That assignment integrates the composition’s definition and allows correctly interpreting an execution that produced some results but still has other pending obligations.
An intermediate result can become available before the composed program satisfies its completion conditions. Likewise, the operational termination of an invocation does not by itself establish the semantic completeness of the composition. The final interface keeps the different classes of completion when they participate in the meaning.
When a relevant input is incomplete, the consumer applies its own completeness contract. It can demonstrate that the missing part does not affect its completion criterion, admit a partial result or keep the incompleteness in the next result. Those conditions accompany the information until the stage that resolves or explicitly uses them.
Incremental consumption and flow of results
An operation can make results available in increments. The composition can consume them before finalization when an incremental consumption contract establishes which increments have usable meaning and under which conditions they can be forwarded.
That contract identifies each increment’s partiality class, its ordering or revision, the possibility of substitution and the finalization criterion. It also defines when the consumer can emit results and which transitions can happen before the input becomes complete.
A transport tracking, for example, can receive new temperature readings during a trip. A visualization can accept partial updates, while an irreversible decision about a batch’s destination can require a complete evidence set or a policy expressly admitting a determined early decision.
The transport flow of the messages and the semantic admissibility of the increments are handled by their respective contracts. This allows using streaming and incremental processing under specific conditions, preserving the interpretation of the results across updates.
Iteration, recursion and nested compositions
The ordinary composition of applications has a finite, well-founded structure. When the program needs iteration or recursion between applications, a specific contract defines the initial state, the step relation, the completion criterion and the conditions of partiality or divergence.
That discipline coexists with cyclic structures of the metagraph and with the recursion proper to queries and inferences. A path query can operate over a cyclic graph under its contract; that does not require the composition invoking it to be recursive as well.
A composition can use another named composition as a component. The inner composition publishes the guarantees needed for the outer one to know its inputs, results, transitions and authority requirements. The hierarchy organizes reuse, while the material semantic interactions stay recoverable.
Named compositions and reusable interfaces
A named composition publishes a CompositionContract with its own identity and revision. Its interface determines the input contracts, the exported results and outcomes, the completion conditions and the realization requirements. It also describes the lifecycle interactions that matter to other programs.
The LifecycleInteractionSummary informs, as applicable, the introduction of Claims or decisions, the changes of authoritative source, the external action requests, the observation acquisitions and the involved authority or ordering conditions. That information lets the composition be used as a unit without hiding transitions affecting its consumers.
The internal implementation can evolve. A new implementation keeps compatibility with the published contract when it preserves the guarantees other programs use, including the completeness classes, the alternative outcomes and the lifecycle interactions. The equality of the final value presented to the user is only one of the properties that can participate in that compatibility.
Reuse, repetition and history
The runtime can reuse existing results when an equivalence or ReuseAdmissible contract establishes that they satisfy the new consumption’s requirements. The comparison considers the result’s relevant dimensions, such as the revision of the theory or model, the temporal and contextual basis, the authority, the dependencies and the completeness state.
The composition also distinguishes reusing a result, repeating the delivery of the same request and starting a new execution. That difference is particularly important when the stages produce historical occurrences or interact with external mechanisms. The operation’s semantics determines which identities and records must be preserved in each case.
The history can be stored in or referenced by specialized artifacts, as long as the relations needed to reconstruct the path remain available. The composition keeps the contracts’ revisions, the bases admitted at each linkage and the references to the material results and transitions.
Composition of judgments and effects
Some compositions integrate governed judgments and lifecycle transitions. A validation can produce a conformance judgment; a policy can participate in a candidate’s admission; a decision can ground an execution request. Each stage adds its result or occurrence under the corresponding authority.
The composition contract determines the required precedences and semantic effects. When two introductions need to happen in coupled form, the coupling relation belongs to the semantic contract; realization selects mechanisms capable of respecting it. The infrastructure choices for grouping stages do not by themselves establish a new commitment of semantic atomicity.
A later failure can interrupt the composition or require a compensation transition. The already introduced events keep their history. Rectifications, retractions and compensations are represented by their own transitions and bound to the path that motivated their performance.
An example of composition
Consider an application meant to track the release of a batch of medicine transported under temperature control. The composition uses a query over the transport history, an analysis of the measurements, a conformance judgment and a governed decision stage.
The query selects the observations pertinent to the batch and to the intervals required by the contract. The analysis uses the measurements admitted under an identified revision of the risk model. The validation considers the restrictions applicable to the product, while the decision stage receives the results and the authority bases required to determine the destination.
Those inputs need to be correlated to the same batch and to compatible temporal bases. A conformance judgment can depend on a complete observation interval; an analytical estimate can be produced before that and remain marked as partial. The composition contract determines which paths admit that partiality and which require additional data.
If the evidence is complete and the normative conditions satisfied, the program can produce the applicable decision under the decider’s authority. If the information is insufficient, an inconclusive result can route the batch to a new evaluation. The decision can ground a later request to the stock system. The issuance of that request is another transition; its execution is tracked under the responsible mechanism’s guarantees.
The composition publishes the results and interactions relevant to other systems: the judgment performed, the decision taken, the dependencies considered and the eventual execution requests. Later operations can query that path or use it as a basis, preserving the revisions and the conditions in which each result was produced.
Relation to realization
In the .fsl program, the composition expresses the contracts, the applications, the results and the dependency, ordering and completion relations. The concrete surface includes composition, let, stage, order, couple, case, return and unresolved, with meanings determined by the structure and the contracts used.
Elaboration preserves those relations in the explicit semantic program. The .fsp realization associates requirements to concrete capabilities, and the runtime executes the stages through a typed invocation and binding path. Planning can optimize or parallelize stages when it keeps the composition’s obligations.
The chain between source, application, contract, realization, execution and result remains reconstructible. Thus a larger composition can take advantage both of its stages’ semantic results and of the history and guarantees defining how they were produced.
Related documentation
Semantic operations and transitions presents the operation families used in composition. Semantic continuity defines how its qualifications cross the boundaries between stages. From the semantic program to realization explains how those contracts reach planning and the runtime. Modules, interfaces and reference resolution describes the publication of reusable declarations and contracts.
Contexts, time and spatiality
FormaSL represents and computes over information whose meaning depends on the conditions in which it was produced, interpreted and used. An assertion can be valid for a determined period, an authorization can cover only an operational region and an observation can have been performed under a specific reference system. Those conditions participate in the meaning of the information and of the operations consuming it.
Context, time and spatiality are dimensions of semantic interpretation. They make it possible to relate information about shared referents without erasing differences between perspectives, validity intervals, observation positions or spatial representations. The world model establishes the fundamental distinctions; the operation contracts determine which of them are relevant in each evaluation and how they cross the results.
Situated interpretation bases
Situated information is interpreted under an identifiable basis. That basis can gather a revision of the semantic source, selected theories and rules, context, scope, jurisdiction, frame, perspective and temporal references. It can also include policies, hypothetical premises and other elements required by an operation’s contract.
Those dimensions fulfill different functions. Context identifies the conditions under which information is interpreted or used. Scope bounds the coverage of a relation, rule or operation. Jurisdiction situates competences and normative dispositions. Perspective identifies the position from which an agent knows or evaluates information. A frame establishes an interpretation reference for the quantities or relations depending on it.
In a railway network, the maintenance crew and the control center can query the same stretch under distinct bases. The first evaluates technical inspections; the second also considers the authorized circulation window and the recorded operational situation. The information keeps its identities, while the operations indicate which bases, policies and perspectives were used.
FormaSL preserves the dimensions that are material to the operation’s contract. A query over inspection data may not need a spatial frame; a correlation between georeferenced measurements can depend on it. The interpretation basis is composed of identifiable semantic roles, according to the result’s needs, and can be preserved directly or by stable historical reference.
Information context and evaluation context
Context can be part of the information itself or bound to the operation using it. A Claim issued by an agent keeps the qualifications of its act of assertion. A query, in turn, can select an interval, a jurisdiction or a point of view under which it examines already existing Claims.
Those two situations can happen together. An evaluation queries historically situated information and adds its own interpretation basis. The result identifies both the relevant qualifications of the inputs and the context under which the evaluation was performed.
A circulation restriction record, for example, can indicate the stretch and the period it applies to. A query made by another operator can restrict the results to a larger region and a specific hour. The query’s slice determines the selection; the original record keeps the meaning and history of its restriction.
The contracts establish the combination rules between those bases. When two inputs have contexts, revisions or frames that need to be correlated, the consumer determines the admissible correspondence. The contracts of the context, scope and perspective families determine those combination rules.
Perspectives, visibility and plurality
FormaSL’s agents act from local epistemic positions. They can observe, receive, evaluate or not know different information about the same referent. The existence of a semantic element, its visibility to an agent and its applicability to an operation are distinct properties.
Information can be outside a query’s slice, unavailable to the observer or hidden by access conditions. When those distinctions participate in the interpretation, the language keeps the states of unknownness, absence of observation, hiding, non-applicability, falsity and non-existence in differentiated form. An empty answer reports the result of a query under its basis and completion criterion; its meaning depends on the contract used.
Plurality also applies to evaluations. Two authorities can produce incompatible positions about the condition of an operation area. The positions coexist with their attributions, contexts and normative bases. A selection of current information or a restricted view does not, by itself, perform a reconciliation. When reconciliation happens, it has an identifiable semantic relation and history.
Disclosure policies can determine which information a consumer receives. The transformation of a view under those policies has its own restriction and exposure rules. The access conditions belong to the view’s governance; the semantic status of what remains outside it stays bound to the origin information and contracts.
Time as part of meaning
Time participates in different events and judgments. Validity time indicates when information, a condition or a relation applies in the domain. Observation time situates the acquisition of information by an observer or instrument. Knowledge time indicates when the information became available to a determined agent or basis. Decision time situates a deciding act. Record or transaction time identifies its entry into a determined system or source history.
Consider an inspection performed at 9 am, transmitted to the control center at 9:20 and incorporated into the authoritative source at 10 am. The decision to release the track can be taken at 10:15, valid from 11 am. Those times belong to different roles. A historical query can ask which conditions were valid at 11 am or which information was available to the decider at 10:15; the two questions use distinct temporal bases.
The operations preserve the materially relevant temporal roles, even when their values coincide. The instant an observation was recorded does not automatically replace the instant it happened. When an event’s original time was unknown, the lack of that information remains representable until an appropriate basis allows determining it.
Chronology also participates in relations that are not purely temporal. A decision can precede an execution, and an observation can happen after an action. The order of events, the derivation of a result, its provenance and a possible causal relation are determined by their respective contracts.
Temporal referents and relations
The std::world::time library provides semantic vocabulary for representing time. It declares TemporalEntity, Instant, Interval, TemporalReferenceSystem, TemporalRepresentation and Duration. Instant and Interval specialize TemporalEntity and have explicit subtyping relations with it.
The library’s relations allow associating an entity with its temporal extension (TemporalExtentOf), indicating the beginning and end of intervals (HasBeginning and HasEnd), representing precedence (Before) and temporal containment (TemporalContains). RepresentsTemporal and UsesTemporalReferenceSystem relate temporal referents to the representations and reference systems employed; DurationOf associates a duration with a temporal entity.
The rules declared in the module include the transitivity of Before and of temporal containment under their specific conditions. An application can combine that vocabulary with contracts of validity, observation, decisions and other domain occurrences.
The temporal referent and the function it plays in a judgment remain distinct. The same interval can be used as the extension of an inspection and as the validity period of an authorization, but each use is interpreted under the corresponding relation and contract. The calendar representation, the clock and the conversions needed by realization follow the boundaries defined by the respective contracts.
Versions, revisions and history
The version of a source, theory, rule or model identifies an interpretation basis. Time indicates when information and events participate in the modeled world or its records. Version and time can be related, but have their own identities and functions.
A policy revision can enter into force after its publication; an earlier Claim continues being a historical act issued under its original basis. A result that used a determined theory revision keeps that dependency, even if a later revision comes to be selected for new operations.
The semantic history also includes corrections, retractions and successions. Those acts modify positions or their applicability under evolution contracts, keeping the bindings to the earlier occurrences. The physical organization of storage can vary, as long as the references and historical relations needed for interpretation remain recoverable.
In prolonged evaluations, the contract establishes how the temporal and version basis is bound: it can use a basis fixed for that evaluation or an explicitly defined sequence of revisions and windows. The result keeps the basis actually used, including the relevant binding instant when it influences its meaning.
Places, regions and spatial relations
FormaSL’s spatiality starts from spatial referents and qualitative relations. The std::world::space module declares the types Place, Region, SpatialReferenceSystem and SpatialRepresentation, plus the relations needed to bind entities, regions, representations and reference systems.
A region can participate in a relation of containment (SpatialContains), overlap (SpatialOverlaps), adjacency (SpatialAdjacent) or disjunction (SpatialDisjoint). Those relations describe spatial properties of the domain without requiring the referents to be reduced to coordinates.
The module includes transitivity rules for SpatialContains and symmetry for SpatialOverlaps, SpatialAdjacent and SpatialDisjoint. The derived conclusions depend on the admitted relations and the declared rules. Other spatial commitments can be defined by the contracts and ontologies of the applications using them.
In a railway yard, a maintenance zone and a circulation zone are identifiable regions. Information can establish that an inspection area is contained in the maintenance zone or that two areas are adjacent. Those relations can participate in queries and inferences even when the applications use different geometric representations for the same regions.
Referent, representation and spatial system
The language relates the spatial elements through three central structures. SpatialExtentOf<T> associates a subject with a region expressing its extension. RepresentsSpatial indicates that a determined representation corresponds to a region. UsesSpatialReferenceSystem binds that representation to the spatial reference system used.
A Region referent can have more than one representation. An operational area can be represented by a geometry used in calculations and by another representation destined for visualization. The identity of the region remains distinct from those representations and from the physical identifiers they employ.
The SpatialReferenceSystem is a semantic referent to the applicable reference system. Coordinate system identifiers, axis conventions, projection parameters and numeric transformations belong to the concrete specifications and capabilities needed by realization. Their relation to the referent and their acceptance depend on the pertinent contracts.
That organization lets the semantic structures over regions be shared by applications using different mechanisms of geometry, visualization or perception. The correspondence between a calculated result and the spatial referent remains explicitly identifiable.
Frames and spatial transformations
A frame establishes the conditions under which a spatial representation is interpreted. Map reference systems, local representations of an equipment and the frames of a camera can participate in different operations. The compatibility between frames determines whether certain information can be related under the chosen contract; the effective transformation produces another representation under a defined correspondence.
A camera, for example, provides detections in image coordinates. To correlate that information to a region of the yard, realization can use a calibration artifact, a homography and the declared origin and destination reference systems. The transformation keeps the references to the calibration and the acquisition conditions needed to interpret its result.
FormaSL keeps the numeric transformation in the realization plane. The geometry and reference-system conversion mechanisms produce operational evidence under their guarantees. The entry of that information into the semantic domain happens through the admission and interpretation bridge defined by the application’s contract.
Thus, a geometric test indicating containment or overlap needs to be related to the meaning of SpatialContains or SpatialOverlaps under the corresponding authority basis. The mechanism’s conclusion provides the information used in that passage; the semantic relation has its own introduction rule.
Spatial perception and epistemic positions
Perception systems can produce images, detections, position estimates and correlation proposals. Those results are interpreted according to the identity of the instrument, the model, the frame, the acquisition and the declared guarantees. The identification of an object in the semantic world happens through its own relations and transitions.
In the railway yard, a detector can report an object with a determined class and a bounding box in the image. A correlation mechanism can associate that detection to a region of the yard. The application considers the admitted evidence, the observation conditions and the pertinent policies before deriving an evaluation about presence in a restricted area.
The same principle holds for sensors and tracking systems. An estimated trajectory can be a tracking hypothesis; its association to a specific vehicle keeps the basis and confidence of the correlation. The observer’s position, the referent’s identity and the evaluations performed by other agents can be used together without losing their own statuses.
A cartographic projection also has that representational character. The element drawn in an interface can point to a semantic referent through a typed, reconstructible correspondence. A change of scale, style or display geometry modifies the presented representation, while the referent and the situated information used remain subject to their original contracts.
Space and time in the operations
Spatial relations can have temporal applicability. The restriction of a railway zone, for example, can hold during a maintenance window. The region has spatial identity, the restriction rule has scope and authority, and the validity period joins the temporal basis under which the rule applies.
A query selecting restricted zones at a determined hour can combine referents of std::world::space and std::world::time with the application’s operational contracts. An inference can use the containment between regions and the validity conditions to produce a result relative to the considered instant. A later decision also requires its own admission and authority conditions.
When the inputs come from distinct observers, the operation records the necessary correspondences between frames, regions and temporal roles. An observation made at 9 am in a camera frame and a restriction applicable at 9 am in an operational frame can be related through explicit transformations and bases. Temporal coincidence alone does not establish spatial identity, causality or the occurrence of an effect.
The composition preserves the qualifications its consumers need. The result can restrict a spatial or temporal slice, derive a relation or transform a representation; each passage has its own semantic continuity contract.
Hypothetical contexts in space-time
FormaSL’s scenarios allow evaluating operations under situated premises. A scenario definition establishes the hypothetical changes or conditions, while each context instance is bound to a source basis, relevant revisions and scope, frame and time parameters.
A team can analyze the hypothesis of closing a yard zone for two hours and calculate the operational routes available in that interval. The closed area, the assumed duration and the basis of the other data join the hypothetical context. The results keep their dependency on the premises used.
The scenario evaluation keeps the original basis identifiable. Its result can serve as information for a real decision through the appropriate semantic transition, which makes explicit how the hypothetical conclusion was considered and which authority conditions govern the decision.
Contextual, temporal and spatial continuity
FormaSL keeps, in each operation and composition, the qualifications needed for the result to be interpreted under the correct basis. That includes the temporal roles, the applicable context and scope, the references to frames and reference systems, the provenance bindings and the epistemic nature of the used contents.
An operation can preserve that information directly, transform it with explicit correspondence, derive new properties, restrict the result or discard qualifications when the contract authorizes that loss. The selection depends on the conditions in which the result will be used, and the material dependencies remain reconstructible.
Those properties connect contexts, time and space to the rest of the language. Ontologies establish domain interpretations; the metagraph organizes the relations; the operations use situated information; and realization provides the calculation and acquisition mechanisms foreseen by the semantic contracts.
Related documentation
The World model presents the fundamental categories of situated information. Logical architecture and metagraph describes the relational structures receiving time and space qualifications. Semantic continuity deals with the preservation of those qualifications in operations and results. Semantic operations and transitions explains the passage between computations, judgments, actions and observations. From the semantic program to realization describes the realization of calculations and acquisition boundaries.
Situated results, completeness and provenance
Authorities: the corresponding contract is carried verbatim in Authorities — this chapter is pedagogical and does not replace it.
In FormaSL, a computational result is interpreted from the contract producing it and the conditions under which it was obtained. A query answer, an analytical estimate, an inference consequence and a conformance judgment can present similar contents, but perform different semantic functions. To use those results in new operations, the language keeps the qualifications needed to determine what was produced, under which basis, what it depends on and to what extent it is concluded.
The situated results architecture gathers that information in a common semantic interface. That interface is dimensional and open: each operation defines its results’ own content and status, while the dimensions relevant to composition remain available or reconstructible. Each family defines the organization of its results and the corresponding realization.
The contract of a result
A ResultContract determines the meaning and guarantees of what an application can produce. It includes a semantic status contract (StandingContract), a contract for the content (PayloadContract), the obligations relative to the interpretation basis and dependencies, the completeness criterion, the policy for partial results, the admitted semantic outcomes and the binding conditions to assurance artifacts.
Those parts do not need to appear as identical fields in all results. One operation can preserve determined information directly; another can reference it by stable identities. The contract defines which information remains materially necessary to interpret the result and how it can be recovered.
Results keep the reference to the exact revision of the producing contract. When an application is revised, historical results remain interpreted under the revision that produced them. Reusing a name or a data structure in another version does not retroactively change the status, the completion criteria or the guarantees of an earlier result.
Content and semantic status
The content (payload) is the information produced according to the operation: selected records, an estimated value, a derived relation or the findings of an evaluation. The semantic status (standing) determines what that content means and which uses the contract authorizes.
A query can produce a QueryAnswer; an analysis, an AnalyticalValue; an inference, a SemanticConsequence; a validation, a ValidationFinding or a ConformanceJudgment. Other contracts can produce applicability judgments and hypothetical results. Those examples represent an open family of statuses, whose definitions belong to the responsible operations.
Consider the information that a pumping station presents pressure below a determined limit. It can appear as a measured value in an observation, as an element of a query answer, as the conclusion of a rule or as the content of a Claim issued by an operator. The textual similarity of the value does not identify those acts. The query answers a question under a determined basis; the inference expresses a consequence under a theory; the Claim constitutes an attributable assertion.
A computational operation, therefore, produces results under its own contract. The passage of a result to the condition of assertion, decision or observation depends on an appropriate transition, with the authorship, authority or acquisition conditions required.
Identity of results and fragments
Not every temporary value produced during an evaluation needs to acquire independent semantic identity. Identity becomes necessary when a result will be designated by other operations, communicated, revised, used as evidence or associated with an assurance artifact.
In those situations, the contract offers a stable reference to the result or the relevant fragment. A query answer can contain several items with different dependencies; the reference to one of them must respect the identity, equivalence and ordering criteria defined by the query. The occasional position of that item in a runtime list or in a serialized representation only works as a semantic designator if the contract itself recognizes it as such.
Two results with equal values can have different origins, bases and identities. Likewise, the identifier of an execution or the cryptographic digest of a representation does not, by itself, constitute the result’s semantic identity. That information can join the correspondence and verification, according to the applicable contract.
Interpretation bases
The Interpretation Basis identifies the elements determining the result’s meaning. Its dimensions have typed roles: a source revision, a theory or rule, a normative contract, the considered scope and frame, a closure regime, a hypothetical context or a temporal reference can join that basis according to the operation.
A hydraulic pressure analysis, for example, can depend on the revision of a model, the interval of measurements and the admitted system of units. A conformance judgment can also depend on a policy and the revision of the applied restrictions. The result’s basis keeps what is needed to interpret those outputs after the current data, models or policies have changed.
Interpretation basis and specific dependency are different roles. A theory can establish the general regime under which an inference happens and, at the same time, one of its sentences can be a material premise of a determined conclusion. The result can reference the same artifact in both roles without treating them as equivalent.
Temporal qualifications also remain differentiated. The validity time of information, the observation instant, the moment it became known, the decision time and the record of a transaction can be relevant to distinct results. The indication of a source version does not replace those temporal roles.
Typed dependencies
A result can depend on several elements, each for a different reason. FormaSL uses typed dependency roles to recover that relation without reducing it to an undifferentiated list of identifiers.
Among the pertinent roles are source origin or lineage, derivation premise, support or evidence, interpretation dependency, hypothetical dependency, normative basis, transformation or representation lineage, causal dependency and the binding to operational execution records. That family stays open to specialized contracts.
For example, a failure-risk estimate of a pump can use measurements as analytical inputs, a model as interpretation basis and an earlier inspection as additional evidence. A later rule can consume that estimate as a premise, preserving the role by which it participates in the inference. If a judgment depends only on determined measurement intervals, the dependencies can be associated with the pertinent fragments, according to the result contract.
The existence of a dependency does not automatically identify its causal nature. A measurement can precede a failure and still not establish that it caused it. Likewise, circular relations between records do not produce, by their circularity alone, independent evidence or proof. The introduction of causal relations and support guarantees follows the contracts authorizing those meanings.
Provenance, derivation and operational trace
Semantic provenance describes how the content depends on origin information, selections, transformations and other operations under the producing contract. It allows reconstructing a result’s lineage and, when pertinent, the contributions that gave origin to each fragment.
A derivation makes an inference relation explicit according to rules and premises. An operational trace (runtime trace) records aspects of the processing performed by execution mechanisms. Those artifacts can establish useful correspondences, but have distinct functions. A change of execution plan can alter the operational trace without modifying the declarative provenance required by the query’s or inference’s contract.
It is also possible to record the lineage of a result’s representation: when it was serialized, published, projected or transported and through which transformations it passed. That representation history can be relevant to auditing and communication, but does not replace the semantic origin of the assertions or conclusions the representation carries.
The operations’ contracts determine the provenance mechanisms adequate to preserve or reconstruct the material lineage, including references, derivation structures and correspondences between fragments.
Completeness relative to a criterion
Semantic completeness describes whether a result satisfies the completion criterion defined by the producing contract under a determined interpretation basis. It is a property of the result, not only of the ending of an execution.
The contract distinguishes the conceptual roles CompleteUnder(Criterion, Basis), IncompleteUnder(Criterion, Basis, GapOrReason) and CompletenessUndetermined(Criterion, Basis, Reason). The first indicates that completion was established for the identified criterion and basis; the second expresses a determined incompleteness; the third indicates that a result exists, but the available information does not allow establishing whether its completion criterion was satisfied.
A query can completely traverse the records available in a source state and still that source may not contain observations from all expected sensors. Query completeness over its basis and observational coverage of the domain are different criteria. A consumer requiring full coverage must verify it through the appropriate contract, even when the query’s answer is complete under the search criterion.
The introduction of a complete result requires the evidence admitted by the completeness contract. Depending on the operation, that evidence can result from a structural verification, a certificate checked by a validator, an attestation from a trusted producer under determined conditions or a rule deriving completeness from subresults. An indicator emitted by the runtime only has that force when the contract admits it under the corresponding guarantee.
Partial results and execution termination
An execution can end normally, be interrupted, exhaust its gas budget, suffer an external failure or be canceled. Those are processing events. The availability and completeness of semantic results are determined separately.
Not every interrupted execution produces an interpretable partial result. The producer’s partial-results policy establishes whether a usable artifact exists and what its status is. A query can offer a known subset under an explicit incompleteness condition; an analysis can produce an interval or a lower bound; another operation can have no semantic result defined before concluding the required work.
When a partial result exists, it keeps the binding to the execution and the pertinent reason for its incompleteness. Gas exhaustion, in particular, records the limitation of the work performed and does not turn into proof of absence of answers, fixpoint completion or negative judgment.
A consuming operation can use incomplete information when its own contract admits that input. To publish a complete result depending on it, it must establish that the missing part is irrelevant to its completion criterion; otherwise, the dependency on the incompleteness stays visible in the next result.
Absence, unknownness and negative judgments
FormaSL differentiates the states that can arise when an operation does not present an affirmative answer. Their meanings belong to the contracts producing them.
- Empty (
EMPTY) describes a collection without members under the queried criterion and basis. - Unknown (
UNKNOWN) indicates that the available basis does not determine the requested content or status. - Unobserved (
UNOBSERVED) indicates absence of pertinent observation under the declared observational basis. - Hidden (
HIDDEN) indicates unavailability to the observer due to visibility or disclosure conditions. - Not applicable (
NOT_APPLICABLE) is a concluded judgment situating the target outside the contract’s domain of application. - Unresolved (
UNRESOLVED) indicates a material semantic condition still without resolution under the operation’s contract. - Inconclusive (
INCONCLUSIVE) identifies a performed judgment that established neither the foreseen affirmative nor negative position.
Non-existence (NONEXISTENT) and a negative or false result require, in turn, a basis with sufficient scope, closure and authority for the contract to establish them. Not locating an element in a query is not automatically equivalent to demonstrating that it does not exist in the modeled world.
The absence of a qualified proof also has a specific meaning. A search that produced no proof can have exhausted its resources or operated under an incomplete exploration regime. Only an appropriate consequence relation and completion condition allow turning the absence of proof into a judgment about non-implication.
Those distinctions accompany the passage between operations. The result of an execution failure does not automatically acquire the status of a negative semantic judgment; restricted visibility also does not redefine the existence of the origin information. When a disclosure policy needs to hide the difference between inaccessible and nonexistent information, the restriction will be an explicitly governed transformation for that view.
Conflicts and results about incompatible information
Conflicts between Claims, observations or evaluations can join the basis of a computation. A producer materially depending on that conflict preserves its presence and the involved positions, or applies a transformation whose contract specifies how the divergence was treated.
A query can present incompatible assertions. An evaluation can select information according to a declared criterion or produce a result remaining valid for all admissible alternatives. A decision can adjudicate the conflict under a determined authority. Those behaviors have different meanings and bases.
The later result keeps reconstructible what the operation did with the conflict. Choosing a position for a specific purpose does not erase the other Claims nor rewrite their history. The existence of conflict also does not automatically turn the result into a runtime failure or unknownness.
Witnesses, proofs and assurance artifacts
Some results are accompanied by artifacts offering additional information about their production or verifiability. The assurance contract identifies the artifact’s class, the target it refers to, the claimed guarantee and the applicable verifier or trusted basis.
A witness can present an object satisfying a determined condition. A derivation records the application of rules. A proof or a proof object must be interpreted before the formal system and the rules giving it validity. A certificate expresses verifiable guarantees according to a specific claim schema and validator. Traces, provenance, explanations and reports have their own contracts.
A derivation can be turned into a proof when an adequate verification establishes that it satisfies the intended formal rules. A witness can ground a certificate under the appropriate validator. Provenance indicates dependencies; an explanation presents information destined for understanding; a report communicates results. The guarantee attributed to each artifact is determined by its class and by the contract authorizing its use.
FormaSL keeps the bindings between those artifacts and the corresponding results without imposing a single representation of proofs, certificates or explanations on all operations.
Execution, receipts and accountability
An execution occurrence identifies the concrete processing performed. An ExecutionReceipt can record that occurrence’s identity, the realization and provider employed, the input context or snapshot, the resources’ state, the termination condition and references to the outputs and execution records.
The receipt documents the operational event under the emitter’s guarantees and its verifier. The integrity of a receipt can establish that a determined mechanism attested an execution and an output digest; the semantic correctness of the result depends on the verifications and bridges required by the corresponding contract.
Accountability keeps roles such as producing operation, invocation, executor, requesting agent and possible issuer of a later Claim. Those roles can belong to different agents. The computational result does not receive an assertion issuer merely for having been produced, just as the execution’s identity does not replace the identity of a semantically referenciable result.
Communication, use and adoption
A result can be communicated, received and used in new evaluations. Those occurrences add circulation and use history without by themselves changing the semantic status, the basis or the origin of the transported material.
The reception of an inference consequence lets another agent query or use it, according to its admission contract. Adoption as one’s own assertion constitutes a distinct transition: an agent can issue a new Claim about the content, with its own identity, issuer and attribution basis, keeping the relation with the result that motivated it.
The same distinction holds for Claims crossing systems. Retransmission keeps the original act of assertion; a new attributable issuance introduces another Claim. Acceptance, use, communication and re-assertion can coexist as distinct occurrences related to the same content.
Consumption by other applications
A consuming application examines the result according to the expected input’s contract. Static formation is one condition of that passage; admissibility also considers the effective semantic status, the interpretation basis, the required dependencies, completeness, assurance guarantees and disclosure restrictions.
The compatibility between producer and consumer contracts can be established for an unconditional linkage or through a branching selecting admissible outcomes. A particular result can satisfy an input even when the producer contract also admits other outcomes requiring different treatment.
The historically relevant passage keeps the contracts’ revisions and the basis under which it was admitted. A later revision of a consuming operation does not change the meaning of the earlier composition. The continuity contracts determine how to preserve or transform information when a result is projected, aggregated or communicated in another format.
A path of situated results
Consider the monitoring of water quality in a supply network. Sensors and collection teams provide measurements associated with stations, times, procedures and acquisition references. A query selects samples of a determined period; an analysis calculates indicators; an evaluation confronts those indicators with the applicable quality criteria.
The query can be complete for the records present in the selected source revision. However, if a station failed to provide measurements during part of the required period, the queried set may not satisfy the observational coverage contract. An analysis depending on that coverage can return an incomplete result or a result with undetermined completeness, according to the available information and its partiality policy.
The evaluation keeps the relevant dependencies: the data it actually used, the analysis revision, the normative criteria and the coverage condition. If the requirements for a definitive judgment are satisfied, it produces the corresponding outcome under its basis. If material evidence is missing, the result keeps the status of unknownness, absence of observation or inconclusiveness applicable to the case; each condition is interpreted by the responsible contract.
An operator can receive that result and decide to request a new collection. That decision constitutes a governed occurrence, related to the information used. The execution of the collection can generate an operational receipt and, later, a new observation. Each new result keeps its identity, its interpretation basis and its relation to the earlier path.
With that, queries, analyses, evaluations and decisions can use shared information without confusing what was observed, calculated, concluded, communicated or decided. Completeness and provenance accompany the results sufficiently to determine their following uses.
Related documentation
Semantic continuity describes the preservation of material information across operations and representations. Semantic operations and transitions presents the producers and transitions that can use results. Semantic applications and composition develops the contracts between consumers and producers. Contexts, time and spatiality deepens the temporal, contextual and spatial bases that can participate in each result’s interpretation.
Claims, communication and epistemic governance
Authorities: the lifecycle transitions and the occurrence/effect/observation/Claim loop are carried verbatim in Authorities — this chapter is pedagogical and does not replace them.
FormaSL allows representing assertions attributable to agents, tracking their circulation and using their content in evaluations and computations. An assertion can be received, accepted for a purpose, contested, reiterated by another agent or later retracted. Each event adds its own semantic relation to the information’s history.
The Claim is the semantic unit of a situated act of assertion. Its identity keeps who asserted, what was asserted and the qualifications needed to interpret the act. That organization lets agents share information about the same referents, keeping recognizable the positions they took, the bases they used and the changes that happened afterwards.
The Claim as an act of assertion
A Claim is a semantically identifiable token of a situated, attributable assertion. Its content expresses the proposition or relational structure asserted; the token’s identity distinguishes that act from other acts possibly presenting equivalent content. The issuer, the issuance basis and the relevant qualifications join the Claim’s interpretation.
Two organizations can assert that the same shipment was delivered at a determined hour. Each performs its own attributable act, with its own identity and history. The content can coincide, but an evaluation of the carrier’s assertion and an evaluation of the recipient’s assertion refer to distinct Claims.
A Claim can also cross different representations without changing identity. Serialization, storage and retransmission can produce new artifacts and communication occurrences, while the reference to the original assertion remains the same. The Claim’s semantic identity is determined by the act of assertion, according to the applicable contract; its physical representation can vary.
The asserted content, the Claim’s existence and the truth of the content perform different functions. Issuance establishes the attributable occurrence of an assertion. The truthfulness, applicability and admissibility of the content for other operations are determined by the corresponding bases and contracts.
Issuer, representative and recorder
The introduction of a Claim happens through an attributable issuance. FormaSL distinguishes three relevant situations: the direct assertion by its issuer, the assertion made by an authorized representative on behalf of an issuer, and the import of an already existing Claim.
In direct assertion, the agent performing the act is its semantic issuer. In assertion by representation, the acting agent and the represented issuer keep distinct roles. The delegation or representation basis must sustain that binding in the applicable scope and time; the textual indication of a name by itself does not establish legitimate representation.
Import recognizes a previously issued Claim and keeps its identity. For that, the operation needs an adequate basis of reference, issuance or authenticity allowing to identify that same assertion. A system that only received the report that a determined person asserted something can represent that report as information attributable to the informer. The report, by itself, does not create a historical Claim of the mentioned person.
The recorder is whoever incorporates or registers the information in a determined system. It can coincide with the issuer, but can also perform only a documentary function. Likewise, the executor of an import routine does not acquire the issuance authority of the one whose content it is transporting.
Content, qualification and interpretation basis
The meaning of a Claim depends on the asserted content and the conditions under which that content was issued. The interpretation basis can include scope, jurisdiction, frame, validity time, issuance moment, source references, support documents and other qualifications pertinent to the relation or the domain.
A carrier can assert that a batch stayed within a determined temperature range during an interval. The content identifies the batch and the alleged condition; the interval establishes the temporal coverage of the assertion. The record date in the recipient’s system can be later than the issuance and plays another role in the history.
The qualifications let an operation adequately treat claims referring to different periods, contexts and authorities. A query can select Claims valid for a certain interval; an evaluation can consider the support sources associated with the issuance; a decision can require a normative basis that is not part of the Claim itself.
The later adoption of a source or policy revision does not retroactively change the historical basis under which the assertion was issued. When a temporal or contextual relation is material to the interpretation, it remains reconstructible through the operations and representations using the Claim.
Communication as its own history
The circulation of information involves distinct acts of transmission, reception, acceptance, use and retransmission. The same Claim can participate in several of those occurrences, including across different agents and systems. Each occurrence can have its own participants, time, vehicle and access conditions.
The std::world::communication library offers a vocabulary for representing messages and communication occurrences. It includes Message, CommunicationOccurrence, Transmission and Reception, plus relations such as CarriesMessage, TransmittedBy, ReceivedBy, ReceptionOf and RetransmissionOf. Those constructs describe the circulation of informational artifacts and the bindings between their events.
A message can transport material referencing a Claim. The content contract employed by the application determines the correspondence between the transported material and the semantically identified assertion. The communication occurrence adds history to the circulation; its record does not replace the identity of the transported Claim.
Sending a message also does not establish that the recipient received it. The reception, when it happens, can be represented with its own identity and its relation to the transmission. The recipient can then examine the information and decide how to use it, according to its policies and contracts.
Receive, accept, use and re-assert
Receiving a Claim means participating in a reception occurrence of the material transporting it. Accepting establishes a position or relation of the receiver’s own towards the information; using indicates that it was employed in an operation or judgment under a determined basis. Those acts do not automatically constitute a new assertion by the receiver.
The recipient of a shipment can receive the carrier’s Claim and use it to start a verification. That does not make it the issuer of the received Claim nor imply agreement with its content. It can accept the information as input to an investigation, keeping pending the evaluation of the batch’s actual condition.
When another agent adopts an assertion as its own, a different transition happens. The ADOPT-AS-OWN operation introduces a new Claim attributed to the adopter and keeps a typed dependency towards the origin material. Re-assertion (REASSERT) is the case in which the agent again assumes the content of an earlier Claim as its own assertion. The original Claim remains identifiable, with its issuer and history.
Adoption keeps the content correspondence required by its contract. If an agent produces a new proposition from received information, the act is a new assertion based on the sources, with the pertinent support or derivation relation, and not simply the adoption of the same assertion.
Computational results and new assertions
FormaSL produces query answers, analytical values, inference consequences and governed judgments under their own contracts. Those results can use Claims as inputs without becoming Claims by their production.
An analysis over temperature readings can return a risk estimate. An inference can conclude that determined transport conditions require additional verification under a theory. Both results keep their operations’ status, completion criteria and origin dependencies.
An agent can then issue a Claim whose content is supported by that estimate or consequence. The ASSERT-BASED-ON transition introduces the new attributable act and preserves the material dependency on the support information. The agent becomes the issuer of its assertion; the operation that computed the result stays identified as the producer of the used information.
That sequence makes it possible to reconstruct how a position was formed, distinguishing the observed data, the hypotheses, the derived results and the decision to assume determined content as one’s own assertion.
Evaluations and epistemic positions
An evaluation expresses a position about a Claim or propositional content. It can consider the evidence, the source, the consistency, the scope and other criteria defined by the evaluating operation. The evaluation has its own identity and basis and keeps the reference to the evaluated information.
Different agents can evaluate the same Claim in incompatible ways. A quality team can consider it insufficiently supported, while the issuer keeps its original position. Both pieces of information can coexist and be used by distinct operations. A later evaluation can also revise the earlier one without modifying the historical identity of the examined Claim.
FormaSL preserves that epistemic plurality. The incompatibility between positions is domain information, which can ground queries, revisions and decisions. When a procedure selects, reconciles or adjudicates positions, the corresponding contract determines the transition and keeps the basis justifying it.
Absence of observation, unknownness, hiding by visibility, inconclusiveness and a negative judgment have specific meanings. An evaluation lacking sufficient data can produce an inconclusive result; that does not turn the evaluated Claim false nor establish that the alleged situation ceased to exist.
Issuance legitimacy and premise admissibility
Issuance legitimacy concerns the basis under which the Claim was introduced as an attributable act. Admissibility as a premise concerns the conditions letting a consuming operation use its content. A Claim can have legitimately attributed issuance and still not satisfy the evidence, currency, completeness or scope criteria required by a determined inference or decision.
Admissibility belongs to the consumer contract. One operation can accept the Claim as an object of analysis, while another requires additional evidence before using it as the ground of a judgment. Acceptance by one application does not automatically grant admissibility in all others.
Governance also considers the jurisdiction of whoever issues or evaluates information, the involved normative authority and the historical situation of the employed basis. Producing a judgment under a determined contract does not, by itself, establish the power to impose a normative consequence. Issuance authority, competence to evaluate, permission to execute an action and the power to decide are relations that can coincide in an agent, but require their own grounds.
An authority declaration contained in the evaluated material itself is content subject to interpretation. The authorization of a transition requiring authority must be grounded in an independent or previously established basis, under the rules applicable to the scope and the instant in question.
Governance, decision and execution
Claims and evaluations can ground conformance, admission and authorization judgments. A decision is another semantic event: a decider selects, adjudicates or assumes a result under an attributable basis. The governance contract determines when that decision has normative effects and which conditions must be met.
A Claim describing conformance does not automatically perform the corresponding validation. A favorable conformance judgment does not, without another transition, become a candidate’s admission. A decision about a batch’s destination also does not constitute its physical movement: execution request, operational attempt, effect and observation are differentiated events.
Those boundaries keep the responsibilities of agents and mechanisms. The application can relate the events in a common history without attributing normative authority to the executor of a process merely because it executed an operation.
Retraction, correction and succession
The history of a Claim can receive later revision acts. Retraction is an attributable transition under the applicable authority, indicating a position change relative to the earlier assertion. It preserves the historical act being retracted.
A correction can introduce new content and a new Claim, explicitly binding it to the corrected material. Supersession establishes a relation of replacement or current preference under the contract governing it. The record of the succession allows selecting a current position for determined uses, keeping the history of the earlier positions.
A source’s administrator can deactivate a Claim in a current view of the corpus. That act belongs to source governance and is not equivalent to retraction by the issuer. Likewise, the replacement of an assertion does not automatically establish that the earlier one was always false or ceased to be part of history.
An operation that effectively reconciles conflicting positions declares its reconciliation relation and the basis used. The selection of a current item, by itself, does not erase or adjudicate all existing divergences.
Recording, source revisions and historical multiplicity
The same Claim can be received and recorded several times. When those occurrences have semantic relevance, history keeps their multiplicity, even when all point to the same assertion token. The recording of a Claim and its retransmission can have distinct times and responsible parties.
The issuance time situates the attributable act. The transmission, reception and record times play other roles. The late communication or import of a Claim keeps the issuance instant when it is known; if it is unknown, the epistemically appropriate condition remains.
Storage and incorporation into the authoritative source follow their source contracts. A new source state can come to contain a determined Claim without redefining its issuer, its legitimacy or the truth of the content. The succession between source states and the revision of semantic positions have their own identities and histories.
The reconstitution of an already identified historical occurrence, such as re-reading a record, does not constitute a new issuance. A new assertion of fact, even with identical content, introduces another attributable occurrence when its contract so determines. That distinction allows reprocessing files and messages without duplicating semantic acts merely because of technical execution.
Claims in hypothetical contexts and under restricted visibility
Applications can evaluate Claims in hypothetical contexts or build scenarios with their own premises. The hypothesis that an agent will issue an assertion, or the hypothetical use of its content, remains dependent on the scenario context. The hypothetical evaluation keeps the origin basis and the premises that contributed to the result.
A simulation of accepting a batch can consider as a premise a future declaration by the carrier. The scenario’s result can guide a later decision, but its hypothetical execution does not retroactively create that agent’s real assertion.
Visibility and disclosure conditions can also limit what a determined receiver knows. An existing Claim can be hidden from a view by an access policy. When the presentation restricts qualifications or hides the very existence of the information, the transformation is governed by the disclosure rules and semantic continuity; the original state stays associated with its basis and the pertinent access conditions.
Language surface
The declarative form and the operational paths are gathered in the surface reference.
A path of assertions across organizations
Consider a medicine shipment controlled by manufacturer, carrier and recipient. Concluding the transport, the carrier issues a Claim asserting the temperature stayed within the contracted range during the trip. The act identifies its issuer, the batch, the considered period and the support basis used.
The carrier transmits the information to the recipient. The reception records the message’s arrival and its correspondence with the issued Claim. The recipient uses the information to start its own verification, preserving the identity of the original assertion. The reception and that use do not constitute a re-assertion on the recipient’s behalf.
The recipient’s acquisition system presents measurements pointing to a temperature excursion. Those readings cross the observation boundary under the applicable contract. An analysis uses the observations and produces a result that can diverge from the Claim’s content. A quality team issues its evaluation about the evidence and the received assertion, keeping the dependencies on the observations and the analytical method.
The divergence remains represented: the carrier’s Claim, the observations and the recipient’s evaluation keep different identities and statuses. A quality policy can guide the decision to retain the batch for investigation. The decider records its decision under the required competence and evidence bases; an eventual block order to the stock will be another transition, with its own execution and records.
Later, the carrier identifies an error in the origin information and issues a corrected Claim, bound to the earlier one by a succession relation. The history of the first issuance, its reception and the decision taken before the correction remains recoverable. A later re-evaluation can consider both Claims, the observations and the applicable normative revision, preserving the times and grounds of each act.
That path shows how the circulation of assertions can integrate applications from several organizations. The content travels between systems, while authorship, trust, admissibility, conflict, revision and decision continue governed by identifiable semantic relations.
Related documentation
The World model presents the Claim as a fundamental category and its relation to agents, reality and evaluations. Semantic invariants defines the distinctions preserved between assertion, truth, communication and authority. Semantic continuity develops the preservation of identity and history during transformations. Semantic operations and transitions describes the use of Claims in judgments and decisions. Situated results, completeness and provenance details the interface of the computational results that can ground new assertions.
Observation, evidence and acquisition
Authorities: the corresponding contract is carried verbatim in Authorities — this chapter is pedagogical and does not replace it.
FormaSL lets information from instruments, services, external systems and other sources participate in semantic computations. That passage is governed by contracts identifying the origin of the data, the conditions of the acquisition and the authority responsible for admitting its content as observation. The result keeps an interpretation basis of its own, usable in later queries, analyses, inferences and judgments.
Observation is a situated form of epistemic access to the world. It records information acquired about a referent or event, accompanied by the conditions allowing to interpret it. Acquisition provides evidence of an interaction with the source; admission constitutes the record of observation under the applicable semantic contract. The observed reality, the received evidence and the produced semantic position remain distinguishable along that path.
The boundary between the world and semantic information
FormaSL’s world model admits that states and events exist independently of having been observed or represented. A pump can stop before any system records the failure; a vehicle can cross a region undetected; a reading can arrive after the decision it would have informed.
The linkage between the external event and the available knowledge is established by an acquisition and observation boundary. The OBSERVATION-ACQUISITION-CONTRACT defines the conceptual path:
external information source
→ acquisition session and adapter
→ acquisition evidence (AdapterReceipt)
→ admitted observation bridge (ObservationBridge)
→ observation record (ObservationRecord)
→ input for a later semantic operation
Each passage introduces information under a specific contract. The system that acquired bytes or received a response can attest only what its interface and guarantees establish. For the received information to constitute an observation, an admission bridge must be authorized by the resolved semantic declaration. The resulting record offers an epistemic basis, subject to its qualifications; it does not by itself establish the truth of the observed content.
Sources, adapters and acquisition sessions
The external source is identified as the system, instrument or other origin of information being accessed. Its identity is resolved by the admission contract. An acquisition adapter performs the technical interaction with that source, for example through a device, an API or an attestation-reading interface.
Source and adapter have distinct identities. One adapter can serve several sources; the same source can be accessed by different adapters. The name declared by the provider does not by itself determine the source’s semantic identity nor the authority needed to admit information from it.
An AcquisitionSession identifies the acquisition episode: request, applicable adapter family, scope of the guarantees and produced evidence. The contract keeps its correlation even when execution distributes those elements across different operational structures. A session without received evidence remains an identifiable episode and can participate in evaluations about availability, coverage or acquisition failures.
Consider a medicine shipment tracked by temperature sensors. The sensor is the source of measurements; the gateway receiving its messages performs an adaptation function. A new session can acquire several responses from that sensor, and another gateway can perform acquisition from the same source. The later interpretation keeps both the informational origin and the technical path employed.
Evidence and guarantee scope
The AdapterReceipt is the evidence record produced at the adapter’s boundary. Its meaning is delimited by the operational claim expressed in the receipt, the guarantee scope and the revision basis under which it was produced. It can attest, for example, the reception of a response in a session, with determined properties of integrity and origin.
The acquisition contract establishes a ceiling for the guarantees the adapter family can offer. Stronger declarations emitted by the provider itself are kept as accountability information, but do not enlarge the guarantee actually admitted. A malformed response can also leave evidence that an unsuccessful interaction happened, without establishing the content that could not be interpreted.
The received evidence and the observation have different responsibilities. A receipt recording the reception of a value does not, alone, inform that the value was semantically observed, that the alleged event happened or that the instrument was correct. Those questions are handled by their own contracts and judgments.
The receipt’s guarantee scope follows what the acquisition can sustain. The observation’s scope describes where and under which conditions the admitted information has meaning. The two scopes can be related, but are preserved separately.
The admission bridge
The ObservationBridge relates acquisition evidence to an observation content under a declared transformation. The bridge identifies the required correspondence between sources, evidence, referents and interpretation conditions. Its admission is an act governed by the authority associated with the resolved .fsl declaration, under the pertinent revision and reference basis.
Admission verifies that the presented evidence belongs to the admitted source and adapter family, that the necessary references are correlated and that the contract’s conditions were satisfied. A presentation bound to the wrong source, an incompatible revision or a withdrawn authority receives the corresponding typed outcome. The provider’s interpretation, its classification or its score does not choose the bridge’s authority.
The declared transformation can be reused across acquisitions; each relevant use requires the resolution and verification of the current admission basis. A previously stored bridge does not make future admissions automatically authorized. Previously admitted records, in turn, keep the authority and revision of their historical admission.
The admission record keeps references to the bridge, the used evidence and the responsible authority. That correspondence makes it possible to distinguish the rule interpreting a reading, the act admitting the observation and the external data grounding it.
The observation record
An ObservationRecord is the epistemic data admitted by the bridge. It has its own identity and keeps, according to the contract, the origin receipts, the bridge’s identity, the authority reference, the revision of the basis, the observed content, the referent, the temporal roles, the scope, the frame and the guarantee qualifications.
The observation can refer to a quantity, a condition or a possible domain occurrence. In all cases, it records the informational access that was actually admitted. A temperature measurement, for example, offers information about a batch in a determined context. An event observation record offers evidence about that event; its existence is not equivalent to unrestricted verification of the occurrence.
The admitted record is immutable. The arrival of new data, the discovery of conflict or a later evaluation does not change its historical fields. New positions about that record are represented by other artifacts and relations, keeping recoverable the state at the moment of admission.
The observation’s identity also does not merge with the identity of the source or of the possible external occurrence. Two observations can refer to the same event, and the same evidence set can be submitted to distinct admission acts. The correlations are established by typed references, not by the casual equality of timestamps, contents or physical identifiers.
Observation vocabulary in the world library
The std::world::observation library declares Observation, which specializes std::world::dynamics::Occurrence, and the type Assessment. Its relations offer the basic structures to associate observations and evaluations with their participants and contents.
ObservedBy<T> binds an observation to the observer; ObservationOf<T> identifies its object; ObservationResult<V> relates the observation to the produced value. For evaluations, AssessedBy<T>, AssessmentOf<T> and AssessmentValue<V> relate the evaluator, the evaluated object and the evaluation’s content.
That vocabulary lets applications reference observations and evaluations within the metagraph without losing their categories. The library establishes the declarative structure; the admission of actually acquired information follows the governed acquisition boundary. A relation declaration about an observation does not replace the act introducing it as an admitted epistemic record.
Source, acquisition and knowledge time
An observation can involve several semantically relevant instants. The acquisition contract distinguishes the external occurrence time, when known, the acquisition time at the adapter, the evidence issuance time, the record admission time, the knowledge availability time and, when there is a later annotation, that annotation’s time.
A reading can have been produced by the sensor at 1 pm, reach the gateway at 1:02 pm, receive its receipt at that moment and be admitted as observation at 1:03 pm. The record keeps the roles participating in the meaning, including the clock basis used at each time. Clocks of distinct sources are not ordered by an assumption of compatibility.
If the external event’s instant is unknown, it stays unknown. The reception or admission time does not automatically take its place. Likewise, an observation arriving after a decision is introduced at its effective admission time; the late information can ground a revision, but does not retroactively rewrite the earlier decision’s historical basis.
Normative validity and decision time belong to the relations and operations requiring them; they do not become universal fields of the acquisition record. A later evaluation can combine the observation’s time with a policy’s validity, keeping each one’s role.
Scope, frame and correlation
The observation is admitted under a semantic scope and a frame. The scope indicates the domain conditions under which its content has meaning. The frame situates the information regarding the temporal, spatial or contextual references required to interpret it. Both are defined by the contract and bound to the coordinates provided by the acquisition.
A temperature reading can depend on the sensor’s position inside the container, while a camera detection depends on an image frame and a calibration basis. The realization mechanism can compute a coordinate transformation; its output is semantically admitted only under the declared correspondence. The qualitative relations of std::world::space remain distinct from the geometries applications use to obtain them.
The acquisition contract refuses required reference values that are absent or incorrectly correlated. The absence of a spatial dimension for a source without a spatial model is represented as not applicable, without a fictitious coordinate or default value introducing improper meaning.
Filtering a query by region or frame modifies the presented slice, keeping recoverable the history of the admitted observations. Observations in distinct frames can coexist; their comparison and eventual recognition of incompatibility need the appropriate basis.
Admission standing and later annotations
The record has an AdmissionStanding, fixed at the admission act. The acquisition contract distinguishes the degrees Admitted-Attested and Admitted-Unqualified. The attested degree requires evidence compatible with an attestation guarantee declared by the session and admitted under the contract; the unqualified degree constitutes the lower admission basis.
Those degrees express the epistemic status recognized at the boundary, not a universal scale of truth or probability. Attested information can continue being disputed or insufficient for a determined judgment. The consumer contract decides which guarantees it requires for its use.
New information can weaken an observation’s usable status. FormaSL represents that fact through a StandingAnnotation: a later, dated record, with its own identity, authority and basis, referring to the historical observation. The EffectiveStanding used by the consumer is derived from the original degree and the legitimately applicable annotations; the original observation remains immutable.
Conflict annotations or use-in-adjudication annotations have specific admissibility conditions. They do not automatically strengthen the observation’s guarantee. When a conflict-resolution judgment depends on an authority not yet defined by the responsible contract, that state stays outside the admitted transitions, instead of being resolved by the storage mechanism.
Absence, repetition and late evidence
An acquisition session can end without receipts. That state informs that there is no evidence received in that session under the considered basis. The absence can result from source unavailability, adapter failure or another recorded condition. It does not constitute a negative observation about the external world.
The repeated delivery of the same material can produce another acquisition receipt when another delivery act happens. That does not automatically create another observation. Conversely, a new admission over already known evidence introduces a new observation record and a new admission occurrence, without asserting that a second external event happened.
The contract preserves those historical multiplicities. When two pieces of evidence do not allow demonstrating that they refer to the same event, the records stay distinct until an explicit correlation or reconciliation relation determines another interpretation. Deduplication by content, time or proximity heuristic does not replace that judgment.
Late evidence is admitted with its own times. The delay can be material to coverage analyses, earlier decisions and subsequent revisions, but does not change the bases already used by concluded operations.
Incompatible observations
Two observations about the same referent can present incompatible contents. The acquisition contract keeps both, with their identities, sources and admission conditions. The incompatibility is recognized under the content classes and the rules declared by the transformations responsible for the observations, considering the pertinent frame compatibility.
The existence of different records or divergent numeric values does not, by itself, determine a formal contradiction. The contract can identify declared incompatibility, declared compatibility or absence of an applicable predicate. In the last situation, the relation stays without a compatibility judgment.
When the conflict is established, the observation can receive a contextualized conflict annotation, issued under the corresponding authority. Queries, indexes and aggregations keep preserving the conflicting records. The most recent record, the preferred provider or the storage order do not automatically select a winning observation.
A later operation can evaluate the evidence, request a new acquisition or adjudicate the positions under a specific contract. The acquisition contract defines the preservation and authority obligations of that passage, but does not assume the jurisdiction to resolve conflicts on its own.
Observation, execution and effects
An external action can generate operational evidence, including receipts from the execution boundary. Those receipts describe what the mechanism can guarantee about the attempt and its processing. To be used as observation evidence, they must enter through a governed acquisition act and cross an admission bridge.
Execution and its effects on the world also have their own roles. An attempt can end without an external effect being established. An effect can happen without available observation. An observation can report a condition compatible with the expected effect while the causal relation remains uncertain. Even a declared guarantee of the execution boundary can coexist with divergent later observations.
The observation contract keeps the reference to the eventual execution attempt and the evidence used. A causal relation, when needed, depends on an appropriate contract; the temporal succession between attempt and observation does not establish it automatically.
From observation to evaluations and Claims
Admitted observations can be consumed by queries, analyses, inferences and validations according to each operation’s input requirements. Their contracts determine whether the guarantee, the frame, the time, the completeness and the provenance are sufficient for that use.
An Assessment can evaluate an observation’s content under declared criteria, keeping the observer, the basis and the pertinent evidence. A Claim arises when an issuer assumes content in its own act of assertion. Issuance based on observations keeps the material dependency on the information supporting it and introduces a new Claim identity.
The observation thus joins the formation of epistemic positions without needing to automatically convert itself into one of them. The .fsl authoritative source can incorporate or reference observations through governed source transitions. The inclusion keeps the record’s original status; a new assertion or authority revision requires the specific transition constituting it.
An acquisition and decision path
Consider a batch of medicine in refrigerated transport. The application’s contract identifies the admitted sensors, the measurement scope, the acquisition conditions and the transformation relating each reading to the batch and the instrument’s position.
During the trip, a sensor records a reading referring to 1 pm. A gateway receives the material at 1:02 pm and produces a receipt within the session’s guarantee scope. The declared bridge is admitted under the authority and revision of the verified world; at 1:03 pm an observation record is constituted, with references to the receipt, the sensor, the batch and the temporal roles. The record stays distinct from the physical occurrence the measurement intends to describe.
A second source can produce a divergent reading for the same position and interval. If the declared incompatibility classes and conditions apply, the two records enter the conflict set. If there is no adequate compatibility predicate, the relation between them stays without that determination. In both situations, the observations are kept for later evaluation.
The quality application queries the set of admitted observations and verifies their coverage. A session that delivered no evidence can make coverage incomplete, while a late observation can modify a future evaluation without rewriting the earlier judgment. An analysis estimates the risk under the selected model version; the conformance evaluation considers the applicable criteria and the status of the used observations.
A responsible party can decide to retain the batch, with the normative and informational basis of its decision. The block request sent to the stock system produces its own execution history. New data can arrive later, feed another analysis and ground an eventual revision. The path keeps the identities and dependencies of the acquisition, the observations, the computational results and the decision.
Language surface
The declarative form and the operational paths are gathered in the surface reference.
Continuity of acquired information
The path from external source to semantic result preserves the material bindings of identity, attribution, time, scope, frame, epistemic status, dependencies and responsibility. Each boundary keeps the information needed to recover why an observation was admitted and which guarantees accompany it.
Transformations, projections and consuming applications can select or restrict that information according to their contracts, keeping sufficient historical references when the qualifications remain relevant. The physical representation of the evidence and records can change without redefining the already introduced semantic events.
Related documentation
The World model presents the fundamental categories of reality, occurrence and epistemic access. Semantic operations and transitions describes the relation between computation, decision, execution and observation. Contexts, time and spatiality develops the scopes and frames used in interpretation. Situated results, completeness and provenance specifies the interface of the evidence and results consumed by other operations. Claims, communication and epistemic governance explains the transitions by which an agent can assert something based on received observations.
Actions, execution and effects
Authorities: the corresponding contract is carried verbatim in Authorities — this chapter is pedagogical and does not replace it.
FormaSL represents actions and their outcomes through contracts binding intentions, decisions, requests, external mechanisms and domain events. An operation can request the performance of a service, equipment or system, track its execution and use later information to evaluate what happened. The relations between those stages keep the applicable identities, authorities and evidence guarantees.
The architecture distinguishes the request to act, the dispatch authorization, the attempt actually started, the outcome attested by the operational boundary and the effect attributed to a cause. Observation adds epistemic access to what may have happened in the world. Those parts integrate a common semantic path, with specific contracts for their transitions.
Actions, states and occurrences
The world model recognizes states and occurrences independently of their representation by the language. An action can be declared and discussed before happening; its identity as a possibility does not establish that it was executed. An actual occurrence, when represented under an appropriate basis, belongs to the domain’s history and can be related to other occurrences and states.
The std::world::dynamics library offers the types Occurrence, Event, ActionOccurrence, ProcessOccurrence and State. Events, action occurrences and process occurrences specialize Occurrence, with explicit subtyping relations. StateOf<T> relates a state to its subject. EffectOf provides roles for an occurrence taken as effect and another taken as cause.
Those declarations provide vocabulary for representing a domain’s dynamics. The conditions of currency, authority and causality are established by the contracts using that vocabulary. A state change represented by an application can be interpreted from events, observations and causal bases without the presence of a node or relation in the metagraph, alone, proving its actual occurrence.
From decision to execution request
A decision is an attributable occurrence in which a decider selects or assumes a result under a determined basis. It can ground a later action, but the deciding contract keeps its own identity and authority. To request external performance, an application introduces an ExecutionRequest, identifying the required action, its target, the pertinent arguments and the semantic basis of that request.
The execution_request family of the .fsl surface uses an application signature and the reference to an appropriate contract. The issuance of a request is an act of solicitation: it registers what is intended to be performed and lets it be related to the decision or judgment that motivated it. The system can keep requests not yet dispatched, rejected before execution or depending on additional conditions of authority and realization.
A domain authorization and the authority needed to perform the dispatch have their own functions. An authorization judgment can establish that an agent satisfies a policy; the operational dispatch authorization must also cover the concrete request, the target, the payload and the selected capability, according to the execution boundary’s contract. A request can legitimately exist without that operational linkage being ready.
Binding to realization and dispatch authority
An execution request reaches the realization plane through an admitted binding between the semantic requirement and a concrete capability. The selected capability has identity, revision and guarantees bounded by the realization contract. The mechanism responsible for its invocation can be an external service, a device adapter or another infrastructure appropriate to the action.
Dispatch is the authorized transition starting the forwarding of a request to a provider. The external boundary’s contract requires an identifiable chain: recorded request, exact realization binding, operational authority produced by the owner, dispatch eligibility, exclusion of stale or concurrent workers and exposure authorization for the prepared invocation.
The exposure authorization is bound to the specific operation and invocation; its use consumes the possibility of performing that dispatch. The mechanism can employ concurrency control, generations, fences or single-use permissions. Those resources realize the contract’s guarantees, and their operational identifiers stay distinct from the semantic identities of request and attempt.
The exposure boundary
The effective start of the invocation to the provider constitutes the exposure boundary. Before it, the operation can be accepted and prepared, but no external execution attempt has happened yet. A preparation failure, an impossible selection, an authority rejection or a cancellation provenly before exposure stays in that prior condition.
An ExecutionAttempt arises as an occurrence when the invocation actually begins. That attempt’s identity is introduced at the first admissible representation of that occurrence. In runtime-controlled executions, the two moments can coincide. If an earlier invocation only becomes known later, the late record identifies the old occurrence, keeping its original instant when known.
The existence of the attempt depends on the invocation having started, even when there was no valid authorization. An unauthorized external execution remains a historically representable occurrence, accompanied by its authorization status. Rejection before the invocation, in contrast, introduces no fictitious attempt into the history.
Once exposure may have happened, the system tracks the outcome under the evidence actually available. The loss of the response can leave the target’s state uncertain; the disappearance of a connection does not establish that the provider stopped processing the invocation.
Durable operation and correlated identities
The external execution contract uses a durable operation as the stable reference for a request’s control cycle. The operation exists since its acceptance and crosses waiting, preparation, attempt, reconciliation and eventual authorized repetition. The same operation can relate to no attempt or to several sequential attempts, each introduced by the invocation itself.
The request’s identity, the operation’s reference, the attempt’s identity and the receipt’s identity have distinct functions. They are related by typed, reconstructible bindings. Through those bindings, an application can recover which request motivated an attempt, which capability was bound, which target was selected and which attempt a determined receipt refers to.
External attempts whose correlation with a request has not yet been established can also be represented. Later evidence can add the correlation relation without retroactively changing the occurrence’s identity or moment. The absence of proven correlation stays explicit until an admissible basis allows establishing it.
The durable operation belongs to execution control. The semantic result of a query or analysis executed by the runtime is another category of result; the occasional homonymy between execution structures of distinct components does not transfer identities or authority between planes.
Authorization and operational outcome
An attempt has at least two interpretation axes. The authorization status informs whether its invocation was authorized, provenly unauthorized or still without sufficient determination. The operational outcome informs what the evidence allows concluding about the processing within the bound boundary.
Those axes can vary independently. An unauthorized invocation can have been processed by the provider; an authorized invocation can have produced no response; an attempt whose authorization status is undetermined can have a known operational outcome within the boundary. Operational conclusion does not modify the occurrence’s normative status.
The distinction also holds when there are contradictory authorization evidence. The conflict stays related to the authorization basis and is not resolved by the provider’s response. The absence of sufficient evidence is represented as undetermined status; the finding of non-authorization requires its own basis.
Receipts and the limits of guarantees
The ExecutionReceipt records evidence about an attempt within the guarantee declared by the selected capability and adapter. Its meaning includes the admitted operational outcome, the correlation basis and the exact scope of what the mechanism can attest.
The contract distinguishes descriptions provided by the provider itself from guarantees associated with an actually verified route. An unverified description can sustain transport or protocol facts within its scope, but does not automatically acquire attestation force about acceptance by the target system. Responses claiming stronger guarantees are kept as provider declarations and interpreted under the admitted ceiling.
A transport confirmation can indicate the message reached the contracted boundary; an application confirmation can indicate the target accepted an operation within its guarantee. The later physical or business situation stays subject to the corresponding contracts. An operational receipt also does not, by itself, constitute admitted observation, Claim or authoritative source update.
Malformed responses or responses associated with the wrong attempt, target or provider receive typed diagnostics. They do not arbitrarily end the attempt as success or failure. If the invocation may have happened, the tracking keeps that possibility until adequate evidence is obtained.
Failures before and after exposure
The failure’s position relative to the exposure boundary determines what can be asserted. When there is evidence the invocation did not start, the operation records the failure before exposure by that route. No attempt is introduced; the system can select another mechanism or prepare a new dispatch according to the applicable conditions.
After possible exposure, a timeout, the loss of the acknowledgment or a communication failure can produce OUTCOME_UNCERTAIN. That outcome informs that the external processing could not be determined by the admitted evidence. An invalid response can also keep the attempt in that state.
Results such as SUCCEEDED_WITHIN_BOUNDARY and FAILED_NOT_APPLIED are interpreted within the declared operational boundary. The expression not applied has, in that case, the reach the contract effectively guarantees for the route and target. It does not work as an assertion about all possible events in the external world.
Execution, therefore, keeps negative results, mechanism failures and undetermined states sufficiently to guide the next steps. The classification of a failure tells whether a new attempt can be considered or whether the operation must first discover the earlier invocation’s fate.
Reconciliation and attempt repetition
Reconciliation examines admissible evidence about an attempt whose outcome remains uncertain. It can use receipts, queries to the provider, durable records and other sources admitted by the control contract. The reconciliation result keeps the reference to the original attempt and the basis grounding the classification.
While an attempt of the same request remains with an uncertain outcome, the contract prevents a new blind dispatch. The new attempt requires resolving the earlier state and obtaining specific authorization for the resend. An independent idempotency guarantee can provide evidence to recognize a repeated delivery under its contract, but does not waive the reconciliation of an uncertain attempt. If reconciliation establishes the operation was applied within the boundary, the repeated delivery can be treated as evidence repetition, according to the contract. If it establishes it was not applied, a new authorized invocation introduces another attempt, under the same request and durable operation.
An idempotency key identifies the intention to treat deliveries as repetitions of an operation. The external idempotency guarantee additionally depends on a contract or application mechanism capable of sustaining it in the declared domain and window. Message deduplication within the control system and business-effect idempotency have their own scopes.
Actually re-executing an action produces a new attempt. Reopening a durable record, replaying a trace or re-presenting the receipt of an earlier execution preserves the identity of the already recorded occurrence. Repetition control uses its own authorization, and its history stays reconstructible across process restarts.
Cancellation and concurrency
Cancellation can happen while the request is still being prepared or after its invocation may have been exposed. Before exposure, when there is sufficient evidence of non-invocation, the operation can end as CANCELLED_NOT_EXPOSED, precisely describing the interrupted execution path.
After possible exposure, requesting cancellation does not eliminate the existing attempt nor determine that the provider ceased the work. An acknowledgment of the cancellation proves only what the cancellation channel’s contract guarantees. The attempt can remain in reconciliation when a cancellation acknowledgment and a processing confirmation arrive in temporal competition.
The evidence of those events stays available for evaluation. Concurrency control prevents improper duplicated dispatches by stale workers and keeps the association between exposure authorization and prepared invocation. The internal organization of that control can vary across mechanisms, as long as it keeps the properties required by the contract.
Effects and causal relations
An effect is an occurrence considered under an admitted causal relation. The std::world::dynamics library provides EffectOf, whose roles relate an occurrence taken as effect and another taken as cause. The introduction of a causal relation requires the basis foreseen by the contract responsible for that judgment.
The attempt to execute an action, the confirmation of its processing within an operational boundary and the finding of an external effect are related events, with their own grounds. An API’s response can confirm the acceptance of a command; a later observation can inform an equipment’s new state; the causal attribution of that state to the command depends on a rule or evidence sustaining that binding.
The execution contract keeps that boundary. The recording of effects in the action plane requires a reference to an independent causal basis, as required by ActionJournal::record_effect. Receipts and provider declarations can be used as evidence within their guarantees; they do not automatically introduce the EffectOf relation.
Chronological succession also has a distinct meaning. That an equipment changed state after the sending of a command does not suffice, alone, to establish that the change was caused by that attempt. The complete causal computation belongs to the specific contract interpreting the available evidence.
Observations after the action
The domain can receive new observations after an attempt. The acquisition of that information obeys the observation boundary: external source, acquisition session, receipt, admission bridge and observation record. The record keeps the observer, source, time, scope and guarantee conditions needed for its interpretation.
An observation can be compatible with the intended effect without ending all doubts about its cause. An operational confirmation and a discordant observation can also coexist. When that information constitutes material conflict, the later evaluation keeps or explicitly treats the positions under its interpretation basis.
That path makes it possible to record both an action whose execution is known and whose external effect remains undetermined, and an action associated with an established effect without available observation. The later observation can ground a new evaluation or an attributable Claim, through their own transitions, without retroactively redefining the earlier events.
Time, history and accountability
The execution path uses distinct temporal roles: request issuance, authority record, dispatch, exposure, effective attempt start, first record of the occurrence, evidence acquisition, receipt issuance, reconciliation and eventual cancellation. Each time stays bound to its function when material to the interpretation.
An attempt discovered late keeps the known occurrence time; if that instant cannot be determined, the information stays unknown. The record moment does not replace the invocation’s start. Likewise, a later observation does not change an earlier decision’s date or the basis grounding its authorization.
The history relates requester, decider, owner of the operational authority, executor, provider and, when applicable, observers and Claim issuers. A person or service can play several roles, but the responsibilities remain identifiable through the pertinent contracts.
Control records can be persisted and reopened by another process, keeping the references and evidence needed to reconstruct the operation’s state. When the basis is incomplete or corrupted, the durable boundary applies the typed refusal outcome, preserving the integrity of the available conclusions.
Actions in hypothetical scenarios
A composition can evaluate a scenario contemplating an action not yet executed. The hypothesis identifies premises, context and modeled consequences; the outputs stay dependent on that hypothetical basis. The decision to perform a real action is another semantic passage, with its own authority and realization.
A production-line interruption scenario can estimate impacts on stocks and deliveries. The shutdown simulation does not create an external attempt. When a real decision uses the scenario’s result, its execution request keeps the relevant informational dependency, but needs the operational authority corresponding to the non-hypothetical world.
A real attempt motivated by simulation remains a real occurrence when the invocation starts. The hypothetical origin of the motivation can stay in its provenance without turning its execution into a merely simulated event.
An operational path
Consider the retention of a batch of medicine in a distribution center. A quality evaluation uses temperature observations and produces a judgment. A responsible party decides to block the batch’s release and introduces a request for the stock system to apply the restriction.
The request identifies the batch, the requested operation and the decision grounding it. Realization selects the blocking capability offered by the stock system, with its guarantees and revision. The operational owner establishes the dispatch authorization for the concrete payload and target. The durable operation receives its identity and tracks the invocation’s preparation.
When the call to the provider starts, an attempt arises. Suppose the service receives the request, but the connection ends before returning a usable confirmation. The attempt stays with OUTCOME_UNCERTAIN. The application does not turn it into failure nor blindly sends a second request. The durable operation keeps the stable reference and starts the reconciliation foreseen by the contract.
A state query to the provider can provide evidence that the block was applied within the guaranteed boundary. That outcome ends the operational doubt according to the admitted basis, without automatically establishing all later effects in the warehouse. An independent observation from the picking system can later indicate the batch is no longer available for dispatch. The application evaluates that information under the observation contract; a causal relation between the order and the observed state requires its own basis.
If reconciliation, instead, establishes the block was not applied, a new authorized dispatch can start another attempt of the same request. The attempts and their receipts are kept separately. A subsequent decision can consider the stock’s effective state and the new observations, keeping the whole chain of historical dependencies.
The sequence makes reconstructible what was decided, requested, authorized, actually invoked, confirmed by the execution boundary and observed later. Each stage adds information to the semantic world under its contract.
Language surface
The declarative form and the operational paths are gathered in the surface reference.
Related documentation
Semantic operations and transitions presents the general relation between computation, judgments and occurrences. From the semantic program to realization explains the binding to executable capabilities. Semantic applications and composition deals with dependencies and stage ordering. Contexts, time and spatiality develops the temporal roles and interpretation bases. Situated results, completeness and provenance specifies the results’ guarantees; Claims, communication and epistemic governance and Observation, evidence and acquisition present the paths by which operational information can ground later positions and observations.
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.
Validation and governance
Authorities: the validation and governance contracts, the judgment semantics and the H1 profiles are carried verbatim in Authorities — this chapter is pedagogical and does not replace them.
FormaSL’s governance organizes the judgments and acts determining how information, agents and candidates participate in a process. The contracts identify the target of each judgment, the basis used, the pertinent authority and the consequences of the decision. Validation examines restrictions; admission deals with passage through a boundary; authorization deals with an agent’s performance; the decision records the result assumed by a decider.
Targets, criteria and validation world
A validation applies a declared set of restrictions to a target selected within a validation world. The target can be an entity, a relation, a set of information or another construct admitted by the contract. The validation world fixes which information is available and how it will be considered.
The application keeps the revision of the restrictions, the targets’ selection and the interpretation basis. Thus, a judgment about an equipment inspection can be reconstructed with the criteria in force when it was produced. A new criteria revision gives origin to another evaluation over an identified basis.
The result presents the findings and the conformance judgment foreseen by the contract. A finding can point to a specific target and the information grounding the evaluation. The result’s interface determines which details must be preserved for its later consumption.
Conformance
Conformance is the relation of meeting a contract’s restrictions or the judgment establishing it for a target. It is always relative to the selected criteria and basis.
In a logistics operation, the validation can examine whether an inspection’s record contains the required information and whether its relations satisfy the declared restrictions. The conformance result reports the meeting of those criteria. The equipment’s entry into an operation is examined by another contract, which can use that result among its inputs.
Negative judgments are results of the evaluation itself. Acquisition failures, absence of a required basis and mechanism interruptions are handled by their respective outcomes. That organization lets a conformance problem be routed to a domain correction and an operational failure to processing recovery.
Admission of candidates
Admission examines whether a candidate can cross a governed boundary. Its contract identifies the candidate, the boundary, the policies, the informational basis and the requirements that must be met.
An equipment can be conformant to the inspection contract and still depend on capacity conditions, an operational window or compatibility with the destination installation. The admission operation relates those conditions to the concrete candidate. Its result can be consumed by a decision that effectively assumes the admission.
The boundary is part of the judgment’s meaning. The acceptance of information as an analysis input, the admission of an observation and the admission of a composition into a railway stretch have different objects and conditions. Each contract defines the pertinent relation.
Authorization of agents
Authorization evaluates an agent’s position towards an action or capability within a scope. Its basis can gather delegations, policies, competences, temporal conditions and other normative elements of the domain.
The agent responsible for a maneuver and the equipment used participate in the same process, but in distinct roles. Authorization addresses the agent’s performance. Admission considers the candidate’s passage through the boundary. The composition relates the judgments needed by the operation.
The relevant instant of the authorization belongs to the contract. An action can require authority at the moment of decision, of request, of execution attempt or during an interval. The record keeps the temporal basis actually used.
Decisions and normative effectiveness
A decision is an attributable act that selects, adjudicates or assumes a result. It identifies the decider, the decision’s object, the outcome, its basis and the conditions of context and time.
The occurrence of a decision and its normative effectiveness are distinct pieces of information. The domain can keep contested decisions, later annulled or issued outside the applicable competence. The governance contracts establish how to evaluate its authority and effects.
Persistent normative states also depend on a contract. A permission can be introduced by a specific transition or derived from a history of decisions and norms. The chosen form determines how to query its validity and how to record grants, withdrawals and revisions.
Composition of judgments
Judgments are combined according to the process’s needs. One composition can query information, validate a candidate, evaluate the agent’s authorization and forward the results to the decider. Another can start with the authorization or use a previously produced judgment whose reuse is admitted.
Each linkage keeps the producer’s contract and the consumer’s requirements. A valid admission result can feed a decision without the computation of the judgment being confused with the deciding act. The execution stage uses its own request and operational chain.
Governance history
The history relates criteria, information, judgments, decisions and revisions. A later policy change changes the basis of new evaluations; earlier results stay bound to the revisions they used.
That linkage allows answering which criteria were applied, who decided, which authority sustained the decision and which information was available. Governance uses the same identity, context, provenance and continuity structures organizing the rest of the program.
Related documentation
Claims and communication, Situated results, Composition and Actions and execution.
Evidence-bound governed authorization
Authorities: the bounded amendment Governance Evidence-Bound Authorization Bounded Amendment and the governance contracts Validation and governance and Governance Capability Contract are carried verbatim in Authorities. This chapter describes how the implementation discharges those laws and does not replace them.
Authorization in FormaSL does not consult an outside judge. A policy declares a where condition and the language core evaluates it against a world of atoms built from the application’s own body. Every field in that body declares its origin; the condition sees only what the evidence brings; and each atom’s provenance rides on the result, so any verdict can be reconstructed from the values that produced it. Three condition families populate this world: integer comparison, set membership and instant comparison.
The atom source
A field holding a boolean literal enters the world as the value written. A field holding a $name reference is a different thing: a demand for evidence. The name must resolve to exactly one single-goal infer application; ambiguity, absence or a target that is not an inference are typed rejections, not results.
Once the reference resolves, the evidence derivation decides the atom. Under a complete derivation, at least one goal match affirms the atom as true and zero goal matches produce it as decisive false. If the gas runs out before completion, the atom stays Unknown and its origin is recorded. Absence is only decisive once the chase has ended; that distinction keeps a policy from concluding “unproven, therefore denied” over an interrupted proof.
Comparison and membership
Against this world, the where evaluates comparisons and membership with the usual three-valued core operations. What is new lies in what the operands can be. An evidence-bound atom projects an integer: the total goal-match count of the derivation. A reference with a projected role (field : $App.role) projects a set: the values that role takes across the derivation’s matches.
Both projections answer to the same gate as the atom source: they exist only under a complete derivation. The reason is the asymmetry of membership. A contains over an empty set decides False, and a not contains decides true; if the derivation has not finished, an empty set would let the negation assert exactly what the proof never demonstrated. An incomplete derivation therefore projects no set at all: the comparison stays Unknown and the verdict goes unresolved.
Time without a clock
Temporal conditions compare instants, and no clock lives in the core. The admitted type is the strict UTC instant YYYY-MM-DDTHH:MM:SSZ, lexically validated against the real calendar; a well-formed but impossible spelling, such as September 31st, is a formation rejection, not a value.
The instant enters the condition through the same door as integers: an order-preserving epoch projection feeds the core comparison, and no second temporal comparison mechanism exists. When the projected atom carries several instants, the decisive value is the most recent of them, always behind the completion gate. A validity floor declared as where $reviewed_at >= 2026-10-01T00:00:00Z becomes decisive when the evidence brings the date; under exhausted gas the result is UNRESOLVED, never a silent denial.
Named policy sets
An application can point at one policy or at a named set of them:
policy set ReleaseGuardSet combines PROHIBITION_OVERRIDES { SetAllowPolicy, SetDenyPolicy }
authorize AuthorizeGuardSet($actor: Agent) using ReleaseGuardSet {
authority : $ReleaseGovernanceBasis
blocked : $BobSoDBlock
}
The contract declared in the combines clause is the deconfliction basis demanded by the governance contract: conflict without a contract yields UNRESOLVED, never an implicit winner. The current phase admits PROHIBITION_OVERRIDES and ALL_REQUIRED; members resolve fail-closed, and a missing or ambiguous member is a typed rejection naming both the set and the member.
The combination is denotational. Every member is evaluated against the same atom source, each with its own boundary identity, and evaluation order holds no semantic authority. Over the three-valued verdicts the deny-biased law applies: any denied member denies the set; while any member stays unresolved, the set stays unresolved; only a full grant grants. The attributable decision remains per policy, with the set recorded as context in the outcome.
Running the example against the language binary shows the three effects on the same route:
authorize AuthorizeGuardSet -> SetEvaluated { verdict: Denied, set: "ReleaseGuardSet",
contract: "PROHIBITION_OVERRIDES", members: [("SetAllowPolicy", Granted),
("SetDenyPolicy", Denied)] } (policy ReleaseGuardSet)
authorize AuthorizeOpenSet -> SetEvaluated { verdict: Granted, set: "ReleaseOpenSet",
contract: "ALL_REQUIRED", members: [("SetAllowPolicy", Granted),
("SetAllowAgainPolicy", Granted)] } (policy ReleaseOpenSet)
With an insufficient derivation budget, the same application keeps its shape and swaps its content: the set and every member record Unresolved, and nothing decides over an interrupted proof.
Typed rejections
The boundary between a formation error and a result is typed. A reference that does not resolve, a role that no goal declares, a set member that does not name a policy, a malformed instant: each has its own class and names exactly what failed. None of these conditions becomes a disguised Unknown; none of them authorizes a verdict. The recorded outcome preserves the evaluated atoms’ provenance, and it is that provenance which separates a “no” decided under a complete proof from a “don’t know” under an interrupted one.
Where the authority lives
The laws on this page are authoritative in the bounded amendment cited at the top and in the governance contracts derived from it. Wherever the normative text and this chapter diverge, the normative text wins; the amendment is also where a later phase (durations, additional combination classes) must be recorded before it exists in the implementation.
Scenarios and hypothetical evaluation
Authorities: the hypothetical and revision contracts and their H1 profiles are carried verbatim in Authorities — this chapter is pedagogical and does not replace them.
A scenario establishes an evaluation basis composed of selected information and explicit hypothetical changes. Semantic applications executed over that basis allow examining alternatives, comparing consequences and preparing decisions. The scenario keeps the relation between its premises and the results depending on them.
Definition, instance and result
The scenario definition describes the parameters, the required basis, the admitted changes and the operations that can be evaluated. A context instance binds that definition to determined revisions and inputs. A hypothetical result is produced by an operation within that instance.
The same definition can be applied to different bases. Each instance keeps its identity and the revisions of the source, theories, models and rules used. That distinction allows comparing alternatives without losing the origin of the observed differences.
Evaluation basis
The basis gathers the non-hypothetical information selected for that evaluation. Its identification includes the necessary historical references, the context parameters, the frame and the pertinent temporal roles.
A maintenance analysis can use a network’s configuration in a specific revision and evaluate the withdrawal of an equipment for two hours. The assumed unavailability belongs to the scenario; the selected configuration belongs to the basis. The two contributions remain recognizable in the result.
Local changes
The hypothetical contract distinguishes the introduction of premises, the restriction of visibility, the substitution of inputs, the creation of local elements and hypothetical transitions. On the language surface, those functions appear through constructs such as assume, mask, substitute, local introductions and declared transitions.
A premise adds a condition to the evaluation. A mask changes the available slice. A substitution indicates which input will be used in place of another under a determined role. Local elements receive identities adequate to the context in which they were introduced. A hypothetical transition produces a successor state when its conditions are satisfied.
The changes use their own admissibility contracts. The meaning of substituting a measurement, substituting a rule and considering a hypothetical decision depends on each element’s semantic role.
Operations within the scenario
Queries, analyses, inferences and judgments can act over the hypothetical context. Each operation preserves its result status and the material dependencies of the assumed premises.
A query over available routes can use a local circulation restriction. A capacity analysis can combine its answer with an identified model. An inference can derive consequences under selected rules. The composition relates those outputs keeping the scenario instance’s identity.
Results independent of a premise keep their own dependencies. The contract allows identifying which conclusions change when a determined hypothesis is withdrawn or replaced.
Alternatives and comparison
Alternative scenarios can share part of the basis and vary in specific premises. The comparison uses correspondences between referents, evaluation criteria and results.
For example, two maintenance alternatives can consider the interruption of different equipments in the same interval. A third can move the intervention to another period. The comparison can examine remaining capacity, operational requirements and execution conditions, preserving the basis used by each evaluation.
The comparison contract determines which results are comparable and how to treat partial conclusions, conflicts or criteria without sufficient determination.
Closure and evolution
The conclusion of a hypothetical evaluation depends on the operations’ criteria and the scenario’s contract. A partial result keeps its partiality condition. A refused transition keeps the earlier context and the judgment that prevented the successor’s introduction.
A new evaluation can use a later source basis. That passage produces another instance bound to the new basis, allowing the earlier analysis to be kept for historical consultation. The operational closure or discarding of a scenario follows the preservation obligations of its results and references.
Use of the results
A real decision can use a scenario’s results as ground. The deciding act identifies which results were considered and keeps their hypothetical dependencies. The decision’s authority and the execution requirements belong to the real process.
When a scenario artifact is incorporated into the source, the incorporation keeps its status. The introduction of another category, such as a Claim or a decision, uses the corresponding transition. The application thus keeps the relation between the studied alternative, the assumed decision and the requested action.
Related documentation
Contexts, time and spatiality, Composition and Source evolution.
Application state and reactivity
Authorities: the reactive activation (RAC) and dependency/invalidation/recovery contracts are carried verbatim in Authorities — this chapter is pedagogical and does not replace them.
An application’s state gathers the concrete information used in its evaluations and transitions. Its organization distinguishes the authoritative semantic source, the operational states, the evaluation instances and the derived results. Those parts evolve under different contracts and are related by explicit identities and dependencies.
Source and operational state
The source determines which declarations and semantic data constitute the selected authoritative basis. The operational state records the progress of the work: invocations, durable operations, attempts, evidence and other elements of the execution mechanisms.
An evaluation uses a defined basis and produces a result. The publication of a source successor belongs to the evolution contract. Execution can, therefore, advance without each operational change constituting a new semantic revision.
Evaluation instances
An evaluation instance binds the application to the inputs and the basis under which it will be interpreted. Its identity lets results be associated with the set of conditions actually used.
The binding to another basis is represented by a new instance. That organization keeps the meaning of earlier results and makes it possible to distinguish a repeated evaluation from an evaluation performed over new information.
The operation’s contract establishes which inputs are fixed at the start and which can be bound during execution by explicit rules. A reference obtained from an earlier transition keeps the relation to the state that introduced it.
Read dependencies
A result’s validity can depend on the information read, its versions and the presence or absence conditions found. A query selecting the records of a period can be affected both by the change of a known item and by the arrival of a new item satisfying its pattern.
The dependencies used for reuse need to reflect the operation’s contract. The references to the read values are part of that basis; scope restrictions, selection criteria and negative dependencies can also join the result.
When a revision changes the relevant interpretation, the impact on the result is evaluated according to the evolution contract. The result can remain usable, require new computation, remain historical only or have an impact not yet determined.
Reactive update
A reactive integration relates input changes to the applications depending on them. The update can recompute an operation, reuse admissible results or process increments under a specific contract. The execution strategy is chosen according to the guarantees required by the consumer.
The application keeps the basis of each published result. A visualization can receive successive evaluations of a query, while a decision consumes a determined revision and records that binding. The update of the visualization and the update of a decision’s basis are different operations.
A change in policy, authorization or context can be as relevant as a change in the data’s content. The integration uses the declared semantic dependencies, including the normative and temporal bases needed by the judgment.
Increments and partial results
Incremental processing uses a contract determining the meaning of intermediate states, their order, their revisions and the finalization condition. The consumer identifies which increments it can accept and which transitions it can perform before completion.
An operational dashboard can present new measurements as they arrive. An operation requiring complete coverage of an interval also tracks the gaps and the completion state. The continuous presentation of data and the authorization to conclude a judgment follow their own criteria.
Concurrency and history
Independent evaluations can be executed in parallel. Transitions interacting through a source, an authority or other shared state use contracts of ordering, isolation or non-interference.
The history relates the selected states, the evaluations performed and the results made available. Recovery after an interruption uses those identities to resume control or reconstruct results, according to the operational contract.
Related documentation
Situated results, Composition and Source evolution.
Semantic-native software
A semantic-native application uses explicit semantic structures as part of its definition and operation. Entities, relations, concepts, contracts, attributable positions and computational results join a shareable basis. The realization interfaces connect that basis to the mechanisms responsible for storage, computation, communication and performance.
The unit of reuse
FormaSL allows reusing domain definitions, relation contracts, ontologies, types, operations and compositions. A consuming application receives the identities and guarantees published by the interfaces it uses.
A shipment structure can be used by transport, receipt and payment applications. Each application adds the conditions and decisions of its responsibility. The shared relation identifies participants and stages, while the consumer contracts determine how that information will be used.
That reuse also reaches results. An evaluation can be referenced by another operation with its historical basis and provenance. Its use depends on the consumer’s input conditions, including completeness, authority and context.
Knowledge and operation
Domain knowledge appears in vocabularies, theories, policies, rules and situated information. Computation relates those elements through queries, inferences, analyses, transformations and judgments.
The application keeps the linkage between its definitions and the work performed. A decision about a logistics operation can be reconstructed from the observations, the applied criteria and the responsible authority. A policy change produces new evaluation bases without rewriting the meaning of historical results.
Application boundaries
Modules and packages organize the distribution of capabilities. Composition contracts define inputs, results, completion conditions and lifecycle interactions. The application can publish a reusable interface without exposing each internal stage.
The relevant interactions stay in the interface: source changes, action requests, introduction of decisions, acquisition of observations and authority requirements. That lets another application compose the received capability knowing its semantic consequences.
Different realizations
An application can be bound to different mechanisms satisfying its requirements. A relational basis, a specialized service or an analytical engine realize responsibilities determined by the contract. The infrastructure choice is recorded in the realization plan and in the correspondence with the execution.
That separation allows adjusting performance, persistence and integration mechanisms while keeping the domain’s contracts identifiable. The physical representations and execution plans stay subject to the published guarantees.
Agents and interfaces
Agents use the same contracts to query information, form evaluations, propose decisions and request actions. The interface destined for a person presents projections and commands over that domain. The application keeps the correspondence between what is presented, the semantic referent and the executed operation.
Memory, context and learning can use artifacts and results with their own provenance. An information recovery selects material for an interaction; a new assertion or source change uses the corresponding transition.
Composition of products
The Forma system gathers language, tools and platform components to build applications. A domain solution can combine already published capabilities and add its own modules, preserving the authority of the reused contracts.
The application’s design identifies what belongs to the domain, what belongs to governance, which operations are shared and which mechanisms are specific to realization. That organization guides the product’s evolution and the reuse of its capabilities in other contexts.
Related documentation
Purpose and scope, Ontologies and theories, Composition and Realization.
Authority and governance of the contracts
FormaSL organizes its definitions by responsibility. The foundations determine what the language preserves; the language and architecture contracts define how those obligations are expressed; the specialized contracts establish conditions of formation, execution, realization and acceptance. Implementations, proofs and tests demonstrate properties under those contracts.
This contract governs the precedence between those responsibilities, the selection of the applicable revision and the revision of closed decisions. A contract’s identity, its scope and its revision accompany each use depending on them.
Identity and planes of the language
FormaSL means Forma Semantic Language: a computable semantic specification language. Its logical model uses a typed role-incidence metagraph. Relations, participants, references and semantic qualifications have meaning defined by the language’s contracts.
The .fsl source establishes authoritative semantic meaning and data. The .fsp source establishes realization. The execution instance evaluates the program over a determined basis; storage realizes its physical representation. Each plane keeps its responsibility. A choice of representation, optimization or provider must realize the received contract, without redefining it.
The current name of the product is FormaSL. The historical identifiers V1 and V2 remain in the records where they designate a specific generation, decision, campaign or evidence.
Normative precedence
The order below resolves material divergences. Each level is subordinate to the previous ones and acts only within its jurisdiction.
| Level | Authority or evidence | Responsibility |
|---|---|---|
| 1 | Intent | Constitutive intention of the language. |
| 2 | World model | Fundamental categories and commitments. |
| 3 | Semantic invariants | Distinctions required of any conformant realization. |
| 4 | Semantic continuity | Preservation of those distinctions across operations. |
| 5 | Stable and express design decisions | Architecture and semantics determined for their respective subjects. |
| 6 | Closed specialized contracts | Obligations of the exactly identified stage and scope. |
| 7 | Validated V1 evidence | Historical knowledge admitted to support or contest decisions. |
| 8 | V1 formalization | Formal evidence of the historical generation. |
| 9 | V1 implementation | Evidence of historical mechanisms and behaviors. |
| 10 | V1 tests, fixtures and observed behavior | Evidence of cases and properties actually examined. |
| 11 | Historical V1 design and documentation | Genealogy and context of the old decisions. |
| 12 | External theories, standards and comparators | Evidence for research, design and adversarial examination. |
A source of evidence can reveal a defect in a contract. The correction follows the revision of the competent authority; the result of a test, the structure of a program or an implementation preference do not change the contract by themselves.
The product doctrine governs identity, protected capabilities and antimetas. It stays subordinate to the four semantic foundations. The operational contracts of development and formalization govern the work of tools and agents, without acquiring jurisdiction over the language’s meaning.
Selection of the applicable contract
Selection jointly considers the object, the scope of the obligation, the revision and the interpretation basis. A specialized contract governs only the subject attributed to it. Specialization does not revoke the origin contract outside that scope.
Amendments are applied by their declared reach. When an amendment replaces a grammatical production, the remaining rules stay in force; when it clarifies an acceptance condition, the other semantic commitments remain. A closed historical decision stays bound to the revision under which it was taken.
Between contracts dealing with different subjects, the relation is one of composition of responsibilities. A decision about graphical presentation can govern the visual profile while another governs the host serving it. The host, the renderer and the world used as demonstration stay subordinate to the pertinent semantic contract.
The textual order of files, the loading date, the branch name and a document’s position in navigation do not establish normative precedence.
Routing of responsibilities
The table identifies the conceptual owners of the main scopes. The origin documents and their exact revisions are recorded in this edition’s correspondence record.
| Subject | Responsible contract | Relation to the others |
|---|---|---|
| Logical model, roles and participation identity | Metagraph architecture | Realizes the foundations; governs the later representations. |
| Modules, bindings, types and theories | Language definition foundations and type contract | Determine formation and static resolution. |
.fsl and .fsp syntax | Concrete surface | Consolidates the H1 basis and the current amendments, preserving the semantics of their consumers. |
| Query | Query capability contract | Determines answers, bindings, multiplicity and completion criteria. |
| Reducers, paths and their public carriers | Query execution and completeness | QEC is a bounded specialization of the Query capability, admitted under the global freeze. |
| Reasoning aggregation | Reasoning contract and R2 correlation amendment | Governs Reasoning groups, references and premises; it is not the Query aggregation contract. |
| Analysis and transformation | Contracts of the respective capabilities and profiles | Keep their result statuses and realization conditions. |
| Results and composition | Situated results and executable semantic interface contracts | Govern input, output, dependency, ordering, completion and lifecycle effects. |
| Claims, observation, actions and incorporation | Lifecycle, acquisition, external execution and incorporation contracts | Each transition has its introduction basis and authority. |
| Validation and governance | Validation, policies and judgments contracts | Separate conformance, admission, authorization and decision. |
| Scenarios and revision | Hypothetical and revision contracts | Preserve hypotheses, sources and historical relations. |
| Reactivity | RAC-01 and RAC-02 | Activation of new sealed evaluations; dependencies, invalidation and recovery. |
| Physical realization | HWR-04 family | Providers, device capabilities, application closure, admission and deployment; respects the reserved upstream subjects. |
| Product and post-P9 acceptance | Product contract basis | Identities, interfaces, distribution, verification and acceptance criteria of the contracted horizon. |
| Mechanization and conformance | Formal object contract, obligations matrix and conformance contract | Define the required proposition and evidence; the formal process governs its execution. |
| Topological presentation and host | Ratified Graph UI 0.2 contracts and host decision | Preserve Semantic UI admission, S1–S4 identities and domain independence. |
The current chain of the concrete surface comprises H4, Post-H4 and P8. H4 incorporates the H2 compression laws; the earlier forms belong to migration and genealogy, not to a second permanent canonical syntax.
QEC governs its execution scope of COUNT, SUM, MIN, MAX and path, the affected carriers and the corresponding acceptance. The R2 correlation amendment separately governs the MemberDerived and SeededCorrelated modes, the origin of references and the binding conditions of groups.
HWR-04 keeps the upstream reservations it declares. A reservation does not authorize a substitute local contract. The physical realization contracts also do not decide an instruction-set architecture by implication.
Design discipline
Analysis distinguishes what exists semantically, the information that needs to survive and the representations that can realize it. Capability, semantic mechanism, syntax, formal mechanism, runtime and storage are related, but different, decisions.
The sufficiency of a capability includes its functional reach and its composition with the rest of the language. The existence of a grammar, implementation or proof does not replace the proper criteria of semantic closure, conformance or product acceptance.
The transversal distinctions include Claim, truth, evaluation and observation; producer and issuer; executor and authority; validation, conformance, admission, authorization and decision; hypothesis and basis; specialization and subtyping; identity and representation; provenance, derivation, support and causality. The detailed obligations remain in the invariants and the specialized contracts.
In the review of a boundary, a piece of material information receives one of the classifications: preserved directly, preserved by reference, derivable, intentionally erased, accidentally lost, not applicable or unknown. The derivable classification requires the necessary inputs to remain available. Accidental loss is a defect; unknownness requires investigation, not presumed approval.
Implementation, formalization and conformance
The development sequence starts from the semantic contract, passes through the executable architecture and the concrete surface, establishes the acceptance interface and performs the implementation under those obligations. The selected mechanization preserves the proposition required by the contract; the kernel verifies the proposition it actually received.
The ZERO_AGDA_AT_RUNTIME commitment remains: the execution of applications does not depend on running Agda. The concrete organization of the compiler, the carriers and the runtime modules is implementation freedom within the contracted guarantees.
The workspace manifest governs the Rust composition; tooling configuration governs the versions; the conformance contract governs the required results. Package identifiers, directory names and tool configurations are consulted in their respective owners, instead of becoming semantic definitions by documentary repetition.
Revision of closed decisions
A reopening requires a material fact reaching the closed obligation. The admitted triggers are: countermodel; divergence between contract and type; capability regression; formal inconsistency; conflict with a higher authority; demonstrated impossibility of realization; composition or continuity failure; improper acceptance of a frozen obligation; canonical formal proposition not determined by the authority; required theorem false under the authorized theory; representation incapable of realizing the object; impossibility of evidence independence; violation of semantic authorship locality; or concrete evidence of non-conformance falsifying the closure.
The presence of a feature in another product, the elegance of a theory, the convenience of programming or proof, aesthetics, a speculative future capability and a plausible alternative are not, alone, triggers. An open question is not a defect; unknown is not contradiction; a plausible alternative is not a current defect. The finding’s owner presents the affected obligation, the new evidence and the causal relation to the failure. The design method governs the admission of the finding and the delimitation of the revision.
The reopening keeps the historical subject, identifies the newly opened scope and determines which proofs, tests, contracts and results need revalidation. Evidence of an earlier scope remains with that reach; it is not promoted to the enlarged obligation.
State, evidence and publication
Contract state, execution state and evidence state are recorded separately. A project synthesis informs the basis it refers to; campaign histories do not replace the current synthesis merely because they remain accessible.
The P9 closure belongs to the horizon and the candidate that were audited. Later reopenings are recorded per obligation. In this edition’s basis, the route of FO-REASON-03 keeps the reopening until the mechanization required by the R2 correlation contract. The P8 record preserves the decision that made HU-02 and HU-03 non-blocking and the fact that those human trials were not executed. Those records belong to evidence management, not to caveats inserted into every page of language use.
A work authorization, a readiness gate, the editorial approval and the publication authorization are distinct acts. The introduction of new normative successors requires the pertinent transition decision; the integrity of the ZIP or the success of the documentary build does not produce that authority.
History and documentary succession
History is recoverable through immutable revisions. The V1 generation is evidence; its operational factoring and its syntax do not constitute the current architecture. Obligations and capabilities justified by the current authorities are kept regardless of the mechanism that demonstrated them in the past.
Documentary substitution transfers responsibilities, not file names. Each active obligation must have an explicit destination, an identified revision and a verifiable correspondence. Historical materials receive historical disposition; withdrawn contracts do not reappear as current owners. In this edition’s basis, the old architecture of application-kit and application-products was abandoned and must not be restored as a reuse authority.
The cutover removes the old documentation from the current tree after the introduction of the successors and the update of their consumers. Historical reconstruction uses Git; it does not require a parallel archive of old documentation inside the new publication.
Identity and protected capabilities
FormaSL is a computable semantic specification language. The product allows declaring meaning, using it in operations and composing results preserving the distinctions needed by the domain’s interpretation, governance and history.
This contract establishes the identity and capability commitments guiding the architecture and product choices. Its jurisdiction is product doctrine, subordinate to Intent, the world model, the invariants and semantic continuity. A conflict with those foundations is expressly handled by the corresponding authority; implementation convenience does not silently resolve it. Product doctrine is not a semantic invariant — and not being a semantic invariant does not make a commitment dispensable.
Identity of the language
The name FormaSL means Forma Semantic Language. Query, ontological modeling, schema description, validation, policies, process composition and database access join its field of use, but none of those isolated functions defines the whole language.
The declared meaning participates in computation. Types, context, attribution, authority, provenance and historical relations must remain usable by the operations depending on them. The product proposal comprises both the expression of that information and its computational treatment under explicit contracts.
Metagraph expressivity
Modeling must offer, as the domain requires, first-class and N-ary relations, higher-order references, recursive structures, context and scope qualifications, different temporal roles, multi-agent positions and epistemic plurality. Conflicts, provenance, derivation, support, lineage, permissions, obligations and authority are domain information of their own, not mere presentation annotations.
Historical evolution and the cycle between action, effect and observation join that capability set. The operations must be able to relate them keeping their categories and interpretation conditions.
That expressivity does not require physical storage as a metagraph. A simpler representation is admissible when it faithfully realizes the capabilities and keeps their first-class use at the level required by the product.
Integration of capabilities
The semantic capabilities join a composable language. A query, an evaluation and a decision can use shared structures without depending on informal conventions reconstructing their meaning at each boundary.
The integration is of semantic contracts. Databases, inference engines, analysis and specialized execution can perform operations through explicit interfaces. There is no general obligation to internally reimplement each technology used by realization.
Preservation of knowledge and capabilities
The V1 generation provides historical evidence about capabilities, distinctions, mechanisms and failures. Its eleven historical groupings do not determine the language’s current decomposition. A Rust type, a module, a runtime structure or an old Agda definition also does not become a current primitive for having existed in that generation.
Validated knowledge and capability justified by the current authorities are preserved. The adoption of a historical mechanism depends on its utility and compatibility, not on familiarity or on a general obligation of retroactive compatibility.
The evaluation of preservation distinguishes three levels:
| Level | Criterion |
|---|---|
| Encodable | The information can be represented by an encoding. |
| Semantically faithful | The encoding keeps the required distinctions. |
| Expressible as first-class capability | The user uses the capability directly through appropriate contracts, without disproportionate manual reconstruction. |
For differentiating capabilities, mere encodability is normally insufficient. Simplifying the implementation can be compatible with preserving the capability; simplifying or downgrading the capability requires its own justification.
A material removal or downgrade receives an explicit reason: REDUNDANT, INCOHERENT, THEORETICALLY-WRONG, REPLACE-EQUIVALENT or OUT-OF-SCOPE. The absence of a direct requirement in Intent does not automatically make dispensable a product commitment admitted by another valid authority.
Polymorphism and specialization
Polymorphism and inheritance or typed specialization are protected first-class capabilities. Their realization must keep the differences between parameterization, structure reuse and semantic substitution.
Polymorphism is not inheritance. Inheritance does not imply subtyping. Subtyping does not determine nominal identity. Generic parameterization does not reduce to dynamic dispatch. Reusing a schema does not demonstrate that a value satisfies the semantic contract expected by another consumer.
Substitutability has its own judgment: a substitute type preserves the target contract’s guarantees. The historical realization based on System F<: ideas is technical evidence, not a compulsory choice of the current language’s calculus.
Realization independence
The language’s meaning stays independent of a specific database, layout or backend. A reference implementation can choose a concrete substrate, including a single one. Contract independence and availability of several backends are different commitments.
The architecture can use indexes, caches, intermediate representations and specialized strategies to realize the operations. Optimizations are admissible when they keep the semantically observable properties and the information needed to reconstruct the result.
Libraries and applications
The language must sustain reusable libraries, domain packages, tools and application integration. In semantic-native applications, meaning, types, context, conflict, governance and provenance participate in the system’s functioning.
The ecosystem comes after the language. A product, an interface or a library can specialize contracts for its domain; its convenience does not redefine the core’s distinctions. The withdrawal of an implementation or of an old package organization does not, by itself, eliminate the commitment to offer semantic reuse.
Incompatible product deviations
Evolution must keep the identity described above. Incompatible deviations are: presenting RDF or Cypher merely with another syntax; limiting to a property graph with semantic annotations; reducing the domain to a universal table of Claims; treating event sourcing as the definition of semantics; or offering only ontologies while validation, inference and action depend on opaque systems without a semantic integration contract.
Also incompatible are the family-by-family port of V1 without rederivation, a reduced core forcing the user to manually rebuild essential capabilities, and a framework whose runtime structure implicitly decides the language’s ontology.
Using a known technology does not require inheriting its limitations of semantics or authorship. The choice is evaluated by the capability it realizes and the obligations it preserves.
Development sequence
The product sequence is: semantic design, architectural consequences, sufficient formalization, implementation under FIOP, product acceptance and development of the additional scientific questions.
Sufficient formalization prevents the implementation from inventing semantic relations left undetermined in the contract. Stronger formal results can be developed after acceptance when they are not conditions of the product’s correctness or acceptance. The FIOP process governs the execution of the work; it does not decide the language’s meaning.
Architectural freedom and choice criterion
The architecture can choose intermediate representations, carriers, layouts, indexes, caches, compilation strategies, runtime decomposition, type system realization, operation decomposition and query execution models.
Those choices must reduce unjustified assumptions and accidental inheritances, take advantage of validated semantic knowledge and preserve the reconstruction of material information. The change of a mechanism is judged by its consequences over the contracts and protected capabilities, not by its similarity to the earlier implementation.
Concrete surface of the language
The concrete surface of FormaSL defines the writing of .fsl semantic sources and .fsp realizations. The syntax identifies each construct’s category; resolution selects its referents and revisions; formation verifies the applicable contracts’ conditions. Elaboration keeps the correspondence between the authored text and the explicit semantic program.
This reference gathers the rules of the H1 basis with the current modifications of H4, Post-H4 and P8. The H2 compression laws remain by incorporation in H4. The hardenings of computed heads and of R2 aggregate correlation are handled in their own loci.
The edition’s EBNF file organizes the productions in a single consultation surface. Lexical predicates, resolution, formation and completeness conditions described on this page complement the EBNF: recognizing a grammatical expression does not suffice to admit it semantically.
Ratified reconciliation: two bounded loci
This edition incorporates two source reconciliations reproduced against the H1 basis, the H4 amendment and the Post-H4 amendment, now with the owner’s decision recorded on 2026-10-21 (campaign FORMA-DOC-NORMATIVE-SUCCESSION-CLOSEOUT-2026-10; complete record in docs/campaigns/forma-doc-normative-succession-closeout-v0.1/decisoes/OWNER-DECISIONS.md).
G-N09-01 — derivation head: RATIFIED (APPROVED_BY_OWNER). The basis defines rule_head_value = rule_term | bound_expression, and restricts computed values by the R2 profile. Post-H4 makes the role map of rule_atom parenthesized, but presents derive using that simple atom, which does not carry computed head expressions. The ratified form keeps a specialized rule_head_atom with parentheses, whose arguments use rule_head_value, and keeps derive consuming that head. It does not extend the domain of computed values, does not admit them in R1/R3 and does not abandon the R2 binding, finiteness, purity and definition conditions. Premise atoms when and naf remain simple. Executed evidence: productive R2 positive, UNDEFINED without head instantiation, typed refusal COMPUTED_HEAD_VALUE_NOT_ADMITTED, canonical matrix rc02r04 green on this tree.
G-N09-02 — local Claim: RATIFIED AS CANDIDATE GRAMMAR (APPROVED_BY_OWNER, executable admission conditioned). H4 moves the Claim’s roles to the parenthesized map before the metadata body. In the local application assert claim : Relation(...) { ... }, the ratified form inserts claim_role_map after the relation reference; it keeps the declaration’s absence of name, the mandatory emitter and the attribution and basis fields. It does not introduce implicit issuance by execution, nor grant authority to a result. Measured executable state: the current parser admits only the named form and rejects the local form with a typed refusal (INVALID_IDENTIFIER); executable admission requires implementation in a future conditional WP. Until that implementation, the production is ratified grammar without corresponding executable behavior — no PARSER_CONFORMANT claim is issued for this locus.
The other consolidated forms follow the explicit loci of the amendments, including R2’s Source.role. The G-N09-01 productions are NORMATIVE_CURRENT (aligned to the implemented and tested surface); the G-N09-02 production is NORMATIVE_CURRENT_GRAMMAR / EXECUTABLE_ADMISSION_PENDING, and not PARSER_CONFORMANT.
Sources and identifiers
Each .fsl unit contains exactly one module declaration; each .fsp unit, exactly one realization declaration. The source unit, the file path and the module have different identities.
The encoding is UTF-8. Identifiers follow Unicode 17.0.0, with the XID classes of UAX #31 and the core admitting underscore. Identifier comparison uses NFC and is case-sensitive. Raw spelling and position in the source stay available separately from the normalized key. Visual similarity between characters does not establish equality.
An identifier between backquotes allows using a word that would collide with a reserved structural function. The unescaped token _ is an anonymous wildcard; `_` designates an identifier. $name designates a lexical variable and ?name a witness variable in the loci admitting it.
The selectors have their own functions: :: qualifies names; . selects typed members; @ selects the exact revision of a nominal reference; # selects an application locus for realization. The revision binds to the complete nominal reference before member selection.
Spacing, comments and literals
Outside strings and comments, U+0020 space and U+0009 tab are the admitted horizontal spacing. Indentation does not determine the language’s structure. LF, CRLF and CR breaks keep their correspondence with the source and receive a classification: clause terminator, block layout break or soft continuation.
Inside parentheses, brackets and recognized type-argument regions, the break is a soft continuation. Outside them, a complete simple clause uses a terminator line break or ;. Between items of a braced body, layout breaks are lexically trivial. An incomplete expression needs explicit grouping to continue; the break does not create continuation or semantic order by convenience.
// starts a line comment. Consecutive /// lines, immediately before a documentable construct and without an empty line or intermediate token, form its source documentation. The H1 surface does not admit block comments.
Strings use double quotes and admit escapes for backslash, quote, newline, return, tab and u{...}. The Unicode escape contains one to six hexadecimal digits and identifies a valid scalar value, excluding surrogates and values above U+10FFFF. Raw Cc control characters, physical breaks, quotes and backslashes require the treatment defined by the lexical contract. The content of strings and comments does not receive NFC normalization.
Integers and decimals are base ten; underscores only appear between digits. A leading zero does not change the base. There is no H1 exponential syntax and the sign is an operator. Quantities have an ASCII suffix started by a letter, followed by letters, digits or underscores. The meaning of a unit depends on the exact contract of the consuming type, field or slot. There is no universal null literal.
Contract origin and formation
Every material construct obtains its contract through one of four routes: explicit reference; the resolved declaration’s contract; the native contract of the language revision; or structural synthesis defined by the semantic owner. The route and the revision remain reconstructible.
A match query without using uses the Query synthesis foreseen by the language. A non-opaque composition synthesizes its contract from its structure. Synthesis does not mean selecting a contract by similar name, implicit current state or runtime preference.
Contract fields are resolved by the combination of locus, exact revision and field reference. Unknown, ambiguous fields or fields colliding with structural clauses are refused. An extension field cannot hide the introduction of bindings, scopes, categories, authority or source states.
In the eligible instance loci, omitting an empty block means providing an empty set of authored fields to the same exact contract. That applies to analyze, validate, admit, authorize, decide, revise, execution_request, observe and incorporate, besides the corresponding self-delimited local forms. The omission is only valid when no mandatory authored information is missing. Bodies containing Reasoning, transformation, scenario or source evolution semantics remain mandatory.
Expressions and types
Expression precedence goes from member selection to unary operations, multiplication and division, addition and subtraction, comparison, and and or. Bound expressions add witness variables to the common repertoire. A call in expression position requires an exact pure-call contract; a call in application position requires a named semantic application.
Operators are selected by the operands’ contracts, the expected context and the exact basis of types and operators. The language does not adopt truth by coercion, ordering between arbitrary types, unit conversion, precision widening or overflow handling from the host language.
Lists and records are built under exact collection and value contracts. Punctuation does not universally choose set, multiset or sequence, nor introduce Claim, observation, decision or consequence by structural similarity. Query, Reasoning and transformation keep their own value definition and evaluation rules.
Type references admit arguments and parameters with <: bounds. Declarative parameters and application parameters have different roles. The common application parameter is written $x: T and receives the ordinary role fixed by the language revision. A typed dependency is written depends R $x: T. The positive token input is not part of that canonical form.
The signature -> T restricts the static content interface exported under the producer’s contract. It does not change status, completeness, basis, dependencies or outcome vocabulary.
Modules and declarations
Modules gather imports, exports, interfaces, semantic declarations, subtyping, Claims, applications and compositions. Imports and exports can select and rename bindings. Interfaces publish declarations through expose clauses. Module admission does not execute its applications.
The category is the first structural token of the canonical declarations: type, alias type, distinct type, opaque type, relation, theory, ontology, rule, constraint, policy, hypothesis, action and content. The ceremonial prefix define was replaced, not kept as a second canonical form.
Types can have parameters and specialization. The declaration subtype S <: T has its own judgment. Relations declare roles by role, with an admissible type or an accepts contract. Role blocks can declare cardinality with counting unit, multiplicity, ordering, keys, qualification and correlation. A simple role receives no implicit cardinality, order or multiplicity.
Theories and ontologies can declare use, statement and adopt, besides their contracts’ fields. Rules, restrictions and policies keep their own categories even when a theory references them. Content declarations, hypotheses and actions also preserve their functions; declaring content does not perform an assertion or observation.
Claims
A named assertion separates the role map from the content and the act’s metadata: the former appears in parentheses in the header; the latter, in the body. Roles are resolved against the exact relation. Missing mandatory role, duplication, unknown name and inadmissible value receive the corresponding refusal.
The attribution header requires by; for and under have the roles defined by issuance and representation. The admitted qualifications include based_on, valid_at, recorded_at, scope, frame and support.
import claim references an existing assertion. adopt claim, retract claim and supersede claim use their transition contracts. For those three transitions, the exact schema admits the fields by, for, under, based_on, valid_at, recorded_at, scope, frame and support; only by is mandatory. Unknown field is UNKNOWN_CONTRACT_FIELD; repetition is CONTRACT_FIELD_STRUCTURAL_COLLISION; missing by is MISSING_REQUIRED_CONTRACT_FIELD. An empty block, therefore, does not satisfy those transitions.
The values follow the elaboration of the assertion metadata. Enumerating fields does not invent the meaning of their values. Import, adoption, retraction and succession remain semantically distinct events.
Query and binding
match declares a query with signature, optional contract and body. Match items cover relational patterns, paths, conditions, optional blocks, existence, non-existence and alternatives. Groupings, projections, aggregations and selectors organize the result.
The canonical relational pattern keeps the pattern marker, the occurrence’s variable and a named map in parentheses. A new witness variable introduces a binding; a repeated visible variable imposes compatibility. The wildcard _ creates no binding or correlation.
A binding present in all surviving branches is definitely bound. A visible binding that can be missing remains potentially unbound. Local existence variables do not escape; branch variables follow the presence and visibility rules. Absence in an optional block produces no null or unknown.
Empty blocks and empty branches require identity or empty semantics admitted by the Query contract at that locus. Explicit subcontracts of alternatives must be compatible with the origin contract.
limit requires semantic order. any K declares an AnyK selection. order followed by limit only equals top-k when the contract demonstrates that equivalence. top also identifies the tie-break contract. Path-family selection and query-result selection are different loci. A graph view produced by a query keeps Query answer status.
Incidence paths
path binds a path variable to origin and destination ends. A step identifies the relation and the exact origin and destination roles. Repetition declares bounds and can name groups; alternatives make multiplicity explicit as set, multiset or an exact contract.
Each path admits at most one reuse clause and one selector. Composed policies use an appropriate contractual reference, without resolution by first or last clause. each filters and summaries operate over the structure defined by the paths contract.
The semantic order is candidate generation, local predicates, admissibility by reuse or restriction, path selection and the query’s external post-filter. A realization can reorder work when it demonstrates the preservation of that meaning.
repeat n..* requires the exact contract to determine an admissible condition of finiteness, completeness or flow. The construct can be justified by restrictors, reuse, selectors, finite domain or another mechanism admitted by the Query owner. The mere presence of repetition does not provide its own guarantee. Without sufficient basis, formation returns INVALID_UNBOUNDED_PATH_FORMATION. The form repeat n..m, with finite upper bound, has structural finiteness.
Rules and inference
A rule identifies its contract in using, optional witness parameters and clauses. when introduces a positive premise; naf, negation by failure under the appropriate profile and closure basis; where, condition; exists, existential witness; derive, consequence with polarity; aggregate, aggregation proper to the Reasoning profile.
The using target has a defined formation disposition. A theory or ontology provides reasoning authority selected or admitted through an authorized chain. A relation provides content coordinate and dependency, without theory authority; its reachability follows from the admitted rule chain or the declared objectives. Named content participates only under the selected authority, without obtaining authority from objectives or heads. The other categories without disposition at that locus are refused. Selection uses exact identities, not labels, prefixes or source order.
Premise atoms use role maps in parentheses and simple terms. Computed heads add the expressional value category under the R2 value-generation contract. The documentary basis records a production mismatch between the specialized head and the Post-H4 amendment; its resolution is isolated in this edition’s pending record, without creating an alternative form by the consolidator’s decision.
In the R2 executable contract identified by the surface, computed heads admit the arithmetic carrier of variables, literals, references, negative sign and +, -, *, /, with their definition rules. Comparisons and where connectives do not automatically provide boolean values for roles. Pure calls, member selection, lists and records without an R2 value contract are refused with COMPUTED_HEAD_VALUE_NOT_ADMITTED. R1 and R3 do not admit those computed heads. Inputs need positive binding or a concluded aggregate, and value generation cannot form a cycle. If a computed value of a head conjunction is undefined, no head of that conjunction is instantiated for that substitution.
Reasoning aggregates
COUNT, SUM, MIN and MAX are native contracts of the R2 exact operator basis. They do not depend on import and are not selected by a user declaration with similar spelling. The operator’s identity does not transfer to it jurisdiction over source, groups, multiplicity or closure.
COUNT(Relation) counts distinct Reasoning contents of the exact signature in the concluded lower stratum. SUM(Relation.role) and the other reducers use a static source root and the admitted value expression. Execution variables do not choose the signature; pattern-looking calls, multiple roots and COUNT(A.x) as distinct-from-scalars counting are not admitted shortcuts.
The components of by are exactly ?v, Source.role and Source.role as ?v. There are two complete modes: MemberDerived, with member projection and eventual output binding, and SeededCorrelated, with external seed and member projection.
In Source.role as ?v, a positive binding independent of ?v determines the seeded mode; otherwise, the form introduces an output derived from the member. An aggregate output binding does not turn into a seed independent of another aggregate. In by ?v, the abbreviated form requires exactly one distinct role of the exact source explicitly bound to the variable by positive premises. No role generates AGGREGATE_GROUP_CORRELATION_REQUIRED; several generate AMBIGUOUS_AGGREGATE_GROUP_CORRELATION.
Each derived output binding has a single introduction and differs from the aggregate result’s binding; collisions return AGGREGATE_GROUP_BINDER_COLLISION. External references and member projections keep separate environments. The structural order of the group tuple is preserved. A fully seeded tuple can establish an empty group; a mixed tuple without surviving member does not fabricate the missing derived coordinate.
Transformation, governance and scenarios
analyze selects its analysis contract; infer declares the reasoning basis and objectives. transform declares sources and construction rules. Each transformation rule identifies the correspondence and the contribution mode: per match occurrence, per distinct key or per group. Target construction keeps keys, roles, references and the collision, coverage and loss policies. Building the target does not imply modifying the origin nor authorizes reverse update.
validate, admit, authorize, decide and revise are applications with different contracts. execution_request and observe keep request, attempt, effect and acquisition separate. Acquisition failure does not become negative observation.
scenario fixes a basis by from, admits qualifications and deltas defined by its contract and composes operations within the hypothetical context. assume, mask, substitute, introduce local and transition hypothetical have their own reaches. A scenario’s authority provides no output to the base world.
evolve source declares basis, agent and changes of bindings or content. incorporate is its own transition, whose contract requires the pertinent artifact, source, basis, agent and authority references. Preparing source and introducing an authoritative state are different events.
Composition and scope
let binds a result. stage identifies a named application locus in the composition. order establishes semantic precedence; couple expresses coupling under a contract. Stage labels are declared in the relational scope before resolving order and coupling; duplicates are refused. Result variables keep lexical scope and data dependency.
The named invocation is written Application(argument: value) in application position, without apply. In expression position, the same syntactic appearance requires a pure-call contract. The locus fixes the expected category before resolution.
The passage of result to content is explicit and only uses members the contract exports. case resolves names, arities and types by the examined result’s outcome vocabulary. Its bindings are local to the branch. return and unresolved also follow the composition’s contract.
In a structurally synthesized composition, an authored unresolved joins the completion surface and can introduce the corresponding outcome, subject to the formation and the result’s interface. Under an exact external contract, that outcome must already be admitted. None of those rules automatically turns timeout, cancellation, provider failure or gas exhaustion into semantic inconclusiveness.
Synthesis keeps the composition’s identity and revision, interfaces, loci, dependencies, order, couplings, outcome routes, reachability, completion obligations, lifecycle interactions, realization requirements and correspondence with the source.
Realization .fsp
Realization values cover literals, qualified references, external references, lists and realization-specific records. They do not receive semantic $ variables nor pure .fsl calls by implicit inheritance.
A target starts with the category: app, stage, composition, module, source or capability; it does not use the old for prefix. app X identifies the application declaration; stage Owner#s, the exact application-occurrence locus. Ambiguous or invalid targets are refused.
bind associates a slot to a value; require declares a requirement; limit bounds resources; prefer expresses preference; budget establishes a budget. Slots and values are verified by the target’s exact schema. An external reference is not a secret in plain text. Late provider binding does not authorize late choice of meaning.
Realization groups use unique members per resolved locus and joint obligations. Satisfying each member in isolation does not demonstrate the joint satisfaction. A unitary group is only admitted when its contract makes it non-vacuous of effect. The group can realize an existing semantic coupling, but not create it.
More specific scopes can complete choices and strengthen compatible requirements; they do not weaken semantic requirements or mandatory restrictions. Source order does not define priority.
Correspondence and diagnostics
Elaboration keeps or makes reconstructible the source unit and revision, positions and raw spellings, normalized keys, category and hierarchy of constructs, binding and declaration identities, exact contracts selected or synthesized, result contracts, loci of application, query, path, rule, construction, lifecycle and realization.
Synthetic descendants are determined by the authored loci. Parser recovery can vary after recording the normative refusal, but does not silently admit an invalid source.
The associated catalog separates lexical, reference, type, contract, role, scope, query, reasoning, construction, scenario, composition and realization errors. Those diagnostics are not equivalent to false, unknown or operational failure. The identifiers S-I01 to S-I46 remain in the correspondence map as surface obligations, including the separation between source order and execution and between physical writing and semantic authority.
Query execution and completeness
The Query execution and completeness contract — QEC — determines the realization of reducers and paths already admitted by the language. It keeps the QueryAnswer status, the identities and qualifications of results, the query’s multiplicity and its completion criteria.
Its jurisdiction covers COUNT, SUM, MIN, MAX, execution of path, the affected result carriers and the acceptance interface of those capabilities. The contract is subordinate to the foundations, the Query capability, the current concrete surface and the conformance and formal obligations contracts. The specialization does not redefine Reasoning aggregates, the storage model or the general type system.
Binding and definition of values
The binding environment is a partial map of Query variables to Query values. An absent variable produces Q-UNBOUND. An expression or reducer without a defined result produces Q-UNDEFINED, accompanied by the pertinent reason. These are different situations from value, epistemic unknownness or semantic null.
In partial projection, Q-VALUE(v) binds the destination to v. Q-UNBOUND keeps the solution without binding the destination. Q-UNDEFINED(r) also keeps the solution and leaves the destination absent, keeping the reason when it participates in the consumer’s observation profile.
The lexical and semantic classes of integer, decimal, quantity, string and boolean remain distinguishable through elaboration. The executor cannot reconstruct them by trying to interpret strings after losing that distinction.
The formation of a reducer establishes ReducerDomainAdmissible(expression, operator, basis) and obtains an exact reference to a domain contract or a typed refusal. Admission precedes execution. The Rust type, a declaration’s name, the provider’s payload and the parser’s success do not replace that judgment.
Identity of the operators
The four reducers use exact identities of the language’s operator basis. The spelling of a host function or the presence of a homonymous reducer in Reasoning does not select the Query contract.
Counting
The contract distinguishes COUNT_SOLUTIONS, COUNT_BOUND(expr) and COUNT_DISTINCT_BOUND(expr). The form COUNT(expr) realizes COUNT_BOUND(expr), unless another exact surface contract expressly designates the counting of solutions.
Each solution whose argument produces Q-VALUE contributes one. Unbound or undefined arguments contribute zero. An unsupported expression translation is refused; it is not replaced by counting of solutions.
Sum
SUM requires a domain contract D with additive identity and an addition operation closed in D. The required laws include left and right identity, associativity and commutativity sufficient to preserve the result regardless of the representation and the physical order of iteration.
The denotation is exact. Physical overflow, saturation, circular return, floating-point approximation and provider coercion do not become the semantics of the sum. The chosen mechanism must realize the admitted contract or present the corresponding failure condition.
Minimum and maximum
MIN and MAX require a determining total order over the admitted domain or its equivalence classes, with comparison consistency, transitivity and antisymmetry modulo value equivalence. The language does not establish a universal total order between different domains.
Input policy and groups
In the synthesized H1 Query contract, the input policy of the reducers SUM, MIN and MAX is REJECT_NONVALUE, when there is no other admitted explicit policy. Domain values participate; unbound, undefined or out-of-domain argument makes the reducer’s result Q-UNDEFINED. The runtime does not silently choose to ignore the item or substitute a default value.
A defined reducer binds its alias. An undefined reducer keeps the group solution, leaves the alias absent and preserves the material definition observation. Undefinedness does not remove the group nor create zero, empty string, sentinel reference or null.
Without key expressions, the aggregation stage has exactly one global group, including over an empty input family. For an existing empty group, COUNT produces zero; SUM, the domain’s additive identity; MIN and MAX, Q-UNDEFINED(EMPTY_REDUCTION). Explicit keys do not authorize fabricating groups without an admitted key observation.
Keys without value use Query’s local absence and definition classes. Where both are material, GroupKey::Unbound and GroupKey::Undefined stay distinct. Those structural categories are not semantic values of the domain.
Coherence of the aggregation stage
An aggregation locus corresponds to a stage coherent in source solution family, key expressions, reducer specifications and the having condition. All reducers of the stage consume the same family prior to aggregation. The order of an implementation loop does not create accidental nested aggregations.
Every authored key has an executable correspondence or generates a typed refusal. Silently omitting a key changes the group’s meaning.
The aggregate’s completion depends on the completion of the input family required by the criterion. This profile does not introduce a partial aggregation policy: an incomplete input does not sustain a complete aggregate.
Structure of paths
The realization of a path keeps its variable, ends, composed expression, relations and incidence steps, repetition bounds, empty-path policy, alternative multiplicity, reuse, selector, local predicates, summaries, material fields and revision basis. Each coordinate stays directly accessible, referenced with exactness or realized through a verified representation bridge.
An atomic step traverses an admitted relation occurrence through the exact roles from_role and to_role. The current position must correspond to the origin role’s incidence; the next position is the same occurrence’s destination role’s incidence. Finding the same value at any other role does not satisfy that step.
Each selected step produces a TraversalOccurrence local to Query. Its structure allows recovering the relation’s instance and contract, origin and destination roles and values, participation evidence when available and material qualifications. It is not a physical edge nor a participation semantic identity fabricated by the executor.
QueryPathValue preserves the ordered traversals, the ends, the lineage and the path’s equivalence basis. QueryPathGroupValue preserves the repetition segments in order and the material nested structure. Flattening segments that are distinguishable by each, summaries, equality or another consumer changes the contract.
An empty path contains zero traversals and one known end that is simultaneously origin and destination. Its introduction requires an already bound end or a contract explicitly complete for the domain of ends. Failure or absence of path does not create an empty path; the executor also does not invent a referent to represent it.
Alternatives, equivalence and reuse
Multiset alternatives keep the multiplicity derived from the branches. Set alternatives collapse paths only when the contracted comparison establishes equivalence. The comparison admits EQUIVALENT, DISTINCT and UNRESOLVED; an unresolved relation is not converted into equivalence or difference when that decision affects the conclusion.
Equivalence depends only on the contract’s material coordinates and stays representation-invariant. Repetition segment bounds participate in the comparison when observable. Collapsing equivalent content does not authorize losing lineage required by the query.
References of reuse, selector and alternative using traverse acyclic contractual chains up to a Query capability root authorized by the language revision. The custom declaration’s identity is kept. Spelling, label, self-declaration, runtime enum or fixture convention do not demonstrate the capability. Cycle or absence of admitted root implies refusal.
The profile distinguishes four policies: REPEATABLE, NO_REPEAT_RELATION_INSTANCE, NO_REPEAT_SEMANTIC_REFERENT and NO_REPEAT_PARTICIPATION_OCCURRENCE. The evaluation produces REUSE_ALLOWED, REUSE_REJECTED or REUSE_UNRESOLVED.
When the relation or role contract does not determine the comparison of participation occurrences, that boundary keeps the unresolved state. Relation identity, role name, array position, serialization key and physical record are not authorized substitutes for participation identity.
Selectors and completion criteria
The standard selectors operate over the exact family of admissible paths of a correlated invocation.
| Selector | Completion criterion |
|---|---|
ALL | The relevant family of admissible paths is determined and closed. |
ANY | One admitted path can satisfy the selection; a pathless answer requires closure evidence. |
ONE_SHORTEST | There is an admitted path of length L and evidence that no shorter path remains possible. |
ALL_SHORTEST | Besides determining the minimum length L, all admissible paths of that length are determined. |
Unresolved candidates affect completeness whenever they could change the selector’s result. The default length counts semantic atomic steps, not storage edges, bytes, cost or provider hops.
Shortest-path selection by end, group or partition requires its own contract. The implementation does not create that partitioning based on debug values, visible bindings or coincidence of ends.
Before checking the selector, candidate coverage is verified in both directions: every generated candidate corresponds to a normative path; every normative candidate is generated or is explicitly accounted as unresolved or incomplete. A correct selector over a subset chosen by the executor itself does not suffice.
Repetition and correlated evaluation
Unbounded repetition requires the finiteness, completeness or flow condition admitted by the exact contract and the restriction, reuse, selection or domain contracts. Queue limits, gas, timeout and the representation’s occurrence count do not replace that semantic condition.
The evaluation receives the current binding environment. Ends and already visible bindings restrict generation by ordinary compatibility. Traversing the whole space without correlation and overwriting bindings afterwards is only admissible with demonstrated equivalence under the complete observation profile.
The semantic sequence is: candidates; local predicates; admissibility by reuse and restriction; admissible family; selector; selected family; external post-filter. An operational reordering must preserve that interpretation sequence.
each traverses the repetition group’s ordered segments, not raw occurrence tokens defined by executor convention. Summaries remain Query and reuse the same reducer contracts. Length and default count measure the path’s semantic structure.
Public results and machine representation
The public carrier distinguishes semantic values, relational occurrence values, traversals, paths, path groups and other Query-local structures admitted by the Query contract. A Query-local structure is not promoted to a domain entity reference because both can be serialized.
When the alias is absent by undefinedness, the output keeps the observation or reason required by the consumer profile. The machine representation revision 0 stays frozen. Structured Query values use revision 1 or a compatible successor route, with explicit discrimination; they are not encoded as generic references.
An evaluation uses a compatible chain of revisions of the Query contract, reducer domains, paths contract, reuse and selection policies, relations and roles, Query basis and public provenance. Mixing revisions requires explicitly verified correspondence or transition.
Gas exhaustion, absence of complete correspondence, empty result, partiality, unresolved reuse and value undefinedness remain different situations. A semantically admitted source can be refused by a realization not yet having the needed capability; that refusal is not a complete conclusion.
Budget of laws and scope
Requirements of this contract’s core are the Query jurisdiction, the answer status, the partial-binding distinction, semantic identity, native incidence paths, multiplicity and lineage, completeness relative to the basis and the exact value and operator contracts. Acceptance requires evidence independence from the examined defect.
Reducer domain algebras, custom policies, partitioned shortest paths and partial or streaming aggregation policies belong to explicit specializations. Host equality, host ordering, physical keys and execution termination do not provide those laws implicitly.
The QEC scope does not close a universal numeric algebra, unit conversions, weighted-least-cost analysis, arbitrary stateful traversal programs, path distribution or federation, a cost optimizer or a new mechanization of obligations FO-L3-02 and FO-L3-03.
Acceptance interface
The QEC contractual index of the 43 obligations keeps the exact spelling of each identity, its proposition reference and its determination class. The index is an editorial traceability map, not a new normative record nor an execution attestation.
The sufficiency root gathers all 43 active obligations: QA-V01 to QA-V04, QA-A01 to QA-A12, QP-C01 to QP-C06, QP-R01 to QP-R04, QP-M01 to QP-M03, QP-S01 to QP-S06, QP-L01 to QP-L03 and QX-01 to QX-05. Removing an obligation, changing its class or weakening its proposition requires the corresponding decision of the higher authority.
Each normative case fixes program, contract, basis, revisions, expressions, official satisfaction relations, input family, witnesses, lineage and material policies. The executable case must come from the real route of source, resolution, elaboration, bridge and execution. A synthetic executor can serve as independent oracle, but does not represent the production route that must be demonstrated.
The representation bridge is bidirectional and indexed by the obligation. For each material normative coordinate there must be executable representation; each material executable coordinate must correspond to a normative coordinate. The bridge preserves the observable role and does not introduce authority or status absent from the origin case. Materiality is determined by data and control flow and by relevant perturbations, not by a self-declared field.
The closed universe QECMaterialCoordinate covers literal classes and type evidence; expression and operator identities; argument, key, alias, input policy, domain and origin of the aggregation stage; presence, definition and lineage; path bindings and ends; steps and roles per position; repetition and segments; multiplicity, reuse, selector, predicates, summaries, qualifications and correlation evidence; equivalence and completion; contract and basis revisions; public value category, public definition observation and machine schema revision.
The official comparison boundary of occurrences admits exactly SAME_OCCURRENCE, DISTINCT_OCCURRENCE and OCCURRENCE_RELATION_UNRESOLVED. The last must propagate to REUSE_UNRESOLVED when material. A comparison by relation identity or physical record could only be used through a specific verified bridge; it is not standard equivalence.
Formation, execution and discrimination
AH1 separates the duties of formation and execution: QA-A02 verifies the sum domain’s preconditions; QA-A11, the executed sum and its invariance by physical order. QA-A03 verifies the order required by minimum and maximum; QA-A12, the extremes actually produced.
QP-R02 requires discriminating witnesses for each of the six unordered pairs of the four standard reuse policies. QP-R03 requires inhabited cases for the three comparison outcomes, including the unresolved one. QX-02 requires candidate coverage in both directions before attributing correctness to the selector.
The evidence classes are: static correspondence audit; hostile property or test executed on the production route; independent differential oracle; public end-to-end witness; machine schema revision witness; and authority routing audit in the repository.
The minimal cases include literal classes, host-arithmetic versus admitted-domain discord, physical permutation of the sum, unbound versus undefined, empty global group, two reducers over the same source, expression counting, unsupported key, same value at different roles, occurrences sharing referents, unresolved correlation, six reuse discriminations, set versus multiset, segments with same flattening, unvisited smaller candidate, several equal shortest paths, previously bound end, cycles with different policies, unbounded repetition without basis, misleading policy name, using cycle, incompatible revisions and revision-1 structure refused by revision 0.
Integrity of the acceptance contract
The canonical propositions of OBLIGATIONS.toml have frozen material fields: identification, state, authority, class, formal determination, proposition, quantifiers, context, official carriers, bridge, antecedent, consequent, assumptions, forbidden laws, artifact class, non-vacuity, forbidden substitutes, identity and acceptance form, evidence classes and failure condition.
The canonical digest of those fields is verified independently of the file manifest. Regenerating checksums does not authorize weakening a proposition. The validator’s identity also belongs to the trust basis identified by the package.
The mutation battery must refuse: swapping a proposition for a trivial one; downgrading the class; substituting opaque occurrence by relational proxy; omitting an obligation; making the bridge unidirectional; reducing the six discriminations to one; omitting the unresolved case; changing a ratified decision; reclassifying a current obligation as non-mechanizable; satisfying routing by contradictory marker; withdrawing an exact authority block; or altering a frozen block.
Closure condition
Executable closure gathers evidence of the 43 obligations, contract validator, adversarial mutations, pertinent Rust verifications, Query-specific properties, independent reducer and path oracles, complete public witnesses, per-revision schemas and a new hostile review of the affected surface.
FO-L3-02, of lineage and multiplicity, and FO-L3-03, of completion and selectors, can be revalidated by that evidence and remain DEFERRED-NON-BLOCKING until there is a campaign of their own demonstrating the mechanization. A documentary report does not change their class.
The implementation authorization of the original package requires ratified decisions, preserved AH1 interface, adversarial review, mutations, validator, freeze and real authority routing. In documentary succession, those requirements are transferred together with their propositions and verification assets; the production of this page does not declare a new execution of those gates.
QEC acceptance index — exact identities and propositions
Nature: auxiliary editorial record; it does not replace OBLIGATIONS.toml nor its frozen digest. Origin: Git blob 4289cddbe110be28457f2a345be24f3a6ee14b0f at 14c593c4…. The reading of the origin attested structurally 43 active records, without repeated IDs, each with its 22 fields present. No QEC trial was executed in this edition.
Each line points to its acceptance proposition (AH1) and to the thematic section of the consolidated contract; that thematic route is not a proof of equivalence between the successor text and the complete proposition. The exact fields — quantifiers, model, antecedent, consequent, oracles, assumptions, refusals and evidence — remain governed by the canonical record until verified succession.
| Canonical ID | Exact proposition | Canonical subject | Class | Determination | Thematic route |
|---|---|---|---|---|---|
QA-V01 | QEC.AP.QA-V01.v2 | Material literal class survives to executable evaluation | PRESERVATION | DETERMINED | N12 |
QA-V02 | QEC.AP.QA-V02.v2 | reducer domain comes from exact static/operator contracts | FORMATION / WELL-FORMEDNESS | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QA-V03 | QEC.AP.QA-V03.v2 | host numeric/equality/order is non-authoritative | NO-DEFAULT-LAW | DETERMINED | N12 |
QA-V04 | QEC.AP.QA-V04.v2 | Q-UNBOUND and Q-UNDEFINED remain distinguishable where material | DISTINGUISHABILITY | DETERMINED | N12 |
QA-A01 | QEC.AP.QA-A01.v2 | exact aggregate operator identity survives | PRESERVATION | DETERMINED | N12 |
QA-A02 | QEC.AP.QA-A02.v2 | SUM reducer obeys exact commutative-monoid contract | FORMATION / WELL-FORMEDNESS | DETERMINED | N12 |
QA-A03 | QEC.AP.QA-A03.v2 | MIN/MAX obey exact determining-order contract | FORMATION / WELL-FORMEDNESS | DETERMINED | N12 |
QA-A04 | QEC.AP.QA-A04.v2 | COUNT(expr)=COUNT_BOUND(expr), not fallback COUNT_SOLUTIONS | PRESERVATION | DETERMINED | N12 |
QA-A05 | QEC.AP.QA-A05.v2 | default nonvalue policy is REJECT_NONVALUE | PRESERVATION | DETERMINED | N12 |
QA-A06 | QEC.AP.QA-A06.v2 | global no-key group exists on empty input | PRESERVATION | DETERMINED | N12 |
QA-A07 | QEC.AP.QA-A07.v2 | empty SUM/MIN/MAX laws are exact | PRESERVATION | DETERMINED | N12 |
QA-A08 | QEC.AP.QA-A08.v2 | all authored group keys have exact lowering or rejection | PRESERVATION | DETERMINED | N12 |
QA-A09 | QEC.AP.QA-A09.v2 | one aggregate locus uses one pre-aggregation solution family | PRESERVATION | DETERMINED | N12 |
QA-A10 | QEC.AP.QA-A10.v2 | aggregate completion inherits complete input criterion | PRESERVATION | DETERMINED | N12 |
QA-A11 | QEC.AP.QA-A11.v2 | SUM execution follows exact reducer contract and is permutation-invariant | PRESERVATION | DETERMINED | N12 |
QA-A12 | QEC.AP.QA-A12.v2 | MIN/MAX execution follows exact determining-order contract | PRESERVATION | DETERMINED | N12 |
QP-C01 | QEC.AP.QP-C01.v2 | executable PathContract covers every material semantic coordinate | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QP-C02 | QEC.AP.QP-C02.v2 | path endpoint bindings are preserved and correlated | PRESERVATION | DETERMINED | N12 |
QP-C03 | QEC.AP.QP-C03.v2 | step uses exact relation/from_role/to_role | PRESERVATION | DETERMINED | N12 |
QP-C04 | QEC.AP.QP-C04.v2 | traversal witness preserves material relation/participation coordinates | PRESERVATION | DETERMINED | N12 |
QP-C05 | QEC.AP.QP-C05.v2 | path and repeat group are structured Query-local values | DISTINGUISHABILITY | DETERMINED | N12 |
QP-C06 | QEC.AP.QP-C06.v2 | empty path never invents endpoint referent | NON-CREATION / ANTI-PROMOTION | DETERMINED | N12 |
QP-R01 | QEC.AP.QP-R01.v2 | path policy capability follows exact acyclic authorized contract chain | FORMATION / WELL-FORMEDNESS | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QP-R02 | QEC.AP.QP-R02.v2 | four reuse policies remain behaviorally distinct | DISTINGUISHABILITY | DETERMINED | N12 |
QP-R03 | QEC.AP.QP-R03.v2 | participation comparison preserves SAME/DISTINCT/UNRESOLVED | DISTINGUISHABILITY | OPAQUE STANDING BOUNDARY | N12 |
QP-R04 | QEC.AP.QP-R04.v2 | storage/serialization key never defines semantic reuse equality | NO-DEFAULT-LAW | DETERMINED | N12 |
QP-M01 | QEC.AP.QP-M01.v2 | SET and MULTISET alternatives remain distinct | DISTINGUISHABILITY | DETERMINED | N12 |
QP-M02 | QEC.AP.QP-M02.v2 | SET collapse uses PathContentEquivalence and retains material lineage | PRESERVATION | DETERMINED | N12 |
QP-M03 | QEC.AP.QP-M03.v2 | repeat segment boundaries remain observable where contracted | PRESERVATION | DETERMINED | N12 |
QP-S01 | QEC.AP.QP-S01.v2 | selector capability follows exact authorized contract chain | FORMATION / WELL-FORMEDNESS | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QP-S02 | QEC.AP.QP-S02.v2 | ALL is over exact complete admissible family | PRESERVATION | DETERMINED | N12 |
QP-S03 | QEC.AP.QP-S03.v2 | ANY may complete after one admitted witness but empty ANY needs closure | PRESERVATION | DETERMINED | N12 |
QP-S04 | QEC.AP.QP-S04.v2 | ONE_SHORTEST proves no shorter admissible path remains possible | PRESERVATION | DETERMINED | N12 |
QP-S05 | QEC.AP.QP-S05.v2 | ALL_SHORTEST additionally determines all minimum-length paths | PRESERVATION | DETERMINED | N12 |
QP-S06 | QEC.AP.QP-S06.v2 | standard shortest selectors do not implicitly partition/group | PRESERVATION | DETERMINED | N12 |
QP-L01 | QEC.AP.QP-L01.v2 | semantic order: local predicate/reuse before selector, postfilter after selector | PRESERVATION | DETERMINED | N12 |
QP-L02 | QEC.AP.QP-L02.v2 | each iterates repetition segments, not raw occurrence IDs | PRESERVATION | DETERMINED | N12 |
QP-L03 | QEC.AP.QP-L03.v2 | path summaries reuse Query reducer/length semantics | PRESERVATION | DETERMINED | N12 |
QX-01 | QEC.AP.QX-01.v2 | semantic-to-executable material coverage is bidirectional | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-02 | QEC.AP.QX-02.v2 | candidate-path coverage is bidirectional | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-03 | QEC.AP.QX-03.v2 | internal structured Query values survive public API | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-04 | QEC.AP.QX-04.v2 | machine rev1 represents structured Query values without changing rev0 | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-05 | QEC.AP.QX-05.v2 | one evaluation uses compatible basis/revision chain | NON-RETROACTIVITY | DETERMINED | N12 |
Integrity required for promotion
The correspondence of each line can only be declared verified when its entire proposition, assumptions, budget of laws, required artifacts, evidence class and hostile witnesses survive the cutover under the same subject/revision. The test of 43 identifiers does not authorize PASS.
The original record’s validator (scripts/validate_contracts.py) and the adversarial mutations suite (scripts/adversarial_mutations.py) are elements of acceptance and must be executed in the repository where the real consumers were updated. QP-R03 remains an OPAQUE STANDING BOUNDARY boundary; it cannot receive an approximate equality to complete the table.
Contract basis of FormaSL product 0.1.0
This contract gathers the construction, verification, distribution and acceptance responsibilities of the FormaSL 0.1.0 product. It preserves the topics T00–T29 and the decisions modifying them, under the hierarchy defined in Authority and governance. The identifiers of topics, decisions, protocols and schemas keep their technical functions.
The contract basis is formed by the frozen set D001–D234 and the later amendment D235. The initial freeze and the amended set are different historical subjects. The cryptographic digests identifying the D001–D234 freeze keep identifying that basis; their reuse as the digest of the amended set is invalid.
The rules below are specifications of behavior and acceptance. The results of campaigns, implementation states and execution receipts belong to their respective historical records. The closure of a contract, the execution of its tests and the authorization of publication are distinct events.
1. Jurisdiction and common rules
The four foundations and the stable semantic decisions govern this contract. QEC is the specialized amendment of the query execution locus, subordinate to the Query capability contract. Its rules of reducers, paths and result carriers prevail at that locus; the Reasoning aggregations stay governed by their own authority.
The implementer chooses private representation, module organization, data structures, caches, allocation and locally equivalent algorithms. Those choices preserve public interfaces, identities, revision selection criteria, gas rules, results, error classes, measurement protocols, security criteria and acceptance conditions.
Missing information receives no implicit meaning of latest, current, empty, false, first result or last write. A default behavior only exists when the responsible contract expressly defines it.
A reopening requires material countermodel, incompatibility between contract and type, demonstrated impossibility of implementation under the contract, change of higher authority or express reconsideration by the owner. Local implementation difficulty and preference for another design do not change the contract.
Binding classes
| Class | Rule |
|---|---|
FIXED_CONTRACT | The value joins the contract before implementation; the executor does not choose it. |
EXECUTION_BINDING | A contractual procedure captures the value before observing the affected execution’s results. |
LEGAL_FACT_BINDING | Legal facts and instruments are provided by the pertinent authority, with their explicit state. |
EVIDENCE_RESULT | The value is produced by the execution of a frozen protocol and does not retroactively modify that protocol. |
IMPLEMENTATION_FREEDOM | The choice is local as long as it preserves public observables, authority and gates. |
The seven bindings B001–B007 are determined as follows:
B001 — Rust. At the first authorized normalization T02, the executor resolves the numeric stable version through the official channel, records it before changes, fixes rust-toolchain.toml and rust-version and does not resolve the channel again during the same 0.1.0 candidate. This rule does not request updating the already fixed version today.
B002 — Benchmark environment. Before the first pilot, the manifest freezes environment, harness identity, candidate limits per family, timeout, memory, gas search, scheduling seed, LLC size and stabilization wait. There are no implicit values. Later change creates another campaign identity.
B003 — Security. The D204 budget fixes a 60,000 ms timeout for supported cases, 180,000 ms for resource or oversized cases, 2,147,483,648 bytes of memory, one worker, network denied, seeds [0,1,2,18446744073709551615] and 600 seconds of fuzzing per mandatory target and supported platform. The tool is identified; the impossibility of applying a limit makes the campaign invalid.
B004 — Independent trial. When that trial is performed, the D205 budget is 7,200 seconds after the admission of the environment, on a supported target, without network, without pausing or restarting the clock. The tool classes are TARGET_BASE_UTILITIES, MINISIGN and DELIVERED_FORMASL_TOOLS. Assistance is exclusively environmental, recorded, without hints about the product. The binding stays defined even when the trial’s execution is waived or optional.
B005 — Compression. The first packaging implementation fixes implementation, version and gzip parameters. The same distribution recipe must be repeatable; that does not establish byte-for-byte reproducibility of the compiler.
B006 — License. The final instrument, the ownership facts and the legal review state are provided data. D227 fixes the external review as OWNER_WAIVED / NOT_PERFORMED for version 0.1.0. The executor implements the technical verifications of those data, without fabricating another license or legal review.
B007 — Signing. The authorized public key is provided outside the package; its Minisign-compatible identity is recorded before signing. The private key stays out of the distributed content and of ordinary CI artifacts.
2. T00 — Frozen core boundary
The frozen semantic basis is identified by its exact revision. Later work realizes the admitted capabilities and preserves the already determined semantics. A change in the core requires a causally demonstrated defect: infringed contract, reproducible subject, failure path, necessary change and verification that the fix preserves the other obligations.
The authorization is limited to the demonstrated defect. It does not open a general reshaping of the language, an unsolicited optimization or a replacement of the acceptance criteria. The differences between source, results, authority, realization and execution accompany the correction.
The hardening of the R1 gas measurement is a bounded-work obligation: it must count the logical work performed within a round, preserving the least-fixpoint semantics. Charging only by external round does not realize that obligation.
3. T01 — Capability and support declarations
The product’s capability declaration matrix relates each claim to the contract, the procedure that can verify it, the produced evidence and the corresponding artifact. A declaration keeps the scope in which it was established: language, implementation, formal result, observed behavior or supported operational surface.
Including a capability in the syntax is not equivalent to its executable realization. A witness about an implementation does not establish a universal guarantee of performance or of all providers. The support states and limits are determined per locus and revision.
The fourteen lines of the original claims matrix belong to the bound material set. Updating a line requires the pertinent evidence and the preservation of historical bindings; simply rewriting the documentation text does not promote its state.
4. T02 — Identity, version and supported targets
The product’s current identity is FormaSL and this contract’s version is 0.1.0. The product version stays distinct from the distribution revision, the source commit, the build recipe and the delivered package.
D225 fixes the official target set of version 0.1.0 as ["x86_64-unknown-linux-gnu"]. The obligations traversing all targets use that exact set. Earlier references to two platforms do not create a second build or package obligation.
The project uses Edition 2024 and the numeric Rust version fixed by B001. Metadata, license and external facts follow the corresponding bindings, without inference from directory or environment names.
5. T03 — Names and current surface
Product, tool, public output and current documentation names are neutral regarding the historical generations of the reconstruction. Identifiers of campaigns, frozen revisions and provenance keep their spelling when needed to identify the historical fact.
Name normalization does not create permanent language aliases, does not change semantic identities and does not reclassify historical material as current API. The generation whose removal was ordered by the owner is withdrawn from the current tree; its historical recovery remains in Git.
6. T04 — Programmatic interface
The public facade is the entry point for check, inspect, run and realize in the corresponding contractual profile. The compiler’s and runtime’s private structures do not replace that boundary.
SourceInput carries exact UTF-8 reference, u64 revision and text. CheckRequest contains a non-empty collection of .fsl sources; duplicated references, duplicated modules and .fsp material in that input are refused. CheckedProgram is opaque and results only from check acceptance.
The verified subject keeps the bytes and revisions used. Imports are topologically ordered, with dependencies before consumers; simultaneously available modules are ordered by the UTF-8 bytes of their names. Import cycles are refused. The authored order within the module is preserved.
inspect offers the views Summary, Declarations, Claims, Applications and Subtypes. Its output is a selected public projection, not a universal exposure of AST, CST or internal representation.
In RunRequest, application = None selects the applications named in the program’s canonical order. Some(name) requires an exact match: none matches UNKNOWN_APPLICATION; more than one matches AMBIGUOUS_APPLICATION. The budget is explicit. Each R1 application restarts with the same budget; that profile’s Match informs gas_applicability = not_applicable for that meter.
Applications are evaluated independently. An unsupported result does not erase other applications’ results, and an application cannot ignore an unsupported material fragment to appear concluded. The aggregated precedence is REJECTED > UNSUPPORTED > RESOURCE_EXHAUSTED > COMPLETE, without eliminating the individual outcomes.
realize receives exactly one .fsp realization declaration and binds it to the already verified subject. Zero declarations, competing roots and wrong plan input are refused. There is no implicit target or revision selection.
A diagnostic keeps code, class, message and locus when applicable. The classes are normative_rejection, product_binding, driver and internal. File or argument failures are not turned into semantic rejections of the language.
The later extensions of the facade and QEC are bound by their own revisions. The historical T04 profile must not be used to deny a later admitted capability, nor can a new capability silently change the frozen representations.
7. T05 — Machine representation
The representations of check, inspect, run and realize use versioned schemas and canonical JSON. The content’s structure keeps categories, identities, polarity, roles and the distinction between lexical and witness variables.
SemanticValue distinguishes {kind:"literal", text} from {kind:"reference", identity}. QueryVariable keeps name and the witness or lexical marker. SemanticAtom keeps relation, polarity and a sequence of roles with typed values; serialization does not convert that sequence into a map with another semantics. OccurrenceWitness includes the occurrence and its matched roles. GoalAtom keeps terms classified as literal, reference, lexical variable, witness variable or wildcard.
The ProgramSubject identity is computed over the ASCII domain FORMASL-PROGRAM-SUBJECT-1 followed by NUL, the source count in u64 big-endian and, for each source in canonical order, length and exact bytes of the reference, revision and the 32 bytes of the SHA-256 of the text. There is no normalization of path, case or Unicode.
Revision 0 of the result stays frozen. The successor revision 1 carries the structured carriers defined by its amendments. Applicability coordinates of consequences — under, scope, frame, valid_at — are independent of the propositional content and do not become relation roles. In the corresponding projection, consequence_contexts[] is positional to consequences[] and contexts[] is positional to matches[]. Each position is null when absent or a typed semantic reference, never a display literal simulating identity.
8. T06 — Synthetic datasets
The profiles are formasl.social and formasl.financial, with profile_version = 1, contract_version = 1, positive u32 scale and u64 seed. The generator does not consult personal or real sources. Synthetic identifiers use the ASCII alphabet [a-z0-9_].
Candidate selection uses SHA-256 over FORMASL-DATASET-1 followed by NUL, profile identifier prefixed by UTF-8 length, version and scale in u32 big-endian, seed in u64, context prefixed by length and slot and counter in u64. The candidate is the first u64 of the digest, big-endian, modulo the domain size. Each slot starts at counter zero and increments it until satisfying exclusions and distinction from the targets already selected in that record. There is no mutable pseudo-random generator state.
In the social profile, scale s produces 128s people, 8s organizations, 128s memberships and 512s Follows relations. Each person belongs to an organization and follows four other distinct people. The logical order is all memberships by person index, followed by Follows by origin person and slot. The SocialFollows application selects those relations, preserving one witness per occurrence.
In the financial profile, there are 64s accounts, 4s institutions, 64s AccountAt relations, 512s transfers and max(1,floor(64s/16)) flagged accounts. Each account chooses an institution and eight other distinct accounts for transfers. The logical order gathers AccountAt, Transfer and Flagged in that sequence, with the prescribed index and slot orders. FinancialRisk derives exactly the Transfer pairs whose destination belongs to Flagged; the rule is not a transitivity of RiskEdge.
D222 fixes LogicalRecordV1 with exactly claim, issuer, relation and roles. The issuer is the literal $formasl_generator; claim identifiers and lexical values of roles receive no additional $. The order of the record vector participates in the identity. logical_digest is the canonical SHA-256 of the logical subject; dataset_id is the canonical SHA-256 of profile, version, scale, seed, contract version and logical digest.
The reference generator’s templates, the independent identity vectors and the scale-1 seed-0 goldens join the material closure. The .fsl text uses UTF-8, LF, exactly one final LF, four spaces, no tabs, comments or trailing spaces. Values predating the D222 repair remain invalid historical identities, not regression targets.
9. T07 — InMemoryReferenceStore
T07 governs the reference store for evaluation, not T09’s conformance catalog. Its lifecycle is EMPTY --atomic load_bundle--> SEALED. After fully loading a valid bundle, the SEALED state allows only read and scan; reset returns to EMPTY. There is no observable intermediate loading state nor snapshot API in version 0.1.0.
A failing load_bundle attempt keeps EMPTY, without publishing partial records. The failure classes are NOT_LOADED, ALREADY_LOADED, INVALID_MANIFEST, DIGEST_MISMATCH, STRUCTURAL_ORACLE_MISMATCH, DUPLICATE_RECORD_KEY and RESOURCE_LIMIT; their separation cannot be erased by implementation convenience.
The logical key is (collection, record_key). scan follows the lexicographic order of the raw UTF-8 bytes of the keys; it is an operational reading order, not an order of the semantic domain. The store offers only raw or provider evidence and does not emit Claims, truths, complete results or semantic standing.
The T07 gate must verify the state machine, atomic failures, deterministic scans and refusals at the provider boundary. The single catalog of obligations and their evidence classes belong to T09, not T07.
10. T08 — Evaluation and audit harness
The harness executes verification modules under explicit Evaluation and Audit profiles. Identities of modules, permissions, inputs, procedures and results are bound before execution. Package possession does not grant additional permissions.
Selection respects the catalog and the authorized profile. The harness does not discover permissions, sources or contracts by environmental convenience. Execution records keep the material inputs and results of each module. Their aggregation respects the typed outcomes and does not turn absence or failure into acceptance.
11. T09 — Correspondence and evidence classes
Specification, formalization, implementation, test and observation are different classes. A relation between them is established by an explicit correspondence between subjects and revisions.
A verified proof concerns the actually encoded proposition. The implementation’s conformance with that proposition requires the bridge and evidence foreseen in the correspondence contract. ImplementationCorrespondence starts as NOT_CLAIMED and only changes through an explicit route with evidence.
The correspondence matrix identifies the authority, the claim type, the representation, the procedure, the result and its exclusions. Material changes invalidate the affected lines; nominal identity, payload equality or a single green test do not replace the required relation.
12. T10 — Performance characterization
D235 institutes formasl.t10.contract.v2, governing W01–W17, calibration, timed operation, statistics and result seal version 3. The characterization protocol consolidates its rules.
The timer measures the latency of the exact public T04 call, in nanoseconds. Fixture generation, admission, environment preparation and prior construction of CheckedProgram stay outside the timer in the determined cases. The name of an arm does not prove which operation was called.
A correctness failure invalidates the case before timing. A partial campaign does not emit the primary seal identifier. D235 preserves the earlier results as historical evidence, with their invalidity or non-canonical characterization qualifications, and requires a new identity for the first conformant primary campaign.
13. T11 — First security cycle
The cycle covers source, revision, check, inspect, run, realize, machine representation, generator, store, providers, harness, resources and false positives. The manifest freezes the attack identifiers and the resource, fuzzing and network limits before execution.
The mandatory families are SEC-SOURCE, SEC-REVISION, SEC-CHECK, SEC-INSPECT, SEC-RUN, SEC-REALIZE, SEC-MACHINE, SEC-GENERATOR, SEC-STORE, SEC-PROVIDER, SEC-HARNESS, SEC-RESOURCE and SEC-FALSE-PASS. The exact catalogs and the B003 budget complement this enumeration.
The oracles verify absence of crash and unbounded suspension, preservation of authority and status, rejection of tampered evidence and the impossibility of presenting partiality as completeness. Critical/High findings and the cycle’s conclusion go through the independent review required by the internal protocol. That technical review is not the T22 or T29 external trial waived/reclassified.
The result is COMPLETE_NO_BLOCKERS, BLOCKED, INCONCLUSIVE or INVALID_CAMPAIGN. Concluding means covering the threats and not keeping unresolved blockers; it does not mean declaring that no finding existed.
14. T12 — Build and reconstruction
The canonical command is cargo build --release --locked --offline --target <target>. The profile fixes optimization 3, thin LTO, one codegen unit, incremental disabled, panic abort and strip disabled. RUSTFLAGS is empty; target-cpu=native does not join the canonical build.
The recipe binds source tree, Cargo.lock, integrity-closed dependency sources, numeric Rust, target, profile, normalized environment and command. The canonical build is executed with network denied. The build occurrence adds recipe identity, environment, times, artifact digests and operational evidence.
Reconstructibility means rebuilding the product from the exact source, dependency closure and recipe, with the required gates. Byte-for-byte equality of independent builds is additional, separate evidence. D228 requires one recipe per supported target; in this version, the source bundle references exactly one recipe.
15. T13 — Terminal adapter
T13’s terminal profile adapts the T04/T05 contracts. The semantic commands of that profile are check, inspect, run and realize; help and version are product metadata. Later surfaces of projects and packages belong to the contracts that added them.
Each file operand is a valid UTF-8 string exactly as provided in argv. A non-UTF-8 path fails before reading with DRIVER_PATH_NOT_UTF8. There is no lossy conversion, realpath, Unicode or case normalization. Relative paths use the invocation directory. The file is opened and read once; the captured bytes are the ones admitted by the facade.
That profile offers no official stdin, recursive discovery or ambient semantic settings. check receives only FSL; .fsp enters realize, with exactly one --for. run requires --gas. inspect offers T04’s five views.
--format accepts text and json, with textual default. JSON stdout contains only the canonical T05 document; driver errors use the formasl.cli_driver schema. Exit codes are 0 for valid concluded operation, including false/unknown/empty; 1 for T04 rejection; 2 for usage; 3 for driver; 4 for unsupported; 5 for exhausted resources.
The textual renderer keeps its structural breaks and escapes all C0 and DEL coming from external content: \n, \r, \t and, for the others, \u{xxxx} in four lowercase hexadecimal digits. Write failure, including broken pipe, is DRIVER_OUTPUT_WRITE, exit 3, without panic or backtrace.
16. T14 — Second security cycle
The cycle after the CLI binding examines argv/OsString, non-UTF-8 paths, special files, symlinks, path aliases, file replacement, repeated flags, contaminated environment, terminal controls, JSON, stdout/stderr, broken pipe, gas abuse, exit codes and attempts to bypass T04/T05.
It uses the T18 finding states, the T19 disclosure rules and T11’s manifest and budget discipline. The complete campaign traverses the official target set. Threat coverage, review of material findings and absence of blockers determine the result, in T11’s same vocabulary.
17. T15 — Distribution and installation
Distribution separately identifies product version, distribution revision, target, recipe, occurrence, package and transport archive. The delivery names follow formasl-0.1.0-evaluation-d<revision>-<target>.tar.gz and formasl-0.1.0-source-d<revision>.tar.gz.
The Evaluation Kit contains the executables formasl and formasl-harness, the evaluation profile, the package and build manifests, SBOM, provenance, license and notices, plus installer and uninstaller. The versioned data root is share/formasl/0.1.0/.
All entries of an archive are verified before any writing. Only normalized relative paths, regular files and directories are accepted. Absolute paths, ./.., duplicates, symlinks, hardlinks, devices, FIFOs, sockets and unknown types are refused. The canonical mounting fixes lexical order, uid/gid zero, empty owner names, zero mtime, modes 0755 for directories and executables and 0644 for regular files; gzip uses zero timestamp and the B005 recipe.
The trust chain is external public key → signature of the exact bytes of delivery.json → SHA-256 and size of the transport archive → internal manifest → file digests. A lone .sha256 file is a convenience, not a substitute for that chain. The SBOM uses CycloneDX JSON 1.7; provenance uses in-toto Statement 1 with SLSA Build Provenance 1 predicate under the SLSA 1.2 basis; the detached signature is Minisign compatible.
Installation is offline, into an absolute prefix explicitly provided by the user, without sudo, system changes, PATH, shell profile, network or telemetry. Reinstalling the same package into the same prefix is idempotent; collision with a foreign package fails without silent replacement.
The receipt binds owned paths, digests and modes. The uninstaller treats it as untrusted input, bounds the allowed namespaces and removes only owned unaltered files. User data remains; modified files are identified residues. The gate traverses verification, extraction, installation, file checking, product and harness smoke, uninstallation, cleanup and reinstallation.
18. T16 — License, authorization and D227
The rights architecture is a base proprietary license with recipient-specific AuthorizationRecord. Evaluation is a subset of Audit. Commercial diligence is admitted within the permissions; production, commercial exploitation and redistribution depend on separate grant. Working copies and use of tools/agents follow purpose and confidentiality.
The provided instrument regulates prospective termination, return or destruction within 30 days and limited archival retention, without retroactively revoking valid historical grants. The declared architecture adopts Brazilian law and the São Paulo forum. This successor preserves the rights specification and the verifications of the provided data, without drafting a substitute legal instrument.
D227 records LicenseRef-FormaSL-Evaluation-1.0, owner/licensor Forma Research Lab and SHA-256 of LICENSE 3a683788b683abcfdcb9a399156ae2429af36c116ae86484fc5f794f9a295603. The external review state is OWNER_WAIVED / NOT_PERFORMED. That review does not block T16, T26 or T28 when the remaining technical obligations are satisfied.
The exact bytes of the license, its binding to the package and the authorization, profile, revision, permissions, recipient, state and detached authenticity stay mandatory. The waiver is not equivalent to COUNSEL_APPROVED, legal PASS or independent review evidence. T16’s special seal line is specified below.
19. T17 — Datasets policy
The official datasets are fully synthetic, limited to the T06 profiles and versions. Each version keeps its scale-1 seed-0 goldens. No real personal source joins the generation. The manifests and license references must be coherent with T16; generating a dataset grants no separate redistribution rights.
20. T18 — Findings and version evolution
Severity, lifecycle state, disposition and target version are independent axes. The cycle is NEW → REPRODUCED → TRIAGED → DISPOSITIONED → FIXED → REVALIDATED → CLOSED; disposition is not mandatory before DISPOSITIONED.
The disposition is BLOCK_0_1_0 when the finding falsifies the frozen core, the claims or support contract, admits false PASS or improper promotion of evidence, breaks a supported path of build/installation/evaluation or keeps a Critical/High problem unresolved on the supported surface. Compatible auxiliary repair is FIX_0_1_X; incompatible public or semantic evolution is TARGET_0_2; a question without current product obligation is RESEARCH. Without determined framing, the state is OWNER_DECISION_REQUIRED.
DEFERRED requires an explicitly non-blocking disposition. A BLOCK_0_1_0 cannot be deferred as residual risk. Material findings keep reproducer, evidence, owner and disposition; core reopening follows the causality required by T00.
21. T19 — Security disclosure
Security findings before release are confidential by default. Preliminary Critical evidence triggers notification to the designated responsible party within 24 hours. Public disclosure requires explicit authorization from Forma Research Lab. For third parties, the basis is coordinated disclosure 90 days after acknowledgment, except by agreement or documented exception.
Each disclosure action records authority, recipients, time, exception ground and related finding. That discipline controls disclosure; it does not reduce the repair obligations of T18 or the confidentiality and authorization obligations of T16.
22. T20 — Documentation with the code
Current code documentation is neutral regarding the historical generations. In the origin contract, the canonical language of technical sources is English; translations are derivative. That regulates comments and Rustdoc of that profile and does not automatically convert the Portuguese book into a new English specification.
Public surfaces enable the missing_docs policy. The documentary build uses cargo doc --workspace --no-deps with RUSTDOCFLAGS=-D warnings. Each public item describes purpose and inputs/outputs; adds failures when possible, invariants when crossing semantic boundaries and authority when its role can be confused with source, status or authorization.
Executable Rust examples compile as doctests. FormaSL examples execute on the corresponding product/harness. Private comments explain reasons, invariants and edge cases, instead of campaign narratives.
23. T21 — Language and product documentation
Documentation is Markdown-first, organized in mdBook, with paths for learner, program author, integrator and auditor. The subjects cover orientation, installation, conceptual model, declarations/types/relations, Claims/results/lifecycle, computational regimes, governance/scenarios/revisions, composition/realization/execution, APIs/representations, verification, support, reference and diagnostics.
Each chapter introduces the theory needed by its object. Proof details belong to the assurance documentation, and the language reference describes constructs and contracts, instead of a research narrative. Executable examples exist as files and are verified by the product; the book must build offline and have valid links.
D226 satisfies the old T22 dependency through its waiver; it does not require recreating the external trial to finalize the documentation. T21 owner decision (2026-10-21, APPROVED_BY_OWNER, option A): the canonical technical source stays in English, per the current T21; the pt-BR surface of this edition becomes derived/non-authoritative material for the canonical technical source while the canonical English edition does not exist. The canonical translation and the rearrangement of SUMMARY.md to the T21 contract are conditional work of a future WP; until then, no T21_CONFORMANT or publication-readiness claim is issued. The semantic contracts described are not changed by that editorial policy decision.
24. T22 — Independent trial waived by D226
The protocol stays defined: eligible evaluator who is not the material’s author, access to the package and exact permissions, B004 budget, tasks CA-01–CA-13, absence of product hints and recording of environmental assistance. A material change of the package invalidates an earlier execution of that trial.
D226 waives its execution as a mandatory gate of version 0.1.0. The independent execution was not performed; there is no T22 PASS or VERIFIED. The subject stays available as a future trial and its historical preparation is not reclassified as execution.
In the FinalSealCandidate, the T22 line uses exactly:
required_execution_status = NOT_REQUIRED_OWNER_WAIVED
actual_execution_status = NOT_EXECUTED
required_evidence_status = OWNER_WAIVER
actual_evidence_status = OWNER_WAIVER_RECORDED
subject_id = identity of decision D226
evidence_root = content-identified authority root of D226
25. T23 — Cleaning of the current surface
The origin contractual classification distinguishes CURRENT, ARCHIVE_INTERNAL and REMOVE_FROM_CURRENT_CHECKOUT by priority algorithm, without informal judgment of historical value. The explicitly eliminated generation receives REMOVE_FROM_CURRENT_CHECKOUT and is not copied into an archive inside the repository.
In the present reconstruction, the owner’s order to remove all the old documentation determines its final disposition. Before the cut, the living responsibilities and tool dependencies receive successors. Afterwards, the old documents and references are withdrawn from the tree, and the gates affected by paths are executed again. Git keeps the history. The historical internal-archive option does not serve to reinstall the documents whose elimination was ordered.
The D226 waiver satisfies the old T22 dependency. Records of that waiver keep the required provenance, without requiring a permanent copy of all campaign documentation.
26. T24 — Formal assurance map
The contract identifies two subjects: Semantic Metagraph and the selected acceptance roots of Result/Reasoning/Assurance. The contractual toolchain is Agda 2.8.0, standard library 2.4 and --safe, without holes or postulates.
The metagraph record contains 82 lines; those marked retired-contract-overreach are not active obligations. The pre-implementation selected root contributes its twelve required fields. The accounting keeps that distinction, instead of turning record size into a count of active theorems.
Each FormalClaimEntry binds authority, class and determinability, exact proposition, proof/witness/countermodel symbol, theory/model context, budget of laws, representation bridge when required, toolchain, source, proof state, claim alignment, implementation correspondence and exclusions.
The acceptance interface must resist subject substitution, shadow models, vacuity, consequent weakening, antecedent withdrawal, fixture overfitting, self-grounding, improper law introduction, evidence class swap, relabeling, representation erasure, names used as proof, wrongly indexed proposition, obligation omission and improper authority discovery. The obligations matrix and the acceptance interface are verified before mechanization claims; the corresponding module stays re-executable in the harness.
27. T25 — Pre-CLI candidate
PreCliCandidate receives a SHA-256 identity over its canonical object without candidate_id. It binds the subject’s exact revision and tree, contract set, targets, build artifacts and evidence roots. That subject’s revision is distinct from the later revision of the acceptance record.
The condition includes T00 frozen, T04–T09 executed per their gates, valid T10 primary seal without performance threshold, T11 COMPLETE_NO_BLOCKERS and T12 reconstruction/provenance on supported targets. Missing, stale or other-subject evidence causes refusal.
Material change creates a new identity. Evidence reuse requires equivalence of the material inputs. The automatic evaluator reaches only READY_FOR_OWNER_ACCEPTANCE; CLI_LINK_AUTHORIZED depends on explicit acceptance of the exact candidate by the owner. The CLI binding does not consume HEAD or latest in place of that subject.
28. T26 — Evaluation set and audit capsule
The Evaluation Set gathers reading input, technical dossier, T15 kit, license/authorization, T01 matrix, harness Evaluation profile, conformance, performance characterization, formal assurance, build/SBOM/provenance, permitted security summaries and known limits.
The Audit Capsule is a separate, specifically authorized layer. It can add source, reconstruction, instrumentation, formal material and raw evidence per T16. Possession of the Evaluation Set does not grant Audit. T19 keeps regulating sensitive evidence.
The manifest binds each object by digest and keeps the chain claim → procedure → evidence → artifact. The set is understandable and verifiable without reconstructing a campaign archaeology. D227 requires keeping both the technical chain of the LICENSE and OWNER_WAIVED / NOT_PERFORMED, without claiming legal approval.
29. T27 — Distribution security
T15 defines the valid package; T27 adversarially tests that contract. The assets include transport archive, delivery manifest, signature, external key, internal manifests, executables, SBOM, provenance, installer, uninstaller, receipts, source bundle and authorizations.
The cases cover package/manifest/key/signature replacement, replay or rollback relevant to the authorization, wrong target, traversal, links and special entries, path and case collisions, decompression bombs, TOCTOU between verification and use, hostile prefixes and environment, pre-existing symlinks, receipt tampering, arbitrary deletion, modified files, source/dependency substitution, false SBOM/provenance binding, key compromise and confidential leakage.
A tampered/unsigned route and a malicious candidate validly signed with an isolated trusted test key are mandatory. The real private distribution key does not enter the adversarial harness. Conclusion requires the official targets, deterministic cases, fuzzing, cross-checks, improper-deletion tests, revalidated findings, internal independent review and absence of blockers. The vocabulary is T11’s.
30. T28 — Product seal and publication authorization
The FinalSealCandidate transitively accounts T00–T27 and T29. Each line brings the contract’s identity and state, the required and actual execution/evidence states, subject and evidence root. T28 appears in seal_contract_identity, not as a dependency of itself. Missing, unknown or stale required lines cause refusal.
D229 defines the horizon of product release, with mandatory internal technical rigor. The candidate binds frozen clean revision, claims, findings, conformance, build, CLI/product path, support contract, final documentation, explicit official target, authenticated package, installation, smoke, uninstallation, offline reconstruction, build/package identities, SBOM, provenance, internal security, properly bounded formal claims and unsupported or deferred capabilities. blocking_findings = [] is mandatory.
The old expression about two target packages is subordinate to the D225 singleton official set and the D228 cardinality. T29 does not require an external acceptance artifact for the release; the accounting uses its exact optional line. The absence of external assurance does not block version 0.1.0.
The candidate receives SHA-256 over the canonical object without its own ID. Its state is READY_FOR_OWNER_ACCEPTANCE and publication_authorized = false. The owner explicitly accepts the exact candidate_id and candidate_manifest_sha256 in a separate record, with decision = ACCEPT and accepted_by_role = PROJECT_OWNER.
D231 distinguishes candidate acceptance from the authorization to publish. A FinalSealRecord can have status = SEALED and publication_authorized = false, technically closing the immutable subject without publishing it. The record inherits exactly the accepted publication dimension. Merge, campaign execution, ACCEPT and SEALED do not imply publication authorization. A later authorization is another act, without changing the original seal’s bytes.
The seal_id is SHA-256 over the canonical bytes of the FinalSealRecord without seal_id. Later countermodel, security block or provenance failure produce a separate SUSPENDED record; the earlier seal is not erased nor altered.
Special dependency lines
The T16 line keeps the concluded technical scope and the legal waiver B006:
required_execution_status = T16_TECHNICAL_COMPLETE_B006_OWNER_WAIVED
actual_execution_status = T16_TECHNICAL_COMPLETE_B006_NOT_PERFORMED
required_evidence_status = T16_TECHNICAL_EVIDENCE_B006_OWNER_WAIVER_REQUIRED
actual_evidence_status = T16_TECHNICAL_EVIDENCE_B006_OWNER_WAIVER_RECORDED
subject_id = identity of decision D227
evidence_root = root binding technical LICENSE and D227 authority
TECHNICAL_COMPLETE qualifies only the non-waived scope. The spelling is OWNER_WAIVER, never OWNER_WAVER. The T22 line follows D226, described earlier. The T29 line follows exclusively D229:
required_execution_status = OPTIONAL_POST_RELEASE_ASSURANCE
actual_execution_status = NOT_EXECUTED
required_evidence_status = NOT_REQUIRED_FOR_RELEASE
actual_evidence_status = NO_EXTERNAL_ASSURANCE_EVIDENCE
subject_id = identity of decision D229
evidence_root = content-identified authority root of D229
31. T29 — Optional later external assurance
T29 stays available as independent acceptance of the clean package. When performed, the evaluator receives the exact package and digests and realistic material for the recipient; it is not the author of the corrections motivated by T22. It uses B004, CA-01–CA-13 and the official target. Semantic hints invalidate the affected task, and later material change invalidates that acceptance.
D229 classifies that activity as optional after release, not mandatory and not executed. There is no external acceptance evidence. That classification is not OWNER_WAIVED: D226 waived T22; D229 made T29 optional for the 0.1.0 horizon. The documentation and seals keep the difference.
A T29 recipient authorization is not needed for an execution that will not happen during the release. T16’s specific authorization applies when a recipient actually receives access. A future result can enlarge the assurance or generate finding, suspension and remediation, without rewriting the historical seal.
32. Decisions and construction assets
D222 determines the datasets’ logical record; D223/D224 bind the W01–W13 vocabulary and fixtures to the public operations; D225 fixes the singleton target; D226 waives T22; D227 waives the B006 legal review; D228 adjusts the source bundle’s recipe cardinality; D229 defines the release horizon; D230–D234 preserve and correct the seal subjects’ bindings and validation; D231 separates acceptance from publication; D235 replaces the T10 method.
The decisions index does not replace the substance in the protocols and topics it references. Likewise, a JSON schema does not replace semantic acceptance conditions. Schemas, catalogs, vectors, templates and validators have their own roles in the set’s closure.
The technical succession inventory fixes commit, trees and blobs of origin. The read-only extraction of those objects does not change the repository. The preserved machine assets must be bound to the new texts and their consumers reconfigured before the cutover. Old documents recovered for comparison stay in working evidence, outside the publication surface.
Related documentation
Authority and governance defines precedence and reopening. Identity and protected capabilities establishes the product commitments. Concrete surface presents the grammar and its elaboration. Queries and completeness describes QEC. Characterization and protocols details measurement and technical identities.
Characterization, identities and technical protocols
The protocols of this chapter complement the product contract basis. They determine the bytes participating in identities, the logical work charged by R1 and the conditions under which a measurement joins a valid T10 campaign. The bound schemas and vectors remain responsible for their exact structures.
1. Canonical JSON, version 1
The domain admits Unicode scalar strings, booleans, null only when authorized by the schema, decimal integers, arrays and objects. Floating-point numbers are not admitted.
The encoding is UTF-8 without BOM. It emits exactly one JSON value followed by a single LF, without other insignificant whitespace. Object members are ordered by the UTF-8 bytes of the names before escaping; duplicated names are invalid. Arrays keep their contract’s order, without ordering introduced by the serializer.
Integers use ASCII decimal, without +, without leading zeros beyond zero itself and without -0. The literals are true, false and null. Strings use double quotes and a single escaping regime: quote as \", backslash as \\, U+0008/U+0009/U+000A/U+000C/U+000D as \b, \t, \n, \f, \r; the other U+0000–U+001F as lowercase \u00xx. The other scalars, including ordinary backslash, DEL and non-ASCII characters, are emitted directly. There is no Unicode normalization.
The parser of identity inputs refuses invalid UTF-8, duplicated names, numbers outside that subset and non-whitespace data after the value. An identity formula omitting its own field first builds the object without that field, encodes it, hashes it and then reinserts the identity to serialize the complete object. The transport digest of that complete object is another quantity.
2. R1 logical gas meter
The rules are visited in the verified program’s canonical order; body and head atoms follow the authored order; extension atoms follow increasing ReasoningContentKey. Substitutions are ordered by the UTF-8 bytes of the variables’ names and the canonical representation of the values.
Before an event, its integral logical cost must be available. The table is:
| Event | Logical cost |
|---|---|
| Considering a body atom against an extension atom under a substitution | 1 |
| Comparing an authored role of that atom | +1 per role |
| Consulting/copying an existing binding for a successful extension | +1 per binding |
| Introducing a variable binding | +1 per binding |
| Emitting a successful substitution | +1 |
| Trying to instantiate a head atom under a substitution | 1 per atom |
| Instantiating a head role | +1 per role |
| Building a consequence content key | 1 + number of roles |
| Trying to consult/insert the consequence into the extension | 1 |
The external round does not consume a standalone unit. Loops whose cardinality depends on rule, body, extension, substitution or head are covered by the events. A physical optimization keeps the same logical charge and, for equal subject/basis/gas, the same fixpoint or exhaustion boundary and the same partial extension.
Costs and budgets are u64; addition and multiplication are checked. Overflow produces RESOURCE_ACCOUNTING_OVERFLOW. If the next event’s cost exceeds the remainder, execution returns OUT_OF_GAS before the event, with the earlier extension. Gas may be left over when the next indivisible event costs more than that balance. gas_consumed = gas_budget - gas_remaining.
The budget restarts independently per selected R1 application. Match does not use this meter in the 0.1.0 profile; its resource safety follows the T11/T14 limits and campaigns.
3. T10: subject, operation and observation
Amendment D235 fixes formasl.t10.contract.v2. The goal is engineering characterization, not optimization, SLO, asymptotic theorem or universal performance statement.
An observation is admissible when the chain contract → canonical fixture → structural oracle → semantic admission → exact T04 operation → raw measurement → statistical reduction → result case → complete seal is reconstructible and verifiable. Test name, arm, workload or manifest state does not substitute the executed operation.
Before the first timed sample, the structural, semantic and result oracles must pass over the same fixture. Required negative probes belong to admission, outside the timer. A correctness failure invalidates the case; it is not a slow sample nor NOISY.
The primary metric is wall latency in nanoseconds immediately around the T04 call. Process/worker initialization, fixture generation and reading, environmental preparation, verification, pre-construction of CheckedProgram, gas calibration and persistence stay outside, unless an explicit rule says otherwise.
The operation classes are CHECK, INSPECT_SUMMARY, INSPECT_CLAIMS, RUN_MATCH, RUN_R1_GAS0, RUN_R1_FIXPOINT and REALIZE. There is no fallback for unknown workload identifier.
4. Fixtures and oracles
W01–W13 use UTF-8, LF only, one final LF, four-space indentation, no tabs, trailing spaces, comments or doc comments. SourceInput.revision = 1. The INDEX_WIDTH width is fixed after the family’s final scale selection and used in all its final fixtures.
The structural verifier consumes all bytes: bytes_consumed = bytes_total and unconsumed_bytes = 0. It can share with the generator only generic I/O, UTF-8 validation, hashing and generic error classes; it does not share item lists, counters, AST, expected identities, variable-slot logic or oracle-specific logic.
The W01–W13 fixture grammar remains governed by the workload vocabulary and its templates, with D235’s explicit substitutions. Book example data are not the oracles of those benchmarks.
5. Workload inventory and observables
W01 — CTL-MINIMAL-CHECK
A single scale-1 case contains exactly one empty bench_w01 module. The arm is CHECK; the result is accepted, with one module and zero semantic items. There is no contrast.
W02 — CHECK-DECLARATIONS
A module bench_w02 contains exactly the simple types T1–TN. It contains no specializations, subtypes, Claims, relations, applications, compositions or imports. CHECK must accept and the oracle requires N types and the exact identity set. There is no contrast.
W03 — CHECK-CLAIMS
The fixed basis contains Entity and Observed(subject:Entity). The variable part contains C1–CN, each Claim bound to the corresponding lexical subject and issued by $bench. CHECK must accept exactly two declarations and N Claims, with exact identity and authored order. There is no contrast.
W04 — CHECK-PARTITION
P is the total number of simple types and M the number of modules. P stays constant in all final cases; only M varies. There are M modules, P types T1–TP, P mod M = 0, uniform contiguous partition, without gaps, duplicates, imports or references. CHECK receives the whole source set. The oracle confirms M modules, P types and exact identities. Choosing P as a function of M in the final campaign is forbidden.
W05 — CHECK-XREF
CONTROL contains Root and simple T1–TN; XREF contains the same items, names and order, with specializes Root in each Ti. The only material difference is the N authored references. Replacing them by subtype changes the workload.
The structural oracle requires zero specializations in CONTROL, N in XREF, exact children T1–TN and parental reference Root. Both checks are accepted. The negative probe replaces exactly one Root by MissingRoot and requires rejection by unresolved reference. The arms are CONTROL and XREF; the contrast is XREF-CONTROL. The old requirement of an Inspect view counting specializes was withdrawn by D235.
W06/W07 — INSPECT family
Both use the W03 fixture and its same final scales. A CheckedProgram is built outside the timer. The arms CHECK, SUMMARY and CLAIMS call respectively check, inspect Summary and inspect Claims. W06 focuses SUMMARY and W07 focuses CLAIMS.
SUMMARY requires the complete structured view, including one module, revision 1, two declarations, N Claims and zero applications, compositions and subtypes. CLAIMS requires names/order, the Observed proposition, subject role/value, issuer and stable identities. The family monitors the three arms and the contrasts SUMMARY-CHECK, CLAIMS-CHECK and CLAIMS-SUMMARY, without duplicating or losing paired rounds.
W08 — MATCH-OCCURRENCE-VOLUME
N is the number of Observed occurrences, with exactly one hit at the final occurrence. The other buckets are miss. CHECK accepts; MATCH executes BenchMatch with request gas zero and returns MATCH_COMPLETE, one solution and the final occurrence’s witness. Gas is not applicable to that Match path. Arms CHECK/MATCH; contrast MATCH-CHECK.
W09 — MATCH-SELECTIVITY
A single N is fixed for the final campaign. The K values obtained from Q = {0,1/8,1/4,1/2,3/4,7/8,1} by K = round(q*N) vary, removing duplicates and requiring at least five distinct values. Additional quantiles are forbidden.
For K zero, the hit set is empty; for positive K, it is {ceil(j*N/K) | j=1..K}. The case is identified by (W09,N,K). CHECK accepts; MATCH returns exactly K witnesses, equal to the hit set, without non-hits. Arms CHECK/MATCH; contrast MATCH-CHECK.
W10 — R1-BODY-WIDTH
B varies the number of positive Seed atoms repeated in the body of the single rule R. One Seed fact, one Derived target and BenchInfer remain. The arms are CHECK, GAS0 and FIXPOINT. GAS0 returns OUT_OF_GAS with extension 1; FIXPOINT returns R1_FIXPOINT, extension 2, one Derived and one goal match. Contrasts GAS0-CHECK, FIXPOINT-CHECK and FIXPOINT-GAS0.
W11 — R1-PREMISE-VOLUME
N varies the number of Seed facts. The rule is Seed(x) → Derived(x). GAS0 keeps extension N; FIXPOINT returns the exact set of one Derived per Seed, N consequences, extension 2N and N matches. Count equality without set equality does not satisfy the oracle. Arms and contrasts are W10’s.
W12 — R1-CLOSURE-GROWTH
The input is the chain Edge(e0,e1)…Edge(e(L-1),eL). Base derives Path from each Edge; Step uses Edge(a,b) and Path(b,c) to derive Path(a,c). C(L)=L(L+1)/2. GAS0 keeps extension L; FIXPOINT requires the exact transitive closure, C(L) Paths, extension L+C(L) and C(L) matches. Arms and contrasts are W10’s.
W13 — REALIZE-TARGETS
T varies the number of named applications Cap1–CapT in a valid semantic source with Entity, Seed, one Claim and Match applications. They exist as targets; W13 does not execute them. The plan contains T app targets, each with its corresponding Cap’s prescribed external requirement and binding.
limit, prefer, budget, group, stage, composition, module, source or capability target are not admitted, nor explicit revision selector. The prior check accepts the exact applications; REALIZE must return BOUND, T bindings and a bijection with the existing targets in the source @r1. Removing an application while keeping its FSP target requires UNKNOWN_REALIZATION_TARGET. The old case “empty FSL + capability targets” was withdrawn. There is no contrast.
W14/W15 — Social profile
formasl.social, version 1 and seed 0 are fixed. At scale s: 128s Person, 8s Organization, 128s MemberOf and 512s Follows. W14 measures CHECK and requires exact digests and counts.
W15 uses the same dataset and exactly the same scales as W14. Its CHECK and MATCH arms are measured in W15 itself, not reused from W14. MATCH executes SocialFollows with the single Follows(from,to) pattern, returns 512s solutions, one distinct witness per occurrence and exact typed bindings, with gas not applicable. Contrast MATCH-CHECK.
W16/W17 — Financial profile
formasl.financial, version 1 and seed 0 are fixed. At scale s: 64s Account, 4s Institution, 64s AccountAt, 512s Transfer and max(1,floor(64s/16)) Flagged. W16 measures CHECK and requires exact digests and counts.
W17 uses exactly W16’s scales. The non-recursive rule is Transfer(from,to) and Flagged(to) → RiskEdge(from,to); RiskEdge does not appear in the body. Its CHECK and R1_FIXPOINT arms use their own paired controls. The oracle requires the exact set of corresponding pairs, without absence or excess. Contrast R1_FIXPOINT-CHECK.
6. Frozen calibration
Before the first pilot, the BenchmarkCalibrationManifest binds campaign, contract, environment, exponent limit per family, timeout, child max RSS, gas search limit, scheduling seed, LLC in bytes and stabilization wait. Changing a field after the pilot creates a new campaign.
The fixed values are: candidates in powers of two; three pilot repetitions; four to eight final points; cache scrub of 4*LLC_bytes; dispersion threshold 1/20; round stages [12,24,36]; no swap delta.
Generic selection
The candidates are 2^j, starting from j zero. A candidate is only safe if every mandatory operation/case of the family satisfies the oracles, timeout, RSS and absence of swap. After the first unsafe candidate, larger candidates are excluded. The safe exponents form 0…J. Fewer than four safe exponents makes calibration fail.
With M=min(8,J+1), the retained indices are floor(i*J/(M-1)), for i from zero to M−1, unique and increasing, including both extremes. The observed curve and presentation preferences do not change the selection.
Special families
W04 tests anchors Pj=8*2^j with M_probe=8. The largest safe P before the first failure is fixed as P_FINAL. The final Ms are powers of two dividing P_FINAL, selected by the generic rule.
W09 considers W08’s final Ns in decreasing order. It chooses the largest for which all the mandatory set’s K satisfy the pilots and limits. It fixes that single N and all corresponding K, without new quantiles.
W10, W11, W12 and W17 search gas in 1,2,4,8… up to the first fixpoint or the limit. Without fixpoint, the scale is unsafe. Then a binary search determines the smallest gas per scale. G_FIXPOINT=2*max(MIN_FIXPOINT_GAS) over the final scales. u64 overflow or inability to reach all final oracles makes calibration fail.
W06/W07 share W03’s scales. The social family only admits scales safe for W14 CHECK, W15 CHECK and W15 MATCH. The financial one requires W16 CHECK, W17 CHECK, gas calibration and the R1 oracle. W14/W15 and W16/W17 have equal final sets. Two safe financial points cannot be completed with CHECK-only scales.
7. Preconditioning and scheduling
Before each timed arm: read to EOF the sealed dependencies and fixtures in canonical order; traverse anonymous memory of exactly four LLCs with fixed 64-byte stride; wait precondition_settle_ms; verify the absence of swap; start and end the timer immediately around the public call.
The environment records target, system/kernel, CPU/topology, RAM, filesystem, virtualization, toolchain/build, power policy when observable and CPU affinity. An inapplicable mandatory precondition produces invalidity or inconclusiveness, without silent weakening.
The case order derives from the frozen seed, independent of the results. Two arms alternate order; three traverse the six permutations ABC, ACB, BAC, BCA, CAB, CBA. Pairing uses the round’s identity, not temporal proximity. A round can be repeated only before the first timed observation. Infrastructure failure after it invalidates the affected family’s campaign identity; there is no selective sample repetition.
8. Statistics and round extension
The case starts with twelve complete, balanced rounds. If any mandatory arm or contrast does not converge, the whole block is extended to 24 and, if needed, to 36. At the end, the remaining dispersion receives NOISY, keeping all observations. There is no outlier removal, selective exclusion, fixture/scale swap or post-hoc case substitution.
For T samples, dispersion=IQR(T)/median(T). In the admitted even counts, the median is the mean of the two ordered central values; Q1 and Q3 are the medians of the two halves; IQR=Q3−Q1.
For contrast A−B, each sample is Di=Ai−Bi of the same round. The published value is median(Di), not median(A)−median(B). The dispersion is IQR(Di)/median((Ai+Bi)/2). It converges when less than or equal to 1/20. The sign is preserved: no absolute value nor B−A is published under the A−B label.
NOISY is a valid characterization result, distinct from semantic or infrastructure failure.
9. Exact matrix of arms and contrasts
| Workload | Arms | Contrasts |
|---|---|---|
| W01–W04 | CHECK | None |
| W05 | CONTROL, XREF | XREF-CONTROL |
| W06/W07 | CHECK, SUMMARY, CLAIMS | SUMMARY-CHECK; CLAIMS-CHECK; CLAIMS-SUMMARY |
| W08/W09 | CHECK, MATCH | MATCH-CHECK |
| W10–W12 | CHECK, GAS0, FIXPOINT | GAS0-CHECK; FIXPOINT-CHECK; FIXPOINT-GAS0 |
| W13 | REALIZE | None |
| W14 | CHECK | None |
| W15 | CHECK, MATCH | MATCH-CHECK |
| W16 | CHECK | None |
| W17 | CHECK, R1_FIXPOINT | R1_FIXPOINT-CHECK |
Acceptance requires exact equality, not subset or superset.
10. Primary seal and evidence
The next conformant primary seal uses schema = formasl.t10_result_seal, schema_version = 3 and contract_id = formasl.t10.contract.v2. The version-2 seal is remediation evidence, not a primary result of the new contract.
Each case contains workload, scale, parameters, identity, fixture digest, structural oracle, semantic admission, raw rounds, arms and contrasts. Each arm binds arm_id, operation, operation parameters, subject, median_ns, iqr_ns, rounds and state CONVERGED or NOISY; an isolated convergence boolean does not satisfy version 3. All arms and contrasts of the same case have the same final number of rounds.
All W01–W17 and all final calibrated cases appear exactly once. Uncalibrated cases do not appear. The uniqueness key is (workload,scale,parameters). The W06/W07 joint evidence allows recovering both focuses and the six monitors without duplicating or losing paired rounds.
The semantic verifier checks contract/campaign/calibration identities, workload and case coverage, W04’s constant P, W09’s exact N and K, shared scales, exact arms/contrasts, operation binding, sign, fixture/oracle/admission digests, existence of the raw observations, round consistency and canonical digest. JSON Schema validation is necessary, but does not replace those judgments.
seal_digest is SHA-256 of the canonical-json-1 bytes of the complete logical object without seal_digest. The object’s member order does not change the identity; array order follows the contract.
11. Refusal of incomplete campaigns
Missing workload or scale, failed calibration, unsatisfied oracle, divergent shared scales, incompatible operation/fixture, wrong sign, invalid infrastructure or material contractual ambiguity prevent a primary seal.
In those cases, the artifact is formasl.t10_campaign_failure, with campaign, contract, environment, stage, family/workload, failure class and evidence digests. A partial characterization does not use formasl.t10_result_seal.
The campaign formasl.t10.campaign.0_1_0 stays historical, without force for Match, R1, Inspect, Realize or scalability in the cases where it measured CHECK under other operations’ labels. formasl.t10.campaign.0_1_1 is NON-CANONICAL REMEDIATION CHARACTERIZATION: it improves the operations’ execution, but does not satisfy W05/W13, W04/W09, shared financial scales and the v3 interface. The first conformant campaign receives a new identity.
12. Mandatory adversarial cases
| Case | Construction to refuse |
|---|---|
| A01/A02 | Omit W05 or W13 from the primary seal. |
| A03/A04 | Label W15 MATCH or W17 R1_FIXPOINT while executing CHECK. |
| A05 | Vary P along with M in W04. |
| A06/A07 | Multiple anchor Ns in W09 or quantiles 3/8 and 5/8. |
| A08/A09 | Divergent final scales in the social or financial families. |
| A10 | Invert or absolutize the MATCH-CHECK contrast. |
| A11/A12 | Omit a calibrated case or replace it by a duplicate. |
| A13/A14/A15 | Corrupt the structural oracle, semantic oracle or fixture digest. |
| A16 | Use fallback for unknown workload. |
| A17/A18 | Reintroduce capability-target in W13 or swap specializes for subtype in W05. |
| A19/A20 | Accept a semantically invalid seal despite the schema, or emit a partial campaign as primary. |
| A21 | Let JSON field order change the canonical digest. |
| A22/A23 | Accept W05’s MissingRoot probe or bind W13’s targetless application. |
The implementation also answers negatively to the closure questions: can it emit label without operation; omit workload; wrongly vary P/M or N/quantiles; diverge scales; lose sign; time invalid fixture/result; emit partial primary; accept a semantically invalid seal; confuse specialization/subtype; bind an absent target; change identity by object order; reclassify a required obligation as residual risk? Any positive or unknown answer prevents VERIFIED.
13. T10 gate and separation from optimization
All W01–W17, the calibration, the shared scales, the contrasts, the raw evidence and the semantic verifier must be conformant; JSON Schema, workspace gates and closing audit must pass. There is no majority approval.
Implementing that contractual repair does not modify Match, R1, Check, Realize, workloads, scale selection, gas or oracles to improve numbers. A later optimization requires separate authorized work. Correctly observed poor performance remains a characterization result.
Related documentation
The product contract basis establishes the topics and the release horizon. Queries and completeness distinguishes the Query semantics from this meter’s and Reasoning’s rules. The package’s origin manifests and correspondence matrices identify the technical assets used to reproduce those verifications.
Forma: linguagem, plataforma e desenvolvimento
Esta documentação reúne o modelo semântico do FormaSL, os contratos utilizados por aplicações e os guias de desenvolvimento e operação do sistema Forma.
Compreender o sistema
Comece por Finalidade e escopo e pela Visão arquitetural. Os capítulos de Modelo de mundo, Metagrafo e Ontologias apresentam as estruturas sobre as quais a linguagem opera.
Desenvolver uma aplicação
O Ciclo de desenvolvimento relaciona modelagem, formação, execução e realização. Consulte Projetos, Dependências e Verificação para organizar o trabalho.
Consultar a referência
A referência reúne Comandos, Formatos, Gramática, Desfechos, Biblioteca padrão e API do workspace. O Glossário concentra as definições usadas no livro.
Integrar e operar
Provedores e adaptadores descreve a integração de capacidades. As páginas de Persistência, Observabilidade, Recursos e Segurança tratam da operação.
Plataforma e aprendizagem
A seção Sistema Forma apresenta os componentes de plataforma. Os Exemplos utilizam problemas de domínio delimitados. A Trilha de aprendizagem indica uma sequência de estudo e prática sobre esse material.
Visão arquitetural
O Forma organiza uma aplicação em quatro planos: contrato semântico, realização, execução e representação física. Essa divisão mantém o significado das estruturas e operações identificado ao longo de sua implementação.
Contrato semântico
A fonte .fsl declara tipos, relações, teorias, regras, informações e aplicações. O modelo de mundo fornece as categorias fundamentais. Os invariantes e a continuidade semântica estabelecem as obrigações de preservação.
O metagrafo de incidência de papéis tipados organiza entidades, instâncias relacionais e referências de ordem superior. Os contratos de módulos e tipos governam a formação estática e o compartilhamento de declarações.
Realização
A realização associa requisitos da aplicação a capacidades e recursos. Os planos .fsp expressam vínculos, exigências e preferências. O processo de resolução verifica a compatibilidade das capacidades com os contratos semânticos.
Modelos, bancos de dados, serviços, instrumentos e outros mecanismos especializados participam por fronteiras identificadas. Cada uma define quais entradas recebe e quais garantias oferece.
Execução
O runtime avalia aplicações sob bases determinadas. O planejamento organiza dependências e escalonamento, respeitando a ordem semântica e as condições de conclusão.
Os resultados preservam a correspondência com aplicação, contrato, base e execução. Transições de Claim, observação, decisão e fonte utilizam as autoridades e condições de introdução específicas de suas categorias.
Representação física
Estruturas de armazenamento e processamento representam os artefatos semânticos. Tabelas, índices, grafos e outros mecanismos podem realizar essas estruturas mantendo recuperáveis suas identidades, relações e qualificações materiais.
A história da aplicação relaciona as representações aos atos e resultados que lhes deram origem. Isso permite alterar mecanismos e reorganizar dados preservando o significado contratado.
Percurso integrado
A fonte é resolvida, verificada e elaborada. A realização vincula capacidades. O runtime produz resultados que podem alimentar outras aplicações. Decisões podem conduzir a requisições externas; aquisições podem introduzir observações; uma incorporação governada pode publicar um novo estado de fonte.
O livro detalha cada responsabilidade nos capítulos de conceitos, desenvolvimento, plataforma, operação e referência.
Genealogia conceitual
A organização conceitual do FormaSL reúne representação de conhecimento, estruturas relacionais, contratos de linguagem, computação declarativa e informação situada. Esses elementos se articulam na definição de uma linguagem em que o significado participa diretamente das operações.
Representação de conhecimento
Ontologias e teorias organizam conceitos e compromissos de interpretação. O FormaSL trata esses artefatos como bases identificáveis, que podem ser utilizadas por aplicações diferentes e relacionadas por mapeamentos explícitos.
Classificações situadas registram posições sobre referentes do domínio. Elas são interpretadas sob esquemas e contextos próprios, ao lado dos contratos estáticos de tipos e relações.
Estruturas relacionais
O metagrafo dá unidade às relações n-árias e distingue os papéis de seus participantes. Elementos semânticos podem ser referenciados por outras relações, permitindo representar avaliações sobre Claims, decisões sobre resultados e revisões de artefatos.
A identidade das estruturas orienta sua reutilização entre módulos e aplicações. A organização física dos registros realiza essas relações sem determinar sua identidade semântica.
Computação declarativa
Consultas, inferências, análises e transformações possuem contratos de entrada, resultado e conclusão. Uma composição relaciona essas operações preservando o estatuto e as dependências dos resultados.
O sistema de tipos e as interfaces estáticas governam a formação das construções. As bases de teoria, validação e governança determinam os julgamentos realizados sobre o domínio.
Informação situada
Claims, observações e avaliações representam posições atribuíveis. Contexto, tempo, perspectiva e autoridade participam de sua interpretação. Informações incompatíveis podem coexistir e ser utilizadas por operações que tratem explicitamente suas relações.
A continuidade semântica conecta essas qualificações à computação. O resultado conserva o material necessário para que outro consumidor compreenda sua origem, sua base e suas condições de utilização.
Aplicações e infraestrutura
A separação entre contrato e realização permite utilizar mecanismos especializados para processar a aplicação. O sistema relaciona a fonte, a capacidade selecionada, a execução e os resultados por correspondências identificáveis.
Essa articulação organiza o FormaSL como linguagem para construir software sobre estruturas semânticas reutilizáveis. A história de decisões do projeto permanece no registro editorial da campanha; esta página apresenta as relações conceituais utilizadas pela arquitetura corrente.
Software semantic-native
Uma aplicação semantic-native utiliza estruturas semânticas explícitas como parte de sua definição e de sua operação. Entidades, relações, conceitos, contratos, posições atribuíveis e resultados computacionais participam de uma base compartilhável. As interfaces de realização conectam essa base aos mecanismos responsáveis por armazenamento, cálculo, comunicação e atuação.
A unidade de reutilização
O FormaSL permite reutilizar definições de domínio, contratos de relação, ontologias, tipos, operações e composições. Uma aplicação consumidora recebe as identidades e garantias publicadas pelas interfaces que utiliza.
Uma estrutura de remessa pode ser utilizada por aplicações de transporte, recebimento e pagamento. Cada aplicação acrescenta as condições e decisões de sua responsabilidade. A relação compartilhada identifica participantes e etapas, enquanto os contratos consumidores determinam como essas informações serão usadas.
Essa reutilização também alcança os resultados. Uma avaliação pode ser referenciada por outra operação com sua base histórica e sua proveniência. Sua utilização depende das condições de entrada do consumidor, inclusive completude, autoridade e contexto.
Conhecimento e operação
O conhecimento de domínio aparece em vocabulários, teorias, políticas, regras e informações situadas. A computação relaciona esses elementos por consultas, inferências, análises, transformações e julgamentos.
A aplicação conserva a ligação entre suas definições e o trabalho realizado. Uma decisão sobre uma operação logística pode ser reconstruída a partir das observações, dos critérios aplicados e da autoridade responsável. Uma alteração de política produz novas bases de avaliação sem reescrever o significado dos resultados históricos.
Fronteiras de aplicação
Módulos e pacotes organizam a distribuição de capacidades. Contratos de composição definem entradas, resultados, condições de conclusão e interações de ciclo de vida. A aplicação pode publicar uma interface reutilizável sem expor cada estágio interno.
As interações relevantes permanecem na interface: mudanças de fonte, requisições de ação, introdução de decisões, aquisição de observações e requisitos de autoridade. Isso permite que outra aplicação componha a capacidade recebida conhecendo suas consequências semânticas.
Realizações diferentes
Uma aplicação pode ser vinculada a mecanismos diferentes que satisfaçam seus requisitos. Uma base relacional, um serviço especializado ou um motor analítico realizam responsabilidades determinadas pelo contrato. A escolha de infraestrutura é registrada no plano de realização e na correspondência com a execução.
Essa separação permite ajustar mecanismos de desempenho, persistência e integração mantendo identificáveis os contratos do domínio. As representações físicas e os planos de execução continuam sujeitos às garantias publicadas.
Agentes e interfaces
Agentes utilizam os mesmos contratos para consultar informação, formar avaliações, propor decisões e solicitar ações. A interface destinada a uma pessoa apresenta projeções e comandos sobre esse domínio. A aplicação conserva a correspondência entre o que é apresentado, o referente semântico e a operação executada.
Memória, contexto e aprendizado podem utilizar artefatos e resultados com proveniência própria. Uma recuperação de informação seleciona material para uma interação; uma nova afirmação ou mudança de fonte utiliza a transição correspondente.
Composição de produtos
O sistema Forma reúne linguagem, ferramentas e componentes de plataforma para construir aplicações. Uma solução de domínio pode combinar capacidades já publicadas e acrescentar módulos próprios, preservando a autoridade dos contratos reutilizados.
O desenho da aplicação identifica o que pertence ao domínio, o que pertence à governança, quais operações são compartilhadas e quais mecanismos são específicos da realização. Essa organização orienta a evolução do produto e o reaproveitamento de suas capacidades em outros contextos.
Documentação relacionada
Finalidade e escopo, Ontologias e teorias, Composição e Realização.
FormaSL: finalidade e escopo
Autoridade normativa: o texto normativo integral desta fundação está carregado verbatim em Fundações — este capítulo é pedagógico e não a substitui. FormaSL (Forma Semantic Language) é uma linguagem de especificação semântica computável. Ela permite declarar entidades, relações e contratos semânticos, além de representar e operar sobre afirmações, avaliações, decisões e outras estruturas de um domínio. Essas informações participam de consultas, transformações e operações compostas com identidade e qualificações próprias.
A linguagem reúne definição de significado e computação no mesmo contrato semântico. Uma informação pode atravessar diferentes operações e aplicações conservando as condições necessárias para ser interpretada: a que se refere, quem a produziu, em qual contexto se aplica, de quais informações depende e qual é seu estatuto semântico.
O FormaSL integra o sistema Forma, que utiliza esses contratos para construir e realizar aplicações sobre mecanismos de execução e infraestrutura concretos.
Significado entre aplicações
Aplicações diferentes frequentemente trabalham com partes do mesmo domínio. Um sistema registra uma operação, outro verifica suas condições e um terceiro utiliza o resultado para tomar uma decisão. Os dados podem circular entre eles por interfaces bem definidas, enquanto parte de seu significado permanece expressa em regras, procedimentos e convenções locais.
Considere a entrega de uma mercadoria. O fornecedor registra o despacho, a transportadora informa a chegada ao destino e o destinatário confirma o recebimento. Os três registros se relacionam à mesma carga, mas descrevem acontecimentos diferentes. Para uma aplicação logística, a chegada pode encerrar uma etapa de transporte; para uma aplicação comercial, o recebimento confirmado pode ser uma condição para concluir outra etapa.
O FormaSL permite declarar essas relações, seus participantes e as condições que distinguem cada acontecimento. Assim, aplicações podem compartilhar estruturas do domínio e utilizá-las em operações próprias, mantendo explícitas as diferenças de interpretação que cada processo exige.
O compartilhamento ocorre no nível semântico. Ele abrange mais do que formatos de dados ou assinaturas de serviços: inclui as relações e os compromissos que tornam a informação utilizável por diferentes componentes.
Informações situadas
O FormaSL trabalha com informações produzidas e interpretadas por agentes situados. Uma afirmação possui emissor atribuível, conteúdo e qualificações semânticas. Uma observação registra uma forma de acesso a um acontecimento ou estado. Uma avaliação expressa a posição de um agente perante determinada informação. Cada uma dessas estruturas possui significado próprio.
Uma afirmação, denominada Claim, registra um ato de afirmar; a realidade à qual seu conteúdo se refere permanece distinta desse ato. Duas Claims podem ter o mesmo conteúdo e identidades diferentes, enquanto uma única Claim pode circular por vários sistemas sem perder sua identidade.
Contexto, tempo, perspectiva e autoridade participam da interpretação quando relevantes. Um agente pode aceitar uma informação que outro rejeita; uma autorização pode valer apenas em determinado escopo; uma decisão pode produzir condições aplicáveis a partir de um instante específico. O modelo mantém essas qualificações associadas às estruturas e operações que delas dependem.
Essa organização permite relacionar perspectivas diferentes dentro de um domínio compartilhado. Divergências podem ser consultadas, avaliadas e resolvidas por operações explícitas, com preservação das posições e dos fundamentos envolvidos.
Estrutura semântica e relações
A representação lógica do FormaSL utiliza um metagrafo de incidência de papéis tipados (typed role-incidence metagraph). Relações são instâncias semânticas identificáveis, às quais participantes se vinculam por papéis definidos no contrato aplicável.
Uma entrega, por exemplo, pode relacionar mercadoria, fornecedor, transportadora e destinatário em uma mesma estrutura relacional. Seus participantes assumem papéis diferentes, e outras relações podem referir-se à entrega ou a suas etapas sem dissolver sua identidade.
O modelo admite relações com múltiplos participantes, referências tipadas a elementos semânticos e composições de relações. Multiplicidade, ordenação e condições de participação seguem o contrato de cada relação.
Essa representação pertence à arquitetura lógica da linguagem. O armazenamento e o processamento podem utilizar tabelas, índices, estruturas chave-valor, grafos ou outros mecanismos capazes de realizar o contrato semântico.
Computação e continuidade semântica
As estruturas declaradas em FormaSL são utilizadas por operações semanticamente definidas. Consultas selecionam e relacionam informações; inferências produzem resultados derivados; transformações constroem novas estruturas; avaliações e outras operações aplicam os contratos pertinentes ao domínio.
Cada operação possui condições de entrada, resultado e interpretação. Além dos valores produzidos, podem importar a identidade dos elementos, a origem das informações, suas qualificações temporais, a autoridade envolvida e as dependências utilizadas na computação.
A continuidade semântica organiza a preservação dessas propriedades ao longo das operações. Informações relevantes podem acompanhar o resultado, permanecer disponíveis por referência, ser derivadas de elementos preservados ou ser transformadas de modo explícito. Quando uma operação restringe o escopo ou descarta informações, esse comportamento pertence ao seu contrato.
A continuidade se aplica também à composição. O resultado de uma consulta pode alimentar uma análise, que por sua vez fundamenta uma decisão. As qualificações necessárias para interpretar a decisão permanecem reconstruíveis ao longo desse percurso.
O mesmo princípio alcança os limites da execução. Uma decisão, a execução que a segue, os efeitos associados e as observações posteriores constituem etapas semanticamente distintas. A linguagem permite relacioná-las mantendo a identidade e a responsabilidade de cada passagem.
Contrato, realização e execução
A arquitetura do FormaSL distingue o significado declarado dos mecanismos utilizados para realizá-lo.
| Plano | Responsabilidade |
|---|---|
| Contrato semântico | Define as estruturas, operações e condições que constituem o significado declarado. |
| Realização | Vincula os requisitos semânticos a capacidades, recursos e mecanismos concretos. |
| Execução | Avalia ou executa operações sob condições determinadas. |
| Representação física | Organiza dados e artefatos nos mecanismos efetivos de armazenamento e processamento. |
Os arquivos .fsl constituem o plano autoritativo de fonte semântica, incluindo significado e dados de fonte autoritativos. Os arquivos .fsp especificam aspectos da realização, como a vinculação a capacidades e recursos.
Essa separação permite combinar a linguagem com bancos de dados, serviços, motores de análise e outros componentes especializados. A realização estabelece como satisfazer os requisitos do contrato; a execução produz resultados sob as garantias e condições de seus mecanismos.
Resultados computacionais, registros de execução e informações incorporadas à fonte possuem responsabilidades diferentes. Uma atualização da fonte autoritativa ocorre por uma transição de incorporação apropriada ao tipo de informação, preservando a história e os vínculos semânticos relevantes.
Aplicações sobre estruturas compartilhadas
Ao utilizar estruturas semânticas compartilháveis, aplicações podem trabalhar sobre referências, relações e definições comuns sem precisar concentrar toda a lógica de domínio em um único serviço.
Uma aplicação logística pode acompanhar o transporte de uma mercadoria; outra, verificar as condições contratuais do recebimento; uma terceira, relacionar a confirmação de entrega às regras de pagamento. Cada aplicação utiliza as estruturas que lhe interessam e acrescenta as avaliações e decisões próprias de sua responsabilidade.
O FormaSL fornece a linguagem e os contratos para essa composição. O modelo de mundo define as categorias semânticas fundamentais; os invariantes e a continuidade semântica determinam como suas distinções são mantidas durante a computação; a arquitetura de realização conecta esses contratos às capacidades operacionais da plataforma.
Modelo de mundo
Autoridade normativa: o texto normativo integral desta fundação está carregado verbatim em Fundações — este capítulo é pedagógico e não a substitui. O modelo de mundo do FormaSL organiza as informações que agentes produzem sobre uma realidade compartilhada. Ele define como afirmações, observações, avaliações, decisões e acontecimentos se relacionam, quais diferenças existem entre essas categorias e que condições participam de sua interpretação.
O ponto de partida é a informação situada. Cada agente conhece parte do domínio, atua sob contextos próprios e pode chegar a avaliações diferentes das de outros participantes. O FormaSL representa essas posições de maneira atribuível e permite que participem de computações, mantendo suas identidades, qualificações e dependências.
O modelo de mundo estabelece essas categorias semânticas. A linguagem e a arquitetura determinam posteriormente como declará-las, representá-las e processá-las.
Realidade, agentes e perspectivas
A realidade existe independentemente das representações construídas no FormaSL. Agentes têm acesso a ela por observações, informações recebidas, inferências e outras formas de conhecimento. Cada uma dessas vias produz informações sob condições próprias.
Em uma rede ferroviária, uma equipe de manutenção pode registrar que um trecho está apto para circulação, enquanto o centro de controle mantém uma restrição operacional para o mesmo local. As posições se referem a uma infraestrutura compartilhada, mas foram produzidas por participantes que possuem responsabilidades, critérios e informações diferentes.
O modelo conserva a origem e as condições de cada posição. Assim, a rede pode ser analisada a partir de diferentes perspectivas, incluindo situações de concordância, divergência ou informação incompleta.
Agentes são participantes semânticos autônomos. Podem emitir afirmações, observar, avaliar, decidir, assumir compromissos e realizar ações dentro de suas capacidades. Sua autoridade decorre das relações normativas e dos escopos aplicáveis à atuação de cada um. Desse modo, autoria, competência, legitimidade e possibilidade de agir permanecem conceitos distintos.
Claims, comunicação e avaliação
Uma Claim é um token semanticamente identificável de uma afirmação situada e atribuível. Ela reúne a identidade do ato de afirmar, seu emissor, o conteúdo interpretado e as qualificações necessárias para compreender a afirmação.
A identidade de uma Claim pertence ao ato semântico de afirmação. Duas pessoas podem afirmar o mesmo conteúdo e produzir Claims diferentes. Por outro lado, uma Claim pode ser copiada, transmitida, armazenada e retransmitida preservando sua identidade. O token, nesse sentido, é uma unidade semântica e histórica; sua representação física pode variar.
As operações de comunicação possuem papéis próprios. Emitir uma Claim, transmiti-la, recebê-la, aceitá-la, utilizá-la e retransmiti-la são participações distinguíveis. O destinatário pode registrar o recebimento e posteriormente produzir uma avaliação sem tornar-se emissor da afirmação original.
Uma avaliação expressa a posição de um agente perante uma Claim ou conteúdo proposicional. Agentes diferentes podem aceitar, rejeitar ou avaliar de outra maneira a mesma informação. Cada avaliação acrescenta uma relação semântica e conserva a identidade daquilo que foi avaliado.
Também há uma distinção entre afirmação e resultado computacional. Uma consulta pode selecionar informações; uma inferência pode produzir uma conclusão derivada; uma análise pode estabelecer um resultado segundo determinados critérios. Esses resultados têm estatuto computacional. Quando um agente assume um deles como afirmação própria, a nova Claim incorpora seu emissor e sua história, mantendo as dependências relevantes da computação de origem.
No modelo de mundo, afirmações, avaliações, observações e resultados computacionais podem referir-se à mesma situação. Cada categoria informa de que maneira o conteúdo entrou no domínio semântico e como poderá ser utilizado.
Contexto, tempo e acesso à informação
Uma informação pode variar de significado ou aplicabilidade conforme o contexto em que é considerada. Jurisdição, perspectiva, domínio, autoridade e outros escopos estabelecem condições de interpretação. Em sistemas espaciais, o frame e a região de referência também podem participar dessas condições.
Uma autorização para circular em determinado trecho ferroviário, por exemplo, pode depender do operador, do horário e da condição atual da via. O contrato semântico expressa essas qualificações para que consultas e decisões possam utilizá-las conjuntamente.
O escopo delimita a aplicabilidade da informação. Uma consulta realizada sob determinado contexto apresenta o que é pertinente àquele recorte; informações existentes fora dele continuam pertencendo aos respectivos contextos. Quando uma operação relaciona frames, a compatibilidade entre eles e a transformação efetiva de um frame para outro possuem significados próprios.
Papéis temporais
O tempo participa do significado de maneiras diferentes. O modelo distingue, conforme a necessidade do domínio, o período em que uma informação é válida, o momento da observação, o momento em que um agente tomou conhecimento de algo, o tempo da decisão e o instante de registro ou transação.
Uma inspeção pode acontecer às 10h, ser registrada às 11h e fundamentar uma liberação válida a partir das 12h. Cada horário responde a uma pergunta diferente sobre a mesma operação. Mesmo quando os valores coincidem, os papéis temporais continuam distintos.
A linguagem pode trabalhar com esses papéis segundo os contratos aplicáveis. Sua representação concreta é definida pelas estruturas e operações temporais correspondentes.
Visibilidade e ausência
O acesso à informação depende da posição do observador e das condições de visibilidade. Uma informação existente pode estar fora do alcance de um agente, ainda não ter sido observada ou permanecer oculta por uma restrição de acesso.
O modelo distingue, quando relevantes, falsidade, desconhecimento, ausência de observação, ocultação, inexistência e não aplicabilidade. Essas categorias orientam a interpretação de consultas e avaliações. Uma resposta vazia, por exemplo, pode decorrer do escopo selecionado ou da visibilidade disponível, com significado diferente da constatação de inexistência.
Pluralidade, hipóteses e história
Claims e avaliações incompatíveis podem coexistir no mesmo domínio. O conflito é uma condição semântica que pode ser consultada, analisada e submetida a processos de seleção ou decisão.
No caso ferroviário, uma equipe pode registrar uma condição de segurança e outra pode apresentar uma avaliação incompatível. O histórico de cada posição continua disponível para as operações pertinentes. Uma reconciliação, quando realizada, introduz uma nova transição semântica, com base e consequências identificáveis.
O FormaSL também trabalha com contextos hipotéticos, nos quais operações são avaliadas sob premissas declaradas. Uma análise pode considerar o cenário em que um trecho permanece interditado por mais seis horas e calcular alternativas de circulação. Seus resultados conservam a relação com as premissas utilizadas.
O contexto de base representa a informação selecionada para a avaliação não hipotética. O contexto hipotético utiliza essa base junto de suas próprias suposições e produz resultados sob tais condições. Uma decisão que utilize esses resultados estabelece explicitamente como o cenário hipotético participa de sua fundamentação.
A dimensão histórica completa essa organização. Claims, avaliações e decisões podem ser revistas ou substituídas para determinados usos, enquanto os atos anteriores continuam identificáveis como parte da história do domínio.
Uma nova avaliação sobre a segurança de um trecho pode alterar a decisão vigente. A avaliação anterior permanece relevante para compreender as decisões tomadas durante sua vigência, mesmo depois de substituída.
Identidade e referências semânticas
A identidade de um elemento semântico acompanha o referente através de nomes, identificadores, representações e versões, conforme as regras aplicáveis ao domínio. Um equipamento pode mudar de código patrimonial e continuar sendo o mesmo equipamento; uma organização pode atravessar processos de sucessão que exijam relações explícitas entre identidades anteriores e posteriores.
O modelo admite renomeação, correspondência, fusão, divisão, sucessão e identidade contestada. Cada situação possui condições próprias. Referências são resolvidas sob uma base identificável, e a correspondência entre designações participa da interpretação sem substituir automaticamente o julgamento semântico de identidade.
As referências também podem apontar para elementos semânticos de ordem superior. Uma Claim pode ser objeto de uma avaliação; uma decisão pode referir-se a uma política; uma revisão pode identificar a Claim anterior à qual responde. Nesses casos, a referência conserva a identidade e a categoria do elemento referido.
Distinguir o conteúdo de uma Claim da própria Claim é especialmente importante. Duas afirmações podem ter conteúdo equivalente, enquanto avaliações, comunicações e responsabilidades se vinculam a cada ato de afirmação separadamente.
Normatividade e julgamentos
O mundo modelado pelo FormaSL contém obrigações, permissões, proibições, compromissos, políticas e relações de autoridade. Essas estruturas estabelecem condições de atuação e julgamento para agentes e processos.
O modelo distingue os conceitos utilizados nas decisões governadas:
Validação examina um alvo sob um contrato de validação declarado. Conformidade expressa o atendimento, ou o julgamento de atendimento, às restrições desse contrato. Admissão determina se um candidato pode atravessar uma fronteira governada, considerando as condições normativas aplicáveis. Autorização expressa a posição de um agente em relação a determinada ação ou capacidade dentro de seu escopo. Decisão registra um ato atribuível que seleciona, adjudica ou assume um resultado sob uma base declarada.
Esses conceitos podem participar do mesmo processo, cada qual com sua função. Uma composição ferroviária pode satisfazer as verificações técnicas de um equipamento e ainda depender de um julgamento de admissão para circular em determinado trecho. O agente responsável pela manobra possui, por sua vez, uma autorização relativa à atividade que executará. A decisão operacional relaciona esses elementos segundo as políticas e a autoridade pertinentes.
As fontes de autoridade permanecem atribuíveis. Sua representação na linguagem permite utilizá-las em avaliações e decisões, preservando a jurisdição, as condições e a história dos compromissos envolvidos.
Estados, ações, acontecimentos e observações
O modelo distingue estado, mudança ou evento, ação e processo. Um estado descreve uma condição; uma mudança ou evento corresponde a uma ocorrência; uma ação envolve atuação; um processo organiza atividades ou acontecimentos relacionados ao longo do tempo.
Essas categorias participam de computações e decisões, que podem conduzir a operações no mundo. Uma decisão de liberar a circulação pode desencadear comandos para os sistemas ferroviários responsáveis. O sistema executor registra o processamento dos comandos segundo as garantias de sua interface.
Os acontecimentos externos e seus efeitos são considerados nas relações próprias do domínio. Um efeito é uma ocorrência vinculada a uma causa por uma relação causal explícita ou estabelecida contratualmente. A precedência temporal, isoladamente, descreve a ordem dos acontecimentos; a causalidade descreve outra relação.
Uma observação fornece acesso epistêmico a um estado ou acontecimento. Sensores e inspeções podem registrar informações sobre as condições da via depois de uma operação. Essas observações são atribuíveis a seus mecanismos ou agentes de origem e podem fundamentar novas avaliações.
Dessa maneira, uma sequência pode relacionar decisão, execução, acontecimento, efeito e observação sem perder a identidade e o significado de cada etapa. O sistema trabalha com as evidências e garantias que cada passagem efetivamente oferece.
Proveniência e dependência
A interpretação de uma informação também pode depender de sua origem e de como foi produzida.
A proveniência permite reconstruir de onde vieram informações e artefatos. A derivação relaciona resultados às operações e entradas de que resultaram. O suporte e a evidência identificam fundamentos utilizados em avaliações. A linhagem acompanha transformações sucessivas, enquanto a dependência hipotética identifica premissas de uma avaliação sob cenário. Relações de causalidade e precedência temporal descrevem vínculos diferentes entre acontecimentos.
Essas relações podem envolver os mesmos elementos. Uma observação pode anteceder uma decisão, servir como evidência para ela e participar da derivação de uma conclusão intermediária. Cada vínculo informa algo específico sobre o percurso semântico da informação.
Ao atravessar operações, as dependências relevantes permanecem reconstruíveis diretamente, por referência ou por elementos preservados que permitam derivá-las. Isso conecta o modelo de mundo à continuidade semântica, responsável pela preservação de significado durante transformações e composições.
Tipos e classificações
O FormaSL distingue a formação das construções da linguagem, os julgamentos sob contratos de tipos e as classificações feitas sobre entidades do domínio.
As regras de formação determinam como as construções da linguagem podem ser compostas. Os contratos de tipos estabelecem condições de compatibilidade e substituição. Já uma classificação situada, como a afirmação de que determinada organização pertence a uma categoria, é informação semântica atribuível e pode participar de avaliações e conflitos.
Polimorfismo, especialização e subtipagem têm funções próprias na arquitetura de tipos. A substituição de um tipo por outro depende das garantias exigidas pelo contrato do tipo de destino.
Essa organização permite que classificações do mundo e relações do sistema de tipos participem de computações conforme suas respectivas responsabilidades.
Relação com os contratos da linguagem
O modelo de mundo fornece as categorias e relações semânticas fundamentais do FormaSL. Os invariantes semânticos estabelecem as obrigações de preservação dessas distinções. A continuidade semântica especifica sua manutenção através de transformações e operações compostas.
A linguagem, a arquitetura lógica e os mecanismos de realização utilizam esses contratos para definir operações e estruturas concretas, preservando as identidades, qualificações e dependências que constituem o significado do domínio.
Invariantes semânticos
Autoridade normativa: o texto normativo integral desta fundação está carregado verbatim em Fundações — este capítulo é pedagógico e não a substitui. Os invariantes semânticos estabelecem as distinções que o FormaSL preserva ao representar informações, realizar operações e compor resultados. Eles dão continuidade aos compromissos do modelo de mundo: cada elemento mantém sua categoria, sua identidade e as qualificações necessárias para que outras operações possam interpretá-lo corretamente.
Um invariante define uma propriedade do significado, e não uma forma obrigatória de armazenamento. Informações diferentes podem utilizar uma mesma estrutura física, desde que suas diferenças semânticas permaneçam recuperáveis. Da mesma maneira, representações distintas podem realizar o mesmo contrato semântico.
Os invariantes se aplicam às fronteiras em que uma informação muda de representação, participa de uma computação, atravessa componentes ou passa a desempenhar outro papel. Quando há mudança de categoria ou perda de uma qualificação relevante, o contrato da operação determina expressamente essa transformação.
Julgamentos de verdade, ocorrência, autoridade, relevância, compatibilidade e resolução de conflitos utilizam informações ou contratos declarados. Mecanismos externos podem fornecê-los por interfaces com garantias definidas, mantendo identificável a base de cada julgamento.
Identidade e categoria semântica
Cada informação representada no FormaSL pertence a uma categoria semântica, como Claim, avaliação, observação, decisão ou resultado derivado. Essas categorias orientam o modo como a informação pode ser utilizada. Uma transformação conserva sua categoria de origem ou realiza uma mudança explicitamente definida no contrato.
A identidade semântica também se mantém distinta de nomes, identificadores, endereços de memória, registros e serializações. Um elemento pode receber outra representação sem adquirir uma nova identidade. Em sentido complementar, dois elementos com representações iguais podem continuar sendo semanticamente distintos.
Considere duas equipes que realizam inspeções independentes de uma mesma composição ferroviária. Ambas podem concluir que o equipamento está apto para circulação e registrar conteúdos equivalentes. São duas afirmações atribuíveis, com histórias e emissores próprios. A igualdade dos conteúdos permite compará-los, mas não transforma os dois atos de afirmação em um só.
Esse princípio alcança as referências de ordem superior. Uma avaliação sobre uma Claim continua referindo-se àquela Claim, e uma revisão de decisão pode apontar para a decisão anterior. As referências preservam a identidade e a categoria do elemento referido, inclusive quando sua representação muda.
O modelo lógico de grafo e metagrafo participa desse regime de identidade. Integrar um elemento à estrutura relacional estabelece sua participação na representação semântica; a força de afirmação, a verdade de seu conteúdo e a ocorrência no mundo dependem das relações apropriadas a cada caso.
Afirmações, avaliações e comunicação
Uma Claim identifica um ato de afirmação situado e atribuível. O conteúdo afirmado, o emissor e as qualificações pertinentes compõem sua interpretação. A verdade do conteúdo e as avaliações feitas por outros agentes são questões semânticas distintas da existência da Claim.
Uma única Claim pode circular por vários sistemas. Emissão, transmissão, recebimento, aceitação, utilização e retransmissão possuem papéis diferentes. O recebimento registra a chegada da informação a um destinatário; a aceitação expressa uma posição desse destinatário; o uso caracteriza sua participação em outra operação. Cada etapa conserva sua identidade quando ela é relevante para a história da informação.
A computação segue a mesma disciplina. Uma consulta, inferência, agregação ou validação produz um resultado definido pela operação realizada. Esse resultado conserva sua natureza computacional. Quando um agente o assume como uma afirmação, surge um novo ato atribuível, relacionado à computação da qual se originou.
O agente ou componente que produziu um resultado também pode ser diferente da autoridade responsável por uma afirmação ou decisão. Os papéis de produtor, emissor, executor e autoridade são determinados por seus respectivos contratos.
Contexto, tempo e visibilidade
Informações semânticas podem ser qualificadas pelo contexto em que são aplicáveis, pelo frame de interpretação, pela perspectiva de um agente e por diferentes papéis temporais. Os invariantes preservam essas qualificações ao longo das operações que delas dependem.
Uma autorização válida para um trecho ferroviário, por exemplo, pode envolver um intervalo de validade, uma jurisdição operacional e um conjunto de condições de circulação. Uma consulta limitada a outro trecho pode omiti-la de seus resultados sem alterar sua existência. O filtro determina o escopo da resposta; o registro conserva seu próprio estatuto semântico.
A visibilidade segue a mesma distinção. Uma informação pode estar oculta para um agente, ainda não ter sido observada, ser desconhecida ou não se aplicar à avaliação. O FormaSL mantém distinguíveis, quando representados, os estados de falsidade, desconhecimento, ausência de observação, ocultação, inexistência e não aplicabilidade.
No tratamento do tempo, cada papel conserva seu significado mesmo quando dois horários coincidem. O instante de observação, o tempo em que uma informação passa a ser conhecida, seu período de validade, o momento de uma decisão e o registro de uma transação podem participar de operações diferentes.
Frames também possuem contratos próprios. A compatibilidade entre dois frames indica uma relação de compatibilidade; a transformação entre eles constitui uma operação com condições e resultados identificáveis.
A revisão de informações integra essa continuidade histórica. Alterar, substituir ou retirar uma posição modifica seu estado ou sua aplicabilidade, enquanto o acontecimento semântico anterior permanece distinguível de uma história em que nunca existiu.
Conflito e hipóteses
Afirmações, avaliações e observações incompatíveis podem coexistir no modelo semântico. O conflito constitui informação disponível para consulta e análise. Uma operação que seleciona, reconcilia, revisa ou adjudica posições registra a transição correspondente e preserva a base necessária para interpretá-la.
Essa propriedade também regula as inferências realizadas sobre informações conflitantes. As conclusões dependem das regras semânticas da operação utilizada; a existência de incompatibilidade entre premissas não autoriza conclusões sem relação com elas.
Os contextos hipotéticos acrescentam outra modalidade de avaliação. Um cenário pode assumir que uma linha ferroviária permanecerá indisponível durante parte do dia e calcular alternativas de circulação. As premissas pertencem ao cenário e os resultados que delas dependem conservam essa dependência.
A adoção posterior de um resultado hipotético em uma decisão ou afirmação exige a transição semântica correspondente. A nova utilização mantém identificável a origem hipotética da informação. Uma hipótese, uma informação desconhecida e uma previsão futura desempenham papéis diferentes e permanecem distinguíveis.
Governança e autoridade
O FormaSL representa capacidades, permissões, obrigações, proibições, julgamentos e decisões como relações normativas com funções próprias. Sua interpretação depende das políticas, autoridades, escopos e condições aplicáveis.
Validação examina um alvo sob um contrato de validação. Conformidade caracteriza o atendimento às restrições desse contrato. Admissão determina se um candidato pode atravessar determinada fronteira governada. Autorização descreve a posição de um agente em relação a uma ação ou capacidade. Decisão registra o ato atribuível que assume, seleciona ou adjudica um resultado sob uma base declarada.
Essas relações podem integrar o mesmo processo operacional. Uma composição pode atender aos requisitos técnicos de uma inspeção, depender de admissão para utilizar determinada via e exigir que a manobra seja conduzida por um agente autorizado. O julgamento técnico, a admissão do candidato e a autorização do agente preservam seus fundamentos e efeitos próprios.
O modelo também distingue uma avaliação de elegibilidade do ato histórico que estabelece uma decisão. Um resultado negativo válido conserva sua natureza de julgamento; uma falha do mecanismo de avaliação é uma condição operacional diferente.
A autoridade semântica de uma fonte, a autoridade de um registro, as regras de formação da linguagem e a permissão operacional de escrita são responsabilidades separadas. Uma permissão para gravar dados determina capacidade de modificação na superfície correspondente; a emissão de afirmações e decisões depende de sua própria base de autoridade.
Ações, ocorrências e observações
Estados, mudanças, eventos, ações e processos possuem categorias semânticas distintas. O modelo permite representá-los e relacioná-los segundo seus contratos, inclusive quando se referem a acontecimentos possíveis ou ainda não observados.
Uma decisão pode autorizar uma ação, que pode ser encaminhada a um sistema executor. A execução produz informações conforme as garantias de sua interface. Os acontecimentos externos, os efeitos atribuídos a uma causa e as observações posteriores são relacionados por contratos próprios.
Por exemplo, o envio de um comando para liberar uma via e a confirmação de que o comando foi processado descrevem etapas de execução. Uma inspeção posterior pode produzir uma observação sobre as condições da via. Caso um acontecimento seja tratado como efeito do comando, a relação causal pertinente integra essa interpretação.
Os invariantes preservam essas passagens: decisão, execução, ocorrência, efeito e observação mantêm seus significados, mesmo quando aparecem encadeados em um único processo. A referência a um acontecimento possível também conserva sua condição de referência até que uma base epistêmica ou contratual estabeleça o que se sabe a respeito de sua ocorrência.
Proveniência, dependências e artefatos de raciocínio
A origem de uma informação e as relações que a conectam a resultados posteriores podem ser relevantes para sua interpretação. O FormaSL distingue proveniência, derivação, suporte, causalidade, precedência temporal, linhagem e dependência hipotética.
Esses vínculos respondem a perguntas diferentes. Proveniência identifica a origem de uma informação; derivação relaciona um resultado às operações e premissas utilizadas; suporte registra fundamentos de uma avaliação; causalidade expressa a relação apropriada entre causas e ocorrências. A linhagem acompanha transformações ao longo do tempo.
Quando uma conclusão utiliza observações de sensores, regras operacionais e avaliações anteriores, suas dependências materiais permanecem reconstruíveis conforme o contrato da operação. Essa reconstrução pode utilizar referências ou outros artefatos de suporte, respeitando as condições de acesso de cada participante. Rastreabilidade não significa visibilidade irrestrita.
Os artefatos de raciocínio também preservam suas funções. Uma derivação apresenta relações de inferência; uma prova possui as obrigações próprias de um objeto de prova; um certificado declara garantias sob um contrato; um trace registra aspectos de uma execução; uma explicação organiza informações para interpretação. Esses artefatos podem relacionar-se sem assumir automaticamente a função uns dos outros.
Tipos, classificação e substituição
O FormaSL mantém separados três níveis: as regras de formação das construções da linguagem, os julgamentos estabelecidos pelos contratos de tipos e as classificações situadas de entidades do domínio.
Uma Claim sobre a categoria de uma organização pertence ao mundo semântico e pode ser avaliada ou contestada. O julgamento do compilador acerca de um tipo pertence ao contrato da linguagem. Cada um possui critérios próprios e participa das operações correspondentes.
Especialização, herança e subtipagem também representam relações distintas. Quando um tipo é aceito como substituto de outro, a substituição conserva as garantias semânticas exigidas pelo consumidor do tipo de destino. Similaridade estrutural pode participar da análise de compatibilidade, conforme o contrato, mas não determina sozinha a substituibilidade.
Os julgamentos de tipagem tratam da formação e do uso de construções. A conformidade com políticas, a admissão e a autorização pertencem às operações de governança descritas anteriormente.
Fonte semântica, realização e execução
Os invariantes acompanham as informações através das camadas do FormaSL. A fonte .fsl estabelece o contrato e os dados semânticos autoritativos do corpus. Sua inclusão na fonte determina essa autoridade de origem, enquanto verdade, competência do emissor e julgamentos de domínio dependem dos contratos correspondentes.
Os arquivos .fsp definem aspectos de realização. Um vínculo de realização pode selecionar recursos, mecanismos de armazenamento, caminhos de execução e políticas operacionais. O significado do contrato .fsl permanece identificável ao longo dessas escolhas. O static weaving resolve vínculos entre requisitos e providers dentro dessa separação.
A execução avalia contratos previamente definidos contra o estado e os recursos disponíveis. Resultados de runtime e escritas em armazenamento possuem estatuto operacional; a incorporação à fonte semântica autoritativa é uma transição própria.
A representação lógica do FormaSL utiliza grafos e metagrafos. Sua realização física pode empregar tabelas, estruturas chave-valor, índices, grafos nativos ou outros substratos. A conformidade dessas alternativas depende da preservação dos contratos semânticos, incluindo identidade, relações, papéis e qualificações relevantes. Operações computacionais comuns também podem ser delegadas a mecanismos especializados segundo a mesma separação de responsabilidades.
Computação limitada e completude
O orçamento de execução, denominado gas, estabelece um limite determinístico de trabalho computacional lógico. A operação conserva seu significado enquanto o orçamento controla o trabalho disponível para realizá-la.
Uma execução pode terminar com resultado completo ou alcançar o limite antes de satisfazer suas condições de conclusão. Quando essa diferença participa da interpretação, o resultado conserva seu estado de completude. Um conjunto parcial de resultados, por exemplo, continua sendo parcial ao servir de entrada para outra operação.
O contrato de orçamento também considera o trabalho efetivamente realizado. Cobrar apenas uma iteração externa não estabelece um limite suficiente quando essa iteração pode conter trabalho combinatório sem limite correspondente.
Assim, consumo de orçamento, conclusão, ausência de resultado, valor falso e ausência de prova permanecem situações semanticamente distintas quando relevantes.
Preservação através da composição
Os invariantes valem tanto para operações isoladas quanto para sua composição. Uma consulta pode alimentar uma inferência; o resultado pode participar de uma validação e depois fundamentar uma decisão. Em cada fronteira, as categorias e qualificações de que a próxima operação depende continuam reconstruíveis.
O contrato de uma transformação pode preservar informações, alterar explicitamente seu significado, derivar novas propriedades, restringir escopo ou descartar qualificações quando essa perda faz parte da operação. A preservação depende do uso semântico exigido, e pode ocorrer diretamente, por referência ou pela conservação das entradas necessárias à derivação.
Essa disciplina constitui a ligação entre os invariantes e a continuidade semântica. Os invariantes determinam quais diferenças o FormaSL reconhece e preserva; a continuidade define como as informações relevantes atravessam as operações e como suas transformações podem ser reconstruídas.
Continuidade semântica
Autoridade normativa: o texto normativo integral desta fundação está carregado verbatim em Fundações — este capítulo é pedagógico e não a substitui. A continuidade semântica é a propriedade pela qual as operações do FormaSL mantêm recuperáveis as informações necessárias para interpretar, verificar e continuar utilizando seus resultados. Ela se aplica a transformações individuais e a sequências de operações, incluindo as fronteiras entre componentes e mecanismos de realização.
Uma computação pode modificar profundamente a forma de seus dados. Pode selecionar uma parte do domínio, produzir relações novas, derivar conclusões ou encaminhar resultados para outro mecanismo. Ao longo desse percurso, as qualificações que continuam relevantes para o significado do resultado permanecem acessíveis diretamente, por referência ou por uma derivação reconstruível.
A continuidade, portanto, acompanha o percurso semântico da informação. Sua referência são os compromissos do modelo de mundo e os invariantes da linguagem; as estruturas físicas utilizadas para transportar ou armazenar os dados podem variar.
O que acompanha um resultado
O conteúdo de uma informação é apenas uma parte daquilo que pode ser necessário à sua interpretação. Sua identidade determina a qual elemento semântico uma operação se refere. A atribuição identifica quem emitiu uma afirmação, realizou uma observação, produziu um resultado, decidiu ou executou uma ação. Esses papéis são preservados conforme a participação efetiva de cada agente ou componente.
As qualificações de tempo, contexto e frame indicam quando e em quais condições a informação é aplicável. Um instante de observação, um período de validade e o momento de uma decisão exercem papéis diferentes, mesmo quando apresentam o mesmo valor. Uma transformação entre frames também tem significado próprio, distinto da compatibilidade entre eles.
O estatuto epistêmico informa se determinado conteúdo foi afirmado, observado, inferido, assumido em um cenário hipotético ou avaliado por um agente. Situações de desconhecimento, ausência de observação e restrição de visibilidade conservam suas diferenças. Quando existem afirmações incompatíveis, o conflito permanece representável até que uma operação explícita o selecione, revise, reconcilie ou adjudique.
Resultados governados também carregam uma base normativa quando sua interpretação depende de políticas, obrigações, conformidade, admissão, autorização ou decisões. Já as relações de proveniência e dependência permitem reconstruir a origem de uma informação, sua derivação, as evidências utilizadas e os vínculos de suporte ou causalidade pertinentes.
Em operações que contribuem para decisões e ações, essas informações formam um percurso de responsabilização: é possível recuperar as posições relevantes, as avaliações realizadas, a autoridade aplicada, a decisão emitida, a execução correspondente e as observações posteriores. O percurso preserva ainda a condição de conclusão das computações quando o resultado pode ser parcial.
A representação de uma informação pode mudar durante o processamento. O contrato determina quais identidades e categorias permanecem e quais passam por transformação semântica explícita, independentemente da serialização, dos índices ou da organização física.
Como as transformações tratam a informação
O contrato de uma transformação semanticamente significativa especifica as informações utilizadas, os resultados produzidos e o tratamento das qualificações relevantes. O FormaSL distingue seis comportamentos semânticos:
| Comportamento | Efeito sobre a informação |
|---|---|
| PRESERVE | Mantém a informação recuperável com o mesmo significado. |
| TRANSFORM | Altera explicitamente uma qualificação e conserva os elementos necessários para compreender a mudança. |
| DERIVE | Produz uma propriedade ou um resultado novo, com dependências reconstruíveis. |
| RESTRICT | Delimita visibilidade, aplicabilidade, escopo ou domínio de uma operação. |
| DISCARD-EXPLICIT | Descarta informação segundo uma perda prevista no contrato semântico. |
| NOT-APPLICABLE | Indica que a dimensão não participa daquela transformação. |
Esses comportamentos são avaliados em relação às dimensões pertinentes à operação. Uma consulta pode restringir o conjunto de informações visíveis e preservar a identidade dos elementos selecionados. Uma inferência pode derivar uma conclusão e conservar referências às premissas das quais depende. Uma transformação de contexto pode alterar a qualificação espacial ou temporal conforme seu contrato.
A continuidade admite descarte. Uma projeção destinada a exibir totais agregados, por exemplo, pode omitir detalhes que não pertencem ao significado contratado para seu resultado. Se outro processamento precisar verificar a origem de uma agregação, as dependências exigidas para essa verificação deverão permanecer reconstruíveis.
A obrigação é definida pelo significado e pelo uso do resultado. Não há exigência de copiar todos os campos de todas as entradas para cada saída, nem de manter uma representação universal de histórico ou proveniência.
Continuidade através da composição
Em uma composição, o resultado de uma operação torna-se entrada de outra. A continuidade é avaliada considerando todo esse percurso: uma qualificação preservada na primeira etapa precisa continuar recuperável enquanto permanecer necessária à interpretação do resultado composto.
Considere um lote de medicamentos transportado sob controle de temperatura. Um sensor registra uma medição fora do intervalo definido para determinado período. A transportadora emite uma Claim sobre as condições do transporte. Uma equipe de qualidade consulta as informações disponíveis, aplica critérios de avaliação e produz um julgamento utilizado na decisão sobre a destinação do lote.
O processamento relaciona informações de naturezas diferentes. A medição possui origem e tempo de observação; a Claim possui emissor e identidade próprios; os critérios de qualidade possuem escopo e base normativa; o julgamento conserva as informações das quais depende. Uma decisão posterior pode utilizar esse resultado sem transformar a medição, a afirmação e a avaliação em uma única categoria.
A mesma sequência pode envolver registros incompatíveis. A composição conserva a existência do conflito e as condições de sua avaliação. Se a decisão determinar a retenção do lote, a execução dessa medida e as observações posteriores acrescentam novas etapas ao percurso semântico.
A continuidade permite recuperar o encadeamento relevante: quais informações foram consideradas, quais critérios se aplicavam, o que foi decidido, o que foi executado e quais informações se tornaram disponíveis depois. As aplicações que participam desse processo podem utilizar mecanismos distintos, desde que suas fronteiras realizem os contratos de preservação correspondentes.
Afirmações, derivações e cenários
Uma Claim pode atravessar operações de serialização, transmissão, recebimento e armazenamento conservando a identidade de seu ato de afirmação. A comunicação acrescenta sua própria história quando essa história é relevante; o recebimento não altera o emissor da Claim. Duas afirmações independentes com conteúdo equivalente permanecem distinguíveis.
A derivação computacional segue outro percurso. Uma inferência produz um resultado semântico derivado, com as dependências estabelecidas pelo contrato da operação. Quando um agente adota esse resultado em uma nova afirmação, a nova Claim possui identidade, emissor e história próprios. Sua relação com a derivação anterior continua disponível conforme necessário.
Os contextos hipotéticos também preservam sua condição de origem. Uma avaliação pode assumir que o lote permaneceu exposto a determinada temperatura por um período adicional e calcular consequências sob esse cenário. Os resultados que efetivamente dependem dessa premissa conservam a dependência hipotética. Resultados independentes da premissa mantêm seu estatuto original.
Se uma conclusão hipotética for posteriormente utilizada como base de uma afirmação ou decisão, essa passagem possui contrato e história próprios. O cenário, suas premissas e a operação posterior permanecem distinguíveis.
Julgamentos, decisões e acontecimentos
A continuidade semântica também organiza os vínculos entre operações governadas. Validação, conformidade, admissão e autorização possuem responsabilidades diferentes e podem participar de composições variadas.
A validação examina um alvo segundo um contrato declarado; a conformidade expressa o julgamento de atendimento às restrições desse contrato. A admissão considera as condições aplicáveis à passagem de um candidato por uma fronteira governada. A autorização expressa a posição normativa de um agente perante uma ação ou capacidade. A decisão constitui um ato atribuível, realizado sob uma base determinada.
Quando essas operações se relacionam, cada resultado conserva seu papel e seu fundamento. Um julgamento negativo válido permanece distinguível de uma falha do mecanismo responsável pela avaliação.
A decisão pode desencadear uma tentativa de execução. O executor produz registros e resultados sob as garantias de sua interface; acontecimentos e efeitos externos são tratados segundo as evidências ou garantias que os tornam semanticamente acessíveis. Observações posteriores fornecem novas informações sobre o estado do mundo e podem fundamentar revisões.
No exemplo do lote, uma decisão de retenção pode ser seguida pelo encaminhamento de uma ordem ao sistema de estoque. O processamento dessa ordem, a movimentação efetiva do lote e a confirmação observada de sua localização são etapas relacionadas, com identidades e condições próprias.
A continuidade preserva a sequência entre decisão, execução, possível ocorrência, efeito e observação. Quando uma ocorrência é interpretada como efeito de uma ação, a relação causal pertinente integra o percurso reconstruível.
História, representação e realização
A história semântica abrange afirmações, revisões, decisões, comunicações e registros que sejam relevantes para interpretar acontecimentos posteriores. Revisar uma posição pode modificar sua aplicabilidade presente e preservar o vínculo com o que havia sido afirmado ou decidido anteriormente.
Uma mesma Claim pode participar de múltiplos registros ou importações. Quando essas ocorrências de registro têm significado próprio, sua multiplicidade permanece recuperável, mesmo que todas façam referência à mesma Claim.
A representação física pode evoluir sem alterar a identidade dos elementos semânticos. Serializadores, compiladores, índices e adaptadores podem reorganizar informações, contanto que preservem as categorias e relações exigidas pelo contrato. Os artefatos utilizados para reconstruir o percurso podem incluir referências de proveniência, derivações, certificados, testemunhos, traces tipados ou metadados estruturados, conforme a finalidade de cada um.
A separação entre fonte, realização e execução segue a mesma regra. O arquivo .fsl estabelece a fonte semântica autoritativa; o .fsp especifica vínculos de realização. A escolha de um backend, de um plano ou de um orçamento de recursos pode alterar as condições operacionais sem redefinir o contrato semântico. A saída de uma execução e uma escrita de armazenamento conservam seu estatuto até que uma transição apropriada incorpore informações à fonte autoritativa.
As substituições de tipos também preservam contratos. Quando um valor de tipo S pode ser utilizado onde se espera T, permanecem garantidas as propriedades que o consumidor de T está autorizado a utilizar. Uma mudança efetiva de significado pertence a uma transformação semântica explícita. Julgamentos de tipos continuam separados das classificações situadas de entidades do domínio.
Computações limitadas e resultados parciais
O gas estabelece um orçamento determinístico de trabalho computacional lógico. O esgotamento desse orçamento pode encerrar uma execução antes de sua condição de conclusão.
Quando a completude participa do significado, o resultado conserva a informação necessária para distinguir uma computação concluída de uma computação parcial. Um prefixo produzido antes do esgotamento do orçamento pode ser utilizado por outras operações segundo contratos apropriados, mantendo sua condição de parcialidade.
Isso permite distinguir uma consulta que encontrou um conjunto completo de resultados de outra que encerrou a busca antecipadamente. Da mesma forma, uma derivação interrompida conserva seu estado de conclusão, que participa da interpretação do resultado produzido.
Reconstrução e verificação
A continuidade semântica torna possível reconstruir o percurso relevante de uma informação sem depender de pressupostos ocultos sobre transformações anteriores. Para isso, cada operação semanticamente significativa define suas entradas e saídas, as qualificações consumidas, preservadas, transformadas ou descartadas, as dependências produzidas e suas condições de falha e conclusão.
A reconstrução pode utilizar diferentes artefatos. Uma derivação explicita relações de inferência; um trace registra aspectos da execução; a proveniência identifica origens; uma prova ou um certificado atende às garantias de seu contrato específico. Esses elementos se complementam segundo a informação que cada um fornece.
Na verificação de uma transformação, a análise examina se cada informação material permaneceu diretamente disponível, preservada por referência, derivável, descartada de maneira intencional ou perdida. A classificação também pode indicar uma dimensão não aplicável ou cujo estado ainda é desconhecido. Uma informação derivável depende da permanência dos elementos necessários à derivação.
A propriedade de continuidade está satisfeita quando um componente posterior consegue interpretar e, quando exigido, verificar seu resultado com as informações semanticamente necessárias ainda reconstruíveis, incluindo as transformações que conduziram até ele.
FormaSL — Intent
Status: STABLE
Authority: CONSTITUTIVE
Versão: 0.1
Data: 2026-08-17
Natureza: intenção da linguagem; anterior ao World Model, aos invariantes, ao design, à formalização e à implementação
Fontes principais: capacidade-unificada-formasl.md, descricao-canonica-formasl.md, investigação do Forma Kernel Problem e auditoria de encerramento da V1
1. Propósito deste documento
Este documento declara o que o FormaSL pretende tornar possível e preservar.
Ele não define como isso deve ser representado, formalizado, compilado, armazenado ou executado. Não escolhe primitivas, famílias, estruturas de dados, lógica, cálculo, backend, runtime ou mecanismo de prova.
O Intent é a autoridade mais alta da reconstrução do FormaSL. As camadas inferiores devem realizá-lo sem reinterpretá-lo por conveniência arquitetural.
A ordem de autoridade é:
FORMASL INTENT
↓
WORLD MODEL
↓
SEMANTIC INVARIANTS
↓
SEMANTIC CONTINUITY
↓
FORMASL LANGUAGE SEMANTICS
↓
FORMAL CONTRACT
↓
IMPLEMENTATION
A V1 é evidência histórica e comportamental. Ela não é autoridade sobre o Intent.
2. Formulação central
O FormaSL pretende ser uma linguagem na qual significado declarado por agentes situados possa tornar-se computável, governável e verificável sem deixar de carregar as distinções que lhe dão significado.
Em particular, o FormaSL não pretende substituir a realidade por uma representação autoritativa dela. Ele opera sobre afirmações, avaliações, observações, decisões e outros artefatos semanticamente atribuídos produzidos por agentes que ocupam posições particulares no mundo.
A linguagem deve permitir que esses artefatos participem de computações e ações sem que autoria, autoridade, contexto, temporalidade, identidade, proveniência, conflito ou estatuto normativo sejam silenciosamente apagados ou confundidos.
3. Intent constitutivo
I1 — A realidade não é constituída pelo sistema
O mundo existe independentemente do FormaSL, de seus agentes e das representações mantidas pelo sistema.
O FormaSL não define o que é verdadeiro por armazenar, derivar, validar ou executar uma representação.
A linguagem deve ser compatível com a existência de uma realidade que pode ser apenas parcial, indiretamente ou incorretamente conhecida pelos agentes.
I2 — O FormaSL opera sobre posições semânticas situadas, não sobre verdade dada
Agentes não recebem acesso privilegiado à verdade simplesmente por participarem do sistema.
Eles podem afirmar, observar, avaliar, inferir, decidir, aceitar, rejeitar ou utilizar conteúdo a partir de posições próprias.
Uma afirmação deve continuar sendo atribuível a quem a produziu e não deve tornar-se verdade apenas por ter sido registrada ou processada.
I3 — Agentes são autônomos e epistemicamente locais
Agentes são fontes e consumidores autônomos de significado.
Cada agente pode possuir informação, contexto, autoridade, critérios de aceitação e histórico diferentes dos demais.
O sistema não deve pressupor um observador global cuja visão substitua todas as perspectivas locais.
I4 — Autoridade é situada e não é criada pela linguagem
Autoridade, legitimidade, competência, jurisdição, permissão e obrigação podem existir no mundo antes do FormaSL e em razão de instituições, relações ou normas externas à linguagem.
O FormaSL deve ser capaz de representar e computar sobre essas estruturas sem fabricar sua legitimidade.
Registrar que uma autoridade afirmou algo não equivale a declarar verdadeiro o conteúdo da afirmação.
I5 — Pluralidade e conflito são estados legítimos do mundo semântico
Agentes diferentes podem produzir afirmações incompatíveis sobre o mesmo objeto, evento, estado ou relação.
O sistema deve permitir que essas afirmações coexistam sem exigir reconciliação prematura e sem permitir que a contradição autorize consequências arbitrárias.
Resolver, selecionar, reconciliar ou governar um conflito é uma operação semanticamente distinta da existência do conflito.
I6 — Significado pode depender de posição, contexto e tempo
O significado e a aplicabilidade de uma afirmação, regra, decisão ou relação podem depender de quando, onde, por quem, em qual contexto e sob qual perspectiva são considerados.
Essas dimensões não devem ser tratadas como metadados descartáveis quando alteram o significado.
A linguagem deve permitir distinguir os papéis temporais, espaciais, contextuais e perspectivais relevantes sem impor antecipadamente uma representação única para eles.
I7 — Identidade semântica deve sobreviver às representações
Uma entidade, afirmação, observação, decisão ou outro objeto semântico não deve ser confundido com seu nome, identificador, serialização, posição física ou representação atual.
O FormaSL deve permitir referência estável a objetos semanticamente relevantes através de transformação, composição e evolução quando a identidade do objeto deve permanecer a mesma.
I8 — Proveniência e responsabilidade fazem parte do significado operacional
Quando origem, suporte, derivação, autoria ou cadeia de transformação forem semanticamente relevantes, devem permanecer reconstruíveis.
O sistema deve permitir responder, conforme o caso:
- quem produziu uma afirmação;
- a partir de quais informações;
- sob qual contexto;
- por qual transformação;
- com qual autoridade;
- em qual momento;
- e com quais dependências.
Proveniência, derivação, causação, precedência temporal e mera correlação não devem ser confundidas por conveniência de implementação.
I9 — Normatividade e ocorrência são domínios distintos
Ser possível não é o mesmo que ser permitido. Ser permitido não é o mesmo que ser obrigatório. Ser admissível não é o mesmo que ocorrer. Ocorrer não demonstra que deveria ter ocorrido.
O FormaSL deve permitir computar sobre condições normativas e sobre ações sem apagar a diferença entre avaliação normativa e fato ocorrido.
Isso inclui a possibilidade de governar uma ação antes de seu efeito e de registrar posteriormente o que efetivamente ocorreu.
I10 — Computação não deve destruir significado silenciosamente
Consultar, analisar, validar, derivar, hipotetizar, projetar, revisar, orquestrar ou executar significado pode transformá-lo, restringi-lo, agregá-lo ou produzir novos artefatos.
Essas operações não devem apagar silenciosamente distinções necessárias para interpretar corretamente seus resultados.
Quando uma operação perde informação semanticamente relevante, essa perda deve ser explícita, justificada ou reconstruível a partir de artefatos preservados.
I11 — Significado deve permanecer computável através da composição
O objetivo do FormaSL não é apenas oferecer operações semânticas isoladas.
A linguagem pretende permitir que significado atravesse um processo composto — declaração, consulta, avaliação, derivação, simulação, decisão, ação, observação e revisão — sem precisar ser reinterpretado manualmente em cada fronteira.
Essa intenção é a origem do princípio posterior de Semantic Continuity.
O FormaSL deve buscar preservar, através da composição, as propriedades semânticas que tornam uma informação utilizável e auditável: identidade, atribuição, contexto, tempo, autoridade, dependências, proveniência e estatuto semântico.
I12 — Computação relevante deve poder ser verificada independentemente de confiança implícita na execução
Sempre que a correção de uma transformação, decisão ou admissão for material para o domínio, o FormaSL deve permitir produzir evidência suficiente para que essa operação possa ser examinada ou verificada sem depender apenas da confiança no componente que a executou.
Isso não significa que toda operação deva produzir uma prova formal, nem que todo resultado deva ser persistido.
Significa que verificabilidade, rastreabilidade e responsabilidade são objetivos constitutivos da linguagem quando fazem parte do significado da operação.
I13 — A ação fecha o ciclo semântico, mas não substitui observação por verdade
O FormaSL pretende poder participar de sistemas que não apenas descrevem o mundo, mas também tomam decisões e produzem efeitos nele.
Entretanto, um efeito ocorrido não se converte automaticamente em conhecimento compartilhado ou verdade semântica.
O fechamento operacional pretendido é, conceitualmente:
semantic state
↓
computation
↓
decision / admission
↓
effect
↓
observation
↓
new situated claim
Assim, ação, observação e afirmação permanecem distinguíveis mesmo quando formam um ciclo computacional integrado.
4. Síntese normativa
A intenção do FormaSL pode ser comprimida na seguinte proposição:
FormaSL torna significado situado computável sem transformar afirmação em verdade, conflito em erro, autoridade em propriedade global, contexto em anotação descartável, admissão em ocorrência ou computação em perda silenciosa de significado.
E, de forma operacional:
O FormaSL pretende permitir que agentes produzam, consumam, transformem, governem e utilizem afirmações e outros artefatos semânticos através de um processo computacional contínuo, mantendo reconstruíveis as distinções necessárias para atribuição, interpretação, decisão e verificação.
5. O que este Intent não determina
Nada neste documento determina, por si só:
- que o claim seja a única primitiva da linguagem;
- que exista um número fixo de famílias;
- que as onze famílias da V1 permaneçam inalteradas;
- que o modelo interno seja um grafo, hipergrafo, metagrafo, relação ou outra estrutura específica;
- que relações sejam necessariamente N-árias em uma representação específica;
- que exista um kernel com número determinado de operadores ou julgamentos;
- que o runtime seja append-only ou event-sourced;
- que exista um global live store de claims;
- que exista
FORM,RECORD,ASSERT,OCCURou qualquer outro operador específico; - que incerteza use
ρ, probabilidade, lógica fuzzy ou qualquer álgebra determinada; - que o tempo seja representado por bitemporalidade, cinco relógios ou qualquer tensor temporal específico;
- que conflito seja implementado por uma lógica paraconsistente específica;
- que escopo ou frames formem uma lattice, categoria ou outra álgebra determinada;
- que validação use DFA ou qualquer mecanismo específico;
- que inferência use Datalog, chase, fixed point ou semianéis;
- que projeção tenha como alvo tensores;
- que workflow seja um DAG;
- que Agda seja a única formalização possível;
- que Rust seja a única implementação possível;
- que múltiplos backends ou runtimes sejam um objetivo do FormaSL;
- que Semantic Continuity seja obtida por um mecanismo arquitetural único.
Essas são questões de World Model, invariantes derivados, design, formalização, implementação ou validação empírica. Devem ser justificadas separadamente.
6. Relação com a V1
A V1 é uma fonte de evidência sobre este Intent.
Ela contém:
- realizações que podem continuar corretas;
- decisões que podem ser rederivadas no FormaSL;
- comportamentos e testes que devem ser preservados como corpus;
- formalizações que podem conter conhecimento reutilizável;
- discontinuities que revelam onde o significado foi perdido;
- escolhas arquiteturais que não devem ser promovidas automaticamente a necessidade semântica.
Portanto:
V1 evidence
↓
informs
↓
FormaSL design
mas nunca:
V1 architecture
↓
defines
↓
FormaSL intent
7. Relação com o World Model
O próximo nível deve responder:
Que estrutura conceitual de mundo é necessária para tornar este Intent expressável sem introduzir compromissos que o Intent não exige?
O World Model pode introduzir conceitos como agente, claim, observação, ocorrência, autoridade, contexto, tempo, identidade, norma, decisão, efeito ou provenance somente quando sua presença for justificada por este documento e pelas evidências disponíveis.
Conceitos podem ser fundidos, refinados ou rejeitados durante a construção do World Model desde que nenhum Intent constitutivo seja perdido.
8. Critério de mudança
Alterar este documento significa alterar o que o FormaSL pretende ser.
Uma mudança no FORMASL-INTENT.md não é uma refatoração, otimização ou evolução local de linguagem. É uma mudança constitutiva e deve exigir:
- formulação explícita do Intent afetado;
- razão para a alteração;
- análise dos invariantes e decisões derivadas que deixam de valer;
- impacto sobre o World Model e a semântica da linguagem;
- registro histórico da mudança.
Camadas inferiores não podem modificar retroativamente o Intent apenas porque sua implementação se tornou difícil.
9. Base documental
Este documento destila a intenção constitutiva presente principalmente em:
capacidade-unificada-formasl.md— especialmente a tese de fechamento semântico verificável, a composição sobre um mesmo domínio, a preservação de atribuição/autoridade e a formulação de que autoridades emitem afirmações que se tornam computáveis sem serem promovidas a verdade;descricao-canonica-formasl.md— especialmente a inversão fatos→claims, a autonomia dos agentes, a preservação de contradição, a distinção entre autoridade e verdade e a linguagem como contrato separado do substrato;- resultados do Forma Kernel Problem — especialmente a rejeição de uma fatoração operacional única como consequência necessária da intenção e a recuperação robusta de obrigações de não-colapso semântico;
- auditoria de encerramento da V1 — especialmente a separação entre evidência semanticamente útil e completion da arquitetura V1.
O conteúdo de design específico desses documentos não é incorporado aqui automaticamente. Apenas a intenção que sobrevive à separação entre o que o FormaSL quer preservar e como uma versão concreta tentou realizá-lo é normativa neste nível.
10. Regra final
Nenhuma construção entra no FormaSL porque existia na V1, porque facilita a implementação ou porque melhora a explicação. Ela entra quando é necessária para realizar o Intent, preservar um invariant derivado, satisfazer uma obrigação explícita de Semantic Continuity ou cumprir um compromisso explícito de produto/design do FormaSL admitido pelo método vigente e compatível com as autoridades superiores.
FormaSL — Formal World Model
Status: STABLE
Authority: NORMATIVE FOUNDATION
Parent: ../FORMASL.md
Depends on: FORMASL-INTENT.md
Constrains: Semantic Invariants, Semantic Continuity, language semantics, architecture, formalization and implementation.
1. Purpose
This document states the world-model commitments assumed by FormaSL.
It answers primarily:
What distinctions exist semantically before representation choices are made?
It does not define syntax, storage, graph representation, runtime architecture, query algebra, proof calculus, event log or persistence strategy.
The governing principle is:
Reality may exist independently of any agent, but no ordinary agent or FormaSL runtime is identified with an omniscient view of that reality. FormaSL therefore computes over explicitly situated semantic information rather than silently promoting representation into truth.
2. Authority relationship
FormaSL Intent
|
v
Formal World Model
|
v
Semantic Invariants
|
v
Semantic Continuity
|
v
FormaSL design / language semantics
|
v
Agda contract
|
v
Implementation
Lower layers MUST NOT redefine higher layers to simplify implementation.
V1 evidence may support, challenge or falsify a proposed FormaSL decision. V1 architecture does not define this world model.
3. World-model commitments
The commitments below are not claimed to be a mathematically minimal or pairwise independent primitive basis.
W1 — Independent reality without privileged access
Reality may exist independently of claims, observations or assessments.
reality != claim
reality != observation
reality != assessment
FormaSL does not thereby obtain a privileged representation of reality.
A semantic referent may be introduced or discussed without establishing that the referenced state or occurrence actually holds.
ReferenceTo(o) != EstablishedOccurrence(o)
This permits multiple agents to disagree about the same possible occurrence without the identifier or representation of that occurrence deciding the dispute.
W2 — Epistemic locality
Agents operate from limited epistemic positions.
An agent may observe, infer, receive, accept, reject, use, ignore or be unable to access different portions of semantic information.
No ordinary agent is assumed to possess complete globally authoritative knowledge.
W3 — Situated relational scope
Meaning and applicability may depend on context, jurisdiction, frame, authority, perspective, domain or another explicitly modeled scope.
Scope may affect applicability without changing existence.
The exact algebra among context, scope, frame, jurisdiction and perspective remains open.
W4 — Native temporal roles
Time is part of meaning when temporal role changes interpretation.
The model permits distinct roles including at least the possibility of distinguishing:
- validity time;
- observation time;
- knowledge time;
- decision time;
- recording / transaction time.
Coincidence of timestamp values does not identify the roles.
The model does not require one temporal algebra, one number of clocks or one timestamp representation.
W5 — Autonomous agency
Agents are semantic actors capable of producing and consuming assertions, observations, assessments, decisions, commitments and actions.
Agency does not imply authority, permission, capability, correctness or truth.
W6 — Situated Claims
A Claim is a semantically identifiable token of a situated, attributable assertion.
Conceptually:
Claim
= assertion-token identity
+ attributable issuer
+ interpreted semantic content
+ semantic qualifications required by its meaning
token is a semantic/historical notion, not a storage-record requirement.
Claim != Truth
Claim != Assessment
ClaimIdentity != ContentEquality
ClaimIdentity != RepresentationIdentity
ClaimIdentity != CommunicationOccurrence
Distinct Claims may present semantically equivalent content.
One Claim may participate in multiple communication, recording, assessment, reasoning and representation occurrences without those occurrences automatically creating a new Claim.
A new Claim identity arises when the semantics introduces a new attributable assertion, not merely because an existing Claim is copied, serialized, received, stored or retransmitted.
Whether distinct Claims express an equivalent or continuing standing position is a separate semantic question and is not Claim identity itself.
W7 — Local assessment
An assessment is a semantic relation or judgment concerning a Claim or proposition-like content. It does not mutate the historical identity of the assessed Claim.
Different agents may assess the same Claim differently.
Claim != Assessment
The exact carrier and taxonomy of assessments remain open.
W8 — Epistemic plurality and conflict
Multiple incompatible Claims, assessments, observations or interpretations may coexist.
Conflict is information. It is not automatically an error state and does not by itself select a winner or authorize arbitrary unrelated conclusions.
Reconciliation, revision, adjudication, selection and decision are distinct semantic transitions when they occur.
W9 — Dynamics, occurrence and epistemic access
Reality may contain states and occurrences independently of FormaSL representations.
Where relevant, FormaSL must preserve distinctions among:
state
change / event
action
process
Representing or referring to an occurrence does not establish its actuality.
Semantic computation concerning actuality must obtain its epistemic basis from explicit Claims, observations, evidence, declared runtime guarantees or another explicitly defined FormaSL source.
A runtime may establish an occurrence only to the extent guaranteed by its declared boundary contract.
ExecutionSuccess != ExternalEffectOccurred
An Effect is an occurrence considered under an explicit or contractually established causal relation to an action, process or other cause.
Occurrence != Effect
Precedes(a, o) != EffectOf(a, o)
Observation is epistemic access to or evidence concerning reality, not reality or truth itself.
Occurrence != Observation
Observation != Truth
The model does not require a universal event store or an OCCUR primitive.
W10 — Referential identity
Semantic entities may persist across names, identifiers, encodings, versions or representations.
identity != identifier
identity != name
identity != representation
The model permits aliasing, renaming, succession, merge, split and contested identity when the domain requires them, without imposing one universal identity calculus.
W11 — Normative structure and governed judgment
The world contains permissions, prohibitions, obligations, policies, commitments, powers, authorities and other normative relations.
Normative status is not reducible to physical occurrence.
The following semantic roles are distinct:
Validation — an operation that evaluates a target under a declared validation contract/world.
Conformance — the relation or judgment concerning whether the target satisfies the declared constraints under that contract.
Admission — a governed judgment concerning whether a candidate may cross a specified boundary under applicable policy, authority, context, time and evidence.
Authorization — the normative standing of an agent with respect to an action/capability in scope.
Decision — an explicit attributable semantic occurrence that selects, adjudicates or commits an outcome under a declared basis.
Validation != Conformance
Conformance != Admission
Admission != Authorization
Authorization != Execution
Decision != Execution
Admission != BoundaryCrossing
Conformance may contribute to Admission but does not define it. Authorization of an actor does not imply that a specific candidate is admitted, and Admission of a candidate does not imply authorization of a particular actor.
No particular FormaSL operator or family is implied by this decomposition.
W12 — Provenance and dependence
Semantic information may depend on other information, operations or occurrences.
FormaSL must permit relevant distinctions among:
- temporal precedence;
- causation;
- derivation;
- support / evidence;
- provenance;
- lineage;
- hypothetical dependence.
These relations may share a carrier, but their semantic kinds must remain recoverable when the distinction matters.
4. Computation is not assertion
FormaSL computes over semantic information, but computation alone does not perform an assertion.
semantic inputs
|
v
computation
|
v
semantic result R
R is not automatically a Claim.
Computation != Assertion
DerivedSemanticResult != Claim by default
Producer != Issuer
SemanticConsequence != Claim
If an agent or explicitly assertive system subsequently adopts/asserts the result, a new Claim token may arise with its own issuer and history while preserving relevant dependence on the computation.
The exact universal taxonomy or carrier for computed results remains open.
5. Hypothetical semantic contexts
FormaSL permits semantic evaluation under explicit assumptions without promoting those assumptions into Claims or truth.
Assume(S, p) != Claim(p)
Assume(S, p) != Truth(p)
Hypothetical != Unknown
Future != Hypothetical
A baseline semantic context is not ground truth; it is merely the non-hypothetical basis selected for the evaluation.
A result materially dependent on assumptions must retain reconstructible dependence on those assumptions.
Evaluating a hypothetical context must not silently mutate the baseline semantic context.
Promotion from hypothetical evaluation into a non-hypothetical role requires an explicit, category-appropriate semantic transition. Promotion does not retroactively erase the historical fact that the source information was hypothetical.
No overlay, branch, MVCC, possible-world tree or modal calculus is required by this commitment.
6. Communication is not assertion identity
For agents a, b and Claim c, the following may be distinct:
Issue / Assert(a, c)
Transmit(a, c)
Receive(b, c)
Accept(b, c)
Use(b, c)
Retransmit(b, c)
A single concrete interaction may realize more than one role, but the roles must not be universally identified.
Receive != Accept
Accept != Use
Use != Retransmit
Retransmit != Reassert
Retransmitting another agent’s Claim does not by itself make the retransmitter its issuer or endorser.
7. Visibility, existence and epistemic absence
An item may exist while not being visible to a particular observer.
NotVisible != Nonexistent
Where represented, these meanings may differ:
False
Unknown
Unobserved
Hidden
Nonexistent
NotApplicable
This model does not require a single six-valued logic. It requires that downstream representation not silently collapse meanings that the program distinguishes.
8. Time, frame and history
Temporal roles may coincide in value while remaining distinct in meaning.
Frame compatibility is not frame transformation:
Compatible(f1, f2) != Transform(f1, f2)
A transformation, when it occurs, must remain semantically identifiable where required by downstream interpretation.
Revision or later assertion does not erase earlier semantic history.
Assert(C1)
RetractOrRevise(C1)
Assert(C2)
is not equivalent to a history in which only C2 ever existed.
This historical requirement does not mandate append-only physical storage or event sourcing.
9. Higher-order reference
Semantic items may themselves become subjects of later semantic relations.
A Claim may be assessed; an assessment may be cited; a decision may refer to a policy; a revision may refer to a prior Claim; a computed result may be used as evidence.
Higher-order reference must preserve the semantic identity and kind needed by later operations.
Flattening semantically typed references into untyped text or generic links is insufficient when it destroys those distinctions.
10. Type capability boundary
Types are part of the FormaSL language contract, not a claim that the world itself is partitioned by one universal type ontology.
The architecture preserves:
LANGUAGE / META-LEVEL FORMATION
!= SEMANTIC TYPE-CONTRACT JUDGMENT
!= SITUATED DOMAIN CLASSIFICATION
A situated Claim such as InstanceOf(X, Bank) may be contested or false. It does not automatically mutate the compiler/type-contract environment.
Conversely, a compiler/type-contract relation does not establish external-world truth or situated membership.
Polymorphism, inheritance/specialization and subtyping/substitutability remain distinct capabilities/relations.
11. What this model deliberately does not determine
This document does not decide:
- AST or IR shape;
- concrete graph/metagraph representation;
- storage or indexing model;
- event sourcing;
- global live stores;
- FormaSL operation/family decomposition;
- query algebra;
- exact content-equivalence semantics;
- exact uncertainty algebra;
- exact temporal algebra;
- exact scope/frame algebra;
- exact observation carrier;
- exact causal-evidence calculus;
- exact assessment taxonomy;
- exact policy language;
- exact type calculus;
- proof/certificate representation;
- surface syntax.
These are downstream choices or protected open questions.
12. Derived obligations
Lower layers must preserve at least these obligations:
- Claims remain distinguishable from truth, assessment, representation and communication occurrences.
- Computation does not silently assign assertive force or issuer.
- Observed, inferred, claimed, accepted and hypothetical information remain distinguishable where relevant.
- Referencing a possible occurrence does not establish actuality.
- Execution, external effect and observation remain distinguishable.
- Conflict may coexist until an explicit semantic transition resolves or transforms it.
- Meaningful temporal roles remain recoverable.
- Scope/applicability does not rewrite existence.
- Identity survives representation changes when the semantic entity survives them.
- Normative judgments remain distinct from occurrence and from one another where their contracts differ.
- Provenance, derivation, support, causation, lineage and hypothetical dependence do not silently collapse.
- Higher-order reference preserves semantic identity and kind.
- Hypothetical evaluation cannot silently mutate or promote into the baseline context.
- Type substitution may not violate guarantees promised by the target type contract.
- Graph membership does not imply truth or assertion.
The normative form of these obligations is defined by SEMANTIC-INVARIANTS.md and their preservation across computation by SEMANTIC-CONTINUITY.md.
13. Stability rule
A change to this document is a semantic change to the FormaSL foundation.
It requires explicit review of affected invariants, continuity obligations, design contracts, Agda obligations, implementation/conformance tests and V1 capability witnesses.
The World Model must not drift silently to match architectural convenience.
FormaSL — Semantic Invariants
Status: STABLE
Authority: NORMATIVE SEMANTIC CONTRACT
Parent: FORMAL-WORLD-MODEL.md
Role: define semantic distinctions that any conforming FormaSL design, architecture, formalization and implementation must preserve.
1. Purpose
An invariant states a semantic distinction that MUST remain recoverable whenever it is relevant to a valid FormaSL computation.
An invariant does not prescribe one storage model, AST shape, graph schema, proof representation, runtime or family decomposition.
Shared representation is permitted; semantic erasure is not.
Two semantically distinct roles may share a physical carrier if later computation can still recover the distinction required by the contract.
2. Normative vocabulary
- MUST — required for semantic conformance.
- MUST NOT — forbidden semantic collapse or behavior.
- SHOULD — strong design expectation whose violation requires explicit justification.
- MAY — permitted realization choice.
- Recoverable — enough information survives to reconstruct the relevant semantic distinction without an unmodeled oracle.
3. Core invariants
INV-CORE-01 — Semantic type/kind preservation
A semantic transformation MUST preserve the semantic category/kind of referenced information unless the program explicitly performs a category-changing operation.
A Claim must remain recognizable as a Claim; provenance must not silently become an untyped generic association.
INV-CORE-02 — No hidden semantic oracle
A conforming implementation MUST NOT depend on an implicit mechanism that supplies truth, actuality, authority, relevance, compatibility, conflict resolution or another semantic judgment absent from the language or a declared runtime contract.
External systems MAY provide such judgments through explicit inputs/effects whose guarantee boundary is declared.
INV-CORE-03 — Logical graph semantics, physical representation freedom
FormaSL’s logical semantic model is graph/metagraph-native. No invariant requires a particular physical representation unless a later design authority explicitly narrows that freedom.
A substrate MAY use relational, key/value, native graph, tensor or hybrid encodings only if it preserves the graph/metagraph semantic contract.
INV-CORE-04 — Computation neutrality
Ordinary computation MAY be delegated to generic computational mechanisms. FormaSL-specific semantics arise from the meaning and distinctions that must survive, not from a requirement to invent one universal compute engine.
INV-CORE-05 — Explicit semantic coercion
A semantic category MUST NOT be silently coerced into another merely because their runtime representations are structurally compatible.
A category-changing transformation must be explicit in the FormaSL semantic contract.
INV-CORE-06 — Graph membership is not truth or assertion
GraphMembership != Truth
GraphMembership != Assertion
Representation != Actuality
Representing content in the semantic graph MUST NOT by itself assign assertive stance, truth or actuality.
4. Claim, assertion and epistemic invariants
INV-CLAIM-01 — Claim does not establish truth
Claim(a, p) != Truth(p)
The existence or issuance of a Claim MUST NOT by itself establish truth of its content.
INV-CLAIM-02 — Claim is not assessment
Claim != Assessment
An assessment MUST NOT mutate the historical identity of the assessed Claim into the assessment. Different assessments MAY coexist.
INV-CLAIM-03 — Claim-token identity is not content or lifecycle equality
Distinct attributable assertion tokens MUST remain distinguishable when their distinct history is semantically relevant, even when issuer, interpreted content and other qualifications are equivalent.
Conversely, representation, communication, receipt, recording, use or retransmission of the same Claim MUST NOT by itself create a new Claim identity.
ClaimIdentity != ContentEquality
ClaimIdentity != RepresentationOccurrence
ClaimIdentity != CommunicationOccurrence
INV-DERIVED-01 — Computation does not imply assertion
Producing, deriving, projecting, aggregating, validating, querying or otherwise computing semantic information MUST NOT by itself create a Claim or assign an issuer.
Computation != Assertion
DerivedSemanticResult != Claim by default
Producer != Issuer
SemanticConsequence != Claim
A Claim based on a computed result requires an attributable assertion under the applicable semantic contract.
INV-EPISTEMIC-01 — Epistemic absence states do not silently collapse
Where represented, the following meanings MUST remain distinguishable:
False
Unknown
Unobserved
Hidden
Nonexistent
NotApplicable
A common tagged carrier is permitted; one undifferentiated null/false/absent value is not when meaning is lost.
5. Communication and agency invariants
INV-COMM-01 — Communication lifecycle separation
When distinguished by the program, these roles MUST remain independently representable:
Issue / Assert
Transmit
Receive
Accept
Use
Retransmit
At minimum:
Receive != Accept
Accept != Use
Use != Retransmit
Retransmit != Reassert
No implicit lifecycle advancement is allowed unless an explicit FormaSL construct defines it.
INV-AGENCY-01 — Executor is not authority
The entity that performs a computation or action MUST NOT automatically be treated as the authority, power holder or normative source for it.
Executor != Authority
Producer != Issuer
INV-AGENCY-02 — Capability, permission, obligation and occurrence remain distinct
Capability != Permission
Permission != Obligation
Obligation != Occurrence
Capability != Occurrence
Observed execution MUST NOT by itself establish permission or obligation.
INV-AUTHORITY-01 — Authority dimensions do not collapse
SituatedSemanticAuthority
!= SourceRecordAuthority
!= LanguageFormationAuthority
!= OperationalWritePermission
A process MAY have permission to write storage or source artifacts without acquiring semantic authority to issue Claims. Source inclusion MAY establish corpus membership without establishing truth or issuer competence.
6. Visibility, scope and frame invariants
INV-VIS-01 — Visibility is not existence
NotVisible != Nonexistent
Absence from an observer’s view MUST NOT by itself imply nonexistence.
INV-SCOPE-01 — Applicability is not existence
A semantic item MAY exist while being outside the scope/frame of an operation. Filtering by scope MUST NOT silently rewrite existence semantics.
INV-SCOPE-02 — Frame compatibility is not transformation
Compatible(f1, f2) != Transform(f1, f2)
A compatibility judgment MUST NOT silently perform a frame transformation.
7. Conflict and decision invariants
INV-CONFLICT-01 — Incompatible positions may coexist
The semantic model MUST permit incompatible Claims, assessments or observations to coexist without invalidating the world model.
INV-CONFLICT-02 — Conflict is non-generative
Conflict by itself MUST NOT authorize arbitrary unrelated conclusions.
INV-CONFLICT-03 — Reconciliation, revision and decision are explicit
If a computation resolves, selects, reconciles, revises or adjudicates conflict, that transition MUST be semantically explicit/recoverable.
Conflict MUST NOT silently disappear through query, aggregation, serialization, indexing or storage behavior.
8. Temporal and history invariants
INV-TIME-01 — Temporal roles remain distinct
When relevant, the following roles MUST remain recoverable even when values coincide:
validity time
observation time
knowledge time
decision time
recording / transaction time
INV-TIME-02 — Temporal precedence is not semantic dependence
Precedes(a, b) != Causes(a, b)
Precedes(a, b) != DerivesFrom(b, a)
Precedes(a, b) != ProvenanceOf(a, b)
Chronology alone MUST NOT create causal, derivational or provenance relations.
INV-TIME-03 — Revision does not erase prior occurrence
A later revision, retraction, replacement or promotion MUST NOT make an earlier semantic occurrence indistinguishable from “never occurred.”
This does not require event sourcing or append-only physical storage.
9. Dynamic-world and observation invariants
INV-DYN-01 — Dynamic roles remain distinguishable
Where modeled:
State != Event != Action != Process
INV-OCC-01 — Reference is not actuality
Representing or referring to a state, event, action, process or possible occurrence MUST NOT by itself establish that it actually holds or occurred.
ReferenceTo(o) != EstablishedOccurrence(o)
RepresentationOf(o) != TruthOfOccurrence(o)
Any computation relying on actuality must have an explicit epistemic/contractual basis.
INV-DYN-02 — Decision, execution, effect and observation remain distinct
Decision != Execution
ExecutionSuccess != ExternalEffectOccurred
Occurrence != Effect
Effect != Observation
Observation != Truth
A successful admission, decision or execution MUST NOT by itself establish that an intended external effect occurred.
An occurrence/effect MUST NOT by itself establish that it was observed.
10. Identity and higher-order invariants
INV-ID-01 — Identity is not identifier, name or representation
Identity != Identifier
Identity != Name
Identity != Representation
Identity != StorageKey
Changing serialization, local identifier, physical record or label MUST NOT automatically create a new semantic entity unless the language semantics explicitly says so.
INV-ID-02 — Higher-order reference preserves identity and semantic kind
When semantic information refers to other semantic information, the referenced item’s identity and semantic kind MUST remain recoverable when required by later operations.
INV-ID-03 — Structural equality is not universal semantic identity
Structurally equal relations, Claims or semantic objects MUST NOT be globally deduplicated solely because their field representations match when their distinct identity/history matters.
11. Provenance and reasoning invariants
INV-PROV-01 — Provenance, derivation, support, causation and lineage remain distinguishable
Where represented, these relations MUST NOT silently collapse into an undifferentiated related_to relation.
A common carrier MAY be used when relation kind remains explicit/recoverable.
INV-PROV-02 — Traceability is not public transparency
Traceable != Public
Reconstructibility MUST NOT imply that all supporting data is universally visible.
INV-PROV-03 — Material dependence remains reconstructible
When a computation produces a semantic result from other semantic information, dependencies necessary to interpret, explain or verify the result SHOULD remain reconstructible unless explicit semantics authorize their loss.
This includes material hypothetical dependence.
INV-REASON-01 — Derivation, proof, trace and explanation remain distinct
Derivation != ProofObject
Derivation != RuntimeTrace
Provenance != Explanation
Certificate != Truth
Operational evidence MAY support formal or semantic claims only under explicit contracts.
12. Normative and governance invariants
INV-NORM-01 — Normative status is not descriptive regularity
Permission, obligation, prohibition, authority or other normative status MUST NOT be inferred solely because behavior usually occurs or physically occurred.
INV-NORM-02 — Normative source remains attributable
When a normative judgment depends on a policy, authority or commitment, the relevant normative basis SHOULD remain reconstructible through computations that rely on it.
INV-GOV-01 — Validation, Conformance and Admission remain distinct
Validation != Conformance
Conformance != Admission
A target’s conformance to a declared validation contract MUST NOT by itself establish that the target is admitted across a governed boundary.
INV-GOV-02 — Admission, Authorization and occurrence remain distinct
Admission != Authorization
Authorization != Execution
Admission != BoundaryCrossing
Admission of a candidate MUST NOT by itself establish authorization of an actor. Authorization MUST NOT establish that execution or boundary crossing occurred.
A valid denial/non-conformance is also distinct from failure of the evaluation process.
INV-GOV-03 — Judgment is not committing decision
AdmissionJudgment != AdmissionDecision
AuthorizationEvaluation != AuthorizationDecision
Decision != DecisionProcessFailure
Eligibility/evaluation and a historical committing decision MAY occur separately.
13. Hypothetical-state invariants
INV-HYP-01 — Assumption is non-assertive and scoped
A hypothetical assumption MUST NOT by itself establish truth, create a Claim or mutate the baseline semantic context.
Assume(S, p) != Claim(p)
Assume(S, p) != Truth(p)
HypotheticalOccurrence != ActualOccurrence
INV-HYP-02 — No implicit hypothetical promotion
Semantic information that depends materially on hypothetical assumptions MUST NOT silently lose that dependence or acquire a non-hypothetical status.
Promotion from hypothetical evaluation into another semantic role must be explicit and attributable under the applicable contract.
Hypothetical != Unknown
Future != Hypothetical
Promotion != RetroactiveReclassification
14. Type-system invariants
INV-TYPE-01 — Specialization is not substitutability by default
Inheritance != Subtyping
A specialization/inheritance relationship MUST NOT by itself establish subtyping/substitutability unless the applicable type contract guarantees safe substitution.
INV-TYPE-02 — Substitutability preserves the target semantic contract
If S is accepted as a subtype/substitute of T, using an admissible S where T is required MUST preserve every semantic guarantee that the consumer of T is entitled to rely on.
Representation compatibility or structural similarity alone is insufficient.
Subtyping != TypeIdentity
StructuralSimilarity != Subtyping by default
INV-TYPE-03 — Compiler/type-contract judgment is not situated world classification
LANGUAGE / META-LEVEL FORMATION
!= SEMANTIC TYPE-CONTRACT JUDGMENT
!= SITUATED DOMAIN CLASSIFICATION
A Claim that InstanceOf(X,T) MUST NOT silently mutate compiler/type-contract judgments. A compiler judgment MUST NOT by itself establish world truth or situated membership.
INV-TYPE-04 — Typing is not governance
WellTyped != Conformant
WellTyped != Admissible
WellTyped != Authorized
Governance cannot repair language ill-formedness, and language typing cannot grant permission.
15. Source, realization and runtime invariants
INV-SOURCE-01 — Authoritative source membership is not truth
.fsl source membership establishes corpus/source authority, not truth or issuer competence.
INV-SOURCE-02 — Runtime output is not authoritative source update
RuntimeOutput != AuthoritativeSourceUpdate
StorageWrite != SemanticAuthority
An authoritative semantic evolution requires an explicit category-appropriate source-authoring/incorporation transition.
INV-REAL-01 — Realization does not redefine semantic contract
.fsl = semantic contract
.fsp = realization
A different .fsp MAY change cost, resource use, execution route or completion of a run but MUST NOT silently redefine the .fsl semantic contract.
INV-REAL-02 — Static weaving is realization resolution, not semantic rewrite
Static weaving MAY bind abstract requirements to realization providers. It MUST preserve the identifiable semantic contract it realizes.
INV-RUNTIME-01 — Runtime evaluation is not late language invention
Runtime MAY evaluate defined semantics against dynamic state, perform inference or dispatch according to already-defined contracts. It MUST NOT guess or repair unresolved source meaning.
16. Gas and bounded-execution invariants
INV-GAS-01 — Gas is execution budget, not semantic conclusion
Gas is an explicit deterministic budget of logical computational work.
OUT_OF_GAS != FIXPOINT
OUT_OF_GAS != FALSE
OUT_OF_GAS != EMPTY
OUT_OF_GAS != NO_PROOF
Changing gas MUST NOT by itself redefine the semantic operation.
INV-GAS-02 — Partiality remains visible when material
A result produced under budget exhaustion MUST NOT be silently consumed as a complete closure when downstream meaning depends on completeness.
INV-GAS-03 — Bounded macro-steps are not sufficient bounded work
A gas implementation that decrements only an outer loop while allowing one charged step to contain unbounded combinatorial work does not satisfy the full bounded-computation purpose.
The exact metering unit remains open.
17. Compositional conformance
A feature is semantically conformant only if every applicable invariant is preserved across its inputs, transformations and outputs.
For a pipeline:
x --F1--> y --F2--> z
runtime type correctness of F1 and F2 is insufficient if a required semantic distinction is silently lost at either boundary.
The preservation contract is specified by SEMANTIC-CONTINUITY.md.
18. Audit statuses
Reviews SHOULD classify invariant status as:
PASS
PARTIAL
FAIL
NOT-APPLICABLE
UNKNOWN
UNKNOWN MUST NOT be reported as PASS.
19. Prohibited shortcuts
Unless explicitly justified by a stronger FormaSL rule, the following are semantic defects:
- treating every Claim as fact/truth;
- treating graph membership as assertion/truth;
- deduplicating distinct Claim tokens solely by equal content;
- turning every computed result into a Claim;
- assigning result producer as issuer automatically;
- using one boolean/null for false, unknown and absent;
- using one timestamp when temporal role cannot be recovered;
- treating invisibility as nonexistence;
- dropping issuer, observer, authority or decision basis during transformation;
- turning provenance, derivation and causation into untyped edges;
- treating runtime success as proof of permission or external effect;
- treating a represented occurrence as an established occurrence;
- treating an observation as truth;
- updating history in place so earlier semantic occurrences become unrecoverable;
- allowing hypothetical assumptions/results to mutate the baseline silently;
- treating conformance as admission or admission as authorization;
- treating inheritance as subtyping without the safe-substitution contract;
- treating a storage write as source/semantic authority;
- allowing
.fspto rewrite.fslmeaning; - resolving conflict by last-write-wins without an explicit semantic decision.
20. What the invariants do not require
This contract does not by itself require:
- a specific metagraph representation such as V1 DTMG;
- metagraph physical storage;
- universal typed semantic artifacts;
- append-only persistence;
- event sourcing;
- a global live Claim store;
- one paraconsistent logic;
- one modal logic;
- one temporal calculus;
- one scope lattice;
- one uncertainty algebra;
- an
ASSERT,OCCUR,ENSUREor other named primitive; - a fixed number of operations/families;
- System F<:;
- proof-carrying execution;
- one gas metering formula.
Such mechanisms may still be valid downstream design choices.
21. Invariant admission rule
Admit a new invariant only when there is a concrete pair of semantically distinct worlds, histories, positions or outcomes that would otherwise become indistinguishable under a valid execution.
Ask:
What two semantically distinct cases collapse if this rule is removed?
If no convincing witness exists, keep the proposition as design guidance rather than silently promoting it to semantic necessity.
22. Change control
Changing an invariant requires analysis of:
- affected World Model commitments;
- affected semantic operations, constructs and transformation boundaries;
- affected continuity obligations;
- V1 capability/evidence consequences;
- affected macro-architecture boundaries;
- Agda obligations;
- implementation and conformance tests;
- stored/serialized artifacts where applicable.
Removing an invariant is a semantic compatibility event, not documentation cleanup.
FormaSL — Semantic Continuity
Status: STABLE
Authority: NORMATIVE DESIGN CONTRACT
Parent authorities: FORMAL-WORLD-MODEL.md, SEMANTIC-INVARIANTS.md
Role: govern preservation of meaning across semantic transformations and composed computations.
1. Purpose
FormaSL is not intended merely to represent semantic information at declaration time. It must be able to compute over meaning without silently destroying distinctions required to interpret, audit, verify or continue computing over a result.
This property is Semantic Continuity.
Semantic information that remains relevant to the meaning or verification of a result must remain reconstructible across semantic transformations.
Continuity applies to individual operations and to their composition.
2. Core property
Let semantic information x cross transformations F1 ... Fn:
x --F1--> y --F2--> ... --Fn--> z
Let Q(x) be the subset of semantic qualifications and dependencies that remain relevant to interpreting or verifying z.
Semantic Continuity requires z, together with explicit context/evidence/dependence where applicable, to preserve enough information to reconstruct the required part of Q(x) and the semantic transformations connecting x to z.
Continuity does not require every output to physically copy every field of every input.
SemanticContinuity != IdentityTransformation
SemanticContinuity != UniversalRetention
3. Three questions at every boundary
Before choosing a representation, ask:
1. WHAT EXISTS SEMANTICALLY?
2. WHAT INFORMATION MUST SURVIVE?
3. HOW COULD IT BE REPRESENTED?
Semantic Continuity owns the second question.
The third must not silently redefine the first two.
4. Continuity dimensions
SC-D1 — Identity
Can later computation determine which semantic item is being referenced?
Examples include Claim identity, entity identity, policy identity, scenario identity, observation identity, relation-instance identity and decision identity when relevant.
SC-D2 — Attribution
Can later computation reconstruct who asserted, observed, assessed, produced, authorized, decided or executed the relevant information or operation?
Producer != Issuer
Executor != Authority
unless an explicit contract makes those roles coincide in the case at hand.
SC-D3 — Temporal role
Can downstream computation distinguish relevant temporal roles such as validity, observation, knowledge, decision and recording/transaction time?
Equal values do not identify roles.
SC-D4 — Scope / frame
Can downstream computation determine the context, scope or frame under which the information is meaningful/applicable?
A frame transformation must remain distinguishable from mere compatibility where relevant.
SC-D5 — Epistemic / stance
Can downstream computation distinguish information that was claimed, observed, inferred/derived, assumed hypothetically, accepted, rejected, unknown, hidden or otherwise epistemically qualified?
SC-D6 — Conflict
Does conflict survive until an explicit semantic transformation resolves, revises, selects or adjudicates it?
Storage or query behavior must not silently make conflict disappear.
SC-D7 — Normative basis
If a result depends on conformance, admission, authorization, policy, authority, obligation or decision, can the relevant normative role and basis remain reconstructible?
SC-D8 — Provenance and dependence
Can later computation recover the distinctions it needs among derivation, support, provenance, causal relation, lineage, hypothetical dependence and execution trace?
SC-D9 — Representation
Can representation change while preserving semantic identity and type/kind?
Serializer, compiler, index or storage adapter may optimize representation but may not silently erase semantic distinctions.
SC-D10 — Accountability
For computations contributing to consequential decisions/actions, can the system reconstruct the materially relevant chain of assertions, observations, derived results, policies, authorities, decisions, executions and observations?
SC-D11 — Completion / bounded computation
If a result depends on an incomplete or gas-exhausted computation, can downstream computation determine that the input/result was partial rather than complete?
5. Transformation behavior classes
For each relevant semantic dimension, a transformation should classify its behavior as one of:
PRESERVE
Information remains valid and recoverable without semantic reinterpretation.
TRANSFORM
The operation explicitly changes semantic qualification and preserves enough information to understand the change.
DERIVE
The output obtains a new semantic property/result through an explicit derivation whose required dependencies remain reconstructible.
RESTRICT
The operation narrows visibility, applicability, scope or domain without asserting nonexistence outside the restriction.
DISCARD-EXPLICIT
The operation intentionally removes semantic information and the loss is part of its contract.
NOT-APPLICABLE
The dimension is irrelevant to the transformation.
There is no implicit DROP class.
6. Loss accounting
During analysis or audit, classify each relevant piece of information as:
PRESERVED-DIRECTLY
PRESERVED-BY-REFERENCE
DERIVABLE
INTENTIONALLY-ERASED
ACCIDENTALLY-LOST
NOT-APPLICABLE
UNKNOWN
Rules:
INTENTIONALLY-ERASEDrequires an explicit semantic justification;ACCIDENTALLY-LOSTis a continuity defect;DERIVABLEis valid only when the inputs required for derivation are guaranteed to survive;UNKNOWNmust not be treated as preservation.
7. Contract for significant semantic transformations
Every significant FormaSL construct/operation/transformation SHOULD specify, at the level relevant to its semantics:
1. semantic inputs
2. semantic outputs/results
3. qualifications consumed
4. qualifications preserved
5. qualifications transformed
6. qualifications intentionally discarded
7. provenance/dependence produced
8. applicable invariants
9. failure / unresolved semantics
10. completion semantics when bounded
11. composition obligations
A specification that describes only grammar and runtime values is insufficient for a semantically significant construct.
This rule applies to transformation boundaries, not to a predetermined list of V1 families.
8. Compositional continuity
Local correctness is insufficient.
Suppose:
x --F--> y --G--> z
If F preserves a semantic qualification and G silently erases it while that qualification remains relevant to z, the composed pipeline is non-conformant.
Every intermediate boundary must preserve, explicitly transform or explicitly authorize loss of every semantic distinction still required by the composed result.
Composition does not promote semantic category:
Composition != Promotion
A derived result remains derived when consumed by another operation. A hypothetical result remains dependent on its assumptions. A partial result does not become complete because a downstream operation accepted it.
9. Claim continuity
A Claim may cross representation and communication boundaries without changing identity.
Claim C
issuer: A
content: p
|
+--> serialize
+--> transmit
+--> receive
+--> store
If these operations concern the same Claim:
Claim identity PRESERVE
issuer PRESERVE
semantic content PRESERVE or explicit TRANSFORM
representation may change
communication new lifecycle history where relevant
A second attributable assertion of semantically equivalent content may instead create a new Claim token:
C1 != C2
C1 ≈content C2
Token identity must not be silently deduplicated.
10. Computation and optional assertion
A semantic computation does not automatically produce a Claim.
Claim C1 / other semantic inputs
|
v
computation
|
v
semantic result R
|
| optional attributable assertion/adoption
v
Claim C2
For R, continuity may require:
result kind PRESERVE
scope/frame PRESERVE or explicit TRANSFORM
temporal qualifications PRESERVE / DERIVE
source dependencies PRESERVE-BY-REFERENCE
derivation PRESERVE-BY-REFERENCE when relevant
producer PRESERVE-BY-REFERENCE when relevant
completion status PRESERVE when material
If R is later asserted as C2, that transition introduces a new Claim identity, issuer/assertive stance and assertion history while retaining relevant dependence on R and its sources.
Forbidden collapse:
computed q
-> automatically Claim(producer, q)
11. Governance continuity
Validation/conformance, admission, authorization and decision have different semantic contracts.
A governed computation may look conceptually like:
target + constraints + validation world
-> conformance judgment
candidate + governance context
-> admission judgment
agent + action + normative basis
-> authorization status/judgment
judgments + evidence + decider
-> decision
These are not mandatory pipeline stages and may occur in different orders or compositions.
Continuity must preserve the role and basis of each judgment where downstream behavior depends on it.
Forbidden collapses include:
Conformant -> Admitted
Admitted -> Authorized(actor)
Authorized -> Executed
Eligible -> AlreadyCrossedBoundary
A valid negative result is also distinct from failure of the evaluation mechanism.
12. Hypothetical continuity
A hypothetical context adds scoped assumptions without mutating the baseline semantic context.
baseline B
|
+-- scenario S assumes p
|
v
derive result R
If R materially depends on p, the dependence must remain reconstructible.
Running a computation while a scenario is active does not by itself prove that every result depends on the scenario; dependence follows from semantic derivation or the declared operation contract.
Forbidden collapses:
Assumption -> Claim
HypotheticalOccurrence -> ActualOccurrence
PreflightAdmission -> ActualAdmissionDecision
HypotheticalResult -> BaselineResult without explicit promotion
Promotion is category-specific and historical. It must not retroactively rewrite the source as having never been hypothetical.
13. Occurrence, effect and observation continuity
The operational loop contains an epistemic boundary:
semantic inputs
-> computation
-> decision
-> execution/action
-> possible world occurrence/effect
-> [epistemic boundary]
-> observation / evidence / declared runtime guarantee
-> later semantic input
The bridge from possible world occurrence to semantic knowledge is never implicit.
Continuity must preserve when relevant:
Decision != Execution
ExecutionSuccess != ExternalEffectOccurred
Occurrence != Effect
Effect != Observation
Observation != Truth
If an occurrence is treated as an effect of an action, the causal relation/basis must remain explicit/reconstructible. Temporal order alone is insufficient.
14. Recording and historical multiplicity
Recording may be realized as relation, evidence item, transaction history, provenance entry or another mechanism.
No universal RecordingOccurrence carrier is required.
But when multiple independent recordings/imports are semantically relevant, Claim identity alone is insufficient to erase them.
same Claim
+ two semantically relevant recordings
!=
one recording
Revision, retraction, reassertion and promotion likewise must preserve reconstructible history when the distinction remains relevant.
15. Source and realization continuity
.fsl is authoritative semantic source/data; .fsp specifies realization.
A change in .fsp may alter cost, planner, resource budget, backend or run completion while preserving the declared semantic contract.
semantic contract identity
!= realization identity
!= execution/run identity
Static weaving must preserve this distinction. A compiled/executable artifact may combine or reference both planes, but it must not make semantic identity depend on realization identity.
Runtime output or storage mutation does not automatically update authoritative semantic source:
RuntimeOutput != AuthoritativeSourceUpdate
StorageWrite != SemanticAuthority
16. Gas and completion continuity
Gas is a deterministic logical-work budget.
A run may yield:
R + COMPLETE
or:
R + OUT_OF_GAS / PARTIAL
When incompleteness is materially relevant, downstream computations must retain enough information to distinguish the two.
OUT_OF_GAS != FIXPOINT
OUT_OF_GAS != FALSE
OUT_OF_GAS != EMPTY
A downstream computation MUST NOT silently treat a partial prefix as a complete closure.
17. Type continuity and substitution
Type identity, specialization and subtyping are distinct.
If S <: T under the FormaSL type contract, substituting an admissible S where T is expected may forget information not required by T, but MUST preserve every guarantee the consumer of T is entitled to rely on.
A coercion that actually changes semantic meaning is not mere subtype substitution; it is a semantic transformation and must be governed accordingly.
Inheritance != Subtyping
Subtyping != TypeIdentity
SemanticTransformation != TransparentSubstitution
Situated domain classification must remain distinct from compiler/type-contract judgments across operations.
18. Semantic path and reasoning artifacts
Continuity may require a reconstructible path such as:
source semantic information
|
v
semantic transformation
|
v
qualifications / scope / basis
|
v
result
Possible representations include provenance edges, derivations, witnesses, certificates, typed traces, structured metadata or another FormaSL mechanism.
No one artifact class is required universally.
A runtime trace is not automatically a derivation; provenance is not automatically proof; an explanation is not automatically a guarantee.
19. Semantic erasure
Semantic erasure occurs when a transformation makes two states that the FormaSL contract treats as distinct observationally indistinguishable without explicit authorization.
Forbidden examples include:
Claim -> Fact
GraphMembership -> Truth
ComputedResult -> Claim
Unknown -> False
Hidden -> Nonexistent
Receive -> Accept
Retransmit -> Reassert
Conformance -> Admission
Admission -> Authorization
Permission -> Occurrence
ReferenceToOccurrence -> Actuality
ExecutionSuccess -> ExternalEffect
Observation -> Truth
Assumption -> Claim
Hypothetical -> Baseline without promotion
Derivation -> TemporalPrecedence
Causation -> Provenance
Inheritance -> Subtyping
FrameTransform -> FrameCompatibility
StorageWrite -> SemanticAuthority
.fsp choice -> semantic redefinition
OldClaim -> NeverExisted
Semantic erasure is a correctness defect.
20. Continuity failure classes
Reviews SHOULD distinguish at least:
SCF-1 semantic type/kind erasure
SCF-2 attribution erasure
SCF-3 qualification erasure
SCF-4 dependence/provenance erasure
SCF-5 conflict erasure
SCF-6 identity erasure
SCF-7 lifecycle erasure
SCF-8 history erasure
SCF-9 normative-role erasure
SCF-10 hypothetical-status erasure
SCF-11 completion-status erasure
SCF-12 source/realization authority erasure
21. Continuity witness requirement
Every significant FormaSL feature SHOULD have at least one positive continuity witness and one erasure counterexample.
input semantic state
-> transformation
-> output semantic state
-> show required distinctions recoverable
and:
naive realization
-> distinction disappears
-> identify violated invariant
These witnesses should later feed Agda obligations and executable conformance tests.
22. Relationship to V1
V1 is evidence, not the continuity authority.
A relevant V1 behavior may be classified as:
SEMANTIC-EVIDENCE
BEHAVIORAL-EVIDENCE
FORMAL-EVIDENCE
COUNTEREXAMPLE
ARCHITECTURAL-LESSON
IMPLEMENTATION-TECHNIQUE
REGRESSION-CORPUS
HISTORICAL-ONLY
Preserve validated semantic knowledge and capability where justified. Do not preserve incidental V1 factorization merely because it already exists.
23. Relationship to Agda and implementation
Agda should formalize already-decided continuity obligations rather than mirror Rust structure.
Implementation MAY optimize, intern, normalize, index, cache or physically co-locate semantic data as long as required distinctions remain recoverable.
Physical equality does not establish semantic equality.
24. Feature admission gate
Before adding a semantic-core feature, ask:
- Does its absence make a required semantic distinction impossible to express?
- Is the distinction expressible locally but lost across existing transformations?
- Is a reconstructible semantic path required for verification/accountability?
- Would absence force computation to leave the FormaSL semantic domain and re-enter with material loss?
If none applies, the proposal may belong to syntax sugar, libraries, tooling, runtime architecture or optimization rather than the semantic core.
25. Success criterion
A FormaSL computation is semantically continuous when a competent downstream component can interpret and, where required, verify its result without guessing semantic information that was available earlier but silently erased by intermediate transformations.
Matriz de capacidades, perfis e regimes (N13)
Função desta página: mapa de correspondência da sucessão N13. Os textos normativos integrais estão carregados verbatim nas páginas listadas; esta página não os substitui nem resume sua força.
Os quatro regimes computacionais
A separação entre os regimes é autoridade própria, não uma convenção editorial. Cada regime tem contrato de capacidade, perfis e condições próprias de formação, resultado e completude. Um regime não importa leis, valores padrão ou avaliadores de outro.
| Regime | Contrato de capacidade (carrier verbatim) | Perfis / realization (carrier) |
|---|---|---|
| Query | Query Capability Contract | perfis referenciados no contrato; boundaries |
| Analysis / Prediction | Analysis Capability Contract | Analysis Realization Profiles |
| Reasoning | Reasoning Capability Contract | Reasoning H1 Reference Profile Set |
| Semantic Transformation | Transformation Capability Contract | Transformation H1 Reference Profile Set |
Fronteiras de regime e fechamento
- As fronteiras entre Query, Analysis, Reasoning e Transformation — o que cada regime pode consumir, produzir e recusar — são governadas pelo Computational Regime Boundaries.
- O fechamento da separação dos regimes H1 está registrado no H1 Computational Regime Closure Contract.
Emenda R2 de correlação de agregados
A agregação de Reasoning é governada pela emenda delimitada R2 Aggregate Correlation Amendment. Ela preserva, entre outras distinções ratificadas:
RuleBinderIdentityversusSourceRoleIdentity— a identidade do binder da regra não se confunde com a identidade do papel na fonte;MemberDerivedversusSeededCorrelated— derivação por membros não é substituída por correlação semeada, nem vice-versa;- correlação explícita de membros e de grupos;
- formação de grupos vazios e mistos com condições próprias;
- identidade da fonte de agregação, multiplicidade contratada, condições de completude e recusas de formação;
- a origem dos valores de agregação permanece contratada — nenhum valor padrão é inventado.
Emenda de autorização evidência-vinculada (governança, fase 1)
As condições temporais e os conjuntos nomeados de políticas da autorização evidência-vinculada (A1/Z1) são governados pela emenda delimitada Governance Evidence-Bound Authorization Bounded Amendment. Ela concretiza as admissões condicionais do contrato de governança (§10 tipos admitidos; §13 classes de combinação) e preserva, entre outras leis ratificadas:
- nenhum relógio dentro do kernel
where— todo instante comparado chega pela evidência que a política nomeia; a atualidade de mundo permanece nos guards; - o tipo temporal admitido é o instant UTC estrito
YYYY-MM-DDTHH:MM:SSZ(igualdade pelo spelling canônico); a comparação de pontos alimenta o MESMO kernel três-valores por projeção epoch preservadora de ordem — nenhum segundo mecanismo de comparação; - exaustão de gás na projeção temporal rende
Unknown → UNRESOLVED, nuncaDeniednemFalseimplícito por conjunto vazio; - conjuntos de políticas são NOMEADOS com contrato de combinação declarado — a presença do contrato É a base de deconflicção; conflito sem base rende
UNRESOLVED, nunca vencedor implícito; - combinação denotacional e negativa-ao-negação (any Denied → Denied; senão any Unknown → Unknown; senão Granted), com a decisão atribuível POR política e o conjunto como contexto — sem terceira classe de identidade de decisão;
- fase 1 admite apenas
PROHIBITION_OVERRIDESeALL_REQUIRED;PERMISSION_OVERRIDES,PRIORITY_TIERED, durações e intervalos permanecem fora desta fase.
A agregação de Query é regida pelo contrato QEC (Consultas e completude); a emenda R2 de Reasoning não governa a agregação de Query.
Disposição da sucessão
Todas as dez autoridades desta seção foram preservadas byte-idênticas (Git blob + SHA-256 registrados na matriz da campanha). Nenhuma foi reescrita, enfraquecida ou reclassificada; emendas mantêm sua precedência declarada. Os capítulos conceituais do livro são superfícies pedagógicas e não substituem estas autoridades.
FormaSL — H1 Query Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — QUERY CAPABILITY OWNER
Amends/specializes: COMPUTATIONAL-REGIME-BOUNDARIES.md §5 for the H1 Query capability envelope
Consumes: LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md, ARCHITECTURE.md
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../QUERY-CAPABILITY-HARDENING-4-TERMINAL-REAUDIT.md, ../QUERY-CAPABILITY-COMPOSITION-WITNESS-1.md
Date: 2026-08-22
Purpose: close the H1 Query capability envelope at a functionally competent contemporary floor while preserving FormaSL semantic jurisdiction, native semantic structure and compositional Semantic Continuity.
Current bounded execution-completion amendment: ../contracts/query-execution-completion-v0.1/CONTRACT.md
Amendment status: owner-ratified / frozen / acceptance-hardening AH1
Amendment scope: executable completion only; this H1 Query capability contract remains the semantic capability owner. For the exact execution-completion locus, implementation and acceptance must satisfy the bounded amendment.
1. Owner decision
The owner ratifies the Query capability envelope that survived the Query adequacy campaign and terminal re-audit.
QUERY_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
QUERY_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
QUERY_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
QUERY_CAPABILITY_COMPOSITION_STRESS = PASS
QUERY_SEMANTIC_CONTINUITY_AT_CAPABILITY_LEVEL = PASS
QUERY_CAPABILITY_ADEQUACY = PASS
This contract supersedes the earlier H1 Query minimum as a sufficiency boundary. Existing CB-L3 Query laws remain valid unless explicitly refined here.
SEMANTIC CLOSURE
!= CAPABILITY ADEQUACY
!= SURFACE CLOSURE
This contract closes capability meaning, not final syntax, parser, AST, IR, optimizer, runtime or storage representation.
2. Preserved Query jurisdiction
Query remains declarative and basis-relative.
QueryAnswer != Truth
QueryAnswer != Claim
QueryAnswer != SemanticConsequence
Query != Analysis
Query != Reasoning
Query != SemanticTransformation
EvaluatorAlgorithm != QueryDenotation
GraphMembership != Truth
ViewMembership != Truth
QueryAnswer standing is introduced only by satisfaction of an admitted QueryContract over its exact/reconstructible InterpretationBasis.
QuerySatisfies(Q, Basis, Answer)
-> Standing(Answer, QueryAnswer(Q))
No capability below authorizes Query to mint authoritative domain identity, create a Claim, establish Truth, publish authoritative .fsl state or silently introduce Analysis/Reasoning/Transformation standing.
3. H1 functional capability envelope
H1 Query must support semantic capability sufficient for:
mandatory typed pattern matching
solution bindings / witnesses
conjunction / joins
alternatives / disjunction
optional / outer matching
correlated EXISTS / NOT EXISTS
presence-aware partial bindings
typed pure filters with explicit definedness
projection / computed expressions
nested / reusable Query expressions
aggregation / grouping over partial values
post-aggregation filtering
distinct / deduplication with lineage preservation
explicit ordering
ordered offset / slice / limit
explicit AnyK selection
top-k with declared tie/completion semantics
multi-hop traversal
variable-length / recursive traversal
compositional heterogeneous path expressions
bounded and admissible unbounded repetition
empty path where contracted
path and repeated-group bindings
path-local predicates and summaries
metagraph-native path reuse policies
shortest-family selectors
basis-relative non-match / absence tests
graph / subgraph Query views
QueryGraphView re-queryability
staged / nested Query composition
native typed querying of FormaSL semantic coordinates
This is a capability contract, not a keyword checklist.
DIFFERENT SYNTAX -/-> CAPABILITY GAP
DIFFERENT MECHANISM -/-> CAPABILITY GAP
4. Query solution and binding contract
4.1 Partial binding environment
A Query solution uses a partial environment:
BindingEnvironment : QueryVariable ⇀ QueryValue
A variable absent from the binding domain is query-locally unbound.
UNBOUND
!= semantic NULL
!= Unknown
!= Hidden
!= Unobserved
!= Nonexistent
!= NotApplicable
4.2 Static binding presence
Query extends the CB-L1 static kernel with an operation-specific presence effect:
QueryBindingJudgment(?x)
= SemanticType(?x)
+ BindingPresence(?x)
H1 requires at least:
DEFINITELY_BOUND
MAY_BE_UNBOUND
BindingPresence is static formation metadata, not a semantic/domain type.
BindingPresence != SemanticType
MAY_BE_UNBOUND -/-> SemanticOptional<T>
Minimum propagation laws:
mandatory introduction -> DEFINITELY_BOUND
optional-only introduction -> MAY_BE_UNBOUND
alternative branches:
bound in every surviving branch -> DEFINITELY_BOUND
otherwise, if post-branch visible -> MAY_BE_UNBOUND
projection/subquery export -> preserves declared presence effect
A later mandatory subexpression may bind a currently unbound in-scope variable. If every surviving output solution binds it, its output presence becomes DEFINITELY_BOUND.
MAY_BE_UNBOUND
+ mandatory binding for every surviving solution
-> DEFINITELY_BOUND
Optional absence is therefore not a sticky NULL state.
4.3 Binding compatibility and merge
For binding environments b1 and b2:
Compatible(b1,b2)
iff
for every variable v bound in both domains,
QueryValueCompatible(b1(v), b2(v))
Absence from one domain does not create a conflict.
Compatible environments merge by union, preserving the compatible shared value.
For semantic references, compatibility is grounded in resolved referent identity under a compatible basis, not in situated co-reference Claims.
5. Query expression definedness
A pure Query expression has an outcome:
QueryValueOutcome<T>
= Q-VALUE(T)
| Q-UNBOUND
| Q-UNDEFINED(reason)
where:
Q-UNBOUND = a required variable has no binding in this solution
Q-UNDEFINED = the pure expression is not defined for the present bound inputs
Neither is a semantic domain value or epistemic Unknown.
Boolean predicate outcomes are:
Q-TRUE
Q-FALSE
Q-UNDEFINED(reason)
with deterministic strong partial-Boolean semantics sufficient to ensure, for example:
Q-FALSE AND X = Q-FALSE
Q-TRUE OR X = Q-TRUE
NOT Q-UNDEFINED = Q-UNDEFINED
A normal filter retains only Q-TRUE solutions.
H1 requires a total pure boundness test equivalent to IsBound(?x).
5.1 Projection
Default partial projection preserves the solution:
Q-VALUE(v) -> bind target = v
Q-UNBOUND -> target remains unbound
Q-UNDEFINED(r) -> target remains unbound; reason remains diagnosable where material
An explicitly total projection may instead fail/reject under its QueryContract. It may not invent a domain NULL/default.
Explicit default/coalesce is permitted only as authored pure Query semantics.
6. Optional, correlated existence and completion
6.1 Existence judgment
For a Query expression E under exact correlated bindings and basis, H1 distinguishes:
MATCH_FOUND
NO_MATCH_COMPLETE
EXISTENCE_UNRESOLVED
NO_MATCH_COMPLETE requires the applicable Query completion contract to establish that no compatible satisfying solution exists under the exact criterion and basis.
NO MATCH OBSERVED SO FAR
-/-> NO_MATCH_COMPLETE
EXISTENCE_UNRESOLVED includes cases such as materially incomplete input, unresolved basis/source condition, resource exhaustion before closure or an unfinished streaming horizon.
6.2 Exists / NotExists
Exists(E):
MATCH_FOUND -> Q-TRUE
NO_MATCH_COMPLETE -> Q-FALSE
EXISTENCE_UNRESOLVED -> Q-UNDEFINED(INCOMPLETE_EXISTENCE)
NotExists(E):
MATCH_FOUND -> Q-FALSE
NO_MATCH_COMPLETE -> Q-TRUE
EXISTENCE_UNRESOLVED -> Q-UNDEFINED(INCOMPLETE_EXISTENCE)
This is Query evaluation definedness, not world-level epistemic truth.
6.3 Optional / outer matching
For outer solution s and optional expression O:
- compatible extensions yield compatible joined solutions;
- only
NO_MATCH_COMPLETEpermits the completed no-extension alternativesto be emitted with variables introduced only byOunbound; EXISTENCE_UNRESOLVEDmust preserve unresolved/incomplete completion rather than pretending that no extension exists.
EXISTENCE_UNRESOLVED
-/-> OPTIONAL_NO_EXTENSION_COMPLETE
Provisional emit/retract semantics require a separately declared continuous-query contract; they are not ordinary H1 Query semantics.
6.4 Basis-relative negative conditions
Ordinary Query non-match/negative existence requires NO_MATCH_COMPLETE unless an explicitly different provisional/possible-world contract says otherwise.
OUT_OF_GAS
INCOMPLETE STREAM
UNRESOLVED BASIS
-/-> successful negative Query condition
7. Aggregation, grouping and distinct under partial bindings
H1 distinguishes at least:
COUNT_SOLUTIONS
COUNT_BOUND(expr)
COUNT_DISTINCT_BOUND(expr)
COUNT_BOUND counts only Q-VALUE; Q-UNBOUND and Q-UNDEFINED are non-values.
Other reducers declare an AggregateInputPolicy sufficient to determine treatment of non-values, including at least:
SKIP_NONVALUE
REJECT_NONVALUE
EXPLICIT_DEFAULT(value)
Grouping contracts define treatment of non-value keys; H1 supports at least explicit rejection or grouping by a Query-local definedness/absence class. Such a grouping token is not a semantic NULL/domain entity.
Aggregate completion inherits the completion requirements of its entire input solution family unless an explicit partial-result policy says otherwise.
Distinct equivalence over projected partial bindings distinguishes bound from unbound and preserves materially relevant witness/lineage information.
DistinctCollapse != ProvenanceDiscard
8. Ordering, slicing and selection
Physical iteration order is non-semantic by default.
PhysicalIterationOrder != QueryResultOrder
An explicit OrderContract closes, where material:
typed order-key expressions
comparison/collation contract
direction
unbound-key treatment
tie policy
No universal cross-type total order is assumed.
A deterministic offset/slice/limit requires an order sufficient to determine the promised slice.
OrderedSelection != PhysicalPrefix
Unordered arbitrary selection is only admitted through an explicit nondeterministic selector equivalent to AnyK(k).
For AnyK(k):
FOUND_K -> may satisfy AnyK completion
FOUND_LESS_THAN_K -/-> complete without closure/exhaustion evidence
Top-k must distinguish at least semantic policies equivalent to:
EXACT_K_UNDER_DETERMINING_ORDER
WITH_BOUNDARY_TIES
EXPLICIT_NONDETERMINISTIC_K_AMONG_TIES
For ordered top-k, completion requires enough evidence that no unseen admissible candidate can alter the selected answer under the declared order/tie contract.
SEEN_K_RESULTS -/-> TOP_K_COMPLETE
9. Metagraph-native PathContract
9.1 Semantic path step
A Query path is defined over typed role-incidence traversal, not physical graph edges.
An atomic step traverses an admitted local role-to-role connection through one semantic relation instance under its relation/role contract and may constrain/bind, as applicable:
source semantic referent
relation instance
source role
source participation occurrence witness / referable participation
target role
target participation occurrence witness / referable participation
target semantic referent
material binding-local qualifications
Relations or other semantic artifacts may themselves participate when admitted, preserving higher-order traversal.
9.2 ParticipationOccurrenceWitness
A ParticipationOccurrenceWitness is a Query/result-local witness of a role occupancy/participation occurrence as distinguished by the applicable relation/role participation-correlation, multiplicity and qualification semantics under the exact evaluated basis.
ParticipationOccurrenceWitness
!= SemanticParticipationIdentity
!= StructuralBindingKey
!= PhysicalBindingRecord
It does not force every participation to become a durable semantic entity.
If participation correlation is materially unresolved, Query preserves that unresolved standing rather than inventing an occurrence merge/split.
9.3 TraversalOccurrence and PathWitness
A TraversalOccurrence is one ordered position in a PathWitness and preserves/references enough contract-level information to reconstruct the semantic traversal.
TraversalOccurrence
!= ParticipationOccurrenceWitness
!= SemanticParticipationIdentity
PathWitness preserves the ordered sequence of traversal occurrences required by the PathContract.
Keep distinct:
PathContentEquivalence
!= PathResultArtifactIdentity
!= QueryMatchDerivationIdentity
!= StoragePathIdentity
PathContentEquivalence is representation-invariant and grounded only in semantic distinctions required by the PathContract.
9.4 Compositional path expression
H1 supports denotational capability equivalent to:
AtomicStep
Sequence
Alternative
Repeat(min,max-or-unbounded)
Group
Zero repetition may produce an explicit empty path witness where contracted.
EMPTY PATH
!= missing path
!= failed match
Repeated/grouped bindings are accessible through typed ordered group/path values or a semantically equivalent facility.
9.5 Alternative multiplicity
When material, a PathContract chooses an alternative multiplicity policy including at least semantic capability equivalent to:
SET_ALTERNATIVE
MULTISET_ALTERNATIVE
Set-style collapse uses PathContentEquivalence; it does not indiscriminately merge result artifact identity or typed query lineage.
10. Path reuse, restrictors, filters and selectors
10.1 Path reuse policy
H1 supports explicit semantic reuse policies including at least:
REPEATABLE
NO_REPEAT_RELATION_INSTANCE
NO_REPEAT_SEMANTIC_REFERENT
NO_REPEAT_PARTICIPATION_OCCURRENCE
A raw physical/storage/serialization key is never Query semantic authority for reuse.
10.2 Occurrence comparison
When comparing participation occurrences, H1 distinguishes:
SAME_OCCURRENCE
DISTINCT_OCCURRENCE
OCCURRENCE_RELATION_UNRESOLVED
Reuse evaluation correspondingly distinguishes:
REUSE_ALLOWED
REUSE_REJECTED
REUSE_UNRESOLVED
Ordinary H1 Query may not coerce REUSE_UNRESOLVED into either acceptance or rejection.
REUSE_UNRESOLVED -/-> REUSE_ALLOWED
REUSE_UNRESOLVED -/-> REUSE_REJECTED
10.3 Candidate/admissible/selected/postfiltered ordering
The denotation preserves:
CandidatePaths
-> PathLocalPredicates + Reuse/RestrictorContract
-> AdmissiblePaths
-> PathSelector
-> selected paths
-> outer Query postfilter
Therefore:
PATH PREFILTER + SHORTEST
!= SHORTEST + OUTER POSTFILTER
10.4 Path-local predicates and summaries
Path predicates can inspect admitted path/group bindings, including as applicable:
semantic referents
relation instances
roles / participation occurrence witnesses
qualifications
temporal/context/frame coordinates
query-visible dependence coordinates
H1 permits typed pure comparisons across path positions/repetition groups and pure summaries sufficient for length, count and compatible min/max/sum-like operations.
A pure Query-local path measure does not independently create Analysis standing.
PURE PATH MEASURE != AnalysisResult
If a computation requires an AnalysisContract or introduces analytical standing, it is a material Analysis stage even when consumed by Query.
10.5 Path selectors and completion
H1 supports selectors sufficient for:
ALL admissible paths where finite/streaming semantics permit
ANY admissible path
one/any shortest
all shortest
counted/grouped shortest-family selection where contracted
Default path length, where used, counts semantic atomic PathStep occurrences, not physical storage edges.
A selector may claim ordinary complete shortest semantics only when membership of the relevant admissible path space is sufficiently determined. Material unresolved reuse/admissibility propagates incomplete/unresolved status.
UNRESOLVED CANDIDATE ADMISSIBILITY
-/-> CompleteUnder(OrdinaryShortestPath,...)
11. QueryGraphView
11.1 Query view standing
A Query graph/subgraph answer is a Query-local view selecting/restricting already-admitted semantic structure.
It may contain/reference:
existing semantic referents
existing relation instances
query-local incidence/participation occurrence witnesses
result-local scalar/value organization
It may not invent new independently meaningful semantic target content.
NEW INDEPENDENT SEMANTIC TARGET CONTENT
-> SemanticTransformation
11.2 View membership contract
A QueryGraphView preserves/references at least:
underlying source/revision basis
ViewMembershipContract
semantic member identities
relation-instance membership
role/incidence witness structure required for the view
material interpretation/dependence basis
view completion/closure policy
identity-preservation policy
omission semantics
11.3 Re-queryability
H1 requires a QueryGraphView to be admissible as an explicit restricted basis/view for a subsequent Query.
Source
-> QueryGraphView1
-> QueryGraphView2
A Query over a view cannot access omitted source items merely because a provider/storage can see them.
ProviderCanSee(x) -/-> QueryBasisContains(x)
Re-queryability does not make the view authoritative source state.
QueryGraphView
!= AuthoritativeSourceState
!= Truth
!= SourcePublication
!= SemanticTransformation
View composition preserves enough source/view/basis correspondence to reconstruct the composed restriction and material lineage.
12. FormaSL-native Queryability
When a semantic distinction:
- exists under an applicable semantic contract;
- is material to the Query;
- is admitted/visible in the exact Query basis; and
- is either semantically referable or representable as a Query-local structural witness without inventing semantic identity,
H1 Query must provide typed capability to bind/test/navigate it.
This covers, as applicable:
N-ary relation instances
typed roles
participation/occupancy witnesses
higher-order semantic referents
Claim / Observation / Assessment / SemanticConsequence / QueryAnswer standing
issuer / producer distinctions
authority / normative basis
context / frame / scope / jurisdiction / perspective
temporal semantic roles
plural/conflicting semantic artifacts
provenance / derivation / support / causation / runtime-trace distinctions
hypothetical dependence
source-state / revision basis
QUERYABLE
!= DURABLY SEMANTICALLY REFERABLE
QUERYABLE SEMANTIC COORDINATE
!= UNIVERSAL METADATA FIELD
Native higher-order semantic referents must be queryable through typed semantic structure without forcing storage-specific reification ceremony.
Visibility remains basis-controlled; provider knowledge outside the basis cannot influence ordinary Query answers.
13. Staged and nested Query composition
H1 supports nested/staged Query subexpressions sufficient to compose pattern/path matching, optional/existence logic, projection, grouping/aggregation, ordering/selection and final projection/view construction.
These remain inside one QueryContract by default.
QuerySubexpression
!= MaterialQueryStage
!= QueryAnswer
A separate material Query stage exists only under the general CB-L3 material-stage criterion: a distinct Query contract/result/basis is material to downstream interpretation, validation, provenance, composition or accountability.
Subquery export preserves the declared variable type/presence, witness/lineage dependencies and basis compatibility needed downstream.
Unexported local binders leave lexical scope without licensing erasure of material lineage.
Correlated subqueries use natural partial-binding compatibility:
outer bound variable -> fixed compatible input
outer unbound variable -> nested Query may bind it
Different-basis nesting requires an explicit compatible basis transition/correspondence; no implicit retargeting is allowed.
14. Completion, failure and partiality
Every QueryContract closes all materially relevant policies for:
multiplicity / duplicate semantics
ordering / nondeterminism
binding-presence behavior
expression definedness
path restrictor / reuse / selector semantics
finite / streaming semantics
aggregation/grouping semantics
view closure/membership
absence/existence semantics
partial-result policy
Preserve:
SemanticCompleteness != RunTermination
OUT_OF_GAS != EMPTY
OUT_OF_GAS != NO_MATCH_COMPLETE
STREAM PREFIX != COMPLETE QUERY ANSWER
Q-UNDEFINED != epistemic Unknown
CompleteUnder(QueryCriterion, Basis) is criterion- and basis-relative. It does not assert complete knowledge of reality.
15. Deliberate H1 exclusions
The following are not universal core H1 Query requirements:
arbitrary stateful / Turing-complete traversal programs
Query-side authoritative writes
one universal weighted/cheapest-path calculus
remote federation / SERVICE-like discovery
continuous/windowed Query
one exhaustive scalar/geospatial function catalog
These exclusions do not authorize capability waiver by provider hook.
- Arbitrary stateful traversal would collapse Query with broader computation and adjacent regimes.
- Authoritative writes belong to explicit transformation/lifecycle/source-authority contracts.
- Typed pure path measures remain extensible; one universal weighted-path calculus is not required by current H1 evidence.
- Federation and continuous Query remain separate capability questions and must be explicitly added if later included.
- Function catalogs may live in admitted language/core/stdlib contracts, but provider-only capability does not count as language capability.
CAPABILITY ADEQUACY != MAXIMAL GENERALITY
16. CB-L1 / CB-L2 / CB-L5 synchronization
16.1 CB-L1 static contract
No new semantic type constructor is required.
This contract exercises CB-L1’s already-authorized rule:
CB-L1 STATIC KERNEL
+ OPERATION-SPECIFIC STATIC RULES
= COMPLETE P2 STATIC SEMANTICS
The operation-specific Query static extension is BindingPresence plus definedness-aware formation for Query expressions over MAY_BE_UNBOUND values.
16.2 CB-L2 result contract
No new semantic standing is introduced by:
Q-UNBOUND
Q-UNDEFINED
MATCH_FOUND
NO_MATCH_COMPLETE
EXISTENCE_UNRESOLVED
REUSE_ALLOWED / REUSE_REJECTED / REUSE_UNRESOLVED
These are Query binding/evaluation/completion judgments inside the exact Query ResultContract and CB-L2 completion/partiality discipline.
QueryDefinednessState != EpistemicStanding
16.3 CB-L5 composition contract
Query-to-Query composition is admitted when producer output/basis and consumer Query input/basis contracts are compatible.
For QueryGraphView, compatibility must preserve/reconstruct the view membership restriction and its source/revision/interpretation basis chain.
QueryOverView
!= QueryOverAmbientStorage
No new universal composition operator is introduced.
17. Semantic Continuity obligations
Across Query operations and executable realization, preserve/reconstruct as material:
semantic referent and relation-instance identity
participation occurrence distinguishability without forced identity
Query binding identity and presence state
source/revision/interpretation basis
context/frame/time/visibility restrictions
path witness and PathContentEquivalence semantics
query lineage / dependence roles
conflict/plurality
view membership and omission semantics
absence/existence completion status
partial/streaming completion status
ordering/selector contract
Authorized Query operations may intentionally erase information only where their contract says so, e.g. projection, aggregation, distinct, selection or view restriction.
Any additional material loss is ACCIDENTALLY-LOST.
18. Acceptance and downstream state
This owner ratification closes Query capability adequacy for H1.
QUERY_CAPABILITY_ADEQUACY = PASS
QUERY_DURABLE_SEMANTIC_OWNER = CLOSED
QUERY_CAPABILITY_BLOCKING_UNKNOWN = NONE AT THIS HORIZON
QUERY_ACCIDENTALLY_LOST = NONE DEMONSTRATED
It does not close whole-language capability adequacy.
H1_CAPABILITY_ADEQUACY = NOT PASS
P3_CHANGE_IMPACT_REVALIDATION_FOR_QUERY = REQUIRED
P3L_MATCH_SURFACE = NOT YET CLOSED
P3L_NORMATIVE_FREEZE = PAUSED
P4_RE-RUN = NOT AUTHORIZED
P5+ = NOT AUTHORIZED
IMPLEMENTATION = NOT AUTHORIZED
The next required Query-local work is P1 trace synchronization, Semantic Continuity/composition recheck against this ratified owner and P3 executable correspondence revalidation. The next whole-language capability target after that is Analysis / Prediction.
FormaSL — H1 Analysis / Prediction Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — ANALYSIS / PREDICTION CAPABILITY OWNER
Amends/specializes: COMPUTATIONAL-REGIME-BOUNDARIES.md §6 for the H1 Analysis / Prediction capability envelope
Consumes: LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md, QUERY-CAPABILITY-CONTRACT.md, ARCHITECTURE.md
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../ANALYSIS-CAPABILITY-TERMINAL-REAUDIT-2.md, ../ANALYSIS-CAPABILITY-STRUCTURAL-WITNESS-1.md, ../ANALYSIS-CAPABILITY-GRAPH-ML-WITNESS-1.md, ../ANALYSIS-PROVIDER-REALIZATION-WITNESS-1.md
Ratified candidate: ../ANALYSIS-CAPABILITY-HARDENING-5-PROVIDER-ARCHITECTURE.md
Date: 2026-08-22
Purpose: close a functionally competent, FormaSL-native and extensible H1 Analysis / Prediction capability without making a fixed algorithm catalog, provider, framework, hardware class or physical graph representation semantic authority.
1. Owner decision
The owner ratifies the Analysis / Prediction capability package that survived capability review, provider-architecture hardening, adversarial attack, structural/graph-ML/provider witnesses and Terminal Reaudit 2.
ANALYSIS_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
ANALYSIS_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
ANALYSIS_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
ANALYSIS_COMPOSITIONAL_CAPABILITY = PASS
ANALYSIS_SEMANTIC_CONTINUITY_AT_CAPABILITY_LEVEL = PASS
ANALYSIS_CAPABILITY_ADEQUACY = PASS
This contract supersedes the earlier Analysis minimum/extensibility-only interpretation as a sufficiency boundary. Existing CB-L3 Analysis laws remain valid unless explicitly refined here.
SEMANTIC CLOSURE
!= CAPABILITY ADEQUACY
!= SURFACE CLOSURE
This contract closes capability meaning, contract admission and provider-independence requirements. It does not close final syntax, implementation libraries, provider selection, parser, IR, runtime technology, physical graph representation or deployment hardware.
2. Analysis / Prediction jurisdiction
Analysis introduces analytical standing through an admitted AnalysisContract whose mathematical operator, model or statistical relation is part of what the result means.
Preserve:
AnalysisResult != QueryAnswer
AnalysisResult != SemanticConsequence
Prediction != SemanticConsequence
Prediction != Truth
ModelScore != Truth
Embedding != SemanticIdentity
CommunityAssignment != OntologicalType
Similarity != CoReferenceJudgment
ModelEvaluationResult != Conformance
ModelEvaluationResult != AssuranceArtifact
ModelEvaluationResult != AuthorizationForUse
Provider or execution success cannot introduce Analysis standing by itself.
ProviderExecutionSuccess -/-> AnalysisStanding
3. H1 productive capability floor
H1 Analysis / Prediction must provide first-class semantic capability sufficient for at least:
structural graph measures / statistics
ranking / centrality
components / structural decomposition
community / partition analysis
similarity
higher-order / native semantic structural analysis
embedding / representation
node classification / regression
link / relation prediction
whole-graph classification / regression
model fitting / training
immutable learned-model artifacts
model application / inference
model evaluation
feature / preprocessing semantics
exact / approximate / stochastic guarantees
criterion-relative iterative completion / convergence
cross-regime composition
This is a capability floor, not a closed algorithm list.
CAPABILITY CLOSED
!= CATALOG CLOSED
A language implementation cannot satisfy this floor merely by offering a generic foreign-function/provider hook.
EXTENSIBLE IN PRINCIPLE
!= CAPABLE IN H1
PROVIDER CAN EXECUTE X
-/-> FORMASL SEMANTICALLY SUPPORTS X
4. Open Analysis contract catalog
The Analysis contract catalog is open and versioned.
An Analysis contract may originate from:
FormaSL standard packages
third-party packages
scientific/domain packages
application-local declarations
model/operator libraries
but availability does not imply admission.
H1 distinguishes:
ContractDefinitionAvailable
ContractResolved
ContractWellFormed
ContractAdmittedAsAnalysis
ContractExecutableAvailable
with:
ContractRegistry != AdmissionAuthority
ContractRegistered -/-> ContractAdmittedAsAnalysis
ContractAdmittedAsAnalysis -/-> ProviderAvailable
CB-L1 resolution freezes exact contract identity/revision/basis. An admitted Analysis contract must remain inside Analysis/Prediction standing jurisdiction or make any material composition with another regime explicit.
A contract that attempts to smuggle Claim, Truth, SemanticConsequence, authoritative source mutation, governance transition or other foreign standing through an Analysis label is rejected or decomposed into explicit semantic stages.
5. AnalysisContract completeness
An admitted H1 AnalysisContract closes or references at least, where material:
contract identity / immutable revision
accepted input StandingContract(s)
analytical input interpretation
semantic operator / algorithm / model identity sufficient to define meaning
semantic parameters
specific output StandingContract + PayloadContract
Interpretation Basis dependencies
Dependence roles
exact / approximate / stochastic guarantee
missing / unknown / unresolved / hidden / conflict treatment
completion / convergence criterion
partial-result policy
assurance requirements when promised
AnalysisResultConformanceRelation
If a provider/framework default changes any of those meanings, it is not a free realization choice.
FrameworkDefault != AnalysisSemantics
ProviderPreprocessingDefault != AnalysisSemantics
Material defaults such as self-loops, normalization, sampling, role aggregation, negative sampling, loss reduction, optimizer semantics, precision behavior or missing/conflict treatment must be semantic subcontracts, explicit admitted equivalence freedom, explicit Transformation, or proven semantically irrelevant.
6. Analytical input interpretation
Analysis may consume semantic structures directly or through an explicit analytical interpretation.
SemanticStructure
-> AnalyticalInputInterpretationContract
-> analytical carrier/view
-> AnalysisContract
AnalyticalInputInterpretationContract must preserve or explicitly account for every semantic distinction material to the Analysis denotation.
AnalyticalAdjacencyBasis != PhysicalPropertyGraph
AnalyticalInputInterpretation != automatically SemanticTransformation
For conventional binary-style graph algorithms, the interpretation may define role-pair orientation, weighting, multiplicity, symmetrization, self-loop and qualifier rules.
For native higher-order algorithms, Analysis may operate directly on typed role-incidence / higher-order semantic patterns without binary flattening.
N-ARY / ROLE SEMANTICS
-/-> IMPLICIT BINARY FLATTENING
A provider representation that drops a material role, qualifier, context, temporal or standing dimension is non-conformant for that invocation.
7. Analysis result conformance
Every AnalysisContract defines or references an AnalysisResultConformanceRelation appropriate to its promised result.
Conformance may be based on:
exact result relation
approximation / tolerance / residual relation
stochastic / distributional / reproducibility relation
plus required standing, basis, dependence, correspondence and completion obligations.
Therefore:
SameProviderFunctionName -/-> Conformance
SameOutputBytes -/-> RequiredConformanceByDefault
DifferentFloatingPointBits may still conform
DifferentPromisedSemanticResult = NON-CONFORMANT
An exact contract cannot silently be realized by an approximation outside its admitted equivalence/tolerance bridge.
8. Learning, supervision and visibility
8.1 Learning target admission
Model fitting/evaluation uses an explicit judgment equivalent to:
LearningTargetAdmissible(
candidate,
LearningOrEvaluationContract,
targetRole,
basis
)
Target roles include at least:
TRAIN_SUPERVISION
VALIDATION_TARGET
TEST_OR_EVALUATION_TARGET
PSEUDO_LABEL
Preserve:
InputAccepts(x) -/-> LearningTargetAdmissible(x)
LearningTargetAdmissible(x) -/-> Truth(x)
Claims, Observations, prior Predictions and other standings may be admitted under declared learning policies without laundering their standing.
8.2 Learning visibility
A LearningVisibilityContract independently closes material visibility across fit/evaluation partitions, including at least as applicable:
target / label visibility
topology / incidence visibility
feature visibility
held-out relation visibility
message-passing neighborhood visibility
negative-candidate universe
temporal / future-information cutoff
external-source visibility
ProviderCanAccess(x) -/-> LearningBasisMayUse(x)
Named transductive/inductive profiles are conveniences over these dimensions, not substitutes for their semantics.
9. Model specification, training occurrence and learned artifact
Preserve:
ModelSpecificationIdentity
!= LearnedModelArtifactIdentity
!= LearnedParameterContentEquivalence
!= ModelBehaviorEquivalence
!= TrainingOccurrenceIdentity
!= ModelRepresentationIdentity
A successful Fit produces an immutable/reconstructible LearnedModelArtifact result with exact model/training/basis dependence.
ModelParameterUpdateDuringFit != SourceMutation
A later Apply consumes the exact learned artifact by default. Substitution by a content/behavior-equivalent artifact requires the consuming contract to admit that equivalence relation.
Mutable provider aliases cannot retroactively retarget a historical model basis.
10. Embedding contract
Every reusable embedding preserves or references, where material:
EmbeddingArtifactIdentity
EmbeddingSpaceContract
subject -> vector correspondence
dimension
metric / similarity semantics
normalization
model / source / basis revision
alignment / cross-artifact comparability
Preserve:
SameDimension -/-> ComparableCoordinates
VectorSimilarity -/-> SemanticIdentity
A provider tensor row/index is representation, not semantic subject identity.
11. Model evaluation
Evaluation is Analysis, not governance.
EvaluationResult -/-> ModelDeploymentAuthorization
EvaluationResult -/-> ModelAdoption
EvaluationResult -/-> Conformance
Standard evaluation contracts must declare expected-example coverage. For strict evaluation:
missing / unresolved prediction
-/-> silently removed from denominator
A later policy/decision may consume evaluation evidence through explicit governance contracts.
12. Completion, approximation and stochasticity
Analysis completion is criterion-relative:
CompleteUnder(AnalysisCriterion, Basis)
Keep distinct:
AlgorithmConverged
!= FixedIterationCompletion
!= EarlyStoppedUnderDeclaredPolicy
!= MaxIterationsReachedWithoutRequiredConvergence
!= BudgetExhausted
!= ProviderFailure
!= ReasoningFixpoint
A result can be semantically complete while approximate/stochastic when that is exactly what the contract promises.
Stochastic contracts close as material:
sampling distribution / procedure
randomness source / equivalence class
seed / replay semantics when promised
run/sample count
aggregation across runs
error / confidence semantics
SameSeed -/-> SameResult absent explicit replay guarantee
13. Provider architecture
Providers are P3 realization, never semantic authority.
AnalysisContract
!= AnalysisProvider
!= ProviderAlgorithm
!= ProviderFramework
!= ExecutionDevice
!= PhysicalGraphRepresentation
The provider catalog is open.
A provider is eligible for a concrete invocation only if its versioned RealizationCapability satisfies the frozen invocation’s semantic and realization requirements, carrier/adapter correspondence, assurance/currentness requirements and AnalysisResultConformanceRelation.
ProviderSupports("pagerank")
-/-> Supports(Std.Analysis.PageRank.v1 invocation)
Named technologies such as Rust graph libraries, GraphBLAS/LAGraph, GPU graph analytics, heterogeneous graph-ML frameworks or Rust tensor runtimes are provider evidence/candidates only. They are not FormaSL semantic dependencies.
ThirdPartyLibrary != FormaSLSemanticDependency
14. Device neutrality and realization profiles
Analysis semantic meaning is device-neutral.
ExecutionDevice != SemanticKind
FORMASL ANALYSIS SEMANTICS = DEVICE-NEUTRAL
The owner requirement that FormaSL be usable without GPU belongs to P3/P5 realization profiles, not this semantic plane.
The same admitted .fsl Analysis application may have CPU, accelerator or distributed realizations when every path conforms to the same frozen semantic contract and applicable guarantee envelope.
SAME .fsl SEMANTIC APPLICATION
+ DIFFERENT CONFORMING REALIZATIONS
= SAME DECLARED ANALYSIS MEANING
15. Provider substitution, retry and migration
Before an execution attempt begins, any provider satisfying the same frozen requirements may be selected.
After execution begins:
PRE-EXECUTION PROVIDER SUBSTITUTION
!= ATTEMPT-LEVEL RETRY
!= MID-EXECUTION STATE MIGRATION
A failed attempt followed by another provider is a new ExecutionAttempt.
For learning:
TrainingOccurrence_1 != TrainingOccurrence_2
Stateful mid-run continuation requires explicit correspondence for every material state component, including as applicable model parameters, optimizer state, randomness/sampling state, progress and numeric/state encoding.
Absent that contract, fallback means restart/new attempt, not silent resume.
16. H1 reference contract set
H1 owns a mandatory Analysis Reference Contract Set as capability/conformance evidence.
MANDATORY REFERENCE CONTRACT SET
!= TOTAL ANALYSIS CONTRACT CATALOG
!= ANALYSIS PROVIDER CATALOG
The reference set must include enough exact provider-independent contracts to demonstrate every mandatory H1 Analysis family, a non-trivial native typed role-incidence/higher-order analysis, and a complete graph-ML lifecycle from model specification through training, learned artifact, application and evaluation.
Its durable owner is:
ANALYSIS-H1-REFERENCE-CONTRACT-SET.md
The existence of this set prevents the open provider architecture from degenerating into an empty provider hook.
17. FormaSL-native analytical floor
H1 Analysis must demonstrate that the richer semantic model is analytically usable, not merely storable.
At least one required reference contract has denotation materially dependent on native typed role-incidence / higher-order semantic structure. The current reference witness is Std.Analysis.SemanticMotifConductance.v1.
Native dimensions may include, when mathematically material:
N-ary relations / roles
higher-order referents
standing
issuer / authority
context / frame / scope
time
conflict / plurality
provenance / derivation / support / causation
hypothetical dependence
source revision / basis
This does not require every algorithm to consume every semantic dimension.
NECESSARY DISTINGUISHABILITY
!= MANDATORY UNIVERSAL FEATURE VECTOR
18. Cross-regime composition
Analysis composes through CB-L2/CB-L5 contracts rather than by type coincidence.
Important routes include:
Query -> Analysis
Query -> Transformation -> Analysis
Analysis -> Query
Analysis -> Reasoning only under PremiseAdmissible
AnalysisResult / LearnedRuleCandidate
-> explicit adoption/source-authoring
-> TheoryRule
-> Reasoning
Preserve:
AnalysisResult != SemanticConsequence
LearnedCandidateRelation != ExistingRelationInstance
LearnedRuleCandidate != TheoryRule
Prediction != Claim
Material nested Query/Transformation/Reasoning substages remain typed dependencies when they affect Analysis output meaning/basis.
19. Deliberate non-requirements
H1 capability adequacy does not require:
all graph algorithms as core contracts
all GNN architectures as core contracts
one implementation library
one provider framework
GPU as a semantic requirement
one GPU vendor
byte-identical CPU/GPU results
online/continuous retraining
automatic hyperparameter optimization
causal inference by default
graph generation as Analysis
universal explainability/attribution
one fixed distributed runtime
Additional capabilities may be added through admitted Analysis contracts without reopening the core unless they require a new constitutive semantic mechanism or violate an existing regime boundary.
20. Reopen triggers
Reopen this contract only on material evidence such as:
mandatory Analysis family lacks a provider-independent semantic contract
open contract admission permits regime/standing smuggling
native typed role-incidence analysis necessarily loses required semantics
learning supervision/visibility cannot be represented without provider-defined meaning
provider plurality cannot preserve contracted result semantics
AnalysisResultConformanceRelation is insufficient for a required result class
required graph-ML lifecycle needs new semantic standing/boundary
P3 cannot preserve provider-domain matching/retry/migration without semantic invention
portable CPU H1 profile cannot discharge the mandatory reference capability slice
Provider preference, implementation convenience, a new framework or a faster algorithm is not itself a semantic reopen trigger.
21. Closure state
ANALYSIS_CAPABILITY_ADEQUACY = PASS
ANALYSIS_CONTRACT_CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
ANALYSIS_PROVIDER_CATALOG = OPEN / REALIZATION-ONLY
FIXED_ALGORITHM_CATALOG_AS_CEILING = REJECTED
EMPTY_PROVIDER_HOOK = REJECTED
DEVICE_NEUTRAL_ANALYSIS_SEMANTICS = PASS
ANALYSIS_BLOCKING_UNKNOWN = NONE AT THIS HORIZON
ANALYSIS_SURFACE = P3L OPEN / PAUSED
P3_ANALYSIS_CHANGE_IMPACT = REQUIRED / DOWNSTREAM
IMPLEMENTATION = NOT AUTHORIZED
AMENDMENT A1 (2026-10-15) — Authorable incidence interpretation (R3-α=B) and §2.1 material-coordinate remediation
Provenance / authority: owner dispatch “FORMA GRAPH — IMPLEMENTAÇÃO E CONFORMIDADE V1” (2026-10-15), ratifying synthesis package research/forma-graph-architectural-synthesis-v0.1 v0.1.2, docket §3.1 (R3-α). This amendment is additive: no prior section is reinterpreted. The trailing IMPLEMENTATION = NOT AUTHORIZED status refers to the pre-amendment horizon and is superseded FOR THE SCOPE BELOW by the ratifying dispatch (R2 ceiling).
A1.1 Ratified decision (R3-α = B)
- The incidence interpretation of an N-ary relation for analytical adjacency MUST be semantically explicit: the admitted interpretation contract carries the exact role pair and its selection authority.
- The role pair MUST be authorable through the existing analyzed-contract fields (no new language syntax):
role_pair: "<role>,<role>". - The previously shipped default (first-two declared roles) remains authorized for compatibility ONLY as an explicit default rule of the interpretation contract (
RuntimeDefaultFirstTwo, authorized by the contract’s identity/revision). A post-hoc runtime registration of an implicit choice does not substitute this authorization. - Invalid selections (unknown role names, malformed or duplicated pairs) and unknown material contract fields MUST produce typed refusals naming the exact field/coordinate — never silent acceptance.
- A legitimately authorized binary projection is not the integral representation of the N-ary relation; the derivation attestation records it as a projection under the admitted interpretation.
- The information necessary to reconstruct the original incidences MUST remain preserved directly (typed incidence carrier) or through guaranteed references to the source claims.
- No physical representation, provider, or ordering convention may redefine the semantic interpretation; the admitted interpretation contract is the sole authority over the projection.
A1.2 §2.1 material coordinates (ordered remediation)
The analytical derivation contract declares, for every admitted interpretation, the honest disposition of the Std-Lib §2.1 material coordinates: relation and role pattern, direction/symmetrization, qualifiers/weights, parallel aggregation, multiplicity, self-loops, and visibility/context/frame/time. Realized coordinates carry their declared content; not-yet-realizable coordinates are NotRealizableFailClosed — any authored attempt is typed-refused, never filled by an invented default.
A1.3 Realization envelope of this amendment (macro-WP V1)
role_pair, direction (directed | symmetrized_or), self_loops (excluded | included + declared self_loop_weight), and parallel (sum | max | count) are authorable and honored by the productive bridge (derive_incidence_basis) through the typed incidence carrier (formasl_analysis::incidence). Unknown-field refusal is enforced on the bundled structural family (Std.Analysis.PageRank.v1, Std.Analysis.WeakComponents.v1, Std.Analysis.LocalClusteringCoefficient.v1); the structured H1 families honor the interpretation fields, with unknown-field refusal roll-out registered as the next obligation of the same campaign.
FormaSL — H1 Reasoning Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — REASONING CAPABILITY OWNER
Amends/specializes: COMPUTATIONAL-REGIME-BOUNDARIES.md §7 for the H1 productive Reasoning envelope
Consumes: LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, QUERY-CAPABILITY-CONTRACT.md, ANALYSIS-CAPABILITY-CONTRACT.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md, SEMANTIC-LIFECYCLE-TRANSITIONS.md
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../REASONING-CAPABILITY-TERMINAL-REAUDIT-1.md, W1..W4
Ratified candidate basis: ../REASONING-CAPABILITY-HARDENING-2.md + ../REASONING-CAPABILITY-HARDENING-3.md
Date: 2026-08-22
Purpose: close a serious H1 Reasoning capability spanning positive recursive deduction, stratified negative/aggregate reasoning and controlled existential/ontological reasoning without collapsing them into one universal logic or allowing reasoner engines to define consequence semantics.
1. Owner decision
The owner ratifies:
REASONING_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
REASONING_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
REASONING_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
REASONING_COMPOSITIONAL_CAPABILITY = PASS
REASONING_CAPABILITY_ADEQUACY = PASS
The pre-existing positive safe-rule profile remains valid but is no longer treated as the total adequate H1 Reasoning capability.
MINIMUM EXECUTABLE REASONING PROFILE
!= TOTAL H1 REASONING CAPABILITY
2. Reasoning jurisdiction
Reasoning introduces SemanticConsequence standing only through an admitted ReasoningContract and its declared consequence relation over a theory/rule/premise basis.
Preserve:
Reasoning != RuleEngineInvocation
Reasoning != DatalogSyntax
Reasoning != RecursiveEvaluation
SemanticConsequence != Truth
SemanticConsequence != Claim
SemanticConsequence != Decision
InputAccepts != PremiseAdmissible
QueryFound -/-> PremiseAdmissible
ReasoningCompletion != RuntimeTermination
OUT_OF_GAS != FIXPOINT
Provider choice, rule-engine success or graph membership never introduces consequence standing by itself.
3. Open Reasoning contract architecture
The total H1 ReasoningContract catalog is open and versioned.
A profile/contract may originate from standard packages, scientific/domain packages, third-party packages or application-local declarations, but must pass exact resolution, formation and Reasoning-regime admission.
Distinguish:
ReasoningContractDefinitionAvailable
ReasoningContractResolved
ReasoningContractWellFormed
ReasoningContractAdmitted
ReasoningContractExecutableAvailable
ReasoningContractRegistry != ReasoningAdmissionAuthority
ContractRegistered -/-> ContractAdmitted
ContractAdmitted -/-> ProviderAvailable
A contract that attempts to introduce Claim, Truth, source mutation, governance transition or another regime’s standing through a Reasoning label is rejected or decomposed into explicit stages.
4. Common ReasoningContract requirements
Every admitted ReasoningContract closes or references, where material:
contract identity/revision
Theory / rule basis
premise positions / interpretation
PremiseAdmissible rules
consequence relation
consequence content/equivalence key
rule/derivation semantics
assumption / closure regime
result StandingContract
completion contract
conflict/inconsistency behavior
identity/generation behavior
derivation / dependence / proof-artifact policy
provider-independent conformance relation
No engine defaults may fill a missing semantic decision.
5. ReasoningPremiseWorld
For contract R, basis B and exact premise/signature position s, Reasoning uses an explicit/reconstructible relation conceptually equivalent to:
ReasoningPremiseWorld(R,B,s)
built from:
candidate semantic inputs visible in B
-> exact premise interpretation
-> PremiseAdmissible
+ admitted prior/lower-stratum SemanticConsequences
Thus:
GraphContains(x) -/-> InReasoningPremiseWorld(x)
ProviderCanSee(x) -/-> InReasoningPremiseWorld(x)
InReasoningPremiseWorld(x) -/-> Truth(x)
This relation is the semantic basis for profile-specific matching, closure and aggregation where applicable.
Part I — R1 PositiveSafeRules.v1
6. R1 mandatory reference profile
H1 preserves the existing positive finite-domain profile:
finite set of typed rules
positive conjunctive body atoms
joins through shared variables
range-restricted head variables
finite admitted ground-term domain
positive recursion
least-fixpoint consequence semantics
no unrestricted function symbols
no existential-head witnesses
no head-driven active-domain expansion
non-self-grounding recursive cycles
R1 completion is exact least-fixpoint completion under its frozen Theory/rule/premise basis.
Part II — R2 StratifiedRules.v1
7. R2 capability
R2 adds a deterministic stratified reasoning profile with:
contract-defined signed explicit consequence atoms
closure-governed stratified negation-as-failure
typed pure constraints / comparisons
safe finite computed head values
stratified aggregates
stratum-by-stratum least-fixpoint completion
R2 is not stable-model/ASP semantics.
8. Signed explicit consequence content
A theory may declare a typed SignedReasoningSignature(S) with polarities:
POS
NEG
For the same ground semantic atom content A:
+S(A)
-S(A)
are distinct consequence contents linked by a contract-defined complement relation.
ExplicitSignedNegative != NAF
A source Claim/Observation/etc. maps into a signed premise only through explicit premise interpretation/admission.
FormaSL does not assume one universal negative-content ontology box.
9. Conflict-preserving R2 semantics
R2 permits both:
Derivable(+S(A))
Derivable(-S(A))
with distinct dependencies preserved.
There is no implicit ex-falso rule:
Derivable(+S(A)) AND Derivable(-S(A))
-/-> ArbitraryConsequence(Q)
Conflict is reconstructible through the complement relation and consequence artifacts.
ConflictPreserved != ConflictResolved
Explicit authored rules may react to conflict; that does not make explosion implicit.
10. R2 negation-as-failure
NAF is allowed only under an exact ReasoningClosureContract specifying:
closed signed signature / positions
exact ReasoningPremiseWorld interpretation
InterpretationBasis revision
scope/frame/context
time/revision boundary
visibility rule
premise-admission policy refs
lower-stratum completion dependency
Reference closure mode:
CLOSED_REASONING_EXTENSION
means the complete lower-stratum extension under the exact ReasoningContract/basis is used as the closed extension for NAF.
For a safely bound ground candidate A:
NAF(A)
iff closure applies
AND lower extension is complete
AND A is absent from that complete reasoning extension
Preserve:
MissingMatch -/-> NAF
NoGraphMember -/-> NAF
NoProviderRow -/-> NAF
NAF(A) -/-> ExplicitSignedNegative(A)
unless an explicit rule derives such content.
11. R2 special-literal safety and stratification
All variables determining NAF/aggregate lookup, group or source family must be positively bound or range-restricted by an explicit finite admitted domain before the special literal is evaluated.
Stratification is computed after semantic elaboration over exact Reasoning signature dependencies.
Edge classes include:
POSITIVE
NEGATIVE_NAF
NONMONOTONE_AGGREGATE
VALUE_GENERATING
Requirements:
POSITIVE edges may form SCCs
NEGATIVE_NAF -> strictly lower stratum
NONMONOTONE_AGGREGATE -> strictly lower stratum
unsafe VALUE_GENERATING cycles -> forbidden
Each lower stratum reaches its exact completion before a dependent higher stratum uses its absence or aggregate extension.
12. R2 built-ins and equality
The mandatory reference floor includes versioned pure deterministic typed operations equivalent to:
value equality / inequality
resolved semantic-referent identity equality
ordered comparison on compatible ordered scalar domains
boolean predicates
finite numeric arithmetic
value definedness/boundness where applicable
Preserve:
ResolvedSemanticReferentIdentityEqual
!= ValueEqual
!= SameAsClaim
No unique-name assumption is implicit for distinct identifiers, aliases or existential model-witness terms.
Built-ins are total over admitted domains or declare exact definedness/failure semantics.
13. R2 value-generation safety
R2 distinguishes:
BODY_BOUND_TERM
DECLARED_FINITE_DOMAIN_TERM
COMPUTED_VALUE_TERM
A computed head value is admitted only when its inputs are safely bound from finite completed relations/domains and its value-generating dependency is nonrecursive, unless an explicit finite codomain is enforced.
Therefore an unbounded rule equivalent to:
N(x) -> N(x+1)
is rejected from R2 v1.
NoFreshReferentGeneration
!= ValueDomainSafety
14. R2 aggregate source and multiplicity
The mandatory source family is:
DISTINCT_REASONING_CONTENT_SET
For a complete lower stratum, it includes each distinct matched ground reasoning content in ReasoningPremiseWorld exactly once, including as applicable:
admitted extensional/source premises
prior admitted results
derived lower-stratum SemanticConsequences
Deduplication uses ReasoningContentKey, not premise artifact identity, derivation identity or runtime row identity.
ReasoningContentKey
!= PremiseArtifactIdentity
!= DerivationIdentity
!= RuntimeRowIdentity
DerivationMultiplicity -/-> AggregateMultiplicity
A signature that intentionally includes Claim/artifact identity can distinguish multiple Claim artifacts because that identity then belongs to the ground reasoning content itself.
15. R2 aggregate floor
Mandatory operators:
COUNT
SUM
MIN
MAX
with exact:
group key
source pattern/signature
ReasoningContentKey
pure typed value expression
lower-stratum completion dependency
value/numeric domain
empty/definedness behavior
For an explicitly existing empty group:
COUNT(empty) = 0
SUM(empty) = typed additive zero
MIN(empty) = UNDEFINED
MAX(empty) = UNDEFINED
No group is manufactured from an implicit provider universe.
Aggregate dependence includes the complete source family and the evidence/closure establishing that no further contributors belong to it.
AggregatePrefixValue != CompleteAggregateValue
15.1 R2 aggregate group formation / member correlation / reference origin (OD-RC-R2-AGG-03)
Owned by R2-AGGREGATE-CORRELATION-AMENDMENT.md; materialized here as
the Reasoning semantics of the rule-level aggregate by locus.
Grouping modes and identities. R2 rule aggregate grouping has exactly two complete semantic modes:
MemberDerived {
member_key: SourceMemberProjection,
output_binder: optional OuterBinder
}
SeededCorrelated {
seed_key: OuterBinder,
member_key: SourceMemberProjection
}
OuterSeed alone is incomplete. The semantic identities
RuleBinderIdentity and SourceRoleIdentity are distinct; equal
display spelling or equal declared type does not establish
correspondence.
Member-to-group correlation. A source member contributes to a seeded group iff it belongs to the exact aggregate source (RCC §14) and its resolved member projection equals the seed value. MemberDerived coordinates come only from surviving source members; no source member means no complete group containing a MemberDerived coordinate. No spelling fallback, first-match, source/body/clause/role order or type-only guessing may select correlation.
Independent positive binding boundary. by Source.role as ?v is
SeededCorrelated only when ?v is independently established in the
outer substitution before aggregate evaluation: a positive when atom
binding ?v, or an already-authoritative executable finite-domain
outer binding. Head occurrence, NAF-only/where-only occurrence,
aggregate result, another aggregate result, MemberDerived output
binder, rule-parameter declaration by itself, and name/type
coincidence do NOT count. The classification is whole-rule semantic
classification over the independent binding graph, never textual
position.
Compatibility shorthand. by ?v resolves only from the set of
DISTINCT exact-source roles explicitly positively binding ?v in the
whole semantic rule:
1 -> SeededCorrelated(?v, role)
0 -> AGGREGATE_GROUP_CORRELATION_REQUIRED
>1 -> AMBIGUOUS_AGGREGATE_GROUP_CORRELATION
Repeated same-role occurrences do not create ambiguity.
Explicit output binder. An unbound as ?v MemberDerived component
introduces a group-output binder available to post-aggregate
where/head evaluation; it is not seed authority for another
aggregate. The same newly introduced binder may be introduced by at
most one MemberDerived component per rule and must differ from that
aggregate’s result binder; violations reject with
AGGREGATE_GROUP_BINDER_COLLISION. A genuinely independently positive
binder may seed multiple SeededCorrelated components; each member role
must then equal that same seed value.
Tuple grouping. Components resolve independently in structural tuple order. An all-seeded tuple with valid outer seeds establishes a group even with zero contributors (floors above apply). A mixed tuple where no source member survives the seeded filters creates no complete group; no default coordinate is manufactured.
Aggregate value reference origin. Aggregate value expressions preserve reference origin:
OuterVariable(RuleBinderIdentity) reads the outer environment
SourceMemberRole(SourceRoleIdentity) reads the member-role environment
Evaluation uses separate logical outer and member environments;
source-member values never overwrite unrelated outer bindings because
names collide. With outer ?amount = 10 and member T.amount = 3,
T.amount * ?amount = 30, never 9.
Order non-authority. Textual clause order, positive body atom order, source declaration order and role declaration order have no authority to choose correlation when the same semantic dependency graph remains; aggregate-to-aggregate seed authority by runtime sequence is forbidden.
16. R2 completion
R2 completion is:
CompleteUnder(
StratifiedLeastFixpoint,
Theory/Rule/Premise/ClosureBasis
)
with every stratum complete in order.
Budget exhaustion or incomplete lower strata cannot be relabeled as complete negative/aggregate reasoning.
Part III — R3 WardedExistentialRules.v1
17. R3 purpose
R3 provides controlled positive existential/ontological reasoning through a FormaSL-owned warded existential-rule profile.
It supports:
positive recursive joins
existential head variables
N-ary typed role-incidence atoms
positive conjunctive certain-answer goals
existential entailment content
goal-relative completion
Warded Datalog± literature is theory evidence for this design balance; no external syntax or engine is normative.
18. R3 rule form and wardedness
An R3 rule has a finite conjunctive positive body and finite conjunctive head. Head variables may include explicitly existential variables.
R3 v1 mandatory profile has no NAF or aggregate literals.
After elaboration to exact typed Reasoning signature positions/roles, define affected positions as the least set where:
- a head position receiving an existential variable is affected;
- a head position receiving a universal variable is affected when all body occurrences of that variable occur in affected positions.
A variable is dangerous when it may bind to an anonymous witness via affected positions and appears in the head.
A rule is warded only if all dangerous variables occur in one body atom (the ward) and that ward shares with other body atoms only variables that have at least one non-affected body occurrence.
The checker operates over semantic role/position contracts, not physical columns.
19. Existential consequence vs anonymous model witness
R3 distinguishes:
ExistentialConsequenceContent
ReasoningModelWitnessTerm
SemanticReferentIdentity
An entailed formula equivalent to:
exists p . KeyPerson(company,p)
is quantified SemanticConsequence content. It does not name the satisfying individual.
A chase/universal-model realization may introduce anonymous local ReasoningModelWitnessTerms to satisfy existential variables and support joins.
ReasoningModelWitnessTerm
!= SemanticReferentIdentity
!= SourceIdentifier
!= SourceDeclaration
ExistentialEntailment -/-> AuthoritativeReferentMinted
Provider labeled-null/Skolem identifiers are representation only.
20. Shared existential correlation
An existential variable has scope over its entire rule-head conjunction.
Within one rule application, all occurrences of the same existential variable map through one local RuleApplicationWitnessEnvironment binding.
Provider head normalization may not transform:
exists p . (P(p) AND Q(p))
into independent witnesses without preserving the shared correlation.
HeadNormalization != ExistentialWitnessDecorrelation
21. R3 equality / witness discipline
R3 v1 has no unique-name assumption over anonymous witness terms.
DistinctReasoningModelWitnessTerms -/-> SemanticNotEqual
Raw witness IDs are not compared across providers/runs as semantic identity.
The profile excludes equality-generating dependencies and witness-level semantic identity-merging rules.
Consequence/query semantics must remain invariant under admissible renaming/isomorphic/homomorphic witness representations.
22. R3 positive goal contract
The mandatory H1 goal language is a finite set of positive conjunctive goals.
Each goal has:
finite conjunction of positive typed Reasoning atoms
distinguished/free answer variables
remaining existentially quantified goal variables
exact semantic signature/basis
finite admitted/named answer-term domain
It excludes NAF, negative goal literals, aggregates, universal quantification and arbitrary function generation.
Every distinguished answer variable is safely range-constrained by positive atoms and the admitted answer domain.
23. Certain goal results
For goal G and substitution θ over distinguished answer variables:
CertainGoalResult(
substitution = θ,
consequence = EntailedGoalContent(Gθ)
)
is accepted when the instantiated existential closure Gθ is entailed under R3 semantics.
Preserve:
CertainGoalSubstitution != QueryAnswer
EntailedGoalContent(Gθ) = SemanticConsequence content
A later Query stage may project/select substitutions under QueryAnswer standing.
Bound existential-variable names are irrelevant to consequence-content identity at least up to alpha-renaming.
24. R3 completion
The mandatory profile does not promise full chase/universal-model enumeration.
Completion is finite-goal relative:
CompleteUnder(
WardedPositiveCertainAnswer,
Theory/Rule/PremiseBasis,
finite PositiveGoalSet,
admitted answer-term domain
)
It requires the full set of certain substitutions and entailment result for each declared goal.
A provider may use chase, finite quotient/termination summaries, query rewriting or another complete equivalent method.
ChaseAlgorithm != ConsequenceRelationAuthority
ProviderStoppedGeneratingWitnesses -/-> R3Complete
Any data-complexity claim applies only to the fixed logical profile over already-established finite premise relations, not arbitrary upstream FormaSL computation or provider transport.
Part IV — derivation artifacts
25. GroundedDerivationWitness
The H1 reference/conformance slice requires capability to provide a finite grounded derivation witness for expected consequences/goal results.
It preserves/references as material:
ReasoningContract revision
consequence/goal result
rule applications
premise/prior-consequence refs
closure/stratum dependencies
anonymous model-witness introductions local to the derivation
shared existential-variable correlation
homomorphism/goal mapping where material
completion/certificate refs where material
For recursive derivations, a finite DAG may reference already-established consequences rather than unroll cycles indefinitely.
GroundedDerivationWitness
!= FormalProofObject
!= Provenance
!= EvidentialSupport
!= RuntimeTrace
!= NaturalLanguageExplanation
A ReasoningContract declares its artifact policy; arbitrary imported profiles need not all promise the same derivation surface.
Part V — native FormaSL reasoning and composition
26. FormaSL-native capability obligation
H1 Reasoning must materially support reasoning whose premise/consequence semantics depend on dimensions such as:
N-ary role-incidence
higher-order referents
Claim / Observation / Prediction standing
issuer / authority
scope / frame / context
time / revision
conflict / plurality
hypothetical status
provenance / support / derivation dependence
Not every rule/profile must consume every dimension.
PremiseAdmissible remains the owner of situated premise selection.
27. Cross-regime composition
Important valid routes include:
Query -> Reasoning
Reasoning -> Query
Analysis/Prediction -> Reasoning under PremiseAdmissible
Query -> Analysis -> Reasoning
Hypothetical basis -> Reasoning
Reasoning consequence -> explicit later adoption/source-authoring if authorized
Preserve:
QueryAnswer != SemanticConsequence
Prediction != SemanticConsequence
Prediction != Truth
SemanticConsequence != Claim
SemanticConsequence != Decision
HypotheticalConsequence != BaselineConsequence
Learned-rule candidates require explicit adoption before becoming TheoryRule.
Part VI — provider architecture
28. Open reasoner provider catalog
Reasoner providers are realization-only.
Potential providers may implement Datalog, RDF rules, existential/warded rules, ASP or other logic engines, but provider branding is not conformance evidence.
ReasonerEngine != ConsequenceRelationAuthority
ProviderSupports("Datalog") -/-> Supports(StratifiedRules.v1)
Provider matching must cover the exact admitted profile semantics, closure, equality, aggregation, existential, completion and artifact policy.
29. Reasoner-default firewall
No provider default may silently determine:
closed-world / NAF semantics
signed complement relation
unique-name assumption
equality semantics
aggregate multiplicity / empty semantics
value-generation safety
existential witness identity
Skolemization meaning
chase variant as semantic authority
completion / termination
conflict / explosion behavior
proof/provenance interpretation
ReasonerDefault != ReasoningSemantics
30. Mandatory H1 reference profile set
The durable reference/conformance owner is:
REASONING-H1-REFERENCE-PROFILE-SET.md
It includes R1/R2/R3 and the bounded reference witness requirements.
REFERENCE PROFILE SET
!= TOTAL REASONING CONTRACT CATALOG
!= REASONER PROVIDER CATALOG
This prevents the open-profile architecture from degenerating into an empty engine hook.
31. Deliberate non-requirements
H1 does not require every logic class as a mandatory profile.
Currently non-mandatory/open include:
combined warded + stratified-negation profile
ASP / stable-model semantics
defeasible / prioritized reasoning
probabilistic logic
full first-order theorem proving
all Description Logic / OWL profiles
unrestricted existential rules
higher-order logic
public anonymous universal-model graph
one universal proof/certificate format
These may be admitted later through additional exact ReasoningContracts without reopening the core unless they require a new constitutive semantic mechanism.
32. Reopen triggers
Reopen this contract on material evidence such as:
R2 closure/NAF cannot preserve situated premise semantics
R2 aggregate/value safety is insufficient for finite completion
signed conflict semantics collapses distinct standing/content
R3 warded profile cannot preserve typed role-incidence meaning
R3 requires anonymous witness -> domain identity promotion
certain-answer semantics requires unowned Query/standing changes
reference profiles cannot be realized without engine-defined semantics
mandatory profile set is functionally below a competent H1 reasoning floor
P3 cannot preserve profile/provider/completion correspondence
Implementation convenience or preference for another reasoner is not itself a reopen trigger.
33. Closure state
REASONING_CAPABILITY_ADEQUACY = PASS
R1 POSITIVE SAFE PROFILE = RATIFIED
R2 STRATIFIED PROFILE = RATIFIED
R3 WARDED EXISTENTIAL PROFILE = RATIFIED
SIGNED CONFLICT SEMANTICS = RATIFIED
GROUNDED DERIVATION CAPABILITY = RATIFIED FOR REFERENCE SLICE
REASONING CONTRACT CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
REASONER PROVIDER CATALOG = OPEN / REALIZATION-ONLY
EMPTY REASONER HOOK = REJECTED
REASONING_BLOCKING_UNKNOWN = NONE AT THIS HORIZON
P3 REASONING CHANGE IMPACT = REQUIRED / DOWNSTREAM
P3L INFER SURFACE = PAUSED
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — H1 Semantic Transformation Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — SEMANTIC TRANSFORMATION CAPABILITY OWNER
Amends/specializes: COMPUTATIONAL-REGIME-BOUNDARIES.md §8 for the H1 productive Transformation envelope
Consumes: LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, QUERY-CAPABILITY-CONTRACT.md, ANALYSIS-CAPABILITY-CONTRACT.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md, SEMANTIC-LIFECYCLE-TRANSITIONS.md
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../TRANSFORMATION-CAPABILITY-TERMINAL-REAUDIT-1.md, W1..W4
Ratified candidate basis: ../TRANSFORMATION-CAPABILITY-HARDENING-2.md + ../TRANSFORMATION-CAPABILITY-HARDENING-3.md
Date: 2026-08-22
Purpose: close a serious H1 source→target semantic transformation capability with declarative structural mapping and reusable graph→ML projection while preserving identity, standing, loss, lineage, source authority and realization boundaries.
1. Owner decision
TRANSFORMATION_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
TRANSFORMATION_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
TRANSFORMATION_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
TRANSFORMATION_COMPOSITIONAL_CAPABILITY = PASS
TRANSFORMATION_CAPABILITY_ADEQUACY = PASS
The original generic TransformationContract remains semantically valid. H1 productive capability is now guaranteed by the reference profiles owned by TRANSFORMATION-H1-REFERENCE-PROFILE-SET.md.
2. Transformation jurisdiction
Semantic Transformation creates an independently meaningful target artifact under an explicit source→target mapping contract.
SemanticTransformation != Query
SemanticTransformation != Analysis
SemanticTransformation != Reasoning
SemanticTransformation != SourceRevision
SemanticTransformation != AuthoritativeSourceEvolution
SemanticTransformation != P3Lowering
Query-local result construction remains Query when it creates only result-local values/views. A mapping that creates a reusable independently meaningful target artifact crosses into Transformation.
3. Standing authority
Every new Transformation output is introduced under:
TransformedArtifact(TransformationContract)
standing.
Transformation alone cannot introduce:
Claim
Truth
Observation
SemanticConsequence
Decision
Authorization
AuthoritativeSourceState
Target payload may encode content resembling those categories, but shape does not confer standing.
ClaimShapedPayload -/-> ClaimStanding
Any later assertion, observation, reasoning, decision, admission or source incorporation is a separate semantic stage.
4. Open Transformation contract architecture
The total TransformationContract catalog is open/versioned/admission-governed.
Distinguish:
TransformationContractDefinitionAvailable
TransformationContractResolved
TransformationContractWellFormed
TransformationContractAdmitted
TransformationContractExecutableAvailable
ContractRegistry != AdmissionAuthority
ContractAdmitted -/-> ProviderAvailable
An admitted contract closes/references as material:
identity/revision
finite named source domain set
exact source semantic bases/revisions
source matcher contracts
finite named target domain/artifact set
target semantic contracts
target identity namespaces/policies
mapping/construction rules
pure value functions
collision/merge policy
material coverage/preservation/loss policy
fine-grained transformation dependence
completion/finalization criterion
provider-independent conformance relation
5. Source domain semantics
A Transformation application has an exact finite:
TransformationSourceDomainSet
of one or more named semantic artifacts/bases.
Every mutable source alias is resolved/sealed to the exact revision used by that application before material source matching.
ProviderReadableData -/-> TransformationSourceDomain
MutableAlias != TransformationSourceRevisionIdentity
Multiple source domains do not imply semantic merge or identity unification.
6. Target artifact semantics
An application produces a finite TransformationTargetDomainSet of one or more independently meaningful TransformedArtifact results/domains.
Each target declares/references:
target semantic schema/type contract
TargetIdentityNamespace where needed
target-local identity policy
target formation/well-typedness requirements
result identity/completion policy
Target creation does not mutate the source.
Part I — T1 StructuralMapping.v1
7. T1 semantic model
StructuralMapping.v1 is a declarative source-driven mapping profile.
Conceptually:
frozen TransformationSourceDomainSet
-> ratified Query source matcher(s)
-> complete SourceMatchWitness / SourceMatchFamily
-> declarative TargetContribution set
-> deterministic target finalization
-> TransformedArtifact
T1 rules do not read partially constructed target state.
RuleOrder != TransformationSemantics
ProviderExecutionOrder != TransformationSemantics
A future operational/imperative profile may explicitly choose other semantics; T1 does not.
8. Source match modes
T1 supports at least:
PER_MATCH
PER_DISTINCT_SOURCE_KEY
PER_GROUP
All source/group keys use exact typed equality/definedness. Group/key components must be definitely bound or governed by an explicit missing-key contract.
For PER_GROUP, complete target construction requires complete source-match groups.
MatchPrefixGroup != CompleteSourceGroup
9. Target contributions
A rule application emits zero or more TargetContributions containing/referencing as material:
target domain
constructor identity
TargetConstructionKey
TargetIdentityStability
contribution content
TargetReferenceKey dependencies
source witness/family refs
rule/guard/value function refs
fine-grained transformation dependence
A contribution is not yet a finalized target element.
T1 supports:
one match -> one target element
one match -> many target elements
many matches/group -> one target element
many matches/group -> many correlated target elements
10. Target identity classes
Keep distinct:
SourceSemanticReferentIdentity
SourceArtifactIdentity
TargetIdentityNamespace
TargetLocalElementIdentity
TransformedArtifactResultIdentity
TargetElementOccurrence/content state
AuthoritativeSourceIdentity
New target elements use target-local identity only.
TargetLocalElementIdentity -/-> AuthoritativeSourceSemanticReferentIdentity
An existing semantic referent may be referenced only through an already-resolved semantic ref/identity-preservation contract.
SourceArtifactIdentity != SourceSemanticReferentIdentity
11. Target identity stability
Identity-bearing constructors declare:
STABLE_BY_SEMANTIC_KEY
BASIS_REVISION_SCOPED
TRANSFORMATION_APPLICATION_SCOPED
with a stable TargetIdentityNamespace.
STABLE_BY_SEMANTIC_KEY permits one target-local identity to recur across different result artifacts while each result has a distinct target-element occurrence/content/dependence state.
A construction-key change normally means a different target-local identity; continuity across key changes requires an explicit TargetIdentityEvolutionContract.
12. Target references and N-ary construction
Target constructors may reference:
existing semantic referent by resolved ref
another target-local element by TargetReferenceKey
Provider object handles are not semantic authority.
Unresolved/ambiguous target references fail finalization.
Target N-ary relation construction explicitly declares relation contract, local identity/construction key, named roles, participant expressions and qualifiers.
SameParticipants -/-> SameTargetRelationInstance
unless the target construction/equivalence contract explicitly says so.
13. Target construction key / coalescence
TargetConstructionKey is representation-independent and target-domain scoped.
When multiple contributions share a key, one policy applies:
COALESCE_EQUIVALENT
REJECT_ANY_COLLISION
REQUIRE_EXPLICIT_MERGE
Equivalent coalescence requires exact content equivalence and unions material dependence.
An explicit TargetMergeContract owns any real merge of complementary/conflicting contributions.
ProviderInsertionOrder != TargetMergeSemantics
14. Target coalescence vs source identity
Many source refs/matches may contribute to one target-local element without establishing source co-reference.
TargetContributionCoalescence
!= SourceSemanticReferentIdentityEquivalence
!= CoReferenceJudgment
Normalized/string-equal target keys can group/fuse target-local content but do not establish source semantic identity equality.
All contributing source refs remain separately reconstructible where material.
15. Value/collection construction
T1 target values may use versioned typed pure functions for copying, renaming/rebinding, literal/default values, finite arithmetic, conditionals, normalization/canonicalization and finite collection construction.
For collections, exact semantics include:
SET
BAG/MULTISET
ORDERED_LIST
plus element equality, multiplicity and ordering where applicable.
ProviderIterationOrder != TargetCollectionOrder
Arbitrary provider callbacks do not define semantic output.
16. Lexical normalization vs identity
Preserve:
IdentifierLexicalValue
IdentifierLexicalNormalization
SemanticIdentifier
SemanticReferentIdentity
IdentifierAuthority
LexicalNormalizationEqual
-/-> SemanticIdentifierEqual
-/-> SemanticReferentIdentityEqual
Normalized values may intentionally define target-local construction keys only under the declared contract.
17. Coverage / preservation / loss
Every material transformation distinguishes:
TransformationInputScope
MaterialCoverageContract
MappingRuleMatchDomain
and chooses one preservation claim mode:
NO_GLOBAL_PRESERVATION_CLAIM
COVERAGE_PRESERVED_DIRECTLY
COVERAGE_PRESERVED_DIRECTLY_OR_BY_REFERENCE
COVERAGE_LOSSY_WITH_EXPLICIT_DISPOSITIONS
Material dispositions include:
PRESERVE_DIRECTLY
PRESERVE_BY_REFERENCE
TRANSFORM
DERIVE
RESTRICT_EXPLICIT
DROP_EXPLICIT
NOT_APPLICABLE
UNKNOWN blocks a preservation claim. ACCIDENTALLY_LOST is a conformance defect.
Lineage alone cannot satisfy a direct/self-contained preservation claim.
Where needed, a CoverageReconstructionRelation defines the promised semantic preservation without implying bidirectional putback.
18. Fine-grained transformation dependence
Every material target element/value preserves or reconstructs direct dependence on, as applicable:
TransformationContract/rule/constructor/merge revisions
source domains/basis revisions
SourceMatchWitness/SourceMatchFamily refs
source artifact/referent refs
pure function/expression revisions
construction/reference keys
all collision/coalescence contributors
coverage/loss dispositions
Keep distinct:
TransformationDependence
!= DomainProvenance
!= ReasoningDerivation
!= EvidentialSupport
!= RuntimeTrace
Ratified Query witness/multiplicity distinctions remain material where required.
19. Composition of dependence/loss
For T1: S->A then T2: A->B, B retains direct dependence on A plus transitive transformation-dependence history back to S where material.
Composition cannot launder earlier loss:
ACCIDENTALLY_LOST -> composed defect
UNKNOWN -> composed UNKNOWN
DROP_EXPLICIT -> remains not preserved from original source
RESTRICT_EXPLICIT -> remains restriction
PRESERVE -> TRANSFORM -> transformed relative to original
Later independent reconstruction from another source is a new derivation/dependence, not retroactive preservation.
20. T1 finalization/completion
A complete T1 result requires:
all material source matcher/group contracts complete
complete TargetContribution family
all target reference keys resolved
all collisions resolved by declared policy
TargetWellFormed / TargetWellTyped
required transformation dependence available
all material coverage dispositions resolved
TransformationComplete
!= TargetConformant(all policies)
!= TargetAdmissible
!= TargetAuthorized
Validation/Conformance/Admission remain separate stages unless explicitly composed.
Part II — T2 GraphMLProjection.v1
21. T2 role
T2 preserves/refines the V1 PROJECT capability as a reusable graph/subgraph→ML-ready semantic TransformedArtifact.
PROJECT capability = PRESERVE + REFINE
PROJECT keyword = P3L OPEN
T2 is not a physical tensor/storage contract.
22. T2 source and target
T2 consumes an exact semantic graph/subgraph basis such as a ratified QueryGraphView.
The target closes at least:
artifact identity
subject/reference correspondence
SemanticFeatureIdentity / FeatureCoordinateIdentity
feature schema/order/value domains
role/N-ary topology representation semantics
weight/semiring interpretation where used
normalization/window semantics
feature-hash contract where used
missing/unknown/conflict encoding
source/basis revision
fine-grained transformation dependence
explicit coverage/loss policy
MLReadyArtifact != PhysicalTensorBuffer
23. Feature hashing / coordinates
When hashing is used, semantic contract includes:
hash function/revision
dimension
seed/salt where material
source-feature identity encoding
sign function if used
collision reducer
numeric type/overflow behavior
and distinguishes:
SemanticFeatureIdentity
FeatureCoordinateIdentity
PhysicalTensorColumnIndex
Provider physical reordering is allowed only under preserved correspondence.
24. Missing/conflict semantics
T2 explicitly declares how UNBOUND, Unknown, Hidden, conflicting values and NotApplicable are encoded/rejected/preserved per material feature family.
UNBOUND != semantic NULL != Unknown
Unknown != numeric zero
unless the exact feature contract deliberately defines another encoding.
25. N-ary role/topology mapping
When role/N-ary semantics are material, T2 must explicitly encode them through role-specific channels, incidence structure, relation-instance target elements, or another admitted mapping.
No universal clique/star/binary flattening is implicit.
RoleLayoutPosition != SemanticRoleIdentity
26. T2 no-shadowing
A downstream consumer accepting explicit T2 artifact T consumes that exact semantic artifact.
Provider-local lowering may encode it, but cannot ignore T and silently recompute a different source→feature/topology transformation.
P3Lowering != SemanticRetransformation
Part III — catalog/composition boundaries
27. Open contract/provider catalogs
The total TransformationContract catalog remains open. Future profiles may include DPO/SPO graph transformation, bidirectional lenses, incremental/streaming transforms, imperative operational transforms, schema migration or external-model-specific mappings.
Provider catalogs are realization-only.
TransformationProvider != MappingSemanticAuthority
ProviderDefaultMapping != TransformationSemantics
No provider is selected by this owner.
28. Bidirectional/source-update boundary
T1/T2 are forward transformations.
ForwardTransformation -/-> AuthorizedBackwardUpdate
A bidirectional/lens profile must separately close consistency/putback laws and source revision/admission authority.
Transformation output never mutates .fsl merely because a target can be mapped back.
29. Cross-regime composition
Valid routes include:
Query -> T1/T2
T1 -> T1/T2
T1/T2 -> Query
T1/T2 -> Analysis
T1/T2 -> Reasoning under PremiseAdmissible
T1/T2 -> Validation/Conformance
T1/T2 -> explicit later source incorporation/revision
Every boundary preserves exact standing, artifact identity, basis and material transformation dependence.
30. Mandatory reference profile set
Durable reference owner:
TRANSFORMATION-H1-REFERENCE-PROFILE-SET.md
The set contains T1/T2 and W1..W4 reference obligations, preventing an empty generic mapping/provider hook.
31. Reopen triggers
Reopen on material evidence such as:
T1 cannot express a competent forward graph/model mapping floor
target-local identity cannot remain separate from source/domain identity
order-independent target contribution semantics prove insufficient
coverage/loss claims cannot be made falsifiable
composition loses material lineage/loss state
T2 cannot represent native role-incidence graph→ML semantics
Transformation requires foreign standing/source-authority introduction
provider realization requires semantics not owned by the contract
Implementation convenience or preference for QVT/ATL/DPO/another engine is not itself a reopen trigger.
32. Closure state
TRANSFORMATION_CAPABILITY_ADEQUACY = PASS
T1 STRUCTURAL MAPPING = RATIFIED
T2 GRAPH-ML PROJECTION = RATIFIED
TRANSFORMATION CONTRACT CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
TRANSFORMATION PROVIDER CATALOG = OPEN / REALIZATION-ONLY
FOREIGN STANDING INTRODUCTION BY TRANSFORM = FORBIDDEN
NEW AUTHORITATIVE REFERENT BY TRANSFORM = FORBIDDEN
BIDIRECTIONAL PUTBACK = NOT REQUIRED H1
TRANSFORMATION_BLOCKING_UNKNOWN = NONE AT THIS HORIZON
P3 TRANSFORMATION CHANGE IMPACT = REQUIRED / DOWNSTREAM
P3L TRANSFORM / PROJECT SURFACE = PAUSED
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — Computational Regime Boundaries
Status: STABLE / NORMATIVE DESIGN — CB-L3
Authority: DOWNSTREAM NORMATIVE DESIGN, subordinate to FORMASL-INTENT.md, FORMAL-WORLD-MODEL.md, SEMANTIC-INVARIANTS.md, SEMANTIC-CONTINUITY.md, ARCHITECTURE.md, LANGUAGE-DEFINITION-FOUNDATIONS.md and SITUATED-RESULT-CONTRACT.md
Bundle: CB-L3 — COMPUTATIONAL REGIME BOUNDARIES
Date: 2026-08-22
Role: close the H1 semantic boundaries and minimum contracts for Query, Analysis/Prediction, Reasoning and Semantic Transformation, including their composition, result-standing introduction, executable H1 kernel obligations and realization boundary, without freezing final surface syntax, one universal computational calculus, concrete engines, IR or runtime representation.
1. Scope
This contract closes the CB-L3 obligations:
B3 — Query / structural-semantic retrieval
B4 — Graph analysis / ML / prediction
B5 — Reasoning / semantic inference
B9 — Semantic transformation / specialized projection
It determines enough language semantics that later CB-L4, CB-L5/P2B, P3 and implementation do not need to invent what computational results mean or silently classify computations by engine/algorithm.
It does not select:
- final keywords or family count;
- final concrete syntax or EBNF;
- one universal query algebra beyond the H1 minimum;
- one universal reasoning logic;
- a fixed catalog of graph algorithms or ML models;
- one provenance algebra;
- one universal result ADT;
- one IR or planner representation;
.fspprovider/engine architecture;- storage/materialization formats;
- implementation.
This bundle consumes CB-L1 language/reference/type/elaboration foundations and CB-L2 situated-result semantics. It does not reopen them absent a material reopen trigger.
2. Governing non-collapses
QueryAnswer != SemanticConsequence
QueryAnswer != Truth
AnalysisResult != SemanticConsequence
Prediction != SemanticConsequence
Prediction != Truth
ModelScore != Truth
Embedding != SemanticIdentity
SemanticConsequence != Claim
SemanticConsequence != Truth
TransformedArtifact != QueryAnswer
SemanticTransformation != P3Lowering
MultiHop != Reasoning
RecursivePath != Reasoning
UsesRecursion != Reasoning
UsesDatalog != Reasoning
UsesGNN != SemanticConsequence
InputAccepts != PremiseAdmissible
QueryFound != PremiseAdmissible
ConsequenceContentEquivalence
!= ResultArtifactIdentity
!= DerivationIdentity
Result != Decision
Computation != Assertion
Producer != Issuer
Executor != Authority
SemanticCompleteness != RunTermination
OUT_OF_GAS != FIXPOINT
OUT_OF_GAS != FALSE
OUT_OF_GAS != EMPTY
OUT_OF_GAS != NO_PROOF
GraphMembership != Truth
NotInPositiveQueryAnswer -/-> False
MissingMatch -/-> NegativeConsequence
NECESSARY DISTINGUISHABILITY != MANDATORY ONTOLOGICAL BOX
3. Computational regime architecture
FormaSL H1 recognizes four semantic computational regime roles:
QUERY
ANALYSIS / PREDICTION
REASONING
SEMANTIC TRANSFORMATION
These are semantic jurisdictions/stages. They are not four mandatory primitive keywords, four engines, four runtime modules or mutually exclusive source constructs.
A source construct may elaborate into one or more semantic stages when those stages are materially distinct to interpretation or downstream composition.
SurfaceConstruct != ExactlyOneRegime
Regime != Engine
Regime != RuntimeProvider
Regime != PhysicalAlgorithm
For a material computational stage, semantic classification is governed by its official introduction relation and contracts:
StandingIntroductionRelation
ResultContract
InterpretationBasis
DependenceContract
CompletionContract
The implementation mechanism cannot classify the semantic regime by itself.
3.1 Material-stage criterion
A subcomputation is a distinct semantic stage when it has a distinct semantic contract/result/basis whose meaning is material to downstream interpretation, validation, provenance, composition or accountability.
An internal evaluator/optimizer/provider step that merely realizes the same semantic contract is not promoted to a semantic stage.
MATERIAL SEMANTIC SUBSTAGE
!= EVALUATION STRATEGY
!= OPTIMIZER STEP
!= PROVIDER PREPROCESSING BY DEFAULT
3.2 Shared result obligations
Every regime instantiates CB-L2 rather than defining an independent result universe.
Every composable regime result preserves or references, as applicable:
operation-specific StandingContract
PayloadContract
exact producing ResultContract revision
Interpretation Basis
material typed dependence/provenance roles
Semantic Completeness
PartialResultPolicy
assurance/reasoning-artifact links when present
accountability/production links when material
4. Standing-introduction authority
A runtime tag, enum, output field or provider assertion does not introduce semantic standing.
4.1 Query
QueryAnswer standing is introduced only through the satisfaction/evaluation relation of an admitted QueryContract.
Conceptually:
QuerySatisfies(Q, Basis, Answer)
-> Standing(Answer, QueryAnswer(Q))
4.2 Analysis / Prediction
An analytical standing is introduced only through the mathematical/algorithm/model relation declared by an admitted AnalysisContract.
Conceptually:
AnalysisProduces(A, Input, Basis, Output)
-> Standing(Output, AnalysisStanding(A))
AnalysisStanding(A) denotes the operation-specific standing contract, not one universal AnalysisResult ontology box.
4.3 Reasoning
Semantic-consequence standing is introduced only through the declared consequence relation of an admitted ReasoningContract over its theory/rule/premise basis.
Conceptually:
Consequence_R(Theory, PremiseBasis, C)
-> Standing(C, SemanticConsequence(R))
The existence of a rule engine, recursive computation, Datalog syntax or model call is insufficient.
4.4 Semantic Transformation
Transformed-artifact standing is introduced only through an admitted source-to-target TransformationContract.
Conceptually:
Transforms_T(Source, Basis, Target)
-> Standing(Target, TransformedArtifact(T))
A physical encoding/lowering change that preserves the same semantic artifact does not satisfy this introduction rule.
5. Query contract
5.1 Denotational authority
Query semantics is declarative: an admitted QueryContract defines what counts as a solution/answer over an Interpretation Basis.
EvaluatorAlgorithm != QueryDenotation
Indexing, graph traversal, automata, recursive evaluation, Datalog evaluation, shortest-path algorithms or another compliant mechanism may realize the query without becoming semantic authority.
5.2 H1 Query kernel
H1 Query supports at least:
positive pattern atoms over typed role-incidence semantic structure
binder introduction and reuse
solution binding / witness extraction
conjunction / joins
alternative / disjunctive matching
typed pure predicates / filters
projection / computed query expressions
subqueries / reusable query expressions
navigation / traversal / multi-hop
variable-length / recursive path expressions
path restrictors / selectors
ordinary query aggregation / grouping
explicit distinct / deduplication
basis-relative existence / non-match tests
semantic graph/subgraph answer views
The exact surface grammar and optimizer algebra remain open.
5.3 Query basis
A Query is evaluated relative to an explicit/reconstructible CB-L2 Interpretation Basis.
Matching a semantic artifact or graph element does not assert the truth of that artifact.
Matches(x) -/-> True(x)
A query over one context/frame/subgraph does not imply global answer validity.
5.4 Solution witnesses and multiplicity
A solution binding maps query binders to semantic referents/artifacts/participations/paths or values satisfying the QueryContract.
Distinct matches remain semantically distinguishable when they depend on distinct semantic relation instances, role participations or path witnesses even if later projection yields equal visible values.
DifferentMatchWitnesses
may project to
EqualVisibleValues
Raw Query matching therefore preserves witness/multiplicity distinction by default.
A QueryContract may explicitly request set/distinct projection. That transformation may remove duplicate visible payloads, but it may not select one arbitrary witness and erase materially relevant lineage.
DistinctCollapse != ProvenanceDiscard
The distinct result preserves or derives an equivalent dependence representation over the collapsed witness family where material.
5.5 Ordering and nondeterminism
Physical iteration order is non-semantic by default.
PhysicalIterationOrder != QueryResultOrder
Ordering, selector choice or nondeterminism becomes semantic only when the QueryContract explicitly declares it.
A construct such as ANY SHORTEST and ALL SHORTEST therefore has different result/completion semantics even if realized by related algorithms.
5.6 Path and recursive Query
MultiHop != Reasoning
RecursivePath != Reasoning
TransitiveClosureQuery != ReasoningByMechanism
A recursive/path computation remains Query when its result standing is introduced by Query satisfaction semantics.
A path contract declares, as material:
allowed step relation/role patterns
path length/bound/repetition rules
path identity/binding semantics
restrictor semantics
selector semantics
finite/streaming completion semantics
For cyclic/unbounded path spaces, a QueryContract must provide a finite selector/restrictor/bound or explicit streaming/incomplete semantics. Runtime truncation may not masquerade as semantic completion.
5.7 Shortest path boundary
Shortest path used as a declarative selector over the Query solution space remains Query.
A shortest-path distance, centrality quantity or other graph metric requested as an analytical measure is Analysis.
SameShortestPathAlgorithm != SameSemanticRegime
5.8 Aggregation boundary
Ordinary aggregation/grouping over Query bindings remains Query when its denotation is part of the QueryContract.
Examples include:
COUNT
SUM
AVG
MIN
MAX
GROUP BY
These operations are not Analysis by name alone.
An operation with similar mathematics belongs to Analysis when an AnalysisContract introduces an analytical measure/estimate/model output standing rather than ordinary QueryAnswer standing.
5.9 Absence and negative conditions
A Query may test absence of a match within its declared consulted basis.
This means absence of a satisfying Query match under the exact QueryContract and basis. It does not establish external-world nonexistence.
CompleteEmptyQueryResult -/-> NonexistenceAssertion
NotInPositiveQueryAnswer -/-> False
A candidate omitted because a predicate is unknown/undetermined acquires no negative semantic standing by omission alone.
Negation-as-failure or stronger negative conclusion requires an applicable explicit closure/reasoning contract.
5.10 Query result policy
Every QueryContract declares all materially relevant:
multiplicity / duplicate semantics
ordering semantics
path restrictor / selector semantics
nondeterminism semantics
finite / streaming result semantics
aggregation semantics where used
closure / repair / possible-world regime where used
5.11 Query completeness
CompleteUnder(QueryCriterion, Basis) means that the declared Query answer/selector semantics are complete under that exact basis and contract.
It does not mean complete knowledge of reality.
5.12 Query construction authority
Query answer construction may create result-local scalar/reference/graph-shaped payloads under QueryAnswer standing.
It may not, by construction alone:
mint authoritative domain identity
create a Claim
write or modify authoritative .fsl source
establish Truth
admit a theory declaration
If a construct creates an independently meaningful target semantic artifact through an explicit source-to-target mapping, that portion is a Semantic Transformation stage.
5.13 Query with material Reasoning substage
An entailment-/repair-aware query may compose:
ReasoningStage -> QueryStage
The user-facing result can remain QueryAnswer while the reasoning theory, consequence basis and material dependencies remain reconstructible.
UsesReasoningInternally -/-> OuterSemanticConsequenceStanding
6. Analysis / Prediction contract
6.1 Denotational authority
Analysis semantics is defined by a declared mathematical operator, algorithm specification or model when that operator/model is part of what the output means.
ModelMeaning != InferenceEngine
AnalysisOperator != RuntimeProvider
If changing the operator/model/semantic parameter changes the promised analytical result, that element belongs to semantic source/basis rather than ordinary realization choice.
6.2 Open standing family
Analysis is an open regime family. Its results may have distinct standings such as:
AnalyticalMeasure
Ranking
Partition / CommunityAssignment
GraphStatistic
Embedding
Prediction
Score / Estimate
Classification
LearnedCandidateRelation
LearnedRuleCandidate
The list is not closed.
Prediction != SemanticConsequence
Embedding != SemanticIdentity
ModelScore != Truth
6.3 AnalysisContract minimum
An H1 AnalysisContract declares at least:
contract identity/revision
accepted input StandingContract(s)
semantic operator / algorithm / model identity sufficient to define meaning
semantic parameters affecting the result
specific output StandingContract + PayloadContract
material Interpretation Basis dependencies
material Dependence roles
exact / approximate / stochastic guarantee when applicable
missing / unknown / unresolved / hidden / conflict treatment when material
completion criterion
partial-result policy
assurance requirements when promised
6.4 Semantic model/operator basis vs realization
Examples normally semantic when they affect the promised result:
algorithm/variant identity
model identity/revision/weights
PageRank damping parameter
feature contract
feature/preprocessing semantics
normalization semantics
threshold/calibration semantics
random/stochastic model semantics when material
Examples normally realization-only when semantics-preserving:
GPU vs CPU
kernel implementation
parallelism strategy
memory layout
batching
provider endpoint
.fsp may select a realization/provider for a declared model/operator. It may not silently substitute another semantic model or algorithm revision.
6.5 Historical model/operator basis
Every model/operator/algorithm revision material to result meaning is preserved or referenced immutably/reconstructibly.
MutableModelLocator != HistoricalModelBasis
ModelRevisionChange -/-> RetroactivePredictionReinterpretation
AlgorithmRevisionChange -/-> RetroactiveAnalysisReinterpretation
A mutable alias such as latest may exist for authoring convenience only if CB-L1 resolution/elaboration captures the concrete semantic revision needed by the result basis.
6.6 Exact, approximate and stochastic semantics
An AnalysisContract declares whether its promised result is exact, approximate or stochastic and any material error/tolerance/sampling/reproducibility semantics.
CompleteApproximation != ExactIdealResult
If the contract is exact, a realization may not silently substitute an approximate implementation outside exact equivalence.
ExactContract + ApproximateProvider
= incompatible absent explicit equivalence/tolerance bridge
Provider variation is allowed only within the AnalysisContract’s declared result-equivalence/accuracy envelope.
6.7 Missing, unknown and conflict treatment — H10
If an analytical output can materially depend on missing, unknown, unresolved, hidden or conflicting semantic input, the AnalysisContract must declare how those conditions participate in analysis semantics or identify an explicit prior semantic stage responsible for transforming them.
Admissible declared strategies may include, as appropriate:
reject incompatible input
preserve separate alternatives
ignore only under declared semantics
impute under a named imputation contract
aggregate under a named policy
use model-specific missing-value semantics
consume a conflict-robust prior result
repair/reconcile through an explicit semantic stage
Provider/runtime defaults are not semantic authority.
ProviderImputationDefault != AnalysisSemantics
ProviderConflictResolution != AnalysisSemantics
If the treatment itself creates a reusable/interpretable intermediate semantic artifact, it is represented through an explicit Transformation or other semantic stage; otherwise it may remain a declared subcontract of Analysis.
6.8 Analysis library/extensibility
H1 requires first-class ability to declare/invoke/compose AnalysisContracts.
It does not require PageRank, Louvain, every GNN architecture or statistical method to be primitive syntax.
Concrete analyses may come from core/stdlib, libraries/domain packs, imported semantic computation contracts or validated external providers, provided the semantic contract exists before realization.
6.9 Material internal substages
Analysis may internally use Query, Reasoning or Transformation.
If the substage is semantically material to output meaning/basis, it remains a typed CB-L2 dependency. If it is only an equivalent execution strategy, it remains realization detail.
7. Reasoning contract
7.1 Denotational authority
Reasoning is defined by an explicit consequence relation over a declared theory/rule/premise basis.
Reasoning
!= RuleEngineInvocation
!= DatalogSyntax
!= RecursiveEvaluation
A SemanticConsequence is situated consequence under a ReasoningContract, not universal Truth.
7.2 ReasoningContract minimum
A ReasoningContract declares:
contract identity/revision
Theory / rule basis
premise positions and premise-admission rules
consequence relation
rule/derivation semantics
completion contract
assumption/closure regime
result StandingContract
required dependence/derivation/proof policy
7.3 Premise admission
Reasoning owns a semantic premise-admission judgment:
PremiseAdmissible(x, R, position, Basis)
It may depend on:
x StandingContract
issuer/authority when relevant
scope/frame/time
assurance class
semantic completeness
hypothetical status
policy/theory-specific conditions
This judgment is distinct from CB-L2 result compatibility.
InputAccepts(x, R-input) -/-> PremiseAdmissible(x,R,p,B)
QueryFound(x) -/-> PremiseAdmissible(x,R,p,B)
Every candidate used at a reasoning premise position is checked through the ReasoningContract regardless of whether it was obtained by Query, index, cache, direct reference, prior consequence or external result.
Premise admission does not convert the premise into Truth or Claim if it did not already have that standing.
7.4 H1 positive safe-rule consequence profile
H1 includes one minimum executable reasoning profile with:
finite set of rule declarations
stable rule identity/revision
positive typed body atoms/patterns
conjunctive bodies
range-restricted head variables
explicit constants only within the contract's finite active domain
recursion allowed
positive least-fixpoint consequence semantics
finite active ground-term domain fixed by the admitted reasoning basis
no unrestricted function symbols
no unrestricted existential-head witnesses
no head-driven active-domain expansion
The profile is Datalog-like in semantic properties but is defined over FormaSL typed semantic patterns rather than by copying one relational syntax or implementation.
7.5 Active-domain preservation — H11
The H1 positive profile requires every rule-head argument/reference to come from the finite ground-term universe fixed by the admitted reasoning basis, including as applicable:
body-bound values/references
source-declared constants/literals included in the finite active domain
Rule-head evaluation may not generate a fresh ground value/referent outside that finite universe.
H1RuleEvaluation -/-> ActiveDomainExpansion
Pure body predicates/computations may test/compare values without adding fresh consequence-domain terms.
Generated-value, existential-witness or fresh-referent reasoning requires another explicit ReasoningContract that closes identity, termination/completion and continuity.
7.6 Rule-head identity and authority
A rule-head textual name cannot mint semantic referent identity.
Every non-variable head reference/value must already be well-formed under CB-L1 and the finite H1 active-domain contract.
RuleTextName -/-> NewSemanticReferentIdentity
A rule head constructs derived consequence content under the ReasoningContract. It does not:
create a Claim
assert Truth
modify authoritative .fsl source
insert into the baseline authoritative graph by default
Later adoption/assertion/source incorporation is CB-L4.
7.7 Fixpoint content domain
Least-fixpoint growth for the H1 positive profile occurs over a ReasoningContract-defined consequence-content equivalence/key domain, not over fresh result or derivation identities.
ConsequenceContentEquivalence
!= ResultArtifactIdentity
!= DerivationIdentity
Multiple derivations of equivalent consequence content remain distinct derivation/provenance support without manufacturing infinitely many consequence contents.
Given:
finite admitted basis
finite rule set
finite active ground-term domain
no function-symbol/existential/head-driven expansion
the set of possible ground consequence contents is finite. The positive immediate-consequence relation is monotone over that finite domain, and iteration from grounded admitted premises stabilizes at the least fixpoint.
7.8 Non-self-grounding
A positive recursive cycle without grounded admitted support does not create consequence merely by cyclic reference.
RecursiveRuleCycle -/-> GroundedConsequence
For example, p(x) :- p(x) with no grounded admitted p does not bootstrap itself into consequence.
7.9 Completion
For the H1 positive finite rule profile:
CompleteUnder(LeastFixpoint, Theory/Rule/PremiseBasis)
is the semantic completion criterion.
Gas/budget remains run policy/termination and cannot establish fixpoint.
Other ReasoningContracts may define other completion criteria; Reasoning globally is not identified with least fixpoint.
7.10 Negation
The H1 minimum profile is positive.
Stratified negation-as-failure may be admitted only under an explicit predicate/basis closure regime sufficient to justify that semantic use.
MissingMatch -/-> NegativeConsequence
Explicit negative semantic content is distinct from negation-as-failure.
7.11 Existential/generated-witness reasoning
Unrestricted existential heads, function-symbol generation and ontological chase are not part of the H1 minimum profile.
They are not forbidden future capabilities.
A future existential/generated-witness profile must close at least:
fresh/witness referent identity
chase/termination semantics
finite/infinite universal-model behavior
query-answer relation
decidability/complexity commitments needed by product
continuity of generated witnesses
Warded-Datalog-like approaches are theory-supported candidates, not a current normative selection.
7.12 Derivation, support, provenance and proof
A consequence preserves/references materially relevant:
premise dependencies
rule/theory dependencies
assumption/hypothesis dependencies
reasoning basis
Multiple derivations may support one consequence content.
Derivation != Provenance
Derivation != Support
ProofObject != RuntimeTrace
Whether a derivation counts as formal proof/certificate depends on a separate assurance/checker contract under CB-L2/P5.
7.13 Model/Analysis as premise
A Prediction/Analysis result may enter a reasoning premise only through explicit PremiseAdmissible semantics.
PredictionAsPremise != PredictionBecomesFact
A ReasoningContract may declare a rule such as “if model M predicts X above threshold T, derive consequence C under R,” but it must preserve dependence on the predictive standing/model/basis.
7.14 Learned rule candidate
A learned/generated rule-shaped result remains a candidate standing until an explicit adoption/source-authoring transition occurs.
LearnedRuleCandidate -/-> TheoryRule
PayloadShapeCompatibility -/-> TheoryRuleStanding
A ReasoningContract may consume a candidate standing if explicitly admitted, but this does not mutate the theory or promote the candidate to authoritative rule standing.
8. Semantic Transformation contract
8.1 Denotational authority
A Semantic Transformation maps/restricts/re-expresses source semantic material into a target artifact under an explicit source-to-target correspondence contract.
Transforms_T(Source, Basis, Target)
The target is a CB-L2 situated result/artifact with its own standing, basis, dependence and completion.
8.2 TransformationContract minimum
An H1 TransformationContract declares:
identity/revision
accepted source StandingContract / artifact contract
target artifact StandingContract
source-to-target transformation relation
semantic parameters determining target content
material Interpretation Basis / Dependence
completion criterion
continuity/loss dispositions
8.3 Query answer construction vs Transformation
Query-side constructed values/graphs remain Query when their meaning is only answer construction over satisfying bindings.
A distinct Transformation stage exists when an independently meaningful target semantic artifact is produced under a source-to-target mapping with continuity/loss obligations.
One surface construct may elaborate:
QueryStage -> TransformationStage
8.4 Transformation vs P3 lowering
SemanticTransformation != P3Lowering
A Semantic Transformation is visible in source/result meaning. P3 lowering changes implementation representation while realizing the same already-defined semantic contract.
Internal tensor/sparse/bytecode/IR conversion does not introduce transformed-artifact standing by itself.
8.5 Specialized graph-to-ML capability
H1 preserves first-class capability to explicitly transform graph/subgraph semantic material into a reusable ML-ready representation when that intermediate artifact is semantically visible/composable.
The capability is retained from V1 Projection but refined under the generic Transformation contract.
PROJECT capability = PRESERVE + REFINE
PROJECT keyword = OPEN
This capability is not a generic query-view projection by default.
8.6 Semantic vs physical projection parameters
For explicit graph-to-ML transformation, parameters that change target artifact values/meaning belong to the TransformationContract, as applicable:
source subgraph/query basis
feature selection/mapping
feature-hash function/dimension/seed when collisions affect values
weight/semiring interpretation
normalization semantics
window semantics
role/N-ary encoding contract
Physical sparse representation such as:
CSR
CSC
CSF
belongs to P3 realization by default when it is an equivalent storage/access encoding.
An external interchange promise of an exact serialization is a separate representation/export contract, not ordinary semantic projection meaning.
8.7 Explicit artifact no-shadowing
When source-visible Transformation produces artifact T, a downstream consumer accepting T consumes that exact semantic artifact contract.
Provider-local preprocessing may lower/encode T; it may not silently discard T and rerun a different semantic source-to-feature mapping from the original graph while claiming the same composition.
Further semantic feature transformation is either:
an explicit semantic subcontract/dependency of the consumer
or
another explicit Transformation stage
P3Lowering != SemanticRetransformation
8.8 Continuity/loss
Every transformation declares the applicable disposition for material information:
PRESERVE
TRANSFORM
DERIVE
RESTRICT
DISCARD-EXPLICIT
NOT-APPLICABLE
Implicit semantic loss is forbidden.
The V1 SD-02 projection-lineage loss is explicitly prohibited.
8.9 Feature preprocessing inside Analysis
Feature/preprocessing semantics may live inside an AnalysisContract without a separately referable Transformation result when no independent semantic artifact boundary is exposed.
A separate Transformation stage is required when the intermediate is itself semantically exposed/reused or the mapping is independently meaningful to composition/accountability.
9. Cross-regime composition
Regimes compose through CB-L2 InputAccepts / DirectlyComposable, plus any regime-specific admission relation.
9.1 Query -> Analysis
Allowed when the AnalysisContract accepts the QueryAnswer standing, payload, basis and completeness class.
9.2 Query -> Reasoning
A QueryAnswer can be structurally compatible with a reasoning input and still be semantically inadmissible as a premise.
The edge requires:
InputAccepts
+
PremiseAdmissible
9.3 Reasoning -> Query
A Query may inspect/select SemanticConsequences as semantic artifacts without promoting them to Claims/Truth.
An entailment-aware query may materialize a Reasoning stage followed by Query.
9.4 Analysis -> Reasoning
A prediction/score/classification can be a premise only under explicit premise-admission semantics. The derived consequence remains dependent on the analytical result and its model/basis.
9.5 Query -> Transformation -> Analysis
An explicit ML-feature pipeline may be:
QueryAnswer
-> TransformedArtifact
-> AnalysisResult
Each boundary uses the exact contract revisions and CB-L2 dependence/basis continuity.
9.6 Analysis -> adoption -> Reasoning
A learned rule/model-discovered candidate does not directly become theory.
The valid architecture is conceptually:
AnalysisResult / LearnedRuleCandidate
-> explicit CB-L4 adoption/source-authoring transition
-> TheoryRule
-> Reasoning
9.7 Nested stage dependence
When one regime uses another semantic regime in a way material to output interpretation, the nested result/contract remains a typed dependency.
MaterialNestedStage -/-> HiddenImplementationDetail
When the internal method is semantically interchangeable under the same external contract, it may remain realization detail.
10. Elaboration and surface jurisdiction
CB-L1 elaboration must be able to make material computational stages explicit even if surface syntax compresses them.
Conceptually:
SURFACE
-> RESOLUTION / STATIC CHECKS
-> SEMANTIC STAGE COMPOSITION
The H1 surface may plausibly use familiar verbs such as:
match
analyze
inference
project
but those names are not semantic authorities and are not frozen by this contract.
Keyword != StandingIntroductionAuthority
The surface should expose semantic distinctions when they affect author intent, diagnostics or composition, while CB-L2 basis/provenance plumbing may remain implicit-by-contract when reconstructible.
SIMPLE SURFACE != SIMPLIFIED SEMANTICS
11. V1 dispositions
The following dispositions apply to CB-L3-relevant V1 capability:
V1 MATCH
= PRESERVE + GENERALIZE as Query capability/surface evidence
V1 ANALYZE ordinary aggregation
= RECLASSIFY into Query semantics when it is ordinary query aggregation
V1 ANALYZE graph/statistical/algorithmic/model computation
= PRESERVE + REFINE under AnalysisContracts
V1 INFERENCE logical/rule consequence
= PRESERVE + REFINE under ReasoningContracts
V1 INFERENCE algorithmic/model modalities
= REPLACE by Query/Analysis/Prediction or explicit hybrid contracts as appropriate
V1 PROJECTION semantic graph->ML artifact
= PRESERVE + REFINE under TransformationContract
V1 PROJECTION physical CSR/CSC/CSF materialization
= MOVE TO P3 realization by default
No V1 family count or calculus decomposition is promoted as FormaSL architecture.
12. Realization boundary
CB-L3 closes meaning before executable realization.
SemanticRegimeContract
!= RealizationBinding
!= ProviderEngine
!= RuntimeExecution
!= PhysicalStorage
P3 may choose evaluators, algorithms, engines, model runtimes, sparse formats, indexes, parallelization and other realization techniques only inside the semantic equivalence/accuracy/completion boundaries defined here and by CB-L2.
P3 may not:
classify a result as Query/Analysis/Reasoning/Transformation by provider choice
change model/operator semantic revision
change missing/conflict policy
turn Query absence into semantic negation
turn model prediction into consequence
turn consequence into Claim
replace an explicit Transformation artifact with a different semantic transform
use runtime termination as semantic completion
13. Selective formalization routing
CB-L3 semantic closure does not authorize immediate mechanization.
FORMALIZATION_REQUIRED_FOR_CB_L3_SEMANTIC_CLOSURE = NO
MECHANIZATION_AUTHORIZED = NO
Immediate global mechanization would risk freezing one shadow query/rule/model/transformation representation before the Explicit Semantic Program/P3 carrier contracts are closed.
High-risk obligations retained for P5/P9 include at least:
FO-L3-01 regime-standing introduction authority
FO-L3-02 Query witness/multiplicity lineage preservation
FO-L3-03 Query completion/path-selector correctness
FO-L3-04 H1 rule well-formedness/range restriction
FO-L3-05 H1 positive consequence monotonicity + finite-domain fixpoint
FO-L3-06 consequence content / derivation / artifact identity separation
FO-L3-07 recursive non-self-grounding
FO-L3-08 premise-admission authority
FO-L3-09 no computational Claim/source promotion
FO-L3-10 Analysis model-revision non-retroactivity
FO-L3-11 Analysis realization accuracy/equivalence conformance
FO-L3-12 no provider-local unknown/conflict semantic policy
FO-L3-13 SemanticTransformation/P3 lowering correspondence boundary
FO-L3-14 explicit transformed-artifact preservation
FO-L3-15 learned-rule adoption anti-promotion
Each later row must receive an explicit evidence disposition such as REQUIRED-PRE-IMPLEMENTATION, REQUIRED-PRE-P9, another accepted evidence class or NOT-APPLICABLE with normative justification.
Proof of arbitrary enum separation, toy Datalog termination, provider self-attestation, tensor serialization equality or rule-payload type equality is not sufficient discharge of these obligations.
14. Open downstream questions
The following remain intentionally open and are not CB-L3 blocking unknowns:
- final concrete Query syntax/EBNF and optimizer;
- exact scalar/query standard library;
- richer Query features beyond the H1 kernel;
- exact path algebra beyond the obligations fixed here;
- existential/chase reasoning profiles;
- nonclassical/probabilistic/defeasible ReasoningContracts beyond their interface;
- exact Analysis algorithm/model library and packaging/registry mechanics;
- exact provenance/derivation algebra;
- exact
PROJECTsurface keyword and detailed source syntax; - exact representation of StandingContract/ResultContract in the executable semantic program;
- authoritative assertion/adoption/source lifecycle — CB-L4;
- governance/hypothesis/revision/action/effect/observation lifecycle — CB-L4;
- final heterogeneous whole-language composition — CB-L5/P2B;
.fsp, planner, provider, runtime and storage realization — P3;- required formal carriers/acceptance mechanisms — P5.
UNKNOWN remains preferable to selecting an implementation-convenient semantic mechanism outside this bundle.
15. Closure status
For the H1 acceptance horizon:
B3 QUERY = STABLE / CLOSED FOR CB-L3 SCOPE
B4 ANALYSIS / PREDICTION = STABLE / CLOSED FOR CB-L3 SCOPE
B5 REASONING = STABLE / CLOSED FOR CB-L3 SCOPE
B9 SEMANTIC TRANSFORMATION = STABLE / CLOSED FOR CB-L3 SCOPE
REGIME-STAGE COMPOSITION = STABLE / CLOSED FOR CB-L3 SCOPE
FORMATIVE SURFACE / DX = PASS
SEMANTIC CONTINUITY SC-D1..D11 = PASS
ACCIDENTALLY-LOST = NONE FOUND
V1 CAPABILITY REGRESSION = NONE FOUND FOR CB-L3 SCOPE
FORMALIZATION ROUTING = PASS / MECHANIZATION DEFERRED
CB-L3 BLOCKING UNKNOWN = NONE FOUND
CB-L3 = STABLE / TERMINAL FOR BUNDLE SCOPE
This does not imply:
P2B = PASS
LANGUAGE_SEMANTIC_CLOSURE = PASS
EXECUTABLE_LANGUAGE_ARCHITECTURE = AUTHORIZED
IMPLEMENTATION_READINESS = ESTABLISHED
IMPLEMENTATION = AUTHORIZED
FORMASL_LANGUAGE_COMPLETE = YES
The next conservative bundle is CB-L4 — SEMANTIC LIFECYCLE / GOVERNANCE / DYNAMICS.
16. Reopen triggers
Reopen CB-L3 only for material evidence such as:
- a counterexample showing two regimes cannot be compositionally distinguished under the official standing/introduction relations;
- a required H1 Query/Analysis/Reasoning/Transformation capability not expressible under this contract;
- an H1 rule-profile inconsistency, nontermination or self-grounding counterexample despite H11 assumptions;
- a continuity defect causing identity, basis, conflict, provenance, standing or completion to be accidentally lost;
- an executable-architecture impossibility that cannot be repaired without changing semantic meaning;
- a contradiction with a higher-authority contract or later STABLE lifecycle/composition decision;
- a formalization acceptance finding showing the current prose can be discharged by a materially weaker proposition.
A more convenient engine, prettier operator taxonomy or simpler implementation is not by itself a reopen trigger.
FormaSL - R2 Aggregate Correlation Bounded Amendment
Status: STABLE / MATERIALIZED - CURRENT (aggregate group-component locus)
Materialized: 2026-09-20 from campaign package formasl-r2-aggregate-semantic-closure-v0.2 file 02-R2-AGGREGATE-CORRELATION-AMENDMENT.md
Parent owners: current Reasoning and Concrete Language Surface authorities
Owner decision: OD-RC-R2-AGG-03
Scope: R2 rule aggregate group formation, member correlation, group binder identity and aggregate-value reference origin only
1. Jurisdiction
This amendment closes one demonstrated under-specification:
GROUP EXISTENCE
!= GROUP KEY VALUE
!= SOURCE MEMBER KEY
!= MEMBER-TO-GROUP CORRELATION
It does not reopen aggregate operator identity, exact static source identity, DISTINCT_REASONING_CONTENT_SET multiplicity, lower-stratum completion, aggregate floors or general Reasoning architecture.
Historical post-P9 artifacts remain frozen evidence and are not edited to retroactively contain this decision.
2. Semantic identities
R2 aggregate grouping distinguishes:
RuleBinderIdentity
SourceRoleIdentity
with:
RuleBinderIdentity != SourceRoleIdentity
Equal display spelling and equal declared type do not establish correspondence.
3. Complete grouping modes
3.1 MemberDerived
MemberDerived {
member_key: SourceMemberProjection,
output_binder: optional OuterBinder
}
A source member establishes every MemberDerived group coordinate. No surviving source member means no complete group containing a MemberDerived coordinate.
The optional output binder exists only when explicitly authored with as ?binder; it is not inferred from the source-role name.
3.2 SeededCorrelated
SeededCorrelated {
seed_key: OuterBinder,
member_key: SourceMemberProjection
}
The outer binder establishes the seeded group coordinate. A source member contributes iff it belongs to the exact aggregate source and its resolved member projection equals the seed value.
OuterSeed without a member projection is not an admitted final grouping mode.
4. Rule-aggregate authored surface
Replace the correlation-bearing by component locus with:
aggregate_group_component =
source_member_projection [ "as" witness_variable ]
| witness_variable ;
The by list remains in structural tuple order.
Examples:
by T.region
by T.region as ?region
by T.region as ?r, T.account as ?a
by ?r
This amendment changes only rule-level aggregate grouping. Query aggregate syntax is unchanged.
5. Independent positive binding
For classifying by Source.role as ?v, an independent positive binding is a binding that establishes ?v in the outer substitution independently of that aggregate group component.
The current R2 v1 minimum is a positive when atom binding ?v.
An already-authoritative explicit finite-domain binder also counts only when the live R2 contract and executable formation already establish it before aggregate evaluation.
The following are not independent bindings:
head occurrence
naf-only occurrence
where-only occurrence
aggregate result
another aggregate result
MemberDerived output binder
rule parameter declaration by itself
name/type coincidence
6. Surface mapping
by T.region
MemberDerived(member=T.region, output_binder=none)
No binder named ?region is synthesized.
by T.region as ?r
If IndependentPositiveBinding(?r):
SeededCorrelated(seed=?r, member=T.region)
Otherwise:
MemberDerived(member=T.region, output_binder=?r)
The output binder is introduced after group selection and is available to post-aggregate rule where evaluation and head instantiation. It is not independent seed authority for another aggregate.
by ?r
Compatibility shorthand only.
Collect the set of DISTINCT exact-source role identities explicitly bound to ?r by positive when atoms in the whole semantic rule.
1 role -> canonicalize to SeededCorrelated(?r, role)
0 roles -> AGGREGATE_GROUP_CORRELATION_REQUIRED
>1 -> AMBIGUOUS_AGGREGATE_GROUP_CORRELATION
Repeated occurrences of the same exact role do not create ambiguity.
7. Binder-collision rules
If as ?v is MemberDerived output binding:
- one binder may be introduced by at most one MemberDerived component in one rule;
- it must not equal that aggregate’s result binder;
- duplicate/new-output collision rejects as
AGGREGATE_GROUP_BINDER_COLLISION.
If ?v is independently positive, the same seed binder may appear in multiple SeededCorrelated components; each member role must equal that same seed value.
No hidden equality relation is introduced between two MemberDerived coordinates.
8. Tuple grouping
Resolve each component independently.
All-seeded tuple:
valid outer tuple -> existing group even with zero contributors
Mixed tuple:
seeded dimensions filter source members
MemberDerived dimensions come only from surviving members
no survivor -> no complete mixed group
No default coordinate is manufactured.
9. Aggregate value references
Aggregate value expressions preserve origin:
OuterVariable(RuleBinderIdentity)
SourceMemberRole(SourceRoleIdentity)
Thus:
OuterVariable(?amount) != SourceMemberRole(T.amount)
even with equal display spelling.
Evaluation uses separate logical outer/member environments. Source-member values never overwrite unrelated outer bindings because names collide.
10. Invariance laws
Capture-avoiding rule-binder alpha-renaming preserves aggregate denotation modulo renamed binder identities while SourceRoleIdentity remains fixed.
Textual clause order, positive body atom order, source declaration order and role declaration order have no authority to choose correlation when the same semantic dependency graph remains.
11. Forbidden interpretations
Zero semantic authority:
correlation by name/spelling
first matching role
first matching body atom
source text order
role declaration order
type compatibility as role selection
implicit group binder from Source.role spelling
aggregate-to-aggregate seed by runtime sequence
MemberRole prebinding through same-name outer substitution
untagged outer/member namespace
runtime guessing of unresolved correlation
12. Existing authority disposition
OD-RC-R2-AGG-01 remains unchanged.
OD-RC-R2-AGG-02 remains authoritative for exact source, operator/value/group-key purpose, polarity, multiplicity, lower completion, group existence and floors except for any interpretation that leaves member correlation or binder identity to name/order/runtime inference.
Historical correlation by name in REMEDIATION-02R.md remains historical implementation evidence, not current general authority. As general semantic authority it is superseded by this amendment and OD-RC-R2-AGG-03.
D-0010 remains valid for the unique exact-source authored-binding subclass through compatibility shorthand.
13. Implementation locality
The amendment does not authorize a global binder/role identity subsystem, global binding framework, whole expression-system rewrite, new planner/runtime or storage architecture.
Concrete minimal execution constraints are in the campaign carrier 17-IMPLEMENTATION-NONDECISION-CONTRACT.md; repository semantics remain governed by this amendment and the existing parent owners.
AGG-02 implementation therefore must remain aggregate-local: no global BinderId/RoleId registry, no global binding framework, no shared untagged outer/member value namespace, no aggregate-to-aggregate seed-by-order authority, and no third grouping mode.
14. Reopen trigger
Reopen only on a material counterexample showing that the two-mode model cannot express already-authoritative R2 aggregate behavior without a new semantic mechanism.
FormaSL — Analysis Realization Profiles
Status: STABLE / NORMATIVE P3 DESIGN
Authority: DOWNSTREAM P3 REALIZATION-PROFILE OWNER FOR ANALYSIS
Semantic owner: ANALYSIS-CAPABILITY-CONTRACT.md
Extends: EXECUTABLE-LANGUAGE-ARCHITECTURE.md realization architecture
Ratification evidence: ../ANALYSIS-PROVIDER-REALIZATION-WITNESS-1.md, ../ANALYSIS-CAPABILITY-SEMANTIC-CONTINUITY-REAUDIT.md
Date: 2026-08-22
Purpose: close the CPU-only, accelerated and distributed realization consequences of H1 Analysis while preserving device-neutral .fsl semantics.
1. Governing separation
AnalysisContract
!= RealizationProfile
!= RealizationCapability
!= Provider
!= ExecutionDevice
The same admitted .fsl Analysis application may be executable under multiple profiles when each selected path satisfies the same frozen semantic contract and applicable realization requirements.
SAME .fsl SEMANTIC APPLICATION
+ DIFFERENT CONFORMANT .fsp REALIZATIONS
= SAME DECLARED ANALYSIS MEANING
subject to the contract’s exact/approximate/stochastic and reproducibility envelope.
2. Execution capability classes
P3 may use extensible realization classes such as:
GENERAL_PURPOSE_CPU
LOCAL_ACCELERATOR
DISTRIBUTED_CPU
DISTRIBUTED_ACCELERATOR
REMOTE_MANAGED_EXECUTION
These classes are realization vocabulary, not a closed semantic taxonomy.
ExecutionCapabilityClass != SemanticKind
3. ANALYSIS_PORTABLE_H1
A conforming portable H1 distribution SHALL provide a realization path for the mandatory H1 Analysis reference capability slice on general-purpose CPU execution without requiring GPU/accelerator hardware.
ANALYSIS_PORTABLE_H1
requires
MandatoryReferenceCapabilitySlice
-> >= 1 conforming GENERAL_PURPOSE_CPU realization path
This is a P3/P5 product/realization obligation, not P2 meaning.
It guarantees that ordinary development/server deployments can exercise the required productive Analysis floor without CUDA, ROCm or another accelerator stack.
It does not require:
every optional/imported AnalysisContract to have CPU support
every parameter/guarantee mode of every reference contract to be CPU-supported
CPU/GPU performance parity
byte-identical CPU/GPU results
unbounded workload completion
4. Mandatory reference capability slice
MandatoryReferenceCapabilitySlice is a bounded set of admitted invocations from ANALYSIS-H1-REFERENCE-CONTRACT-SET.md sufficient to exercise at least:
ranking / centrality
components / decomposition
structural statistic
community / partition
similarity
native higher-order semantic analysis
embedding / representation
node prediction / regression
link / relation prediction
graph prediction / regression
model fitting / training
learned-model application
model evaluation
Exact fixtures, parameter bounds, resource envelopes and practical workload sizes belong to P5 implementation/conformance acceptance.
MandatoryReferenceCapabilitySlice
!= TotalAnalysisContractDomain
5. ANALYSIS_ACCELERATED
An optional ANALYSIS_ACCELERATED profile may provide realization paths using local accelerators.
Potential mechanism advantages include higher throughput, larger practical workloads, accelerated sparse kernels, accelerated graph sampling/message passing and accelerated training/inference.
None changes Analysis standing or semantic meaning.
A path is eligible only when it satisfies the exact semantic contract, realization requirements and result-conformance relation.
6. ANALYSIS_DISTRIBUTED
An optional ANALYSIS_DISTRIBUTED profile may use:
DISTRIBUTED_CPU
DISTRIBUTED_ACCELERATOR
REMOTE_MANAGED_EXECUTION
under explicit joint-realization, partitioning, currentness, carrier and completion contracts.
Distributed execution may add mechanism history and failure states; it does not create a new Analysis standing.
7. Profile composition
An installation may satisfy multiple profiles.
Examples:
local portable distribution
-> ANALYSIS_PORTABLE_H1
accelerated workstation
-> ANALYSIS_PORTABLE_H1
+ ANALYSIS_ACCELERATED
cluster distribution
-> ANALYSIS_PORTABLE_H1 where packaged
+ ANALYSIS_ACCELERATED where applicable
+ ANALYSIS_DISTRIBUTED
A specialized accelerator-only deployment may omit the portable profile if product policy permits, but it cannot be presented as the portable H1 distribution.
8. .fsp realization selection
Final surface syntax remains P3L-open. .fsp must eventually support realization policies semantically equivalent to:
prefer general-purpose CPU
prefer accelerator
require accelerator
require distributed execution
prefer accelerator with conforming CPU retry/fallback policy
Such selectors elaborate to realization requirements/preferences.
.fsp DevicePreference -/-> .fsl MeaningChange
9. Provider-domain matching
A provider is selectable for an invocation only when its versioned RealizationCapability satisfies:
ConcreteInvocation RealizationRequirement
+ semantic contract revision
+ accepted realization domain
+ carrier/adapter requirements
+ assurance/currentness requirements
+ AnalysisResultConformanceRelation
ProviderSupports("pagerank")
-/-> Supports(Std.Analysis.PageRank.v1 invocation)
Provider self-description is not correctness evidence unless the requirement explicitly accepts that assurance class.
10. Pre-execution substitution
Before an attempt begins, a planner may choose any provider satisfying the same frozen requirements.
same Analysis application
-> CPU provider
or
-> accelerator provider
is ordinary realization freedom when both conform.
11. Retry / fallback
Provider failure does not authorize invisible history rewriting.
A failed attempt may be followed by a new attempt on another conforming provider when retry policy permits.
ExecutionAttempt_1 != ExecutionAttempt_2
For stochastic training, a restarted fit is a distinct TrainingOccurrence and normally yields a distinct learned-model artifact identity even if model specification and training contract are the same.
12. Mid-run state migration
Stateful continuation on another provider/device requires an explicit state-correspondence/checkpoint migration contract.
Material state may include:
model parameters
optimizer state
randomness state
sampling state
training progress
precision / state encoding
algorithm frontier / iterative state
Absent sufficient correspondence:
MID-RUN PROVIDER CHANGE
= restart/new attempt
or failure
!= transparent continuation
13. Numerical/provider conformance
CPU and accelerator providers need not produce byte-identical outputs unless the AnalysisContract promises that property.
Conformance follows:
EXACT
or
APPROXIMATE(tolerance/residual)
or
STOCHASTIC(distribution/reproducibility contract)
plus standing, basis, dependence and completion requirements.
DifferentFloatingPointBits may still conform
DifferentPromisedSemanticResult = NON-CONFORMANT
14. Framework-default firewall
Realization frameworks may not silently define semantic choices such as:
self-loops
normalization
sampling
relation/role aggregation
negative sampling
loss reduction
optimizer semantics
precision behavior
missing/conflict treatment
Each material choice must be already defined/admitted semantically, proven irrelevant to the contracted result, or represented as another explicit semantic stage.
FrameworkDefault != AnalysisSemantics
15. Provider ecosystem openness
No provider technology is selected normatively here.
Admissible provider classes may include:
Rust CPU graph-algorithm providers
sparse-linear-algebra / GraphBLAS-style providers
GPU graph-analytics providers
heterogeneous graph-ML providers
native Rust tensor/ML providers
FormaSL-native typed role-incidence providers
remote managed providers
ThirdPartyLibrary != FormaSLSemanticDependency
Provider replacement does not reopen Analysis semantics when correspondence/conformance remains satisfied.
16. P5 obligations
P5 must later freeze at least:
portable-profile fixtures / bounded invocation domains
provider capability evidence requirements
reference provider(s) if any
CPU-only distribution acceptance
accelerated/distributed profile conformance claims
retry/fallback observable behavior
migration/checkpoint acceptance
numerical tolerance/reproducibility evidence
provider discovery/packaging boundaries
P3 closes the architecture/profile requirement; it does not claim any implementation exists.
17. Closure state
DEVICE_NEUTRAL_ANALYSIS_SEMANTICS = PRESERVED
ANALYSIS_PORTABLE_H1 = STABLE P3 PROFILE
CPU_ONLY_MANDATORY_REFERENCE_SLICE = REQUIRED
ANALYSIS_ACCELERATED = STABLE OPTIONAL PROFILE ROLE
ANALYSIS_DISTRIBUTED = STABLE OPTIONAL PROFILE ROLE
SAME_FSL_ACROSS_PROFILES = REQUIRED
SILENT_GUARANTEE_WEAKENING_ON_FALLBACK = FORBIDDEN
MID_RUN_MIGRATION_WITHOUT_CORRESPONDENCE = FORBIDDEN
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — H1 Reasoning Reference Profile Set
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — H1 REASONING REFERENCE-PROFILE OWNER
Depends on: REASONING-CAPABILITY-CONTRACT.md
Ratified candidate: ../archive/v2-development/REASONING-H1-REFERENCE-PROFILE-SET-CANDIDATE.md (historical)
Evidence: W1..W4 + ../REASONING-CAPABILITY-TERMINAL-REAUDIT-1.md
Date: 2026-08-22
Purpose: provide a non-empty provider-independent Reasoning capability/conformance floor while keeping the total ReasoningContract and provider catalogs open.
1. Owner decision
The H1 mandatory reference-profile set is:
R1 — PositiveSafeRules.v1
R2 — StratifiedRules.v1
R3 — WardedExistentialRules.v1
This set is a capability/conformance floor.
REFERENCE PROFILE SET
!= TOTAL REASONING CONTRACT CATALOG
!= REASONER PROVIDER CATALOG
!= ONE UNIVERSAL LOGIC
2. R1 reference role
PositiveSafeRules.v1 proves exact positive typed recursive deduction over a finite admitted ground-term domain with least-fixpoint completion, joins, range-restricted heads and non-self-grounding.
It is the simple monotone core.
3. R2 reference role
StratifiedRules.v1 proves productive practical rule reasoning beyond positivity:
signed explicit consequence atoms
conflict-preserving complement semantics
closure-governed stratified NAF
typed pure constraints/comparisons
safe computed values
COUNT / SUM / MIN / MAX reasoning aggregates
stratified least-fixpoint completion
Reference aggregate multiplicity is DISTINCT_REASONING_CONTENT_SET using semantic ReasoningContentKey.
Reference NAF requires exact closure over a complete lower-stratum ReasoningPremiseWorld.
4. R3 reference role
WardedExistentialRules.v1 proves controlled ontology/existential reasoning:
positive recursive joins
conjunctive existential heads
wardedness over typed semantic positions/roles
anonymous internal model witnesses
shared existential correlation
finite positive conjunctive goals
certain substitutions over named/admitted terms
existential entailment content
goal-relative completion
Preserve:
ExistentialConsequenceContent
!= ReasoningModelWitnessTerm
!= SemanticReferentIdentity
The profile does not expose provider witness IDs as authoritative domain identities.
5. Common premise-admission floor
All three profiles use the contract’s exact PremiseAdmissible semantics.
The reference fixtures exercise situated premise admission over standing, authority, frame/time, completion and hypothetical status.
PatternMatch != PremiseAdmissible
6. Common derivation capability
The bounded reference slice requires finite GroundedDerivationWitness capability for expected consequences/goal results.
GroundedDerivationWitness
!= FormalProofObject
!= Provenance
!= Support
!= RuntimeTrace
This gives Reasoning a reference accountability/debugging artifact without collapsing it into proof certification.
7. Required semantic witnesses
The durable reference witness obligations are represented by:
W1 — REASONING-CAPABILITY-WITNESS-W1-STRATIFIED.md
W2 — REASONING-CAPABILITY-WITNESS-W2-NATIVE-CONFLICT.md
W3 — REASONING-CAPABILITY-WITNESS-W3-EXISTENTIAL.md
W4 — REASONING-CAPABILITY-WITNESS-W4-HETEROGENEOUS-COMPOSITION.md
They collectively exercise:
positive recursion
NAF / closure
aggregates
conflict / signed consequence
Claim standing / issuer / authority / frame / time
N-ary role-incidence
existential ontology reasoning
Query composition
Analysis/Prediction premise admission
hypothetical isolation
completion/dependence preservation
8. Open catalog rule
Additional Reasoning profiles may be admitted independently, including possible future:
warded + stratified negation
stable-model / ASP
defeasible / prioritized logic
probabilistic logic
Description Logic profiles
proof-producing theorem-prover profiles
subject to exact semantic admission.
NewReasoningProfile -/-> NewCoreKeyword
unless the profile genuinely requires a new constitutive language mechanism.
9. Provider independence
A reference profile may have zero, one or multiple conforming reasoner providers in a particular environment.
Provider names/capability labels are not semantic evidence.
ReasonerEngine != ConsequenceRelationAuthority
ProviderSupportsName -/-> ReferenceProfileConformance
No provider technology is selected by this owner.
10. Change/reopen rule
Adding a new optional Reasoning profile does not reopen this reference set by default.
Reopen the mandatory set only if material evidence shows that:
a competent H1 reasoning floor requires an unrepresented class
R1/R2/R3 depend on provider-defined semantics
R2 closure/aggregate/conflict semantics are inconsistent
R3 existential identity/completion is inconsistent
native FormaSL Reasoning cannot be exercised by the reference set
reference derivation capability is impossible or misleading
11. Closure state
REASONING REFERENCE PROFILE SET = STABLE / RATIFIED
R1 = MANDATORY REFERENCE PROFILE
R2 = MANDATORY REFERENCE PROFILE
R3 = MANDATORY REFERENCE PROFILE
REFERENCE DERIVATION CAPABILITY = REQUIRED ON BOUNDED REFERENCE SLICE
TOTAL REASONING CONTRACT CATALOG = OPEN
REASONER PROVIDER CATALOG = OPEN / REALIZATION-ONLY
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — H1 Transformation Reference Profile Set
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — H1 TRANSFORMATION REFERENCE-PROFILE OWNER
Depends on: TRANSFORMATION-CAPABILITY-CONTRACT.md
Ratified candidate: ../archive/v2-development/TRANSFORMATION-H1-REFERENCE-PROFILE-SET-CANDIDATE.md (historical)
Evidence: W1..W4 + ../TRANSFORMATION-CAPABILITY-TERMINAL-REAUDIT-1.md
Date: 2026-08-22
Purpose: provide a provider-independent productive H1 Transformation floor while keeping total transformation and provider catalogs open.
1. Owner decision
Mandatory reference profiles:
T1 — StructuralMapping.v1
T2 — GraphMLProjection.v1
REFERENCE PROFILE SET
!= TOTAL TRANSFORMATION CONTRACT CATALOG
!= TRANSFORMATION PROVIDER CATALOG
!= UNIVERSAL TRANSFORMATION CALCULUS
2. T1 reference role
StructuralMapping.v1 proves first-class declarative graph/model→graph/model transformation with:
finite named source domains
ratified Query source matching
match/distinct-key/group application modes
declarative TargetContributions
one-to-one / one-to-many / many-to-one construction
N-ary role-aware target relations
TargetIdentityNamespace / target-local IDs
cross-rule TargetReferenceKeys
order-independent finalization
collision/coalescence/merge semantics
typed pure value + collection construction
explicit coverage/preservation/loss
fine-grained direct/transitive lineage
well-formed/well-typed target finalization
It does not mutate the source or confer foreign standing.
3. T1 authority/identity floor
Mandatory:
TargetLocalElementIdentity != AuthoritativeSourceIdentity
TargetContributionCoalescence != SourceCoReference
LexicalNormalization != SemanticIdentityResolution
Transformation output standing = TransformedArtifact
New target identities remain target-local unless a later explicit source-authority stage adopts/creates authoritative semantic identity.
4. T1 preservation floor
Mandatory preservation-claim classes:
NO_GLOBAL_PRESERVATION_CLAIM
COVERAGE_PRESERVED_DIRECTLY
COVERAGE_PRESERVED_DIRECTLY_OR_BY_REFERENCE
COVERAGE_LOSSY_WITH_EXPLICIT_DISPOSITIONS
with coverage dispositions:
PRESERVE_DIRECTLY
PRESERVE_BY_REFERENCE
TRANSFORM
DERIVE
RESTRICT_EXPLICIT
DROP_EXPLICIT
NOT_APPLICABLE
UNKNOWN blocks preservation claims; ACCIDENTALLY_LOST is a defect.
Composed transformations retain direct/transitive dependence and prior loss/restriction state.
5. T2 reference role
GraphMLProjection.v1 proves first-class reusable graph/subgraph→ML-ready transformation with:
subject/reference correspondence
SemanticFeatureIdentity
FeatureCoordinateIdentity
feature value/type contracts
hash function + collision reducer when used
missing/unknown/conflict feature encoding
role/N-ary topology mapping
normalization/window/weight semantics
fine-grained transformation dependence
coverage/loss profile
Physical tensor/sparse/framework representations remain realization details by default.
6. T2 no-shadowing floor
A downstream Analysis consuming explicit T2 artifact consumes that exact semantic artifact.
P3Lowering != SemanticRetransformation
Provider-local recomputation of a different feature/topology mapping is non-conformant.
7. Reference witness set
W1 — TRANSFORMATION-CAPABILITY-WITNESS-W1-STRUCTURAL.md
W2 — TRANSFORMATION-CAPABILITY-WITNESS-W2-GRAPHML.md
W3 — TRANSFORMATION-CAPABILITY-WITNESS-W3-COMPOSITION.md
W4 — TRANSFORMATION-CAPABILITY-WITNESS-W4-AUTHORITY-FIREWALL.md
Collectively they exercise:
N-ary source/target semantics
source Query witnesses
one-to-many / grouping
cross-rule target refs
identity stability
collision/coalescence
explicit loss
fine-grained lineage
GraphML feature/topology projection
T1->T1 loss composition
standing/identity/source-authority firewall
8. Open catalog rule
Optional/future profiles may include:
DPO/SPO-specific graph transformations
bidirectional/lens synchronization
incremental/streaming transforms
imperative target-state transforms
schema migrations
external-model-specific mappings
subject to exact semantic admission.
No new core keyword is required merely because a new TransformationContract profile exists.
9. Provider independence
A provider must conform to exact profile/invocation semantics; provider labels/engines are not semantic evidence.
TransformationProvider != MappingSemanticAuthority
No provider technology is selected by this owner.
10. Closure state
TRANSFORMATION REFERENCE PROFILE SET = STABLE / RATIFIED
T1 STRUCTURAL MAPPING = MANDATORY REFERENCE PROFILE
T2 GRAPH-ML PROJECTION = MANDATORY REFERENCE PROFILE
TOTAL TRANSFORMATION CONTRACT CATALOG = OPEN
TRANSFORMATION PROVIDER CATALOG = OPEN / REALIZATION-ONLY
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — Remediation Phase 3 H1 Computational Regime Closure Contract
Status: STABLE / NORMATIVE PHASE-3 IMPLEMENTATION-HANDOFF CONTRACT — CURRENT
Authority: REMEDIATION-CANDIDATE PHASE-3 COMPUTATIONAL CAPABILITY / CONFORMANCE OWNER
Stage: CONTRACT MATERIALIZATION
Acceptance horizon: FormaSL remediation candidate — Phase 3
Date: 2026-09-10
Parent product-support owner: REMEDIATION-CANDIDATE-PRODUCT-SUPPORT-AMENDMENT.md
Parent implementation/conformance owner: IMPLEMENTATION-CONFORMANCE-CONTRACT.md
Computational regime owner: COMPUTATIONAL-REGIME-BOUNDARIES.md
Semantic handoff owner: EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md
Method authority: DESIGN-METHOD.md
Semantic authorities: ../foundations/FORMASL-INTENT.md, ../foundations/FORMAL-WORLD-MODEL.md, ../foundations/SEMANTIC-INVARIANTS.md, ../foundations/SEMANTIC-CONTINUITY.md
This contract materializes the Phase-3 design selected after verified closure of Remediation Phase 2. It defines the implementation/conformance boundary for the next remediation campaign. It does not authorize implementation. RM-04 through RM-07 begin only after a separate explicit PROJECT_OWNER campaign authorization.
1. Jurisdiction
Phase 3 owns the executable semantic adequacy of the four H1 computational regimes owned by CB-L3:
QUERY
ANALYSIS / PREDICTION
REASONING
SEMANTIC TRANSFORMATION
These are semantic computational jurisdictions, not a requirement for four primitive keywords, four crates, four physical engines or mutually exclusive source constructs.
REGIME != ENGINE
REGIME != KEYWORD
REGIME != PROVIDER
REGIME != RUNTIME SCHEDULER
Phase 3 answers one cohesive question:
For every mandatory H1 computational capability/profile, does the remediation candidate possess a concrete, falsifiable computational route from semantically intact inputs and exact contracts/bases to owner-permitted typed outcomes, preserving every material standing, identity, dependence, witness/lineage, completion and resource distinction without payload wrapping, provider assertion, physical-order semantics or false completion?
Phase 3 is not public product integration. It closes computational capability behind the semantic boundary before the later public facade/machine/CLI campaign.
PHASE-3 COMPUTATIONAL CLOSURE
!= PUBLIC `run` WHOLE-H1 CLOSURE
!= MACHINE-SCHEMA SUCCESSOR
!= CLI CLOSURE
!= GENERIC COMPOSITION EXECUTION
!= RUNTIME SCHEDULING
!= LIFECYCLE / GOVERNANCE / SCENARIO CLOSURE
!= RELEASE REACCREDITATION
2. Explicit boundary: Scenario is not Phase 3
COMPUTATIONAL-REGIME-BOUNDARIES.md owns exactly the four computational regimes above. Hypothetical/Scenario semantics belong to the lifecycle/world-context plane and remain outside this campaign.
COMPUTE OVER A BASIS
!= CONSTRUCT / FORK / EVOLVE A HYPOTHETICAL WORLD CONTEXT
Scenario/Hypothetical execution, Validation, Governance, Revision, Source Evolution, Execution Request and Observation Acquisition route to the later lifecycle/operational phase unless a Phase-3 computation consumes an already-admitted typed result merely to test its own input/admission boundary.
Cross-regime fixtures may use typed carriers from other planes as inputs. They do not authorize implementation of those planes.
3. Campaign structure and FIOP discipline
Phase 3 is one campaign composed of four sequential semantic macro-WPs:
RM-04 — QUERY H1 COMPUTATIONAL CLOSURE
-> RM-05 — REASONING H1 R1/R2/R3 CLOSURE
-> RM-06 — TRANSFORMATION H1 T1/T2 CLOSURE
-> RM-07 — ANALYSIS / PREDICTION H1 REFERENCE CAPABILITY CLOSURE
-> PHASE_3_COMPLETE
Exactly one WP may be active at a time.
The owner may later authorize the whole campaign with an R2 ceiling. Under such authorization the executor may continue automatically RM-04 -> RM-05 -> RM-06 -> RM-07 after each ordinary R0-R2 terminal closure, provided authority remains sufficient. Any R3 ambiguity stops campaign progression for owner decision.
Session/API boundaries, local compile failures, helper refactors, individual findings and test count do not create sub-WPs.
Each WP must independently pass the FIOP four-NO closure audit. After RM-07, Phase 3 has a second campaign-level four-NO audit so that four locally green regimes cannot hide a broken cross-regime boundary.
4. Shared Phase-3 invariant
For every mandatory computational application/profile in scope:
EXACT SEMANTIC INPUTS
+ EXACT CONTRACT / PROFILE REVISION
+ EXACT INTERPRETATION / PREMISE / TRANSFORMATION / ANALYSIS BASIS
+ REQUIRED COMPLETION / RESOURCE / ADMISSION CONDITIONS
-> CONCRETE COMPUTATION
-> TYPED OWNER-PERMITTED OUTCOME
The following are insufficient:
crate exists
unit tests exist
carrier can store a payload
caller supplied the expected SemanticOutcome
provider says it supports capability X
physical iterator happened to produce expected order
computation terminated
Therefore:
CARRIER ADEQUACY != COMPUTATIONAL ADEQUACY
TERMINATION != SEMANTIC COMPLETION
PROVIDER SUCCESS != SEMANTIC STANDING
EXPECTED FIXTURE VALUE != INDEPENDENT ORACLE
A computation may be delegated to a conforming provider under the product-support owner, but provider conformance itself must be falsifiable against FormaSL-owned semantics.
Part I — RM-04 Query H1 Computational Closure
5. RM-04 objective
RM-04 closes the mandatory functional floor of QUERY-CAPABILITY-CONTRACT.md as an actual computational capability over bounded reference domains.
The floor includes, where required by the current owner:
typed pattern matching
solution bindings / occurrence witnesses
conjunction / joins
alternatives
authored optional / outer matching
correlated EXISTS / NOT EXISTS
presence-aware partial bindings
pure filters / definedness
projection / computed expressions
nested / reusable queries
aggregation / grouping / post-aggregation filtering
distinct with lineage preservation
explicit ordering
offset / slice / limit
AnyK / top-k with declared tie and completion semantics
multi-hop and variable-length / recursive traversal
compositional path expressions
bounded and admissible unbounded repetition
empty-path semantics where contracted
path/group bindings and path-local predicates
reuse policies / shortest selectors
basis-relative absence tests
QueryGraphView and re-queryability
native semantic-coordinate querying
Different syntax or implementation strategy does not create a capability gap when the same contracted semantics are demonstrably present.
6. RM-04 mandatory repairs and hostile classes
RM-04 must at minimum reconcile the Query-owned portions of:
SRA-H12 — query variable overwrite / binding coherence
SRA-H13 — ordering / unbound / direction / tie semantics
Sibling defects under the same Query invariants enter conditional scope when leaving them unresolved would falsify Query H1 closure.
Required hostile classes include:
shared-variable incompatible bind
optional absence collapsed to semantic NULL/Unknown
NO_MATCH_COMPLETE claimed without closure
EXISTENCE_UNRESOLVED treated as completed absence
aggregate prefix treated as complete aggregate
physical iteration order treated as query order
RejectUnbound ignored
direction ignored
tie policy ignored
SEEN_K_RESULTS treated as TOP_K_COMPLETE
path reuse decided from physical/storage identity
unbounded traversal completed without admitted completion basis
witness/multiplicity lineage discarded by distinct
7. RM-04 completion
RM-04 may close only when the mandatory Query H1 floor has a concrete evaluator/reference route with discriminating evidence for denotation, binding, witness, lineage, definedness, path semantics and completion.
A small-domain exhaustive oracle, independently specified evaluator, metamorphic/property oracle or another bug-diverse reference mechanism is required for the classes where the production implementation could otherwise certify itself.
RM-04 CLOSED
-/-> PUBLIC `formasl run` QUERY H1 CLOSED
Public facade routing defects such as historical SRA-H07 remain assigned to the later public-integration phase.
Part II — RM-05 Reasoning H1 R1/R2/R3 Closure
8. RM-05 objective
RM-05 closes the owner-ratified mandatory reasoning reference set:
R1 — PositiveSafeRules.v1
R2 — StratifiedRules.v1
R3 — WardedExistentialRules.v1
The implementation must preserve the distinction between candidate input availability and the exact PremiseAdmissible relation required by the Reasoning owner.
InputAccepts != PremiseAdmissible
QueryFound -/-> PremiseAdmissible
GraphContains -/-> InReasoningPremiseWorld
The executable path must not turn a caller-side insertion method into proof that premise admissibility has been established.
9. RM-05 mandatory semantic obligations
R1 must preserve at least:
positive typed recursion
range restriction
finite admitted domain
least-fixpoint completion
non-self-grounding
GroundedDerivationWitness capability on the bounded reference slice
R2 must preserve at least:
stratified NAF only over complete closed lower strata
signed conflict-preserving consequences
typed pure constraints / computed values
COUNT / SUM / MIN / MAX aggregates
aggregate multiplicity / empty-group semantics
stratified fixpoint completion
R3 must preserve at least:
warded existential reasoning
anonymous local model witnesses
shared existential correlation
named/admitted answer-domain discipline
certain substitutions
goal-relative completion
10. RM-05 mandatory repairs and resource channels
RM-05 must at minimum reconcile:
SRA-H14 — R2 consequences lacking required derivation capability
SRA-H15a — R2 aggregates ignored by evaluation
SRA-H15b — gas exhaustion conflated with witness-budget exhaustion
The resource/result surface must keep distinct every materially distinct terminal/non-terminal class. In particular:
OUT_OF_GAS != FIXPOINT
OUT_OF_GAS != NO_PROOF
WITNESS_BUDGET_EXHAUSTED != GAS_EXHAUSTED
INCOMPLETE LOWER STRATUM -/-> SUCCESSFUL NAF
Historical SRA-H08 — wrong/omitted theory/application selection in the public run bridge — remains a later public-integration defect after the reasoning engines themselves are conformant.
11. RM-05 completion
RM-05 requires bug-diverse evidence for formation, premise admission, R1 fixpoint, R2 stratification/NAF/aggregate semantics and R3 wardedness/witness/certain-answer semantics.
Relevant formal/correspondence rows include FO-L3-04..08 and FO-REASON-01..08. Formal evidence never substitutes for concrete Rust correspondence, and production evaluator output never substitutes for an independent semantic oracle where one is required.
Part III — RM-06 Transformation H1 T1/T2 Closure
12. RM-06 objective
RM-06 closes the mandatory Transformation reference profiles:
T1 — StructuralMapping.v1
T2 — GraphMLProjection.v1
Transformation must perform semantic source-to-target construction. Merely accepting a caller-computed payload and wrapping it in TransformedArtifact is carrier evidence, not computational closure.
CALLER-SUPPLIED FINISHED PAYLOAD
-> RESULT WRAPPER
!=
SOURCE SEMANTIC BASIS
+ TransformationContract
-> TARGET CONSTRUCTION
13. T1 mandatory slice
The bounded T1 reference implementation must demonstrate, where required by the owner:
exact finite source domains
Query-driven source matching
PER_MATCH / PER_DISTINCT_SOURCE_KEY / PER_GROUP behavior
declarative TargetContributions
one-to-one / one-to-many / many-to-one construction
N-ary role-aware target construction
TargetIdentityNamespace and target-local identities
cross-rule TargetReferenceKeys
order-independent finalization
collision / coalescence / explicit merge semantics
typed pure value and collection construction
coverage / preservation / explicit-loss dispositions
fine-grained direct/transitive transformation dependence
well-formed / well-typed target finalization
Physical input order must not define T1 semantics where the profile is declarative.
14. T2 mandatory slice
The bounded T2 reference implementation must produce a real semantic graph/subgraph -> ML-ready TransformedArtifact with at least the current reference obligations for:
subject/reference correspondence
SemanticFeatureIdentity
FeatureCoordinateIdentity
feature schema / order / value domains
missing / unknown / conflict handling
role / N-ary topology representation
normalization / window / weight semantics where present
fine-grained transformation dependence
coverage / loss profile
Preserve:
MLReadyArtifact != PhysicalTensorBuffer
P3Lowering != SemanticRetransformation
A downstream Analysis provider accepting explicit T2 artifact T may lower T, but may not ignore it and silently recompute a different semantic feature/topology transformation.
15. RM-06 completion
T1 and T2 must each have positive, negative and permutation/metamorphic evidence sufficient to falsify payload-wrapper implementations, source mutation, unauthorized identity promotion, lineage loss, accidental-loss laundering and provider-local retransformation.
Relevant formal/correspondence rows include FO-L3-13..15 and any directly triggered FO-L2/FO-L5 preservation rows. Generic CB-L5 orchestration is not implemented in this WP.
Part IV — RM-07 Analysis / Prediction H1 Reference Capability Closure
16. RM-07 objective
RM-07 closes a bounded provider-independent executable slice of the owner-ratified H1 Analysis / Prediction capability.
The current semantic carrier/firewall layer is not by itself sufficient. Analysis standing must arise from satisfaction of an admitted AnalysisContract, not from a caller-supplied SemanticOutcome/payload or a provider capability label.
CALLER SUPPLIED RESULT
-/-> AnalysisStanding
ProviderSupports("pagerank")
-/-> Supports(Std.Analysis.PageRank.v1 invocation)
This closes the computational substance behind historical SRA-H19.
17. Mandatory structural/native reference slice
The portable bounded reference route must include the currently ratified structural/native contracts sufficient to exercise the H1 families, including:
Std.Analysis.PageRank.v1
Std.Analysis.WeakComponents.v1
Std.Analysis.LocalClusteringCoefficient.v1
Std.Analysis.LabelPropagationCommunity.v1
Std.Analysis.JaccardNeighborhoodSimilarity.v1
Std.Analysis.SemanticMotifConductance.v1
SemanticMotifConductance.v1 remains the native higher-order witness: its meaning must depend on typed role-incidence / Query witness semantics rather than an ungoverned binary physical graph flattening.
18. Mandatory graph-ML lifecycle slice
The bounded CPU-portable reference path must exercise the ratified graph-ML lifecycle sufficient to demonstrate:
model specification
learning-target admission
learning visibility
training / fitting
TrainingOccurrence distinction
immutable LearnedModelArtifact
application / prediction
embedding semantics where exposed
model evaluation
completion / stochastic / reproducibility contracts
The current reference contract set includes GraphSAGE-mean and the ratified classification/regression/link/graph heads, loss/init/optimizer contracts and evaluation metrics. The reference implementation is a conformance witness, not a production performance engine and not an implementation-library ceiling.
19. Provider conformance
Analysis must own a falsifiable AnalysisResultConformanceRelation for each exercised contract class. A conforming provider may later substitute for the reference engine only when exact invocation semantics, basis, input interpretation, guarantee class and result conformance are preserved.
Preserve:
AnalysisContract != AnalysisProvider
ProviderFrameworkDefault != AnalysisSemantics
ExecutionDevice != SemanticKind
Approximate -/-> Exact
ProviderExecutionSuccess -/-> AnalysisStanding
The mandatory reference capability slice must run on general-purpose CPU; accelerator or distributed realizations remain optional provider realizations.
20. RM-07 completion
RM-07 requires known-answer mathematical fixtures, metamorphic properties and/or cross-implementation/provider-differential evidence appropriate to the exercised reference contracts. A wrapper that stores caller-generated results cannot pass.
Relevant formal/correspondence rows include FO-L3-10..12 plus the standing-introduction and cross-regime rows actually triggered by the implementation.
Part V — Cross-regime campaign closure
21. Dependency order
The campaign order is semantic, not arbitrary:
RM-04 Query
-> RM-05 Reasoning
-> RM-06 Transformation
-> RM-07 Analysis
Query closes first because T1 source matching and the native Analysis witness depend on Query semantics.
Transformation precedes Analysis because T2 creates the semantic ML-ready artifact that Analysis must be able to consume without shadow retransformation.
Reasoning may be implemented before those consumers are all present, but Phase-3 terminal closure must exercise typed outputs from the other regimes against Reasoning’s exact premise-admission boundary.
22. Required cross-regime witnesses
Before PHASE_3_COMPLETE, at least the following semantic boundary classes must be exercised with exact bases/contracts:
Query -> T1 StructuralMapping
QueryGraphView -> T2 GraphMLProjection -> Analysis
QueryAnswer -> PremiseAdmissible? -> Reasoning
TransformedArtifact -> PremiseAdmissible? -> Reasoning
AnalysisResult -> PremiseAdmissible? -> Reasoning
These are direct boundary/conformance witnesses, not a generic Composition runtime.
The campaign must preserve the regime non-collapses:
QueryAnswer != SemanticConsequence
AnalysisResult != SemanticConsequence
Prediction != Truth
TransformedArtifact != QueryAnswer
Computation != Assertion
SemanticConsequence != Claim
No cross-regime test may obtain PASS by converting one result category into another through payload shape or host-language type coincidence.
23. Finding routing after Phase-3 materialization
Historical findings remain evidence/regression inputs; they do not define the architecture.
| Finding | Current route | Phase-3 disposition |
|---|---|---|
| SRA-H12 | RM-04 Query | IN SCOPE |
| SRA-H13 | RM-04 Query | IN SCOPE |
| SRA-H14 | RM-05 Reasoning | IN SCOPE |
| SRA-H15a | RM-05 Reasoning | IN SCOPE |
| SRA-H15b | RM-05 Reasoning | IN SCOPE |
| SRA-H19 | RM-07 Analysis | IN SCOPE |
| SRA-H07 | later public integration | OUT OF PHASE 3 |
| SRA-H08 | later public integration | OUT OF PHASE 3 |
| SRA-N01 | later public facade/CLI integration | OUT OF PHASE 3 |
| SRA-N02 | later public aggregate-run integration | OUT OF PHASE 3 |
| SRA-H10 | later inspect/machine/public integration | OUT OF PHASE 3 |
| SRA-H16 | later realization/public integration | OUT OF PHASE 3 |
| SRA-H18 | later planner/realization integration | OUT OF PHASE 3 |
| SRA-H20 | later assurance/reaccreditation | OUT OF PHASE 3 |
Any newly discovered sibling defect belongs to a Phase-3 WP only when current authority already determines the correct behavior and the defect falsifies that WP’s computational completion invariant. Otherwise route it without opportunistic scope expansion.
24. Evidence discipline
For every material capability class, evidence must be strong enough to distinguish at least:
correct computation
from
correctly shaped result carrier
semantic completion
from
runtime termination
owner-defined semantics
from
provider/framework defaults
independent result evidence
from
production implementation self-certification
Appropriate evidence may include:
small-model exhaustive oracle
independently specified evaluator
known-answer mathematical fixtures
metamorphic properties
permutation invariance
cross-implementation/provider differential checks
hostile mutation / negative fixtures
representation-invariance checks
The exact evidence class is capability-specific. One universal oracle is not required.
A green workspace suite is necessary when applicable but never sufficient for semantic closure.
25. Formalization and correspondence
Phase 3 does not open a new whole-language formalization campaign by default.
The executor must inspect the current FORMALIZATION-OBLIGATION-LEDGER.md and the exact correspondence owners touched by each WP. Material Phase-3 rows include, as applicable:
FO-L3-01..15
FO-REASON-01..08
Required discipline:
FORMAL PROPERTY
!= RUST REPRESENTATION CORRESPONDENCE
!= EXECUTABLE BEHAVIOR
If an implementation change invalidates evidence currently relied upon by a formal/correspondence claim, the corresponding gate becomes mandatory before closure. Do not invent a new theorem merely because a Rust defect exists; derive proof obligations from active authority.
26. Forbidden scope for Phase 3
Absent a separately activated conditional dependency required to preserve an in-scope computational invariant, Phase 3 does not own:
Scenario / Hypothetical lifecycle implementation
Validation / Conformance engine closure
Admission / Authorization / Decision engine closure
Semantic Revision / Source Evolution closure
Execution Request / Observation bridge closure
CB-L5 generic composition runtime
runtime planner / scheduler product closure
public `run --for` realization integration
machine schema successor
CLI exit/output closure
distribution / packaging
release publication
performance/scalability production optimization
No Phase-3 WP may rewrite a higher semantic owner to make current implementation easier.
27. Per-WP gates
Every RM-04..RM-07 WP must define, then satisfy after its final material change:
- authority-sufficiency gate;
- targeted formation/static gate where applicable;
- positive mandatory-profile capability fixtures;
- hostile/negative discriminators;
- bug-diverse oracle/property evidence;
- standing/identity/dependence/completion/resource preservation checks;
- applicable formal/correspondence revalidation;
- affected examples/reference corpus regression checks;
- workspace quality/tests required by repository instructions;
- FIOP four-NO closure audit.
A WP is not terminal merely because the historical reproducer that named a bug flips green.
28. Campaign-level closure gate
After RM-07 closes, Phase 3 must independently answer:
Q1. Any known CB-L3 mandatory H1 capability still without a concrete conforming computational route? NO
Q2. Any required cross-regime standing/admission/dependence/completion witness unverified? NO
Q3. Any triggered conditional scope unresolved or ungated? NO
Q4. Any proposed residual risk that, if true, would falsify computational-regime closure? NO
Only four NO answers permit PHASE_3_COMPLETE.
29. Terminal contract
A valid Phase-3 terminal state has this meaning:
PHASE_3 = COMPLETE
RM-04 QUERY_H1
= VERIFIED / CLOSED
RM-05 REASONING_H1_R1_R2_R3
= VERIFIED / CLOSED
RM-06 TRANSFORMATION_H1_T1_T2
= VERIFIED / CLOSED
RM-07 ANALYSIS_H1_REFERENCE_CAPABILITY
= VERIFIED / CLOSED
CB_L3_COMPUTATIONAL_CAPABILITY
= VERIFIED
QUERY_H1_FLOOR
= VERIFIED
REASONING_R1
= VERIFIED
REASONING_R2
= VERIFIED
REASONING_R3
= VERIFIED
TRANSFORMATION_T1
= VERIFIED
TRANSFORMATION_T2
= VERIFIED
ANALYSIS_PORTABLE_H1_REFERENCE_SLICE
= VERIFIED
CROSS_REGIME_SEMANTIC_FIREWALLS
= VERIFIED
It does not imply:
PUBLIC_RUN_FULL_H1 = VERIFIED
MACHINE_SCHEMA_SUCCESSOR = VERIFIED
GENERIC_PROVIDER_REALIZATION = VERIFIED
COMPOSITION_CB_L5 = VERIFIED
SCENARIO / GOVERNANCE / REVISION / EFFECTUATION = VERIFIED
RELEASE_REACCREDITED = YES
PUBLICATION_AUTHORIZED = YES
30. Current authorization state
Materializing this contract does not start the campaign.
PHASE_1 = VERIFIED / CLOSED
PHASE_2 = VERIFIED / CLOSED
RM-03 = VERIFIED / CLOSED
PHASE_3_CONTRACT = MATERIALIZED / STABLE
PHASE_3_CAMPAIGN = NOT_STARTED / NOT_AUTHORIZED
RM-04 = NOT_STARTED / NOT_AUTHORIZED
RM-05 = NOT_STARTED / NOT_AUTHORIZED
RM-06 = NOT_STARTED / NOT_AUTHORIZED
RM-07 = NOT_STARTED / NOT_AUTHORIZED
PUBLICATION = NOT_AUTHORIZED
FUTURE PUSHES = NOT GENERALLY AUTHORIZED
A separate explicit PROJECT_OWNER instruction is required to authorize the Phase-3 campaign and its R2 execution ceiling.
FormaSL — Semantic Lifecycle Transitions
Status: STABLE / NORMATIVE DESIGN — CB-L4
Authority: DOWNSTREAM NORMATIVE DESIGN, subordinate to FORMASL-INTENT.md, FORMAL-WORLD-MODEL.md, SEMANTIC-INVARIANTS.md, SEMANTIC-CONTINUITY.md, ARCHITECTURE.md, LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, COMPUTATIONAL-REGIME-BOUNDARIES.md, and applicable STABLE governance/dynamic contracts
Bundle: CB-L4 — SEMANTIC LIFECYCLE / GOVERNANCE / DYNAMICS
Date: 2026-08-22
Role: close the H1 semantic lifecycle and category-changing transition contract for attributable assertion/adoption, governed judgment/decision, hypothetical contexts, authoritative source evolution, dynamic action/occurrence/effect/observation, replay/history and source-authority boundaries without freezing one universal lifecycle ontology, workflow engine, runtime event model, causal calculus or source-history representation.
1. Scope
This contract closes the CB-L4 obligations:
A5 — Authority, normativity and governance-role infrastructure
A6 — Dynamic semantic roles and action/observation interfaces
A9 — Source / realization / run / storage lifecycle boundary
B2 — Attributable assertion / adoption
B6 — Validation / conformance / governed evaluation
B7 — Hypothetical / simulation context
B8 — Revision / semantic evolution / source incorporation
C3 — Semantic lifecycle and explicit category-changing transitions
It determines enough lifecycle meaning that later CB-L5/P2B, P3 and implementation do not need to invent when a semantic standing, authority, actuality position or authoritative source state is introduced.
It does not select:
- one universal
Transitionobject; - one universal workflow/state machine;
- one universal event store or source-history representation;
- final surface keywords/grammar;
- one policy/authorization language;
- one causal calculus;
- one observation schema/protocol;
- one belief/ontology revision calculus;
- concrete credentials/signatures/delegation infrastructure;
- concrete bootstrap trust-anchor mechanism;
.fsp, planner, runtime, storage or transaction architecture;- implementation.
LIFECYCLE SEMANTICS
!= WORKFLOW ENGINE
!= RUNTIME EVENT MODEL
!= STORAGE VERSIONING
2. Governing non-collapses
This contract preserves all higher-authority distinctions, including:
Claim != Truth != Assessment != Observation
Computation != Assertion
Producer != Issuer
Recorder != Issuer
SourceAuthor != Issuer
Executor != Authority
SourceWriteAuthority != ClaimIssuanceAuthority
SourceWriteAuthority != DecisionPower
SourceWriteAuthority != ObservationSourceStanding
SourceWriteAuthority != CausalAuthority
Validation != Conformance != Admission != Authorization
AdmissionJudgment != AdmissionDecision
AuthorizationDecision != PermissionStatus
Decision != EffectiveDecision
Decision != AuthorizedDecision
Decision != Execution
DecisionOccurrence -/-> NormativeEffect
ExecutionSuccess != ExternalEffectOccurred
Occurrence != Effect
Effect != Observation
Observation != Truth
TemporalSuccession -/-> EffectOf
Assumption != Claim
Hypothetical != Baseline
HypotheticalAuthority -/-> BaselineTransitionAuthority
SimulatedObservation != ActualObservation
HypotheticalAction != ActualExecutionAttempt
RuntimeOutput != AuthoritativeSourceUpdate
StorageWrite != SemanticAuthority
FileWrite -/-> AuthoritativeSourceEvolution
SourceInclusion -/-> SemanticStandingPromotion
Retraction != rho=0
Retraction != Delete
Retraction != False
IssuerRetraction != SourceDeactivation
ReplaySameOccurrence != NewSemanticOccurrence
CurrentSelection != ConflictResolution
SourceHistory != MandatoryTotalOrder
TransitionAttempt != SuccessfulTransition != TargetStandingIntroduced
AtomicCoRealization != SemanticIdentity
3. Lifecycle architecture: typed introduction relations, not one state machine
FormaSL H1 uses category-specific semantic introduction/transition relations.
There may be shared lifecycle obligations, but:
SHARED TRANSITION OBLIGATIONS
!= ONE UNIVERSAL TRANSITION ONTOLOGY
A material target-introducing transition must make reconstructible, as applicable:
source semantic standing/state
source identity/revision
transition principal / actor
normative/source authority basis
transition introduction relation
target standing/state
identity effect
Interpretation Basis / scope / frame / time
material dependence/provenance/history
successful-introduction criterion
negative / unresolved / failure semantics
source-authority effect
These are semantic obligations. They do not require one runtime record type.
3.1 Standing change requires an introduction rule
No stronger/different standing follows merely from representation or placement:
PayloadCompatibility -/-> StandingPromotion
Persistence -/-> StandingPromotion
StorageWrite -/-> StandingPromotion
SourceInclusion -/-> StandingPromotion
RuntimeSuccess -/-> StandingPromotion
3.2 Principal and authority remain distinct
The actor/executor/recorder of a transition is not automatically the authority for the standing it introduces.
The same concrete principal may occupy multiple roles only under explicit basis.
3.3 Transition authority is independently grounded
For transitions requiring authority, the authority basis must be established in a pre-transition or independently authorized basis.
TargetStateAuthority -/-> AuthorityForItsOwnIntroduction
A transition may not bootstrap its own authority from the state/standing it introduces.
Explicit staged meta-authority changes are possible only as separately ordered transitions with independently established authority at each stage.
4. Genesis / bootstrap source authority
The first authoritative source state requires an explicit bootstrap/root-authority basis semantically external to the state it introduces.
Conceptually:
BootstrapAuthority(root-basis, source-scope)
+
GenesisSourceIntroduction(root-basis, genesis-content)
-> GenesisAuthoritativeSourceState
Forbidden:
GenesisFilePresence -/-> GenesisAuthority
GenesisSourceSelfDeclaration -/-> BootstrapAuthority
The root may later be realized by trusted project configuration, a signed root, deployment authority, constitutional source, or another explicit trust anchor. CB-L4 does not choose the mechanism.
A bootstrap/root authority is an explicit trust boundary, not an internally derived proof that the target state is authoritative.
5. Attributable Claim assertion and adoption
5.1 Claim introduction
A new Claim identity arises only through a new attributable assertion.
Conceptually:
Asserts(issuer, content, assertion-basis, context/time)
-> Claim c
with:
Issuer(c) = issuer
ClaimIdentity(c) = new assertion-token identity
New assertion-token identity is semantic/historical, not synonymous with random/storage ID allocation.
5.2 Admitted issuance bases
H1 recognizes at least these semantic issuance classes:
DIRECT-ASSERTION
AUTHORIZED-REPRESENTATIVE-ASSERTION
IMPORT-EXISTING-CLAIM
Direct assertion
The asserting principal is the semantic issuer.
Authorized representative assertion
An acting principal asserts for an issuer under an independently grounded delegation/agency basis valid for the relevant scope/time.
Both roles remain reconstructible:
acting principal != semantic issuer
Import existing Claim
Import preserves an already-existing Claim identity and requires enough issuance/authenticity/reference basis to identify that same Claim.
A recorder/importer cannot mint a third party’s Claim merely by setting an issuer field.
If only a report that Alice allegedly asserted P exists, FormaSL can represent the reporter’s Claim/Observation/Assessment about the purported assertion. It is not Alice’s Claim unless Alice’s assertion basis is established.
ReportPurportedAssertion(Alice,P)
-/-> ClaimIssuedBy(Alice,P)
5.3 Communication/use does not mint a Claim
Receive != AcceptForUse
AcceptForUse != AdoptAsOwn
Use != AdoptAsOwn
Retransmit != Reassert
RecordExistingClaim != Reassert
Communication occurrences may add history without changing Claim identity or issuer.
5.4 ADOPT-AS-OWN / REASSERT
ADOPT-AS-OWN introduces a new attributable Claim whose adopted content is correspondence-preserving relative to a source artifact.
REASSERT is the special case of adopting/reasserting prior Claim content as a new attributable assertion.
The new Claim:
- has the adopter/reasserter as issuer;
- has independent Claim identity;
- preserves a typed adoption/provenance dependency to the source;
- does not mutate the source artifact or its issuer/standing.
NewClaimIdentity != PriorClaimIdentity
Arbitrary content transformation cannot still be called adoption.
ArbitraryMapping -/-> Adoption
5.5 ASSERT-BASED-ON
An issuer may assert new content based on an existing result/evidence artifact.
source result/evidence
-> ASSERT-BASED-ON
-> new Claim
This is not adoption of the same proposition-like content. The new Claim preserves material support/evidence/dependence.
SupportDependency != DerivationEquivalence
Examples:
QueryAnswer -> ASSERT-BASED-ON -> Claim
AnalysisResult -> ASSERT-BASED-ON -> Claim
Prediction -> ASSERT-BASED-ON -> Claim
SemanticConsequence -> ASSERT-BASED-ON -> Claim
Observation -> ASSERT-BASED-ON -> Claim
No source result becomes true or assertive by itself.
6. Governance lifecycle
The STABLE GOVERNANCE-JUDGMENT-SEMANTICS.md remains authority for the meanings of Validation/Conformance, Admission, Authorization and Decision.
CB-L4 closes their lifecycle/transition relations.
6.1 Governed evaluation
H1 supports computations that introduce, under their contracts:
ConformanceJudgment
AdmissionJudgment
AuthorizationJudgment / evaluated AuthorizationStatus
These are CB-L2 situated results/judgments and do not automatically commit or execute an outcome.
6.2 Decision occurrence
A Decision is an explicit attributable semantic occurrence:
Decides(decider, subject, outcome, decision-basis, context/time)
-> Decision d
The existence of a Decision does not itself establish that the decider had valid normative power.
Decision != EffectiveDecision
Decision != AuthorizedDecision
DecisionOccurrence -/-> NormativeEffect
This permits invalid/purported/overturned Decisions to remain historically representable when a domain needs that fact.
6.3 Judgment to Decision
A Decision may consume judgments/evidence as basis, but:
ConformanceJudgment -/-> Decision
AdmissionJudgment -/-> AdmissionDecision
AuthorizationJudgment -/-> GrantDecision
No mandatory evaluation pipeline is assumed.
6.4 Persistent governance status
No universal law is admitted:
GrantDecision -> PermissionStatus
RevokeDecision -> NotAuthorizedStatus
A GovernanceContract determines whether status is:
- explicitly introduced/withdrawn by a status transition; or
- derived from decision/normative history under a declared interpretation.
Where normative effectiveness matters, consumers require the applicable GovernanceContract standing/basis rather than a bare Decision occurrence or metadata field.
HasAuthorizationField -/-> Authorized
HasDecisionRef -/-> EffectiveDecision
6.5 Governance does not imply execution
AdmissionJudgment != BoundaryCrossing
AdmissionDecision != BoundaryCrossing
AuthorizationStatus != Execution
Decision != Execution
An unauthorized/invalid execution may still physically occur and remain historically representable; actuality does not retroactively legalize it.
6.6 ENSURE disposition
V1 validation/conformance capability is preserved and refined.
validation/conformance capability = PRESERVE + REFINE
ensure-as-universal-governance-family = REPLACE / NOT ASSUMED
A future surface ENSURE may remain a narrow validation/conformance convenience only if it does not hide Admission/Authorization/Decision distinctions.
7. Hypothetical / scenario lifecycle
7.1 Three distinct semantic levels
H1 separates:
HypothesisDefinition / ScenarioContract
!= HypothesisContextInstance
!= HypotheticalResult
HypothesisDefinition / ScenarioContract
Source-level semantic contract describing scenario construction/evaluation intent, assumptions/deltas/inputs and permitted operations.
HypothesisContextInstance
A particular sealed semantic evaluation context bound to exact materially relevant:
baseline source state
resolution/theory/rule/model revisions
bound inputs
assumptions/deltas
scope/frame/time basis
HypotheticalResult
A CB-L2 result produced relative to one context instance and carrying materially relevant hypothetical dependence.
SameScenarioDefinition + DifferentBaseline
= potentially different ContextInstance
7.2 Assumptions
Assume(H,p) != Claim(p)
Assume(H,p) != Truth(p)
Hypothesis evaluation does not by itself select a non-monotonic/default logic; any such reasoning requires an explicit ReasoningContract.
Hypothetical != NonMonotonicReasoningByDefault
7.3 Baseline isolation
Evaluation inside H does not mutate authoritative baseline source/state.
HypotheticalEvaluation -/-> BaselineMutation
Every result materially depending on H preserves/references the relevant assumptions/context instance.
7.4 Exact historical scenario basis
Executed/result-bearing context instances preserve exact material basis rather than mutable aliases such as current/latest.
MutableScenarioLocator != HistoricalScenarioBasis
7.5 Discard
DISCARD(H) means this lifecycle action performs no authority-bearing target transition from H.
It does not mean:
physical deletion
historical erasure
falsehood of scenario results
forbidden later reference
7.6 No universal promotion
There is no generic law:
PROMOTE(H,x) -> authoritative non-hypothetical x
Exits are target-category-specific, for example:
HypotheticalResult -> ASSERT/ADOPT-AS-OWN -> Claim
HypotheticalResult -> evidence for DECIDE
HypotheticalChangeProposal -> independently authorized SOURCE-EVOLVE
HypotheticalArtifact -> downstream computation preserving hypothetical dependence
7.7 Hypothetical authority cannot escape
Authority/permission/power existing only inside H cannot authorize a non-hypothetical baseline/source transition.
HypotheticalAuthority(H,a)
-/-> AuthorityForBaselineOrSourceTransition(a)
Exit authority is checked in the target/non-hypothetical authority basis or another explicit non-hypothetical meta-basis admitted by the transition contract.
7.8 Raw source incorporation preserves hypothetical standing
SOURCE-INCORPORATE(existing hypothetical artifact)
-> source records/references artifact
-> artifact remains hypothetical-dependent
A separate target-category introduction creates any new non-hypothetical target standing.
7.9 Real execution motivated by a scenario
A real external ExecutionAttempt explicitly invoked while evaluating H is actual, not hypothetical.
It preserves:
actual ExecutionAttempt/receipt standing
+
material HypotheticalDependency of request/decision/configuration
HypotheticalMotivation != HypotheticalExecution
Governance invalidity does not imply non-occurrence if an external system nevertheless executes.
7.10 HYPOTHESIZE disposition
what-if/scenario capability = PRESERVE + GENERALIZE
V1 overlay/mirror/isolate mechanism taxonomy = REPLACE / EVIDENCE ONLY
universal reify/merge = REPLACE
HYPOTHESIZE surface role = justified candidate, final syntax open
8. Authoritative source lifecycle
8.1 Three notions remain distinct
SOURCE AUTHORING
!= AUTHORITATIVE SOURCE-STATE EVOLUTION
!= SEMANTIC REVISION / SUCCESSION
Source authoring is source-language editing/creation.
Authoritative source-state evolution changes the semantic source state accepted as authoritative for subsequent interpretation.
Semantic revision/succession relates semantic items/states historically through correction, retraction, supersession, refinement or another domain-specific relation.
Not every source edit is revision of an existing semantic item. Not every semantic revision is mutation of one record.
8.2 Source evolution introduction
Conceptually:
SourceEvolve(source-authority,
base-source-state(s),
accepted-change-set,
authoring-basis,
effective/recording-time)
-> new AuthoritativeSourceState
The transition preserves/reconstructs materially relevant:
base state(s)
change set / semantic delta
source author / authority
reason/basis
predecessor/successor relation
applicable effective/valid time
recording/transaction/source-availability time
compatibility/migration consequences where material
Raw bytes/path/storage presence are insufficient.
8.3 Source inclusion is category-neutral
An authoritative source may record/reference Claims, observations, predictions, consequences, hypothetical results, provenance artifacts and conflicting items while preserving their original semantic standings.
PresentInAuthoritativeSource(x)
-/-> Claim(x)
-/-> Truth(x)
-/-> TheoryRule(x)
-/-> Decision(x)
-/-> Observation(x)
-/-> NonHypothetical(x)
.fsl is source authority for what declarations/records are in force, not universal domain-truth authority.
8.4 Raw mutation is not source evolution
FileWrite
StorageWrite
RuntimeWrite
RepositoryMutation
-/-> AuthoritativeSourceEvolution
A later implementation must realize the source-authoring/incorporation acceptance boundary rather than define it by accident.
8.5 Source history can branch
SourceHistory != MandatoryTotalOrder
Source succession may be a partial order/DAG or another declared history relation.
A merge can have multiple predecessors under an explicit source-evolution contract.
MergeSourceStates -/-> MergeSemanticIdentities
MergeSourceStates -/-> ResolveAllSemanticConflicts
8.6 Source evolution sequencing
An authority-sensitive source-evolution contract declares whether internal semantic changes are:
ATOMIC-UNDER-PRESTATE
or:
EXPLICITLY-ORDERED-SUBTRANSITIONS
Under ATOMIC-UNDER-PRESTATE, target-state authority cannot authorize sibling changes in the same transition.
Under explicit ordering:
T1 : S0 -> S1
T2 : S1 -> S2
later transitions may consume standings/authority introduced by completed earlier transitions.
FileOrder -/-> TransitionOrder
Physical transaction/atomicity is a later realization concern.
8.7 Historical time non-retroactivity
A later-recorded correction may state a different current account of a prior valid interval while preserving what source/knowledge was actually available to historical judgments.
BackdatedValidTime -/-> RewriteHistoricalKnowledgeBasis
When material, the system can distinguish:
what current source says was valid at t
vs
what source/basis was available when historical judgment j occurred
8.8 Semantic identity across source states
Unchanged semantic items may preserve identity across source states.
SourceStateIdentity != ContainedSemanticItemIdentity
Path/text/location change does not create semantic identity by itself; CB-L1 reference/history rules remain applicable.
9. Retraction, correction and supersession
9.1 Retraction
Retraction is an attributable historical transition under an applicable authority contract.
IssuerRetraction != SourceDeactivation
IssuerRetraction != DeleteClaim
IssuerRetraction != False(ClaimContent)
IssuerRetraction != rho=0
A source curator may deactivate/remove an item from a current source view without the issuer retracting it.
An issuer may retract a Claim while archival/current source continues to record both Claim and retraction.
A third party without applicable retraction authority may report that retraction occurred but cannot manufacture issuer-retraction standing.
9.2 Correction / supersession
A correction can introduce new semantic content/Claim plus an explicit historical relation to the corrected artifact.
Supersession establishes succession/current-preference under a declared contract; it does not imply prior content was always false.
Correction != MutationOfOldClaim
Supersession != HistoricalDeletion
Supersession -/-> PriorContentAlwaysFalse
Exact subtype taxonomy remains open.
9.3 Currentness and conflict
CurrentSelection != ConflictResolution
SourceDeactivation != Reconciliation
Supersession != TruthAdjudication
A current/preferred/active view may explicitly restrict what is surfaced without erasing incompatible historical/coexisting positions.
If a transition genuinely resolves/adjudicates/reconciles conflict, the applicable relation/basis is explicit and prior conflict remains reconstructible.
9.4 Theory revision is not universal source evolution
AGM-style expansion/contraction/revision may inform a future TheoryRevisionContract for suitable consequence-closed theories.
TheoryRevision != AllSourceEvolution
10. Minimal dynamic-kind jurisdiction
H1 must preserve/computably expose, when domain contracts distinguish them:
State
Change / Event
Action
Process
Occurrence
Effect
Observation
This is a language semantic-kind/interface obligation, not a seven-primitive ontology.
10.1 State
A semantic State describes a domain condition/configuration under a relevant basis/time.
It is not identified with:
AuthoritativeSourceState
StorageSnapshot
RuntimeMemoryState
HypothesisContextInstance
10.2 Change / Event
A Change/Event semantic referent or description does not establish that the event actually occurred.
EventReference/Description -/-> EstablishedOccurrence
10.3 Action
An Action semantic contract/kind describes an action/capability that may be requested/invoked/executed.
ActionSemanticContract
!= ExecutionRequest
!= ExecutionAttempt
One Action may have many requests/attempts.
10.4 Process
A semantic Process is a domain-semantic temporally/structurally extended activity when required.
SemanticProcess != RuntimeProcess
SemanticProcess != WorkflowRun by default
10.5 Type/kind integration
CB-L1 infrastructure must allow these roles to be declared/referenced/checked without making typing an actuality or governance oracle.
WellTyped(Action) -/-> Authorized(Action)
WellTyped(EventReference) -/-> Occurred(Event)
10.6 Computational integration
CB-L3 computations about dynamic roles do not promote them:
Query(Event) -/-> Occurrence
Prediction(Effect) -/-> Effect
SemanticConsequence(OccurrenceContent) -/-> EstablishedOccurrence
A lifecycle/evidence introduction relation remains required.
11. Execution / occurrence / effect / observation lifecycle
11.1 Action request / invocation
A semantic request/invocation references, as applicable:
action semantic contract
requested inputs
requesting principal
required governance standings/basis
scope/time
A Decision may support a request, but:
Decision -/-> ExecutionRequest
without an explicit invocation transition.
11.2 Execution attempt
An actual ExecutionAttempt introduces a runtime/run occurrence with reconstructible, where material:
action contract revision
request/input basis
requester
executor/provider/run accountability
attempt identity
time
termination/receipt status
Executor != Requester != Authority
Provider identity is runtime trace/accountability by default. It becomes semantic action/observation basis only if the semantic contract explicitly makes it material.
11.3 Execution receipt
CB-L2 receipt discipline remains authoritative.
A receipt establishes only its declared operational boundary guarantee.
AuthenticatedReceipt -/-> SemanticCorrectness
ExecutionSuccess -/-> ExternalEffectOccurred
11.4 Actuality positions
H1 does not require a universal OccurrenceStatus object.
A position concerning actual occurrence may be represented by an Assessment, Claim, Observation-supported judgment, declared runtime guarantee or another admitted standing.
What is mandatory is reconstructible basis.
ReferenceTo(o) -/-> Occurred(o)
11.5 Effect / causal standing
A causal/effect position is basis-qualified:
EffectOf_under_Basis(cause, occurrence, B)
TemporalSuccession -/-> EffectOf
ExecutionSuccess -/-> EffectOf
CausalAnalysisResult != Truth
No universal causal-truth oracle is introduced.
11.6 Observation introduction
Observation standing is introduced through an observation/acquisition contract identifying, as material:
observer / instrument / source
observed target/referent or proposition-like content
acquisition method/guarantee
observation time
scope/frame
payload
uncertainty/quality if modeled
material provenance
Observation != Claim
Observation != Truth
Conflicting observations can coexist.
11.7 Observation to semantic position
Observation may support later Assessment or Claim only through explicit relation/transition.
Observation -> Assessment under assessment basis
Observation -> ASSERT-BASED-ON / adoption as appropriate -> Claim
The later position preserves materially relevant observation dependence.
11.8 Runtime output to source
Runtime result/receipt/observation affects authoritative source only through explicit source-authoring/incorporation.
RuntimeOutput != AuthoritativeSourceUpdate
RuntimeStorageWrite != SourceIncorporation
If source incorporation also introduces a new semantic category, the category-specific transition remains separately explicit.
12. Lifecycle occurrence time vs recording time
A lifecycle occurrence may be recorded/imported/incorporated later than it semantically occurred.
Where material, preserve distinct temporal roles such as:
assertion/issuance time
communication/receipt time
observation/acquisition time
decision time
action-request time
execution-attempt time
external occurrence/effect time
valid/effective time
knowledge/availability time
source-authoring/source-state effective time
recording/transaction/import time
AssertionTime != ClaimImportTime
ObservationTime != ObservationRecordingTime
DecisionTime != DecisionRecordingTime
ExecutionAttemptTime != ReceiptRecordingTime
OccurrenceTime != ObservationTime
ValidTime != RecordingTime
Later recording does not create a later semantic occurrence.
If original occurrence time is unknown, preserve UNKNOWN rather than substitute recording time.
13. Replay and semantic occurrence identity
Semantic lifecycle occurrence identity is stable across re-elaboration/rehydration/replay of the same occurrence.
ReplaySameAssertion != NewAssertion
ReplaySameDecision != NewDecision
ReplaySameObservation != NewObservation
ReplaySameSourceEvolution != NewSourceEvolution
ReplaySameRetraction != NewRetraction
For execution:
ReplayExecutionTrace != NewExecutionAttempt
ReExecuteAction = NewExecutionAttempt
A genuinely repeated assertion/decision/observation/retraction creates a new occurrence only when the semantic occurrence itself is new.
Concrete IDs/idempotency keys remain representation choices.
14. Transition completion and co-realization
14.1 Attempt vs target introduction
TransitionAttempt
!= SuccessfulTransition
!= TargetStandingIntroduced
A material target-introducing transition contract determines:
formation/applicability
authority/admissibility
successful-introduction criterion
negative/denied outcome
unresolved/unknown outcome
mechanism/runtime failure where applicable
partial target semantics if any
Base law:
FailedOrUnresolvedIntroduction -/-> TargetStandingIntroduced
unless a contract explicitly defines a meaningful partial target whose incompleteness remains visible under CB-L2.
The failed attempt itself may remain historically representable.
14.2 One surface action may co-realize multiple semantic transitions
Examples:
author new Claim in .fsl
= ASSERT + SOURCE-EVOLVE
issuer retracts through source authoring
= ISSUER-RETRACTION + SOURCE-EVOLVE
observation ingestion into source
= OBSERVE + SOURCE-EVOLVE
AtomicCoRealization != SemanticIdentity
Each transition retains its own introduction rule, authority/basis, identity effect, standing effect and history.
14.3 Completion coupling is explicit
A compound surface/authoring action may elaborate, as applicable, to semantic completion structures such as:
CONSTITUTIVELY-COUPLED
INDEPENDENT-OUTCOMES
EXPLICITLY-ORDERED
These are semantic completion shapes, not required source keywords.
Constitutively coupled
A compound introduction succeeds as a declared semantic unit.
Independent outcomes
One semantic occurrence exists independently and another transition merely records/incorporates it.
Example: Alice already asserted C externally; later source incorporation failure does not erase C.
Explicitly ordered
A later transition consumes the successfully introduced target of an earlier transition.
OneSurfaceAction != OneSemanticCompletionBit
Tool/runtime aggregate status cannot replace materially relevant component transition outcomes.
15. Source/current lifecycle does not erase conflict/history
A current/preferred/active source position can be established under an explicit contract without destroying incompatible prior/coexisting positions.
CurrentSelection != ConflictResolution
SourceDeactivation != Reconciliation
Supersession != TruthAdjudication
MergeSourceStates != ResolveSemanticConflict
Current status/source view may be derived/cached, but material histories remain reconstructible, including:
grant -> revoke -> regrant
assert -> retract -> reassert
request -> fail -> retry -> succeed
observation A -> conflicting observation B
source S1 -> fork S2/S3 -> merge S4
CurrentState != CompleteLifecycleHistory
16. H1 lifecycle capability inventory
The H1 language must make these roles expressible/recoverable without requiring each to be a top-level primitive:
COMPUTE
ASSERT-NEW
ADOPT-AS-OWN / REASSERT
ASSERT-BASED-ON
TRANSMIT / RECEIVE / ACCEPT-FOR-USE / USE / RETRANSMIT
VALIDATE / CONFORMANCE-JUDGMENT
ADMISSION-JUDGMENT
AUTHORIZATION-JUDGMENT / STATUS
DECIDE
contract-specific governance status transition
HypothesisDefinition / ScenarioContract
HypothesisContextInstance
ASSUME
hypothetical evaluation
DISCARD
category-specific hypothetical exit
SOURCE-AUTHOR
GENESIS SOURCE INTRODUCTION
SOURCE-EVOLVE / SOURCE-INCORPORATE
RETRACT / CORRECT / SUPERSEDE where declared
State / Change-Event / Action / Process semantic roles
Action REQUEST / INVOKE
EXECUTION ATTEMPT
EXECUTION RECEIPT / boundary guarantee
actuality position about occurrence
causal/effect position under explicit basis
OBSERVE
MATERIALIZE / PERSIST as non-promoting realization/storage roles
This is semantic coverage, not a frozen keyword list.
17. Cross-bundle composition laws
17.1 Computation -> Claim
CB-L2/CB-L3 Result
-> ASSERT-NEW / ADOPT-AS-OWN / ASSERT-BASED-ON
-> Claim
No implicit edge exists.
17.2 Governance judgments -> Decision
judgments + evidence + decider/basis
-> DECIDE
-> Decision occurrence
Normative effectiveness remains separately established.
17.3 Decision -> execution
Decision
may support
ExecutionRequest
-> ExecutionAttempt
The request/attempt transition is explicit.
17.4 Execution -> effect
Receipt/guarantee may support an actuality/effect position, but:
ExecutionSuccess -/-> Effect
17.5 Observation -> Claim/Assessment
Observation supports a later position through explicit Assessment/assertion transition.
17.6 Hypothetical -> target category
No generic promotion. Use the target category’s introduction rule.
17.7 Result/Observation -> source
Explicit source incorporation is required; source incorporation itself does not change semantic category.
17.8 Revision history
Revision/succession introduces new historical standing/state while preserving prior identity/basis/history rather than rewriting it.
18. Surface/DX disposition
This contract does not freeze grammar, but the formative probe establishes viable surface roles.
CLAIM
= PRESERVE + REFINE
HYPOTHESIZE
= PRESERVE + GENERALIZE
REVISE
= PRESERVE + REFINE for explicit semantic evolution/succession
ENSURE
= PRESERVE/REFINE only as possible validation/conformance convenience;
NOT universal governance semantics
DECIDE / EXECUTE / OBSERVE
= semantic roles are surfaceable;
primitive/operator status OPEN
Generic ACCEPT/PROMOTE hypothetical exit
= REJECTED as universal semantic operation
One concise surface action may elaborate to multiple semantic transitions if their distinctions remain reconstructible.
SIMPLE SURFACE != SIMPLIFIED SEMANTICS
19. V1 dispositions
V1 CLAIM first-class attributable assertion
= PRESERVE + REFINE
V1 Claim-as-append semantics
= REPLACE
V1 ENSURE validation/conformance
= PRESERVE + REFINE
V1 ENSURE strict/enforcement collapse
= REPLACE
V1 HYPOTHESIZE what-if/scenario capability
= PRESERVE + GENERALIZE
V1 overlay/mirror/isolate mechanism taxonomy
= REPLACE / HISTORICAL EVIDENCE ONLY
V1 hypothetical generic reify/merge
= REPLACE
V1 REVISE semantic history/evolution capability
= PRESERVE + REFINE
V1 rho=0 revocation
= DROP AS SEMANTIC ERROR
V1 physical append/snapshot revision semantics
= MOVE TO REALIZATION/STORAGE
V1 Workflow final-state/process-history shortcut
= NOT PROMOTED; CB-L5 owns final composition
20. Semantic Continuity closure
The final CB-L4 continuity audit reports:
SC-D1 Identity PASS
SC-D2 Attribution PASS
SC-D3 Temporal role PASS
SC-D4 Scope/frame PASS
SC-D5 Epistemic/standing PASS
SC-D6 Conflict PASS
SC-D7 Normative basis PASS
SC-D8 Provenance/dependence PASS
SC-D9 Representation PASS
SC-D10 Accountability PASS
SC-D11 Completion PASS
ACCIDENTALLY-LOST = NONE FOUND
E2E CONTINUITY SLICE = PASS AT SEMANTIC-CONTRACT LEVEL
CB-L5/P2B still owns whole-language integrated continuity across all bundles.
21. Selective formalization routing
CB-L4 closure does not authorize immediate mechanization.
FORMALIZATION_REQUIRED_FOR_CB_L4_SEMANTIC_CLOSURE = NO
MECHANIZATION_AUTHORIZED = NO
High-risk downstream formalization/assurance obligations include at least:
FO-L4-01 Claim issuance anti-forgery / introduction authority
FO-L4-02 adoption content-correspondence preservation
FO-L4-03 transition authority non-self-grounding
FO-L4-04 hypothetical authority non-escape
FO-L4-05 source inclusion standing anti-promotion
FO-L4-06 bootstrap/root trust-boundary conformance
FO-L4-07 replay semantic-occurrence non-creation
FO-L4-08 historical source/basis non-retroactivity
FO-L4-09 Decision occurrence / normative-effectiveness separation
FO-L4-10 hypothetical simulation / actual dynamics anti-promotion
FO-L4-11 execution/temporal succession / causation non-entailment
FO-L4-12 transition attempt/completion/target-standing separation
FO-L4-13 currentness/conflict/history preservation
FO-L4-14 co-realized transition distinctness and completion correspondence
Exact formal predicates remain downstream because lifecycle/source/delegation/history/effectiveness carriers are not yet fully closed for mechanization.
A proof of arbitrary enum separation, deterministic IDs, source-version immutability or local acyclicity is not sufficient discharge of these obligations.
22. Open downstream questions
The following remain intentionally open and are not CB-L4 blocking unknowns:
- final surface syntax/operator decomposition;
- exact semantic-content correspondence/equivalence calculus for adoption;
- exact delegation/representation/signature/credential mechanism;
- exact source-authority/governance-power calculus;
- exact persistent authorization/status representation;
- exact policy/constraint language;
- exact source delta/history carrier;
- exact root trust-anchor implementation;
- exact scenario/context physical representation;
- nested/scenario branching surface syntax;
- exact retraction/correction/supersession subtype taxonomy;
- exact belief/ontology revision calculus for specialized theories;
- exact causal inference calculus;
- exact observation schema/acquisition protocol;
- exact runtime action/event/transaction architecture;
- exact semantic occurrence ID representation;
- final heterogeneous whole-language composition — CB-L5/P2B;
- complete executable semantic interface — CB-L5/P2B;
.fsp, planner, provider, runtime and storage realization — P3;- implementation/conformance formal acceptance mechanisms — P5.
UNKNOWN remains preferable to selecting an implementation-convenient semantic mechanism outside this scope.
23. Closure status
For V2-WHOLE-LANGUAGE-H1:
A5 AUTHORITY / GOVERNANCE INFRASTRUCTURE = STABLE / CLOSED FOR CB-L4 SCOPE
A6 DYNAMIC SEMANTIC ROLES = STABLE / CLOSED FOR CB-L4 SCOPE
A9 SOURCE LIFECYCLE BOUNDARY = STABLE / CLOSED FOR CB-L4 SCOPE
B2 ATTRIBUTABLE ASSERTION / ADOPTION = STABLE / CLOSED FOR CB-L4 SCOPE
B6 GOVERNED EVALUATION = STABLE / CLOSED FOR CB-L4 SCOPE
B7 HYPOTHETICAL / SIMULATION = STABLE / CLOSED FOR CB-L4 SCOPE
B8 REVISION / SOURCE EVOLUTION = STABLE / CLOSED FOR CB-L4 SCOPE
C3 CATEGORY-CHANGING LIFECYCLE = STABLE / CLOSED FOR CB-L4 SCOPE
FORMATIVE SURFACE / DX = PASS
SEMANTIC CONTINUITY SC-D1..SC-D11 = PASS
E2E CONTINUITY SLICE = PASS
ACCIDENTALLY-LOST = NONE FOUND
V1 CAPABILITY REGRESSION = NONE FOUND FOR CB-L4 SCOPE
FORMALIZATION ROUTING = PASS / MECHANIZATION DEFERRED
CB-L4 BLOCKING UNKNOWN = NONE FOUND
CB-L4 = STABLE / TERMINAL FOR BUNDLE SCOPE
This does not imply:
CB-L5 = PASS
P2B = PASS
LANGUAGE_SEMANTIC_CLOSURE = PASS
EXECUTABLE_SEMANTIC_INTERFACE_CONTRACT = CLOSED
P3 = AUTHORIZED
IMPLEMENTATION_READINESS = ESTABLISHED
IMPLEMENTATION = AUTHORIZED
FORMASL_LANGUAGE_COMPLETE = YES
The next conservative bundle is CB-L5 — INTEGRATED COMPOSITION / SEMANTIC CONTINUITY, which also carries the P2B integrated language-definition audit and executable semantic interface contract output.
24. Reopen triggers
Reopen CB-L4 only for material evidence such as:
- a lifecycle transition path that can still forge issuer/authority/standing;
- a counterexample where hypothetical authority or source placement promotes standing implicitly;
- a replay/identity case that creates or erases semantic occurrences incorrectly;
- a source/history construction that cannot preserve historical interpretation or conflict;
- a dynamic execution/occurrence/effect/observation case that requires an unmodeled semantic bridge;
- an implementation impossibility that cannot be repaired without changing lifecycle meaning;
- contradiction with higher authority or a later STABLE CB-L5 integration result;
- a formalization acceptance false-pass showing the current lifecycle claim can be discharged by a materially weaker proposition.
A simpler event log, state machine, API or storage model is not by itself a reopen trigger.
FormaSL — Occurrence, Effect, Observation and Claim
Status: STABLE
Authority: NORMATIVE DESIGN
Parent: ../FORMASL.md
Depends on: Formal World Model, Semantic Invariants, Semantic Continuity
Role: define the operational semantic loop without collapsing execution, world occurrence, causal effect, observation, Claim or truth.
1. Core decision
FormaSL admits that reality may contain occurrences independently of the language, but the language has no implicit privileged oracle over them.
ReferenceTo(o) != EstablishedOccurrence(o)
The operational loop is therefore not a direct effect -> claim conversion.
A safer abstract shape is:
semantic inputs
-> computation
-> governance / decision
-> execution attempt / action
-> possible world occurrence
-> [epistemic boundary]
-> observation / evidence / declared runtime guarantee
-> later semantic result / optional Claim
The epistemic boundary is constitutive: movement from world occurrence to semantic knowledge requires an explicit basis.
2. Reference is not actuality
FormaSL may need a stable referent for a possible or disputed occurrence:
o = possible equipment failure at t
Alice: occurred(o)
Bob: did-not-occur(o)
Carol: unknown(o)
The ability to refer to o does not decide which position is correct.
Refer(o) != Occurred(o)
This prevents a represented event/state node from becoming a hidden fact table merely because it exists in the runtime.
3. Decision, execution and external effect
These remain distinct:
Decision != Execution
Execution != ExternalEffect
A candidate may be admitted but never executed.
An execution may complete at a runtime boundary while the intended external-world effect fails.
Example:
send_command(open_valve) -> SUCCESS
may establish only what the declared runtime contract guarantees, such as “command dispatch completed.” It does not automatically establish “the physical valve opened.”
A runtime may establish occurrence inside the scope of an explicit boundary guarantee:
DeclaredBoundaryGuarantee(B, o)
but the guarantee does not extend beyond its declared scope.
database commit succeeded
!=
all downstream business/physical consequences occurred
4. Effect is a causal role
Effect is not synonymous with every occurrence after an action.
An occurrence is treated as an effect of an action/process only when the causal relation is explicit or supported by the applicable semantic/runtime contract.
Conceptually:
EffectOf(action, occurrence)
Therefore:
Occurrence != Effect
Precedes(action, occurrence) != EffectOf(action, occurrence)
ExecutionSuccess != EffectOf(action, occurrence)
Temporal succession alone does not establish causation.
The exact causal-evidence calculus remains open.
5. Observation is epistemic access
Observation is a semantically qualified way in which information about reality becomes available to an agent/system.
Occurrence != Observation
Observation != Claim
Observation != Truth
An observation may be partial, noisy, disputed, instrument-dependent or incompatible with another observation.
Two observers may report different results concerning the same possible occurrence.
An occurrence may also happen without any available observation.
The exact observation carrier/model remains open.
6. Observation does not automatically create a Claim
Observation and assertion are different roles.
A system may observe without issuing a Claim, or an agent may later assert a Claim based on an observation.
Observation O
|
| optional attributable assertion
v
Claim C
If C is issued, it has its own Claim-token identity and issuer while preserving relevant dependence/provenance to O.
This follows the general rule:
Computation / acquisition != Assertion
7. Runtime success, evidence and observation
A declared runtime guarantee, external attestation, sensor observation or other evidence source may provide an epistemic basis for a semantic judgment concerning occurrence.
These bases need not share one universal artifact type.
What must remain recoverable where relevant is:
- what occurrence/referent is at issue;
- what source/boundary supplied the basis;
- what exactly that basis guarantees;
- relevant time/scope/frame;
- confidence/uncertainty where modeled;
- contradictions with other observations/evidence.
No basis is silently upgraded beyond its contract.
8. Four distinct histories
A conforming design must be able to distinguish at least:
History A
action attempted
no effect established
History B
action attempted
effect established
no observation available
History C
action attempted
observation reports intended effect
effect status remains disputed/unresolved
History D
action attempted
declared runtime boundary guarantees an effect
independent observation disagrees
Collapsing these to success = true destroys material semantics.
9. Interaction with governance
Admission and authorization occur before or around action according to the chosen design, but neither establishes occurrence.
Admitted != Executed
Authorized != Executed
Decision != Effect
Likewise, an action may physically occur despite being unauthorized; occurrence does not retroactively create permission.
10. Interaction with hypothetical evaluation
A hypothetical/preflight scenario may reason about an action and its possible effects without asserting that either actually occurred.
HypotheticalAction != ExecutedAction
HypotheticalEffect != EstablishedEffect
Promotion from a hypothetical result into a Claim, decision or execution is explicit and category-appropriate.
11. Failure and unresolved semantics
The design must permit explicit distinctions such as:
execution failed
execution succeeded within boundary B
external effect unknown
external effect established under basis E
no observation available
conflicting observations
unresolved actuality
UNKNOWN/UNRESOLVED is preferable to inventing a hidden oracle.
12. Architectural freedom
This contract does not require:
- a universal
Occurrencestruct; - a universal event store;
- event sourcing;
- an
OCCURoperator; - a single sensor model;
- a single world-state database;
- a universal evidence artifact;
- one causal inference engine;
- automatic
Observation -> Claimconversion.
Architecture may use shared carriers if the semantic roles and guarantee boundaries remain recoverable.
FormaSL — P7 Claim/Evidence Dependence Matrix
Status: STABLE / VERIFIED — P7 TERMINAL EVIDENCE OWNER
Authority: P7 ACCEPTANCE-EVIDENCE CONTROL OWNER (roadmap §14.1 deliverable)
Roadmap phase: P7 — WHOLE-LANGUAGE CONFORMANCE CAMPAIGN = VERIFIED / CLOSED
Parent authorities: WHOLE-LANGUAGE-ROADMAP.md §14 + §18; IMPLEMENTATION-CONFORMANCE-CONTRACT.md; EXECUTABLE-CORRESPONDENCE-LEDGER.md; FORMALIZATION-OBLIGATION-LEDGER.md; P5AR-C-REPRESENTATION-IMPLEMENTATION-CONTRACTS.md §1.8; P5AR-D-P6-MACRO-CAMPAIGN-GRAPH.md §7
Date: 2026-08-26
Role: single canonical owner of the terminal P7 claim/evidence dependence matrix required by roadmap §14.1; preserves the campaign’s claim/evidence closure and RA-09 acceptance evidence for downstream integrity checks.
1. Jurisdiction and reading rules
This owner records, for every material P7 acceptance claim: contract trace, failure impact, CRITICAL classification, the implementation path under acceptance, evidence routes, shared-path analysis, independence classification, acceptance basis, current status and blocking gap.
MATRIX ROW EXISTS != CLAIM PASS
TESTS EXIST != COVERAGE COMPLETE
P6 WP CLOSED != P7 CLAIM PASS
OLD GREEN != CURRENT PASS
SAME BUG PATH != INDEPENDENT ORACLE
Machine-readable blocks: p7-routes (route table) and p7-matrix (claim rows).
The mechanical gate (formasl-conformance p7_matrix module) parses these blocks;
hand edits that break the schema fail the gate.
Row fields (pipe-separated):
ID | CRIT | TRACE | IMPL | ROUTES | INDEP | STATUS | GAP
- CRIT:
Y/N. CRITICAL per roadmap §14.1: a false positive could misrepresent required semantic meaning, authority, identity, category transition, Semantic Continuity or failure/completion. Every row currently in this matrix is material AND critical; supportive/meta observations are not matrix rows. - TRACE: contract trace (owner + section).
- IMPL: implementation path(s) whose correctness is being accepted.
- ROUTES: evidence route IDs from §2 (
-only on meta rows). - INDEP: strongest independence class among the row’s routes (I0 SAME-PATH < I1 INDEPENDENT-SPEC-CHECKER < I2 INDEPENDENT-REFERENCE < I3 KERNEL-CHECKED-BRIDGE < I4 EXTERNAL-ASSURANCE; P5AR-C §1.8 / P5H-C §6). The gate cross-checks this field against the route table.
- STATUS:
MAPPED(route exists and is grounded at file/symbol level),VERIFIED(route executed and shown to discriminate FOR THIS CLAIM at its owning campaign WP),GAP-OPEN(no adequate route; GAP text mandatory). - GAP:
-or the blocking-gap description. GAP-OPEN with empty GAP is rejected by the gate.
Acceptance rule (fail-closed): CRIT=Y requires at least one route of class
I1..I4. A CRIT=Y row whose routes are all I0 is rejected by the gate as
CRITICAL_CLAIM_WITH_ONLY_CIRCULAR_EVIDENCE unless STATUS=GAP-OPEN records the
hole (which blocks campaign terminal state instead). P7 terminal requires:
STATUS=VERIFIED for every row and zero GAP-OPEN.
E-FINITE qualification rule (applied per route): a finite matrix counts as I1 only when its domain is explicitly enumerated, its expected verdicts are derived from the contract (not computed by the path under acceptance), and hostile/ negative cases are present. Self-consistency or round-trip expectations are I0.
2. Evidence route table
Fields: RT-ID | definition | evidence class | independence | shared-path declaration.
RT-FE-FIN | frontend fixtures_positive/negative admission matrices | E-FINITE | I0 | same lexer/parser under acceptance
RT-FE-AUDIT | e_static_owner_audit: rejection-class audit derived from surface owner lists (not parser internals) | E-STATIC | I1 | reads contract doc classes; no parser code shared
RT-RS-FIN | resolver basis_matrix/tree_to_basis/static_env_judgments matrices over explicit finite bases | E-FINITE | I1 | contract-derived expected verdicts; hostile negatives included
RT-RS-ALIAS | e_static_audit: independent alias grounding path (audit_resolution/ground_alias) vs main resolver | E-STATIC | I1 | structurally separate grounding implementation
RT-RS-SUBT | subtype_independence: naive quadratic closure recomputed per pair vs StaticEnvironment::subtype | E-FINITE | I1 | independent judgment recomputation, disjoint algorithm
RT-EL-DUAL | dual-path elaboration agreement (reference.rs vs elaborate.rs) | E-TV | I2 | independent reference elaborator implementation
RT-EL-SCHEMA | schema_audit: adversarial schema-absence audit of ExplicitSemanticProgram | E-STATIC | I1 | third path; reads program schema, not elaborator internals
RT-RC-PROP | result-core outcome_channels: two-channel property suite + negative-vocabulary matrix | E-PROP | I1 | spec-law predicates over API, not producer internals
RT-RC-COMP | composition_conflict_fragment: laundering/conflict/fragment-selector probes | E-FINITE | I1 | contract-derived hostile probes
RT-LC-PROBES | lifecycle_probes: introduction-path audits + forgery/escape/replay hostiles | E-STATIC+E-FINITE | I1 | audit enumerates introduction paths vs lifecycle owner
RT-QRY-FIN | query_matrix: witness/multiplicity/existence/completion/selector matrices | E-FINITE | I1 | contract-derived expectations over explicit finite domains
RT-REA-FORM | reasoning formation checker (formation.rs) independent of r1/r2/r3 evaluators | E-FINITE | I1 | checker shares no evaluation code
RT-REA-EVAL | reasoning_matrix: R1 LFP/NAF/aggregates/warded/certain-answer matrices + hostiles | E-FINITE | I1 | contract-derived expected outcomes incl. hostile probes
RT-AGDA | check_agda.sh kernel-checked frozen surfaces (FB-1..5 carriers, SM matrix, M18/M19 probes) | E-FORMAL-BRIDGE | I3 | Agda kernel; no Rust code shared
RT-AN-FIN | analysis_probes: binding/accuracy/provider-negative/non-retroactivity matrices | E-FINITE | I1 | contract-derived expectations
RT-TF-FIN | transform_probes: lineage matrices + lowering-separation audit + adoption anti-promotion | E-FINITE+E-STATIC | I1 | contract-derived expectations
RT-CMP-PROBES | compose_probes: order matrices + envelope soundness recomputation + governed-admission audit | E-PROP+E-STATIC | I1 | envelope oracle recomputed from semantic order
RT-LOW-TV | lowering validate_translation independent translation validator + codec matrices | E-TV | I1 | validator independent of lower()
RT-RLZ-FIN | realization_probes: candidate-set exhaustion, weakening rejection, joint checks | E-FINITE | I1 | exhaustive finite over admitted candidate sets
RT-PLN-PROP | plan_probes: schedule-envelope properties recomputed from semantic order + jurisdiction matrices | E-PROP | I1 | oracle recomputes from OrderCoordinates, not planner output
RT-RT-PROP | runtime_probes: sealing/retry/reuse properties + hostile cache/timeout suites + identity-chain audit | E-PROP+E-FINITE | I1 | ReuseAdmissible issuer audit independent of cache module
RT-PRV-FIN | provider_probes: provider-negative suites + bridge-jurisdiction audit | E-FINITE+E-STATIC | I1 | contract-derived negatives
RT-ACT-FIN | action_probes: three-schema separation + collapse/laundering hostiles + OBG-4/5 local gating | E-FINITE | I1 | contract-derived hostiles
RT-PUB-FIN | publication_probes: conflict/base matrices + authority-path audit | E-FINITE+E-STATIC | I1 | contract-derived matrices
RT-EV-FIN | evidence admission_probes: hostile admission suite, fail-closed demonstration | E-FINITE | I1 | contract-derived hostiles
RT-FP-SUITE | conformance fp_suite: FP-01..25 hostile discriminators | E-FINITE | I1 | each probe names its defect + discriminator
RT-E2E-CHAIN | conformance chain build/reconstruct (FO-L5-09/14) | E-FINITE | I1 | reconstruction path separate from construction
RT-CHG-ENUM | chg_absence enumeration + hostile self-test + typed UnsupportedMode probes | E-STATIC | I1 | enumerator reads public surface, not impl internals
RT-IND | conformance independence.rs audit artifact (P5H-C duties) | E-STATIC | I1 | audit over route metadata
RT-OBG-AUDIT | P5AR-C §6 bounded external-assurance contract inspection + lifecycle obg.rs + action OBG-4/5 probes | E-EXTERNAL+E-FINITE | I4 | external premises trusted only within declared scope (ICC §5)
RT-MATRIX-GATE | P7 matrix mechanical gate (this owner's checker): coverage + schema + independence rule | E-STATIC | I1 | reads this matrix, not implementation paths
RT-NOSTUB | check-no-stubs.sh (0 postulates / no stub vocabulary) | E-STATIC | I0 | supplemental hygiene scan
3. The matrix
3.1 Acceptance layers (ICC §4)
AC-01 | Y | ICC §4; surface §23-24 | frontend | RT-FE-FIN,RT-FE-AUDIT | I1 | VERIFIED | -
AC-02 | Y | ICC §4 | resolver | RT-RS-FIN,RT-RS-ALIAS | I1 | VERIFIED | -
AC-03 | Y | ICC §4; LDF; TYPE-CAPABILITY | resolver | RT-RS-FIN,RT-RS-SUBT | I1 | VERIFIED | -
AC-04 | Y | ICC §4; ESIC E1 | elaborate | RT-EL-DUAL,RT-EL-SCHEMA | I2 | VERIFIED | -
AC-05 | Y | ICC §4; SITUATED-RESULT | result-core | RT-RC-PROP,RT-RC-COMP | I1 | VERIFIED | -
AC-06 | Y | ICC §4; LIFECYCLE-TRANSITIONS | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
AC-07 | Y | ICC §4; QCC/ACC/RCC/TCC | query,reasoning,analysis,transform | RT-QRY-FIN,RT-REA-FORM,RT-REA-EVAL,RT-AN-FIN,RT-TF-FIN,RT-AGDA | I3 | VERIFIED | -
AC-08 | Y | ICC §4 | compose | RT-CMP-PROBES | I1 | VERIFIED | -
AC-09 | Y | ICC §4; surface §fsp | realization | RT-RLZ-FIN | I1 | VERIFIED | -
AC-10 | Y | ICC §4; ECL §8 O-26/27/38 | lowering | RT-LOW-TV | I1 | VERIFIED | -
AC-11 | Y | ICC §4 | plan,runtime,provider | RT-PLN-PROP,RT-RT-PROP,RT-PRV-FIN | I1 | VERIFIED | -
AC-12 | Y | ICC §4 | runtime | RT-RT-PROP | I1 | VERIFIED | -
AC-13 | Y | ICC §4; EFFECT-OBSERVATION-CLAIM | action,provider | RT-ACT-FIN,RT-PRV-FIN | I1 | VERIFIED | -
AC-14 | Y | ICC §4 | publication | RT-PUB-FIN | I1 | VERIFIED | -
AC-15 | Y | ICC §4; surface §23-24 | all crates (typed rejection classes) | RT-FE-AUDIT,RT-FP-SUITE | I1 | VERIFIED | -
3.2 P3 correspondence boundaries (ICC §6; ECL §3)
BND-01 | Y | ICC §6; ECL §3 | elaborate->lowering | RT-EL-DUAL,RT-LOW-TV | I2 | VERIFIED | -
BND-02 | Y | ICC §6; ECL §3 | lowering,plan | RT-LOW-TV,RT-PLN-PROP | I1 | VERIFIED | -
BND-03 | Y | ICC §6; ECL §3 | lowering(carrier/codec) | RT-LOW-TV | I1 | VERIFIED | -
BND-04 | Y | ICC §6; ECL §3 | realization | RT-RLZ-FIN | I1 | VERIFIED | -
BND-05 | Y | ICC §6; ECL §3 | compose,plan | RT-CMP-PROBES,RT-PLN-PROP | I1 | VERIFIED | -
BND-06 | Y | ICC §6; ECL §3 | plan,runtime | RT-RC-PROP,RT-PLN-PROP,RT-RT-PROP | I1 | VERIFIED | -
BND-07 | Y | ICC §6; ECL §3 | provider,action | RT-PRV-FIN,RT-ACT-FIN | I1 | VERIFIED | -
BND-08 | Y | ICC §6; ECL §3 | provider,result-core | RT-PRV-FIN,RT-RC-PROP | I1 | VERIFIED | -
BND-09 | Y | ICC §6; ECL §3 | result-core,lifecycle | RT-RC-PROP,RT-LC-PROBES | I1 | VERIFIED | -
BND-10 | Y | ICC §6; ECL §3 | publication | RT-PUB-FIN | I1 | VERIFIED | -
BND-11 | Y | ICC §6; ECL §3 | compose,plan | RT-CMP-PROBES,RT-PLN-PROP | I1 | VERIFIED | -
BND-12 | Y | ICC §6; ECL §3 | lowering,runtime | RT-LOW-TV,RT-RT-PROP | I1 | VERIFIED | -
3.3 Semantic Continuity dimensions (ICC §7)
SC-D1 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-RS-ALIAS,RT-RC-PROP,RT-LC-PROBES,RT-LOW-TV,RT-PLN-PROP,RT-RT-PROP | I1 | VERIFIED | -
SC-D2 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-LC-PROBES,RT-ACT-FIN,RT-PUB-FIN | I1 | VERIFIED | -
SC-D3 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-LOW-TV,RT-PUB-FIN,RT-RC-PROP | I1 | VERIFIED | -
SC-D4 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-LOW-TV,RT-QRY-FIN | I1 | VERIFIED | -
SC-D5 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-RC-PROP,RT-LC-PROBES,RT-REA-EVAL,RT-LOW-TV | I1 | VERIFIED | -
SC-D6 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-RC-COMP,RT-LOW-TV | I1 | VERIFIED | -
SC-D7 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-LC-PROBES,RT-LOW-TV,RT-PUB-FIN | I1 | VERIFIED | -
SC-D8 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-LOW-TV,RT-RC-PROP | I1 | VERIFIED | -
SC-D9 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-LOW-TV | I1 | VERIFIED | -
SC-D10 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-E2E-CHAIN | I1 | VERIFIED | -
SC-D11 | Y | ICC §7; SEMANTIC-CONTINUITY | cross-layer | RT-RC-PROP,RT-LOW-TV,RT-CMP-PROBES | I1 | VERIFIED | -
3.4 False-pass discriminators (ICC §10)
FP-01 | Y | ICC §10 | result-core | RT-RC-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-02 | Y | ICC §10 | result-core | RT-RC-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-03 | Y | ICC §10 | frontend | RT-FE-FIN,RT-FP-SUITE | I1 | VERIFIED | -
FP-04 | Y | ICC §10 | resolver | RT-RS-SUBT,RT-FP-SUITE | I1 | VERIFIED | -
FP-05 | Y | ICC §10 | runtime,result-core | RT-RT-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-06 | Y | ICC §10 | compose | RT-CMP-PROBES,RT-FP-SUITE | I1 | VERIFIED | -
FP-07 | Y | ICC §10 | plan,compose | RT-PLN-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-08 | Y | ICC §10 | realization | RT-RLZ-FIN,RT-FP-SUITE | I1 | VERIFIED | -
FP-09 | Y | ICC §10 | provider | RT-PRV-FIN,RT-FP-SUITE | I1 | VERIFIED | -
FP-10 | Y | ICC §10 | runtime | RT-RT-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-11 | Y | ICC §10 | publication | RT-PUB-FIN,RT-FP-SUITE | I1 | VERIFIED | -
FP-12 | Y | ICC §10 | lowering | RT-LOW-TV,RT-FP-SUITE | I1 | VERIFIED | -
FP-13 | Y | ICC §10 | identity carriers | RT-E2E-CHAIN,RT-FP-SUITE | I1 | VERIFIED | -
FP-14 | Y | ICC §10 | runtime | RT-RT-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-15 | Y | ICC §10 | diagnostics, all crates | RT-FE-AUDIT,RT-FP-SUITE | I1 | VERIFIED | -
FP-16 | Y | ICC §10 | evidence machinery | RT-IND,RT-FP-SUITE | I1 | VERIFIED | -
FP-17 | Y | ICC §10 | temporal carriers | RT-RC-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-18 | Y | ICC §10 | result-core | RT-RC-PROP,RT-FP-SUITE | I1 | VERIFIED | -
FP-19 | Y | ICC §10 | result-core | RT-RC-COMP,RT-FP-SUITE | I1 | VERIFIED | -
FP-20 | Y | ICC §10 | dependence roles | RT-LOW-TV,RT-FP-SUITE | I1 | VERIFIED | -
FP-21 | Y | ICC §10 | lifecycle | RT-LC-PROBES,RT-FP-SUITE | I1 | VERIFIED | -
FP-22 | Y | ICC §10 | query | RT-QRY-FIN,RT-FP-SUITE | I1 | VERIFIED | -
FP-23 | Y | ICC §10 | reasoning | RT-REA-EVAL,RT-FP-SUITE | I1 | VERIFIED | -
FP-24 | Y | ICC §10 | reasoning | RT-REA-EVAL,RT-FP-SUITE | I1 | VERIFIED | -
FP-25 | Y | ICC §10 | lifecycle | RT-LC-PROBES,RT-FP-SUITE | I1 | VERIFIED | -
3.5 V1 regression obligations (ICC §11)
SD-01 | Y | ICC §11; FO-P3-20 | lifecycle,runtime | RT-LC-PROBES,RT-RT-PROP | I1 | VERIFIED | -
SD-02 | Y | ICC §11; FO-P3-20 | transform,lowering | RT-TF-FIN,RT-LOW-TV | I1 | VERIFIED | -
SD-03 | Y | ICC §11; FO-P3-20 | lifecycle,conformance | RT-LC-PROBES,RT-E2E-CHAIN | I1 | VERIFIED | -
3.6 Formalization-obligation deferred rows (FO ledger)
FO-L1-01 | Y | FO §4 | resolver | RT-RS-ALIAS,RT-RS-FIN | I1 | VERIFIED | -
FO-L1-02 | Y | FO §4 | resolver | RT-RS-FIN,RT-RS-ALIAS | I1 | VERIFIED | -
FO-L1-03 | Y | FO §4 | resolver | RT-RS-FIN | I1 | VERIFIED | -
FO-L1-04 | Y | FO §4 | resolver | RT-RS-SUBT | I1 | VERIFIED | -
FO-L1-05 | Y | FO §4 | resolver,publication | RT-RS-FIN,RT-PUB-FIN | I1 | VERIFIED | -
FO-L1-06 | Y | FO §4 | elaborate | RT-EL-DUAL,RT-EL-SCHEMA | I2 | VERIFIED | -
FO-TYPE-01 | Y | FO §4 | resolver | RT-RS-FIN | I1 | VERIFIED | -
FO-TYPE-02 | Y | FO §4 | resolver | RT-RS-FIN,RT-RS-SUBT | I1 | VERIFIED | -
FO-TYPE-03 | Y | FO §4 | resolver | RT-RS-SUBT,RT-RS-FIN | I1 | VERIFIED | -
FO-TYPE-04 | Y | FO §4 | resolver | RT-RS-SUBT | I1 | VERIFIED | -
FO-TYPE-05 | Y | FO §4 | resolver | RT-RS-SUBT | I1 | VERIFIED | -
FO-TYPE-06 | Y | FO §4 | resolver | RT-RS-FIN | I1 | VERIFIED | -
FO-TYPE-07 | Y | FO §4 | resolver,lowering | RT-RS-FIN,RT-LOW-TV | I1 | VERIFIED | -
FO-L2-01 | Y | FO §5 | result-core | RT-RC-PROP | I1 | VERIFIED | -
FO-L2-02 | Y | FO §5 | result-core | RT-RC-PROP | I1 | VERIFIED | -
FO-L2-03 | Y | FO §5 | result-core,runtime | RT-RC-PROP,RT-AGDA | I3 | VERIFIED | -
FO-L2-04 | Y | FO §5 | result-core | RT-RC-PROP | I1 | VERIFIED | -
FO-L2-05 | Y | FO §5 | result-core,compose | RT-RC-COMP | I1 | VERIFIED | -
FO-L2-06 | Y | FO §5 | result-core | RT-RC-PROP | I1 | VERIFIED | -
FO-L2-07 | Y | FO §5 | reasoning | RT-REA-EVAL,RT-AGDA | I3 | VERIFIED | -
FO-L2-08 | Y | FO §5 | lowering | RT-LOW-TV | I1 | VERIFIED | -
FO-L2-09 | Y | FO §5 | result-core,action | RT-RC-PROP,RT-ACT-FIN | I1 | VERIFIED | -
FO-L2-10 | Y | FO §5 | result-core | RT-RC-COMP | I1 | VERIFIED | -
FO-L2-11 | Y | FO §5 | evidence | RT-EV-FIN,RT-AGDA | I3 | VERIFIED | -
FO-L2-12 | Y | FO §5 | provider,lifecycle | RT-PRV-FIN,RT-OBG-AUDIT | I4 | VERIFIED | -
FO-L2-13 | Y | FO §5 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L2-14 | Y | FO §5 | result-core | RT-RC-COMP | I1 | VERIFIED | -
FO-L2-15 | Y | FO §5 | result-core | RT-RC-PROP | I1 | VERIFIED | -
FO-L3-01 | Y | FO §6 | result-core + regimes | RT-RC-PROP,RT-QRY-FIN,RT-REA-EVAL,RT-AN-FIN,RT-TF-FIN | I1 | VERIFIED | -
FO-L3-02 | Y | FO §6 | query | RT-QRY-FIN | I1 | VERIFIED | -
FO-L3-03 | Y | FO §6 | query | RT-QRY-FIN | I1 | VERIFIED | -
FO-L3-04 | Y | FO §6 | reasoning | RT-REA-FORM,RT-AGDA | I3 | VERIFIED | -
FO-L3-05 | Y | FO §6 | reasoning | RT-AGDA,RT-REA-EVAL | I3 | VERIFIED | -
FO-L3-06 | Y | FO §6 | reasoning | RT-REA-EVAL | I1 | VERIFIED | -
FO-L3-07 | Y | FO §6 | reasoning | RT-REA-EVAL,RT-AGDA | I3 | VERIFIED | -
FO-L3-08 | Y | FO §6 | reasoning | RT-REA-EVAL | I1 | VERIFIED | -
FO-L3-09 | Y | FO §6 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L3-10 | Y | FO §6 | analysis | RT-AN-FIN | I1 | VERIFIED | -
FO-L3-11 | Y | FO §6 | analysis,provider | RT-AN-FIN,RT-PRV-FIN | I1 | VERIFIED | -
FO-L3-12 | Y | FO §6 | provider,analysis | RT-PRV-FIN,RT-AN-FIN | I1 | VERIFIED | -
FO-L3-13 | Y | FO §6 | transform,lowering | RT-TF-FIN | I1 | VERIFIED | -
FO-L3-14 | Y | FO §6 | transform | RT-TF-FIN | I1 | VERIFIED | -
FO-L3-15 | Y | FO §6 | transform | RT-TF-FIN | I1 | VERIFIED | -
FO-REASON-01 | Y | FO §6 | reasoning | RT-REA-EVAL,RT-AGDA | I3 | VERIFIED | -
FO-REASON-02 | Y | FO §6 | reasoning | RT-REA-EVAL,RT-AGDA | I3 | VERIFIED | -
FO-REASON-03 | Y | FO §6 | reasoning | RT-REA-EVAL,RT-AGDA | I3 | VERIFIED | -
FO-REASON-04 | Y | FO §6 | reasoning | RT-REA-FORM,RT-AGDA | I3 | VERIFIED | -
FO-REASON-05 | Y | FO §6 | reasoning | RT-REA-FORM,RT-AGDA | I3 | VERIFIED | -
FO-REASON-06 | Y | FO §6 | reasoning | RT-REA-EVAL,RT-AGDA | I3 | VERIFIED | -
FO-REASON-07 | Y | FO §6 | reasoning,lowering | RT-REA-EVAL,RT-LOW-TV | I1 | VERIFIED | -
FO-REASON-08 | Y | FO §6 | reasoning | RT-REA-EVAL,RT-AGDA | I3 | VERIFIED | -
FO-L4-01 | Y | FO §7 | lifecycle | RT-LC-PROBES,RT-OBG-AUDIT | I4 | VERIFIED | -
FO-L4-02 | Y | FO §7 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L4-03 | Y | FO §7 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L4-04 | Y | FO §7 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L4-05 | Y | FO §7 | lifecycle,publication | RT-LC-PROBES,RT-PUB-FIN | I1 | VERIFIED | -
FO-L4-06 | Y | FO §7 | lifecycle | RT-OBG-AUDIT,RT-LC-PROBES | I4 | VERIFIED | -
FO-L4-07 | Y | FO §7 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L4-08 | Y | FO §7 | publication | RT-PUB-FIN | I1 | VERIFIED | -
FO-L4-09 | Y | FO §7 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L4-10 | Y | FO §7 | lifecycle,action | RT-LC-PROBES,RT-ACT-FIN | I1 | VERIFIED | -
FO-L4-11 | Y | FO §7 | action | RT-ACT-FIN | I1 | VERIFIED | -
FO-L4-12 | Y | FO §7 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L4-13 | Y | FO §7 | lifecycle,publication | RT-LC-PROBES,RT-PUB-FIN | I1 | VERIFIED | -
FO-L4-14 | Y | FO §7 | elaborate,lifecycle | RT-EL-DUAL,RT-LC-PROBES | I2 | VERIFIED | -
FO-L5-01 | Y | FO §8 | compose | RT-CMP-PROBES | I1 | VERIFIED | -
FO-L5-02 | Y | FO §8 | compose,result-core | RT-CMP-PROBES,RT-RC-PROP | I1 | VERIFIED | -
FO-L5-03 | Y | FO §8 | result-core,compose | RT-RC-PROP,RT-CMP-PROBES | I1 | VERIFIED | -
FO-L5-04 | Y | FO §8 | compose,result-core | RT-CMP-PROBES,RT-RC-PROP | I1 | VERIFIED | -
FO-L5-05 | Y | FO §8 | lifecycle | RT-LC-PROBES | I1 | VERIFIED | -
FO-L5-06 | Y | FO §8 | compose | RT-CMP-PROBES | I1 | VERIFIED | -
FO-L5-07 | Y | FO §8 | compose,plan | RT-CMP-PROBES,RT-PLN-PROP | I1 | VERIFIED | -
FO-L5-08 | Y | FO §8 | realization,provider | RT-RLZ-FIN,RT-PRV-FIN | I1 | VERIFIED | -
FO-L5-09 | Y | FO §8 | conformance chain | RT-E2E-CHAIN | I1 | VERIFIED | -
FO-L5-10 | Y | FO §8 | runtime | RT-RT-PROP | I1 | VERIFIED | -
FO-L5-11 | Y | FO §8 | runtime | RT-RT-PROP | I1 | VERIFIED | -
FO-L5-12 | Y | FO §8 | (unsupported path) | RT-CHG-ENUM | I1 | VERIFIED | -
FO-L5-13 | Y | FO §8 | result-core,runtime | RT-RC-PROP,RT-RT-PROP | I1 | VERIFIED | -
FO-L5-14 | Y | FO §8 | compose,conformance | RT-CMP-PROBES,RT-E2E-CHAIN | I1 | VERIFIED | -
FO-P3-01 | Y | FO §9 | lowering | RT-LOW-TV | I1 | VERIFIED | -
FO-P3-02 | Y | FO §9 | conformance,plan,runtime | RT-E2E-CHAIN | I1 | VERIFIED | -
FO-P3-03 | Y | FO §9 | lowering | RT-LOW-TV | I1 | VERIFIED | -
FO-P3-04 | Y | FO §9 | conformance | RT-E2E-CHAIN | I1 | VERIFIED | -
FO-P3-05 | Y | FO §9 | lowering | RT-LOW-TV | I1 | VERIFIED | -
FO-P3-06 | Y | FO §9 | plan | RT-PLN-PROP | I1 | VERIFIED | -
FO-P3-07 | Y | FO §9 | plan,compose | RT-PLN-PROP,RT-CMP-PROBES | I1 | VERIFIED | -
FO-P3-08 | Y | FO §9 | runtime,provider | RT-RT-PROP,RT-PRV-FIN | I1 | VERIFIED | -
FO-P3-09 | Y | FO §9 | runtime | RT-RT-PROP | I1 | VERIFIED | -
FO-P3-10 | Y | FO §9 | realization | RT-RLZ-FIN | I1 | VERIFIED | -
FO-P3-11 | Y | FO §9 | realization | RT-RLZ-FIN | I1 | VERIFIED | -
FO-P3-12 | Y | FO §9 | provider | RT-PRV-FIN | I1 | VERIFIED | -
FO-P3-13 | Y | FO §9 | realization | RT-RLZ-FIN | I1 | VERIFIED | -
FO-P3-14 | Y | FO §9 | (unsupported path) | RT-CHG-ENUM | I1 | VERIFIED | -
FO-P3-15 | Y | FO §9 | runtime | RT-RT-PROP | I1 | VERIFIED | -
FO-P3-16 | Y | FO §9 | publication | RT-PUB-FIN | I1 | VERIFIED | -
FO-P3-17 | Y | FO §9 | action | RT-ACT-FIN,RT-OBG-AUDIT | I4 | VERIFIED | -
FO-P3-18 | Y | FO §9 | compose,plan | RT-CMP-PROBES,RT-PLN-PROP | I1 | VERIFIED | -
FO-P3-19 | Y | FO §9 | evidence | RT-EV-FIN,RT-AGDA | I3 | VERIFIED | -
FO-P3-20 | Y | FO §9 | lifecycle,transform,conformance | RT-LC-PROBES,RT-TF-FIN,RT-E2E-CHAIN | I1 | VERIFIED | -
3.7 Frozen P5AR-B result consumption (FB)
FB-1 | Y | P5AR-C §3; formal/src/FormaSL | Agda kernel + Rust carriers | RT-AGDA,RT-RC-PROP,RT-RT-PROP | I3 | VERIFIED | -
FB-2 | Y | P5AR-C §3; formal/src/FormaSL | Agda kernel + Rust carriers | RT-AGDA,RT-REA-FORM,RT-REA-EVAL | I3 | VERIFIED | -
FB-3 | Y | P5AR-C §3; formal/src/FormaSL | Agda kernel + Rust carriers | RT-AGDA,RT-REA-EVAL | I3 | VERIFIED | -
FB-4 | Y | P5AR-C §3; formal/src/FormaSL | Agda kernel + Rust carriers | RT-AGDA,RT-REA-EVAL | I3 | VERIFIED | -
FB-5 | Y | P5AR-C §3; formal/src/FormaSL | Agda kernel + Rust carriers | RT-AGDA,RT-EV-FIN | I3 | VERIFIED | -
3.8 Bounded external-assurance boundaries (OBG)
OBG-1 | Y | P5AR-C §6; ICC §5 | lifecycle (receipts scope-indexed) | RT-OBG-AUDIT | I4 | VERIFIED | -
OBG-2 | Y | P5AR-C §6; ICC §5 | lifecycle (issuance evidence refs) | RT-OBG-AUDIT | I4 | VERIFIED | -
OBG-3 | Y | P5AR-C §6; ICC §5 | lifecycle (root trust registry) | RT-OBG-AUDIT | I4 | VERIFIED | -
OBG-4 | Y | P5AR-C §6; ICC §5 | result-core,action (causal basis gating) | RT-OBG-AUDIT | I4 | VERIFIED | -
OBG-5 | Y | P5AR-C §6; ICC §5 | action (observation bridge) | RT-OBG-AUDIT | I4 | VERIFIED | -
3.9 Initial-unsupported fail-closed paths (CHG)
CHG-1 | Y | P5AR-C §7 | all public crates | RT-CHG-ENUM | I1 | VERIFIED | -
CHG-2 | Y | P5AR-C §7 | all public crates | RT-CHG-ENUM | I1 | VERIFIED | -
3.10 P3 executable correspondence obligations (ECL §8)
P3-O-01 | Y | ECL §8 | per ECL boundary map | RT-LOW-TV | I1 | VERIFIED | -
P3-O-02 | Y | ECL §8 | per ECL boundary map | RT-E2E-CHAIN | I1 | VERIFIED | -
P3-O-03 | Y | ECL §8 | per ECL boundary map | RT-RC-PROP,RT-LOW-TV | I1 | VERIFIED | -
P3-O-04 | Y | ECL §8 | per ECL boundary map | RT-RS-SUBT,RT-LOW-TV | I1 | VERIFIED | -
P3-O-05 | Y | ECL §8 | per ECL boundary map | RT-EL-DUAL,RT-LOW-TV | I2 | VERIFIED | -
P3-O-06 | Y | ECL §8 | per ECL boundary map | RT-RC-PROP,RT-PRV-FIN | I1 | VERIFIED | -
P3-O-07 | Y | ECL §8 | per ECL boundary map | RT-RC-PROP,RT-RT-PROP | I1 | VERIFIED | -
P3-O-08 | Y | ECL §8 | per ECL boundary map | RT-LOW-TV,RT-RC-PROP | I1 | VERIFIED | -
P3-O-09 | Y | ECL §8 | per ECL boundary map | RT-RC-COMP | I1 | VERIFIED | -
P3-O-10 | Y | ECL §8 | per ECL boundary map | RT-RC-PROP,RT-QRY-FIN | I1 | VERIFIED | -
P3-O-11 | Y | ECL §8 | per ECL boundary map | RT-RS-FIN,RT-LC-PROBES | I1 | VERIFIED | -
P3-O-12 | Y | ECL §8 | per ECL boundary map | RT-LC-PROBES,RT-PRV-FIN | I1 | VERIFIED | -
P3-O-13 | Y | ECL §8 | per ECL boundary map | RT-LC-PROBES | I1 | VERIFIED | -
P3-O-14 | Y | ECL §8 | per ECL boundary map | RT-LC-PROBES | I1 | VERIFIED | -
P3-O-15 | Y | ECL §8 | per ECL boundary map | RT-CMP-PROBES,RT-PLN-PROP | I1 | VERIFIED | -
P3-O-16 | Y | ECL §8 | per ECL boundary map | RT-RC-PROP | I1 | VERIFIED | -
P3-O-17 | Y | ECL §8 | per ECL boundary map | RT-CMP-PROBES,RT-RC-PROP | I1 | VERIFIED | -
P3-O-18 | Y | ECL §8 | per ECL boundary map | RT-RT-PROP,RT-PRV-FIN | I1 | VERIFIED | -
P3-O-19 | Y | ECL §8 | per ECL boundary map | RT-CHG-ENUM | I1 | VERIFIED | -
P3-O-20 | Y | ECL §8 | per ECL boundary map | RT-RT-PROP | I1 | VERIFIED | -
P3-O-21 | Y | ECL §8 | per ECL boundary map | RT-RLZ-FIN | I1 | VERIFIED | -
P3-O-22 | Y | ECL §8 | per ECL boundary map | RT-RLZ-FIN,RT-PRV-FIN | I1 | VERIFIED | -
P3-O-23 | Y | ECL §8 | per ECL boundary map | RT-RLZ-FIN | I1 | VERIFIED | -
P3-O-24 | Y | ECL §8 | per ECL boundary map | RT-PRV-FIN,RT-OBG-AUDIT | I4 | VERIFIED | -
P3-O-25 | Y | ECL §8 | per ECL boundary map | RT-PRV-FIN | I1 | VERIFIED | -
P3-O-26 | Y | ECL §8 | per ECL boundary map | RT-LOW-TV | I1 | VERIFIED | -
P3-O-27 | Y | ECL §8 | per ECL boundary map | RT-LOW-TV,RT-PLN-PROP | I1 | VERIFIED | -
P3-O-28 | Y | ECL §8 | per ECL boundary map | RT-RT-PROP | I1 | VERIFIED | -
P3-O-29 | Y | ECL §8 | per ECL boundary map | RT-RT-PROP,RT-E2E-CHAIN | I1 | VERIFIED | -
P3-O-30 | Y | ECL §8 | per ECL boundary map | RT-RT-PROP | I1 | VERIFIED | -
P3-O-31 | Y | ECL §8 | per ECL boundary map | RT-REA-EVAL,RT-RC-PROP | I1 | VERIFIED | -
P3-O-32 | Y | ECL §8 | per ECL boundary map | RT-ACT-FIN | I1 | VERIFIED | -
P3-O-33 | Y | ECL §8 | per ECL boundary map | RT-ACT-FIN | I1 | VERIFIED | -
P3-O-34 | Y | ECL §8 | per ECL boundary map | RT-PUB-FIN | I1 | VERIFIED | -
P3-O-35 | Y | ECL §8 | per ECL boundary map | RT-PUB-FIN | I1 | VERIFIED | -
P3-O-36 | Y | ECL §8 | per ECL boundary map | RT-CMP-PROBES | I1 | VERIFIED | -
P3-O-37 | Y | ECL §8 | per ECL boundary map | RT-E2E-CHAIN,RT-LC-PROBES | I1 | VERIFIED | -
P3-O-38 | Y | ECL §8 | per ECL boundary map | RT-TF-FIN,RT-LOW-TV | I1 | VERIFIED | -
P3-O-39 | Y | ECL §8 | per ECL boundary map | RT-LC-PROBES,RT-RT-PROP | I1 | VERIFIED | -
P3-O-40 | Y | ECL §8 | diagnostics, all crates | RT-FE-AUDIT,RT-FP-SUITE | I1 | VERIFIED | -
P3-O-41 | Y | ECL §8 | per ECL boundary map | RT-E2E-CHAIN | I1 | VERIFIED | -
P3-O-42 | Y | ECL §8 | per ECL boundary map | RT-IND,RT-EV-FIN | I1 | VERIFIED | -
P3-O-43 | Y | ECL §8 | conformance, all | RT-E2E-CHAIN,RT-IND | I1 | VERIFIED | -
P3-O-44 | Y | ECL §8 | per ECL boundary map | RT-RLZ-FIN | I1 | VERIFIED | -
P3-O-45 | Y | ECL §8 | per ECL boundary map | RT-CHG-ENUM | I1 | VERIFIED | -
P3-O-46 | Y | ECL §8 | per ECL boundary map | RT-PLN-PROP,RT-RLZ-FIN | I1 | VERIFIED | -
P3-O-47 | Y | ECL §8 | per ECL boundary map | RT-IND,RT-RC-PROP | I1 | VERIFIED | -
P3-O-48 | Y | ECL §8 | per ECL boundary map | RT-PRV-FIN,RT-RT-PROP | I1 | VERIFIED | -
P3-O-49 | Y | ECL §8 | per ECL boundary map | RT-RT-PROP | I1 | VERIFIED | -
P3-O-50 | Y | ECL §8 | per ECL boundary map | RT-PUB-FIN | I1 | VERIFIED | -
3.11 Constitutive envelope (roadmap §3; ECL §13)
CML-E-01 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-EL-DUAL,RT-LOW-TV,RT-LC-PROBES,RT-PRV-FIN,RT-RLZ-FIN,RT-ACT-FIN | I2 | VERIFIED | -
CML-E-02 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-PROP,RT-PRV-FIN,RT-LC-PROBES,RT-RT-PROP,RT-ACT-FIN | I1 | VERIFIED | -
CML-E-03 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-PROP,RT-RT-PROP,RT-RLZ-FIN,RT-PRV-FIN,RT-ACT-FIN | I1 | VERIFIED | -
CML-E-04 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-LC-PROBES,RT-RT-PROP | I1 | VERIFIED | -
CML-E-05 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-PROP,RT-QRY-FIN,RT-RT-PROP,RT-PRV-FIN | I1 | VERIFIED | -
CML-E-06 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-COMP,RT-RC-PROP | I1 | VERIFIED | -
CML-E-07 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-PROP,RT-RT-PROP,RT-E2E-CHAIN | I1 | VERIFIED | -
CML-E-08 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-PROP,RT-RT-PROP,RT-PUB-FIN,RT-E2E-CHAIN,RT-LC-PROBES,RT-IND | I1 | VERIFIED | -
CML-E-09 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-LOW-TV,RT-E2E-CHAIN,RT-RT-PROP | I1 | VERIFIED | -
CML-E-10 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-LOW-TV,RT-RC-PROP,RT-E2E-CHAIN,RT-TF-FIN | I1 | VERIFIED | -
CML-E-11 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RS-FIN,RT-LC-PROBES,RT-RLZ-FIN,RT-PUB-FIN | I1 | VERIFIED | -
CML-E-12 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-ACT-FIN | I1 | VERIFIED | -
CML-E-13 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-PROP,RT-PRV-FIN,RT-LC-PROBES,RT-ACT-FIN | I1 | VERIFIED | -
CML-E-14 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-LC-PROBES,RT-RT-PROP | I1 | VERIFIED | -
CML-E-15 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RC-PROP,RT-QRY-FIN,RT-CMP-PROBES,RT-RT-PROP,RT-REA-EVAL | I1 | VERIFIED | -
CML-E-16 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RS-SUBT,RT-LOW-TV | I1 | VERIFIED | -
CML-E-17 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RLZ-FIN,RT-PRV-FIN,RT-PUB-FIN | I1 | VERIFIED | -
CML-E-18 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-EL-DUAL,RT-LOW-TV | I2 | VERIFIED | -
CML-E-19 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RS-FIN,RT-LC-PROBES,RT-CMP-PROBES,RT-PLN-PROP,RT-RLZ-FIN,RT-E2E-CHAIN | I1 | VERIFIED | -
CML-E-20 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-LOW-TV,RT-PLN-PROP,RT-TF-FIN,RT-E2E-CHAIN | I1 | VERIFIED | -
CML-E-21 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-CMP-PROBES,RT-RC-PROP,RT-RT-PROP,RT-REA-EVAL | I1 | VERIFIED | -
CML-E-22 | Y | roadmap §3; ECL §13 | whole-language | RT-E2E-CHAIN,RT-IND | I1 | VERIFIED | -
CML-E-23 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-PRV-FIN,RT-IND,RT-EV-FIN | I1 | VERIFIED | -
CML-E-24 | Y | roadmap §3; ECL §13 | per ECL §13 map | RT-RS-SUBT,RT-RC-PROP,RT-LOW-TV,RT-LC-PROBES | I1 | VERIFIED | -
3.12 Whole-language / E2E witnesses
E2E-FSL | Y | ICC §9; roadmap §14 | frontend,resolver,elaborate | RT-FE-FIN,RT-RS-FIN,RT-EL-DUAL | I2 | VERIFIED | -
E2E-FSP | Y | ICC §9; P3L | frontend,realization | RT-FE-FIN,RT-RLZ-FIN | I1 | VERIFIED | -
E2E-CHAIN | Y | FO-L5-09 | conformance | RT-E2E-CHAIN | I1 | VERIFIED | -
E2E-HISTORY | Y | FO-L5-14 | conformance,compose | RT-E2E-CHAIN,RT-CMP-PROBES | I1 | VERIFIED | -
E2E-THREAD | Y | FO-P3-04 | conformance | RT-E2E-CHAIN,RT-IND | I1 | VERIFIED | -
E2E-P3L | Y | ICC §9 (whole .fsl+.fsp lifecycle witness) | all | RT-EL-DUAL,RT-RLZ-FIN | I2 | VERIFIED | -
3.13 Destructive acceptance-interface attacks
RA-09 | Y | roadmap §18 | acceptance interface itself | RT-MATRIX-GATE,RT-IND | I1 | VERIFIED | -
4. Findings register
F-1 — Clause-level surface content never enters the pipeline (MATERIAL; blocking; discovered WP-P7-01)
Evidence (executable, branch chatgpt/p7-whole-language-conformance @ 495bb5ba):
match Q($g: Money) { foo bar baz }(lexically valid, brace-balanced, grammatically not amatch_clause) is admitted (admit_sourceOk). AC-01/FP-03 violated at clause level.- A valid body
pattern ?o: Owns(owner: ?a)elaborates toSemanticApplication { kind, name, using }— the pattern content is dropped (AC-04 violated; WP-03 terminal gate “every current-surface construct elaborates” falsified by concrete evidence). path ?p from ?a to ?b { step Owns from owner to owner }(surface §14.4) is admitted; no consumer exists (TokenKind::Pathlexed;parse_query_pattern/QueryPatterndead code).parse_rule_bodyshape-checkswhen/naf/derive/goalrole maps but discards retained items (let _ = item;);ModuleItemKind::Declarationcarries no body..fsptarget/group bodies parse to rawBodyItems; no downstream consumer (RealizationDeclunused outside frontend).ModuleBasisInputs.declarations= kind + locus only: relation role blocks never reach the static environment from source.
Consequence: regime engines (query/reasoning/analysis/transform), lifecycle, composition, realization and publication carriers are exercised only through programmatic API construction in tests. The contracted source -> semantics path (ICC §9 first positive family; E2E witnesses) is absent for all clause-level content.
Classification: R2 remediation (implementation contrary to semantically determined contracts: P3L §§14+, QCC §§9-10, ICC AC-01/AC-04/AC-15, WP-03 gate). No new semantic decision required; NOT R3. Remediation owned by WP-P7-02 (clause admission) and WP-P7-03 (clause elaboration + engine wiring), then re-evidenced per row.
Rows carrying GAP-OPEN under F-1 (at discovery): AC-01, AC-04, AC-15, BND-01, BND-04, FP-03, FP-15, FO-L1-06, P3-O-40, P3-O-43, CML-E-22, E2E-FSL, E2E-FSP, E2E-P3L.
Remediation status: admission leg CLOSED at WP-P7-02 (clause-level typed parsing + fail-closed rejection; AC-01/FP-03/FP-15 VERIFIED). Elaboration leg CLOSED at WP-P7-03 (clause content elaborates with resolved references + clause loci; relation role contracts admitted to the static environment from source; dual-path agreement extended over bodies; schema audit verifies dangling references in bodies; engines reachable from source via conformance wiring witnesses for query/reasoning/transform). Remaining GAP-OPEN: BND-04 + E2E-FSP (.fsp-from-source binding, WP-P7-05), E2E-P3L (whole .fsl+.fsp lifecycle witness, WP-P7-07), P3-O-43 + CML-E-22 (MAPPED; full-thread verification at WP-P7-07).
5. Campaign verification duties (gap-derived WP routing)
- WP-P7-02 (clause admission): parse all contracted body clauses into typed CST with fail-closed rejection + loci (both planes; relation role blocks; rule bodies; match clauses incl. paths/views; composition clauses; .fsp clauses). Closes F-1 admission leg. Rows: AC-01, FP-03, AC-15 (partial), BND-01 (partial).
- WP-P7-03 (clause elaboration + wiring): resolver/elaborate consume clause CST into static env and semantic program; engines reachable from source; dual-path agreement extended; schema-absence audit extended. Rows: AC-04, FO-L1-06, BND-01, E2E-FSL, AC-15 (rest).
- WP-P7-04 (result/lifecycle/regimes verification): AC-05..AC-07 claim-level verification incl. metamorphic duties (R1 premise-addition monotonicity; witness-renaming invariance; NoProof-without-completeness bridge probe). Rows: AC-05, AC-06, AC-07, FO-L2/L3/REASON, FP-17..24, SC-D5/D6/D11.
- WP-P7-05 (composition/realization/correspondence): AC-08..AC-10 + BND-01..05 claim verification + .fsp-from-source witness. Rows: AC-08, AC-09, AC-10, BND-02..05, FO-P3-01..14 family, E2E-FSP.
- WP-P7-06 (runtime/provider/effect/publication): AC-11..AC-14 + BND-06..10 + OBG + publication from source.
- WP-P7-07 (whole-language continuity E2E): source-driven E2E witnesses; SD-01..03 re-verification; SC-D1..11 continuity classification per transformation; FO-L5-09/14, FO-P3-04 source-leg closure. Rows: E2E-*, P3-O-43, CML-E-22.
- WP-P7-08 (assurance-independence closure): all rows VERIFIED; RA-09 executed over this matrix (circular-only critical claim rejected); P7 terminal audit.
6. Terminal gate values owned here
Achieved at P7 closure (branch chatgpt/p7-whole-language-conformance,
verified by formasl-conformance p7_matrix gates in terminal mode):
CLAIM_EVIDENCE_DEPENDENCE_MATRIX = COMPLETE (every row VERIFIED; zero GAP-OPEN)
CRITICAL_CLAIM_WITH_ONLY_CIRCULAR_EVIDENCE = NONE (enforced by the mechanical gate;
RA-09 construction demonstrated FAIL-closed)
UNMAPPED applicable AC/BND/SC/FP/SD/FO/P3-O/CML-E/E2E/RA row = NONE (coverage check)
7. What this owner does not establish
It does not prove any claim true by listing it. It does not replace the contracts it traces to. It does not record P8/P9 obligations. MAPPED != VERIFIED.
FormaSL — Remediation Phase 4 CB-L4 Semantic Lifecycle / Governance / Dynamics H1 Closure Contract
Status: STABLE / NORMATIVE REMEDIATION CAMPAIGN CONTRACT — CURRENT
Authority: REMEDIATION-CANDIDATE PHASE-4 CB-L4 LIFECYCLE / GOVERNANCE / DYNAMICS OWNER
Stage: CONTRACT MATERIALIZATION
Acceptance horizon: FormaSL remediation candidate — Phase 4
Date: 2026-09-11
Owner decision: OD-P4-01..OD-P4-06 (PROJECT_OWNER, 2026-09-11; closed R3)
Parent product-support owner: REMEDIATION-CANDIDATE-PRODUCT-SUPPORT-AMENDMENT.md
Parent implementation/conformance owner: IMPLEMENTATION-CONFORMANCE-CONTRACT.md
Bundle owner: SEMANTIC-LIFECYCLE-TRANSITIONS.md
Method authority: DESIGN-METHOD.md; execution process ../process/FIOP.md
This contract materializes the Phase-4 owner decision into an implementation/conformance boundary. It consolidates — does not reinterpret — the already-STABLE semantic authorities. It does not authorize new semantic questions.
1. Jurisdiction
Phase 4 owns the executable semantic adequacy of the CB-L4 bundle:
CB-L4 — SEMANTIC LIFECYCLE / GOVERNANCE / DYNAMICS
concretely, the H1 implementation/conformance closure of:
A. attributable Claim introduction / adoption / lifecycle transitions
B. Validation / Conformance judgments
C. Governance: Admission, Authorization, Decision, governed status transitions
D. Hypothetical / Scenario lifecycle
E. Semantic revision / succession
F. authoritative Source Evolution / Incorporation
G. dynamic semantic roles: Action, ExecutionRequest, ExecutionAttempt,
execution result/receipt, Effect, Observation, admitted observation bridge
H. the explicit category-changing boundaries connecting the above
These are semantic lifecycle jurisdictions, not a requirement for one universal transition object, workflow engine, event store, policy language, causal calculus or observation schema.
LIFECYCLE SEMANTICS != WORKFLOW ENGINE != RUNTIME EVENT MODEL != STORAGE VERSIONING
Phase 4 answers one cohesive question:
For every mandatory CB-L4 H1 lifecycle capability/profile, does the remediation candidate possess a concrete, falsifiable producer-bound route from exact standing/authority/basis inputs to owner-permitted typed lifecycle outcomes, preserving every material standing, identity, authority, dependence, history, completion and temporal distinction without caller self-attestation, boolean introduction, target self-grounding, hypothetical escape, replay occurrence-creation, or retroactive retargeting?
Phase 4 is not public product integration. It closes lifecycle/governance capability behind the semantic boundary before the later CB-L5/public-integration campaign.
PHASE-4 LIFECYCLE CLOSURE
!= PUBLIC `run` WHOLE-H1 CLOSURE
!= MACHINE-SCHEMA SUCCESSOR
!= CLI CLOSURE
!= CB-L5 GENERIC COMPOSITION RUNTIME
!= RELEASE REACCREDITATION
2. Authority set
Primary normative authorities (consolidated, not reinterpreted):
docs/foundations/FORMASL-INTENT.md
docs/foundations/FORMAL-WORLD-MODEL.md
docs/foundations/SEMANTIC-INVARIANTS.md
docs/foundations/SEMANTIC-CONTINUITY.md
docs/design/ARCHITECTURE.md
docs/design/LANGUAGE-DEFINITION-FOUNDATIONS.md
docs/design/SITUATED-RESULT-CONTRACT.md
docs/design/COMPUTATIONAL-REGIME-BOUNDARIES.md
docs/design/SEMANTIC-LIFECYCLE-TRANSITIONS.md (principal CB-L4 owner)
docs/design/GOVERNANCE-JUDGMENT-SEMANTICS.md
docs/design/EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md
docs/design/IMPLEMENTATION-CONFORMANCE-CONTRACT.md
docs/design/FORMALIZATION-OBLIGATION-LEDGER.md
docs/design/VALIDATION-CAPABILITY-CONTRACT.md
docs/design/VALIDATION-H1-REFERENCE-PROFILE-SET.md
docs/design/GOVERNANCE-CAPABILITY-CONTRACT.md
docs/design/GOVERNANCE-H1-REFERENCE-PROFILE-SET.md
docs/design/HYPOTHETICAL-CAPABILITY-CONTRACT.md
docs/design/HYPOTHETICAL-H1-REFERENCE-PROFILE-SET.md
docs/design/REVISION-CAPABILITY-CONTRACT.md
docs/design/REVISION-H1-REFERENCE-PROFILE-SET.md
docs/design/EFFECT-OBSERVATION-CLAIM.md
docs/design/REMEDIATION-CANDIDATE-PRODUCT-SUPPORT-AMENDMENT.md
docs/formasl-remediation-program-v0.1.3/17-CAPABILITY-TARGET-PROFILE.md
Phase-3 artifacts are predecessor evidence, not authorities for CB-L4 meaning. Genuine Phase-3 carriers (QueryAnswer, SemanticConsequence, TransformedArtifact, AnalysisResult, Prediction) may be consumed as inputs only where CB-L4 authority explicitly permits (SLT §17.1; §24 below).
3. Campaign structure
Phase 4 is one FIOP campaign of six sequential semantic macro-WPs:
RM-08 — CLAIM INTRODUCTION / CLAIM LIFECYCLE H1 CLOSURE
-> RM-09 — VALIDATION / CONFORMANCE / GOVERNANCE H1 CLOSURE
-> RM-10 — SCENARIO / HYPOTHETICAL H1 CLOSURE
-> RM-11 — SEMANTIC REVISION / SOURCE EVOLUTION H1 CLOSURE
-> RM-12 — ACTION / EXECUTION / EFFECT / OBSERVATION H1 CLOSURE
-> RM-13 — CB-L4 CROSS-LIFECYCLE INTEGRATION + PHASE-4 CLOSURE
-> PHASE_4_COMPLETE
Exactly one WP is active at a time. The campaign is authorized at an R2 ceiling; the executor may continue serially after each ordinary R0-R2 terminal closure. Any R3 ambiguity stops progression for owner decision.
4. Shared Phase-4 invariant
For every mandatory CB-L4 lifecycle application/profile in scope:
EXACT SOURCE STANDING / STATE
+ EXACT CONTRACT / PROFILE REVISION
+ EXACT PRINCIPAL / ACTOR
+ INDEPENDENTLY-GROUNDED AUTHORITY / BASIS
+ REQUIRED COMPLETION / ADMISSION CONDITIONS
-> CONCRETE PRODUCER-BOUND COMPUTATION
-> TYPED OWNER-PERMITTED LIFECYCLE OUTCOME
The following are insufficient (binding Phase-3 discipline, §20 OD):
crate exists
unit tests exist
carrier can store a payload
caller-filled issuer/status/authority field
caller boolean (is_authorized = true)
target state used as its own introduction authority
correct payload shape
runtime/provider success
physical write / storage mutation
replay of an occurrence
RUST TYPE != SEMANTIC EVIDENCE
PRIVATE FIELDS != SUFFICIENT INTRODUCTION
CALLER BOOLEAN != JUDGMENT
CALLER-SELECTED AUTHORITY != GROUNDED AUTHORITY
CORRECT PAYLOAD SHAPE != STANDING
RUNTIME/PROVIDER SUCCESS != SEMANTIC RESULT
For every standing-bearing type the executor must audit (OD §20):
Can caller construct it? Can caller mutate it?
Can caller relabel basis? Can caller relabel authority?
Can caller reuse authentic provenance with altered content?
Can caller fabricate completion?
Can caller use target state as its own introduction authority?
Any route producing privileged standing without the owning semantic relation blocks closure.
5. Identity and history discipline (binding, OD §21)
Phase 4 is lifecycle-heavy. Every WP must explicitly audit and preserve:
semantic identity
transition occurrence identity
source-state identity
Claim identity
Decision identity
scenario context identity
execution occurrence identity
Observation identity
SamePayload != SameArtifact
SameReferent != SameArtifactIdentity
ReplaySameOccurrence != NewSemanticOccurrence
ReExecuteAction = NewExecutionAttempt
RepeatedEquivalentTransition may be distinct historical occurrences
Identity codes must be deterministic, versioned, domain-separated and derived from authoritative payload — never from Debug, memory address, collection iteration order or source position.
6. Temporal discipline (binding, SLT §12)
Where material, preserve distinct temporal roles:
assertion/issuance time != communication/receipt time
observation/acquisition time != observation recording time
decision time != decision recording time
action-request time != execution-attempt time
execution-attempt time != receipt recording time
occurrence time != observation time
valid/effective time != recording/transaction time
Later recording does not create a later semantic occurrence. If original occurrence time is unknown, preserve UNKNOWN — never substitute recording time.
7. Completion discipline (binding, SLT §14; OD §22)
For lifecycle transitions distinguish:
transition requested
transition attempted
transition relation satisfied
target standing introduced
mechanism completed
external effect observed
FailedOrUnresolvedIntroduction -/-> TargetStandingIntroduced
RuntimeTermination -/-> SemanticCompletion
NegativeJudgment may be a successfully completed evaluation
NonConformance != ValidationFailure
DeniedAdmission != EvaluationFailure
8. Cross-bundle input discipline (binding, SLT §17; OD §24)
Genuine CB-L3 results may be consumed as inputs under explicit relations:
QueryAnswer / AnalysisResult / Prediction / SemanticConsequence
-> ASSERT-BASED-ON -> Claim
The source artifact retains its original standing; it is not promoted. No implicit edge exists:
Computation -> Claim (requires explicit assertion transition)
ConformanceJudgment -> Decision (requires explicit DECIDE)
Decision -> Execution (requires explicit request/invoke)
ExecutionSuccess -> Effect (requires explicit causal basis)
ProviderEvidence -> Observation (requires admitted Observation bridge)
Part I — RM-08 Claim Introduction / Claim Lifecycle H1 Closure
9. RM-08 objective
Close the actual producer relations for all mandatory CB-L4 Claim introduction/lifecycle classes (SLT §5):
DIRECT-ASSERTION
AUTHORIZED-REPRESENTATIVE-ASSERTION
IMPORT-EXISTING-CLAIM
ADOPT-AS-OWN / REASSERT
ASSERT-BASED-ON
RETRACT
SUPERSEDE
10. RM-08 mandatory invariants
Claim != Truth
Producer != Issuer
Recorder != Issuer
SourceAuthor != Issuer
Receive != Adopt
Use != Adopt
Retransmit != Reassert
ReportPurportedAssertion(Alice,P) -/-> ClaimIssuedBy(Alice,P)
ADOPT-AS-OWN -> new Claim identity (adopter = issuer; typed dependence to source; source unmutated)
ASSERT-BASED-ON -> new Claim preserving typed support/dependence (source result does not become Claim)
Retraction != Delete; Retraction != False; Retraction != rho=0
Supersession != HistoricalDeletion; Supersession -/-> PriorContentAlwaysFalse
New correcting Claims have new Claim identity
Standing introduction is producer-bound. Caller-filled issuer/status fields are not introduction evidence. The ClaimRegistry is the sole minter of ClaimIdentity and assertion SemanticOccurrenceId.
11. RM-08 scope
WRITE: crates/lifecycle/src/claim.rs (extend), identity.rs (as needed),
new conformance tests crates/conformance/tests/phase4_rm08_claim.rs
CONDITIONAL: crates/result-core (only if a genuine CB-L2 carrier gap blocks
ASSERT-BASED-ON dependence typing)
FORBIDDEN: crates/cli, crates/api, machine schema, public facade,
any change to CB-L3 engine semantics
12. RM-08 evidence
Coverage matrix evidence/rm08-claim-lifecycle/RM-08-COVERAGE-MATRIX.md. Positive witnesses per introduction class; hostile discriminators (forgery by recorder, adoption content drift, retraction-as-deletion, supersession-as-erasure); bug-diverse oracle (per-class construction with single-coordinate mutation). Formal rows FO-L4-01, FO-L4-02, FO-L2-13.
Part II — RM-09 Validation / Conformance / Governance H1 Closure
13. RM-09 objective
Close executable reference capability for Validation, Conformance, Admission, Authorization and Decision (GOVERNANCE-JUDGMENT-SEMANTICS.md; VALIDATION/GOVERNANCE capability contracts), preserving every non-collapse:
Validation != Conformance != Admission != Authorization
Admission != Authorization
AdmissionJudgment != AdmissionDecision != BoundaryCrossing
AuthorizationDecision != PermissionStatus
Decision != EffectiveDecision != AuthorizedDecision
Decision != Execution
Evaluator/Executor != Authority
Governance judgments must be situated, contract-bound and reconstructible. Booleans such as is_authorized = true are never introduction relations. Authority is independently grounded.
14. RM-09 hostile classes (mandatory)
target governance result used as authority for its own introduction (FAIL)
actor == authority by identity coincidence (FAIL)
executor == decision authority (FAIL)
conformance -> admission (FAIL)
admission -> authorization (FAIL)
authorization -> execution (FAIL)
decision existence -> effective decision (FAIL)
provider binary deny -> FormaSL UNAUTHORIZED when result is UNRESOLVED (FAIL)
Preserve:
TargetStateAuthority -/-> AuthorityForItsOwnIntroduction
ConformanceJudgment -/-> AdmissionDecision
AuthorizationJudgment -/-> AuthorizationDecision
AuthorizationDecision -/-> PermissionStatus
DecisionOccurrence -/-> NormativeEffect
15. RM-09 mandatory reference slice
The bounded reference route must implement, at minimum:
ValidationWorld (identity, contract revision, artifact basis, scope, closure)
ConstraintJudgment (SATISFIED / VIOLATED / INDETERMINATE / NOT_APPLICABLE)
separable from ConstraintEvaluationState and SelectorEnumerationState
ConformanceJudgment (CONFORMANT / NONCONFORMANT / UNRESOLVED)
separable from ValidationCompletion and provider failure
open-world decision sufficiency (MinCount/MaxCount/ExactCount reference semantics)
Admission evaluation (admitted / denied / conditional / unresolved)
Authorization evaluation (granted / denied / unresolved under exact normative basis)
Decision occurrence (attributable, distinct from effectiveness)
three-valued pure condition kernel (T/F/U), NOT/AND/OR Kleene semantics
A reference SemanticShapeValidation.v1-bounded structural slice is mandatory; the full open constraint catalog is not.
16. RM-09 scope
WRITE: crates/lifecycle/src/governance.rs (extend to evaluation),
new crates/lifecycle/src/validation.rs,
crates/conformance/tests/phase4_rm09_governance.rs
CONDITIONAL: crates/evidence (only if the correspondence-admission carrier
must be consumed by governance admission judgment)
FORBIDDEN: policy provider/PDP integration, one universal policy language,
one universal governance operator, crates/cli, crates/api,
machine schema
17. RM-09 evidence
Coverage matrix evidence/rm09-validation-governance/RM-09-COVERAGE-MATRIX.md. Canonical governance witnesses GOV-W1..W5 (conformance-passes-admission-fails; admitted-actor-unauthorized; authorized-candidate-denied; eligible-not-executed; negative-vs-failure). Self-grounding attack suite. Bug-diverse single-coordinate-differing worlds. Formal rows FO-L4-03, FO-L4-09, FO-L4-12, FO-L4-14.
Part III — RM-10 Scenario / Hypothetical H1 Closure
18. RM-10 objective
Close the three-level scenario model (HYPOTHETICAL-CAPABILITY-CONTRACT.md §4; SLT §7):
ScenarioDefinition / ScenarioContract
HypothesisContextInstance (sealed)
HypotheticalResult
A context instance freezes materially relevant: baseline source state/revision, resolution basis, theory/rule/model revisions, bound inputs, assumptions/deltas, scope/frame/time.
19. RM-10 mandatory invariants
Assumption != Claim != Truth
Hypothetical != Baseline
HypotheticalEvaluation -/-> BaselineMutation
MutableScenarioLocator != HistoricalScenarioBasis
HypotheticalAuthority -/-> BaselineTransitionAuthority
DISCARD != physical deletion != historical erasure != falsehood
generic PROMOTE does not exist
HypotheticalMotivation != HypotheticalExecution
ScenarioExecution != ActualDynamics (FO-L4-10)
Exits are target-category-specific. A scenario cannot manufacture the authority needed to promote itself.
20. RM-10 native cross-boundary evidence (mandatory)
HypotheticalResult -> ASSERT-BASED-ON -> new Claim (hypothetical dependence preserved)
HypotheticalChangeProposal -> attempted SOURCE-EVOLVE
(requires independently grounded non-hypothetical source authority)
21. RM-10 scope
WRITE: crates/lifecycle/src/hypothetical.rs (extend to three-level model),
new crates/lifecycle/src/scenario.rs as needed,
crates/conformance/tests/phase4_rm10_scenario.rs
FORBIDDEN: physical branch/storage strategy as semantic authority,
universal reify/merge, baseline mutation, crates/cli/api
22. RM-10 evidence
Coverage matrix evidence/rm10-scenario-hypothetical/RM-10-COVERAGE-MATRIX.md. Baseline-isolation witnesses; authority-escape attacks; discard-not-erasure; exact-basis (no current/latest) witnesses. Formal rows FO-L4-04, FO-L4-10.
Part IV — RM-11 Semantic Revision / Source Evolution H1 Closure
23. RM-11 objective
Close the mandatory revision/succession and authoritative source-evolution contracts (REVISION-CAPABILITY-CONTRACT.md; SLT §8-9) without treating revision as mutable-record replacement.
Semantic succession mandatory kinds:
CORRECTS SUPERSEDES RETRACTS DEPRECATES REFINES
Each preserves relation identity/kind/revision, predecessor/successor refs, declarer, authority/basis, scope, time roles, rationale/evidence, identity-effect contract. The relation never mutates endpoints.
Source evolution (SLT §8.2):
SourceEvolve(source-authority, base-source-state(s), accepted-change-set,
authoring-basis, effective/recording-time)
-> new AuthoritativeSourceState
preserving base state(s), change set/delta, source author/authority, reason/basis, predecessor/successor relation, applicable time roles, compatibility/migration consequences.
24. RM-11 mandatory invariants and attacks
revision != mutation != deletion != identity equality
SuccessionRelation -/-> SuccessorStandingIntroduction
CORRECTS does not make old globally false
RETRACTS does not assert negation
REFINES -/-> subtyping/inheritance/supersession
SourceStatePrepared != AuthoritativeSourceStateIntroduced
RuntimeOutput != AuthoritativeSourceUpdate
StorageWrite != SemanticAuthority
FileWrite -/-> AuthoritativeSourceEvolution
SourceIncorporation != StandingPromotion
SourceHistory != MandatoryTotalOrder
MergeSourceStates != MergeSemanticIdentities != ResolveAllSemanticConflicts
BackdatedValidTime -/-> RewriteHistoricalKnowledgeBasis
GenesisFilePresence -/-> GenesisAuthority
GenesisSourceSelfDeclaration -/-> BootstrapAuthority
Required attacks:
new revision retroactively retargets old result (FAIL)
same external name -> assumed same semantic identity (FAIL)
supersession -> history erased (FAIL)
correction -> prior artifact rewritten (FAIL)
current/latest substituted for frozen historical revision (FAIL)
bootstrap/root authority self-grounds from state it introduces (FAIL)
Existing Phase-3 result artifacts must remain historically interpretable after successor revisions.
25. RM-11 scope
WRITE: crates/lifecycle/src/history.rs (extend),
new crates/lifecycle/src/revision.rs,
new crates/lifecycle/src/source_evolve.rs,
crates/conformance/tests/phase4_rm11_revision.rs
FORBIDDEN: VCS/database/storage-format selection as semantic authority,
one universal source-history representation, crates/cli/api
26. RM-11 evidence
Coverage matrix evidence/rm11-revision-source/RM-11-COVERAGE-MATRIX.md. Succession-kind witnesses; identity-effect witnesses; historical-interpretability witnesses (Phase-3 result after successor revision). Bootstrap trust-boundary witness. Formal rows FO-L4-05, FO-L4-06, FO-L4-07, FO-L4-08, FO-L4-13.
Part V — RM-12 Action / Execution / Effect / Observation H1 Closure
27. RM-12 objective
Close the mandatory dynamic H1 distinctions (EFFECT-OBSERVATION-CLAIM.md; SLT §10-11):
Action ExecutionRequest ExecutionAttempt ExecutionReceipt/runtime result
ExternalEffect Observation
28. RM-12 mandatory invariants
Decision != Execution
ExecutionRequest != ExecutionAttempt
ExecutionSuccess != ExternalEffectOccurred
Occurrence != Effect
Effect != Observation
Observation != Truth
TemporalSuccession -/-> EffectOf
ExecutionSuccess -/-> EffectOf
Public/external provider execution is NOT required. A bounded reference/fake executor may provide mechanism evidence sufficient to test semantic boundaries. Mechanism simulation must not become evidence that an external real-world effect occurred.
29. RM-12 observation bridge (mandatory)
Observation standing is introduced only by an admitted Observation relation/bridge:
raw/provider/acquisition evidence
+ ObservationContract
+ source/sensor/authority/provenance requirements
+ bridge judgment
-> Observation
Forbidden:
ProviderEvidence -> Observation by wrapper
ExecutionSuccess -> Observation
Effect -> Observation automatically
Observation -> Truth
30. RM-12 actual execution motivated by hypothetical context
Exercise the CB-L4 distinction (SLT §7.9): a real ExecutionAttempt caused/configured by scenario work is an ACTUAL execution occurrence carrying hypothetical dependence of request/configuration:
HypotheticalMotivation != HypotheticalExecution
An unauthorized physical execution may still be represented as an occurrence without becoming authorized retroactively.
31. RM-12 scope
WRITE: crates/action/src/action.rs (extend: request/attempt/receipt split),
new crates/action/src/request.rs, observation.rs as needed,
crates/conformance/tests/phase4_rm12_action.rs
FORBIDDEN: external provider/bridge integration, one universal event store,
one causal inference engine, automatic Observation->Claim,
crates/cli/api
32. RM-12 evidence
Coverage matrix evidence/rm12-action-execution/RM-12-COVERAGE-MATRIX.md. Four-history witnesses (EFFECT-OBSERVATION-CLAIM §8 A/B/C/D). Observation-bridge-only-route witnesses. Hypothetical-motivation witnesses. Formal rows FO-L4-10, FO-L4-11.
Part VI — RM-13 CB-L4 Cross-Lifecycle Integration + Phase-4 Closure
33. RM-13 objective
After RM-08..RM-12 close, execute an integrated witness family exercising real producer-bound artifacts across Phase-4 boundaries (direct lifecycle witnesses, not a generic CB-L5 composition engine):
1. AnalysisResult -> ASSERT-BASED-ON -> Claim
2. Validation -> ConformanceJudgment -> evidence for Admission (Conformance != Admission)
3. Authorization judgment/status -> may support ExecutionRequest (Authorization != Execution)
4. Decision -> ExecutionRequest -> ExecutionAttempt (every occurrence/standing distinct)
5. Execution/provider evidence -> admitted Observation bridge -> Observation
6. Observation -> candidate Source Evolution -> AuthoritativeSourceState
(ONLY with independently grounded source authority)
7. Scenario result -> Claim or source-change proposal
(hypothetical dependence survives; baseline unchanged)
8. Semantic Revision -> later computations use new revision
(earlier results remain bound to prior historical revision)
34. RM-13 scope
WRITE: crates/conformance/tests/phase4_cross_lifecycle.rs,
evidence/rm13-cross-lifecycle/RM-13-COVERAGE-MATRIX.md
CONDITIONAL: narrow integration bridges in lifecycle/action only where a
genuine cross-boundary carrier gap is discovered
FORBIDDEN: generic CB-L5 composition engine, crates/cli/api,
machine schema, any public facade work
35. Phase-4 false-pass attacks (campaign closure, OD §26)
At campaign closure attempt at least:
FP-P4-01 caller constructs Claim-shaped value -> obtains Claim standing
FP-P4-02 recorder/importer names Alice -> becomes Alice-issued Claim
FP-P4-03 Conformance=true -> Admission=true
FP-P4-04 Admission=true -> Authorization=true
FP-P4-05 Authorization=true -> Execution occurred
FP-P4-06 Decision exists -> effective normative effect
FP-P4-07 Scenario authority -> authorizes baseline/source transition
FP-P4-08 runtime output -> authoritative source state
FP-P4-09 provider result -> Observation standing
FP-P4-10 execution success -> external effect
FP-P4-11 external effect -> Observation
FP-P4-12 Observation -> Truth
FP-P4-13 new source revision -> old result retrospectively retargeted
FP-P4-14 retraction -> deletion/falsehood
FP-P4-15 same payload -> same transition/Claim/Decision occurrence identity
FP-P4-16 target state -> authority for its own introduction
Each attack must have executable discriminatory evidence.
36. Evidence discipline
Bug-diverse evidence is mandatory; an implementation must not certify itself. Use capability-appropriate combinations of:
known-answer fixtures
independent reference judgments
small exhaustive state models
metamorphic tests
history replay
permutation tests
cross-basis attacks
authority mutation attacks
identity mutation attacks
counterfactual/hypothetical baseline tests
public API compile-fail / construction-gate tests
Especially for authorization/admission/transition relations, test worlds where only ONE coordinate differs.
Per-WP coverage matrix rows record at least:
OBLIGATION / NORMATIVE OWNER / INPUT STANDING / INTRODUCTION-TRANSITION RELATION
/ AUTHORITY-BASIS / TARGET STANDING / IDENTITY EFFECT / DEPENDENCE-HISTORY
/ COMPLETION / PRODUCER / POSITIVE WITNESS / HOSTILE DISCRIMINATOR
/ BUG-DIVERSE ORACLE / FORMAL-CORRESPONDENCE ROW / BASELINE STATE / FINAL DISPOSITION
Before repairing a known carrier/wrapper/self-attestation defect: freeze the pre-fix reproducer, show the false route concretely, fix the owning relation, retain inverse hostile evidence post-fix. If an existing implementation is already correct, prove it rather than rewriting it.
37. Formal/correspondence gates
Inspect FORMALIZATION-OBLIGATION-LEDGER.md §7 (CB-L4 rows FO-L4-01..FO-L4-14, all DEFERRED-NON-BLOCKING). These are P6/P7-conformance obligations, not pre-implementation proof obligations. Distinguish:
normative semantic proposition
Rust representation correspondence
runtime evidence
No new Agda mechanization is authorized by Phase 4. If an implementation change invalidates evidence currently relied upon by a formal/correspondence claim, the corresponding gate becomes mandatory before closure. Do not invent a new theorem merely because a Rust defect exists.
FORMAL PROPERTY != RUST REPRESENTATION CORRESPONDENCE != EXECUTABLE BEHAVIOR
38. Per-WP gates
Every RM-08..RM-13 WP must define then satisfy, after its final material change:
- authority-sufficiency gate;
- targeted formation/static gate where applicable;
- positive mandatory-profile capability fixtures;
- hostile/negative discriminators;
- bug-diverse oracle/property evidence;
- standing/identity/authority/dependence/completion/temporal preservation checks;
- applicable formal/correspondence revalidation (FO-L4 rows);
- affected examples/reference-corpus and Phase-3 regression checks;
- workspace quality gates:
cargo fmt --all --check,cargo check --workspace --all-targets,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace,git diff --check; - FIOP four-NO closure audit.
A WP is not terminal merely because the historical reproducer that named a bug flips green.
39. Forbidden scope for Phase 4
Absent a separately activated conditional dependency required to preserve an in-scope lifecycle invariant, Phase 4 does not own:
generic CB-L5 integrated CompositionContract closure
generic CB-L5 composition runtime
PUBLIC_RUN_FULL_H1
public `run` routing for all families
public CLI/facade completion
public aggregate-run integration
machine-run schema successor / T05 successor schema identity
general `.fsp` realization/public binding campaign
planner/scheduler runtime product closure
distribution/packaging
P8 usability campaign
release assurance/reaccreditation
release/tag/publication
performance production optimization
No Phase-4 WP may rewrite a higher semantic owner to make current implementation easier.
40. Phase-4 terminal meaning
A valid Phase-4 terminal state has this meaning:
PHASE_4 = COMPLETE
CB_L4_SEMANTIC_LIFECYCLE = VERIFIED
CLAIM_LIFECYCLE_H1 = VERIFIED
VALIDATION_CONFORMANCE_H1 = VERIFIED
GOVERNANCE_H1 = VERIFIED
SCENARIO_HYPOTHETICAL_H1 = VERIFIED
SEMANTIC_REVISION_H1 = VERIFIED
SOURCE_EVOLUTION_H1 = VERIFIED
ACTION_EXECUTION_OBSERVATION_H1 = VERIFIED
CB_L4_CROSS_BOUNDARY_FIREWALLS = VERIFIED
It does NOT imply:
CB_L5 = CLOSED
PUBLIC_RUN_FULL_H1 = VERIFIED
CLI = PRODUCT COMPLETE
MACHINE_SCHEMA_SUCCESSOR = CLOSED
RELEASE = READY
PUBLICATION = AUTHORIZED
41. Campaign-level closure gate
After RM-13 closes, Phase 4 must independently answer:
Q1. Any mandatory CB-L4 H1 semantic/lifecycle capability without a concrete
conforming executable route? NO
Q2. Any mandatory cross-lifecycle standing/authority/history/completion
boundary unverified? NO
Q3. Any triggered conditional scope unresolved or ungated? NO
Q4. Any residual risk that would falsify CB-L4 closure if true? NO
Only four NO answers permit PHASE_4_COMPLETE.
42. Current authorization state
PHASE_1 = VERIFIED / CLOSED
PHASE_2 = VERIFIED / CLOSED
PHASE_3 = COMPLETE / EVIDENCE-FROZEN
RM-04..07 = VERIFIED / CLOSED
PHASE_4_CONTRACT = MATERIALIZED / STABLE
PHASE_4_CAMPAIGN = AUTHORIZED_IN_PROGRESS
ACTIVE_WP = RM-08
RISK_CEILING = R2
PUBLIC_RUN_FULL_H1 = NOT_CLAIMED
MACHINE_SCHEMA_SUCCESSOR = NOT_STARTED
PUBLICATION = NOT_AUTHORIZED
This contract materializes the owner decision; campaign execution proceeds under FIOP. R3 remains an owner stop.
FormaSL — H1 Validation / Conformance Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — VALIDATION / CONFORMANCE CAPABILITY OWNER
Consumes: language/type owners, situated-result contract, Query capability, lifecycle/governance owners, executable semantic interface
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../VALIDATION-CAPABILITY-TERMINAL-REAUDIT-1.md, W1..W4
Ratified candidate basis: ../VALIDATION-CAPABILITY-HARDENING-2.md + ../VALIDATION-CAPABILITY-HARDENING-3.md
Date: 2026-08-22
Purpose: close a productive H1 semantic validation/conformance architecture over explicit validation worlds, targets/foci, typed constraints and reports without collapsing conformance into admission, authorization, repair, truth or type checking.
1. Owner decision
VALIDATION_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
VALIDATION_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
VALIDATION_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
VALIDATION_COMPOSITIONAL_CAPABILITY = PASS
VALIDATION_CAPABILITY_ADEQUACY = PASS
Preserve globally:
Validation != Conformance != Admission != Authorization
WellTyped != Conformant != Admissible != Authorized
Ontology != ValidationWorld
ValidationResult != Decision
2. Validation jurisdiction
Validation evaluates an admitted ValidationContract over an explicit ValidationWorld, selected targets/foci and admitted constraints.
Validation may produce:
ConstraintJudgment
ValidationFinding
ValidationReport
ConformanceJudgment
It does not by itself introduce:
Truth
Claim
Observation
SemanticConsequence
Admission
Authorization
Decision
Repair execution
Authoritative source mutation
3. ValidationWorld
Every invocation fixes an explicit/reconstructible world containing/referencing:
ValidationWorld identity
ValidationContract revision
exact semantic/source artifact basis + revisions
visibility / context / frame / scope basis
temporal basis
closure contracts
material prior semantic-stage dependencies
provider-independent interpretation rules
Ontology != ValidationWorld
PhysicalStore != ValidationWorld
ProviderVisibleRows != ValidationWorld
Prior Reasoning/Query/Transformation results may participate only as explicit semantic dependencies when material.
4. closure regimes
Reference closure classes include:
OPEN_EXTENSION
FOCUS_INTRINSIC_STRUCTURE_CLOSED
CLOSED_EXTENSION(selector/signature)
COMPLETE_PRIOR_RESULT_EXTENSION(resultRef)
FOCUS_INTRINSIC_STRUCTURE_CLOSED requires an exact IntrinsicStructureContract owned by the admitted focus artifact/semantic contract.
StoredNeighborhood != IntrinsicFocusStructure
A complete prior result closes a validation extension only under exact:
ClosureCoverageCorrespondence
covering prior result contract/completion, validation selector/signature, focus scope, basis/frame/time and multiplicity.
PriorResultComplete -/-> ValidationExtensionClosed
without that correspondence.
5. target selection / focus
Reference target modes:
EXPLICIT_TARGET_REFS
TARGET_BY_SEMANTIC_KIND_OR_TYPE
TARGET_BY_QUERY
TARGET_FROM_PRIOR_RESULT
Every target selector has exact identity/equality/multiplicity and semantic completion semantics.
A selected target becomes an exact FocusEntity under the ValidationContract.
TargetSelector != FocusEntity
QueryAnswer != ValidationFinding
Target focus identity may deduplicate repeated selector witnesses while material Query/path witnesses remain preserved as selection evidence.
6. empty-target policy
Every contract declares:
TargetSetExpectation
= ALLOW_EMPTY
| REQUIRE_AT_LEAST_ONE
| REQUIRE_COUNT(min,max?)
CurrentEmptyPrefix != CompleteEmptyTargetSet
NoTargetsFound -/-> VacuousConformanceAutomatically
7. constraint lifecycle / admission
The open constraint catalog distinguishes:
ConstraintDefinitionAvailable
ConstraintResolved
ConstraintWellFormed
ConstraintAdmittedAsValidation
ConstraintExecutableAvailable
An admitted constraint closes/references:
identity/revision
accepted focus/value contracts
ValidationWorld dependencies
selector/value-family semantics
closure/coverage requirements
provider-independent judgment relation
decision-sufficiency/completion
finding/locus/evidence contract
ConformanceImpact / applicability behavior
A custom constraint cannot smuggle Admission, Authorization, Claim/Truth standing, source mutation or implicit repair.
CustomValidatorCallback != ConstraintSemanticAuthority
8. constraint selection/value family
Constraints may use ratified Query/value-selector semantics as material substages.
Selected values use an exact count/equality unit, including:
DISTINCT_SEMANTIC_REFERENT
DISTINCT_SEMANTIC_ARTIFACT
DISTINCT_RELATION_INSTANCE
DISTINCT_ROLE_PARTICIPATION
DISTINCT_TYPED_VALUE
QUERY_MATCH_WITNESS
EXPLICIT_CONSTRAINT_KEY(expr)
PhysicalRowCount != ConstraintCardinality
9. semantic judgment vs evaluator state
ConstraintJudgment
= SATISFIED
| VIOLATED
| INDETERMINATE
| NOT_APPLICABLE
ConstraintEvaluationState
= DECISION_COMPLETE
| INCOMPLETE
| NOT_EVALUATED
SelectorEnumerationState
= COMPLETE_EXTENSION
| OBSERVED_PREFIX_OF_OPEN_OR_INCOMPLETE_EXTENSION
| UNRESOLVED_SELECTOR
A semantic INDETERMINATE may be a complete judgment under an exactly open world.
ProviderFailure != SemanticIndeterminacy
Provider timeout/out-of-gas does not itself produce a violation or semantic indeterminate result.
10. open-world decision sufficiency
Different constraints own different monotonic decision rules.
Reference cardinality semantics:
MinCount(min):
known >= min -> SATISFIED decisively
else if complete extension -> VIOLATED
else -> INDETERMINATE
MaxCount(max):
known > max -> VIOLATED decisively
else if complete extension -> SATISFIED
else -> INDETERMINATE
ExactCount(n):
known > n -> VIOLATED decisively
complete and known=n -> SATISFIED
complete and known<n -> VIOLATED
otherwise -> INDETERMINATE
Reference existential/universal semantics:
SomeValueSatisfies:
one decisive satisfying witness -> SATISFIED
decisive absence requires complete family
AllValuesSatisfy:
one decisive violating witness -> VIOLATED
SATISFIED requires complete required family
Qualified counts and uniqueness follow the same lower/upper-bound discipline.
ObservedPrefixLooksGood -/-> Satisfied
IncompleteSelector -/-> AlwaysIndeterminate
11. reference structural/value constraint floor
The H1 reference profile includes semantic capability equivalent to:
FocusKindIs / FocusSemanticTypeIs
ValueSemanticTypeIs / ValueDatatypeIs
ValueEquals / ValueNotEquals
ValueInSet
NumericMin / NumericMax / NumericInterval
StringPattern under versioned LexicalPatternContract
MinCount / MaxCount / ExactCount
QualifiedMinCount / QualifiedMaxCount
AllValuesSatisfy / SomeValueSatisfies
CrossSelectorCompare
UniqueByConstraintKey
ClosedAllowedRoleSet
RequiredRole / ForbiddenRole
acyclic NestedConstraintRef
Numeric/unit comparisons use compatible semantic domains. Regex/pattern provider defaults do not define semantics.
12. type membership
Every semantic type constraint selects an exact TypeMembershipContract, with reference modes:
DIRECT_DECLARED_SEMANTIC_TYPE
STATIC_TYPE_RELATION
EXPLICIT_REASONING_RESULT_MEMBERSHIP
StorageTypeTag != SemanticTypeMembership
ReasoningDerivedMembership != DirectDeclaredType
Inheritance -/-> Subtyping
13. cross-selector/key semantics
Cross-selector constraints select an exact quantification mode:
SCALAR_COMPARE
PAIRWISE_ALL
PAIRWISE_ANY
SET_RELATION
with exact typed relation/equality and selector definedness/cardinality requirements.
Key constraints declare:
MissingConstraintKeyPolicy
= INDETERMINATE
| VIOLATION
| EXCLUDE_ONLY_IF_EXPLICITLY_ALLOWED
No implicit SQL NULL/first-value/cartesian behavior exists.
14. logical composition / reference cycles
Reference combinators:
ALL_OF
ANY_OF
NOT
EXACTLY_ONE_OF
operate on semantic child judgments, not provider execution states.
Evaluation produces a ConstraintEvaluationTree distinguishing internal children from effective roots.
EffectiveRootConstraint != every descendant child
Only effective root/contract obligations directly govern conformance.
SemanticShapeValidation.v1 requires an acyclic resolved constraint-reference dependency graph. Recursive/guarded shape profiles may be added separately.
Recursive graph structures remain validatable through recursive Query target selection plus reusable non-recursive shape application.
15. applicability
Reference policies:
ALLOW_NOT_APPLICABLE
REQUIRE_EACH_ROOT_APPLICABLE
REQUIRE_AT_LEAST_ONE_APPLICABLE_ROOT
AllRootsNotApplicable -/-> ConformantAutomatically
16. FormaSL-native constraint floor
The profile supports validation over existing:
N-ary relation instances / role participations
standing
issuer / producer attribution
context / frame / scope
temporal coordinates
conflict/plurality relations
dependence/provenance references
reasoning-derived membership when explicitly selected
Preserve:
RoleParticipation != ParticipantReferent
StandingConstraintSatisfied -/-> StandingIntroduced
IssuerConstraintSatisfied -/-> AuthorizedIssuer
ConflictViolation -/-> ConflictResolved
17. findings/loci
ValidationFinding preserves/references as applicable:
finding identity within report
ValidationContract / constraint revision
ValidationWorld identity/basis
FocusEntity ref
ConstraintJudgment / evaluation state
ValidationLocus
selected value/witness refs
expected/observed evidence
severity
ConformanceImpact
incomplete/unresolved reason
ValidationLocus is typed and may reference source spans, semantic artifacts/relation instances, role participations, Query/path witnesses, typed values or constraint-expression loci.
Provider-native paths are diagnostics only unless explicitly corresponded.
18. severity vs conformance impact
Severity != ConformanceImpact
Reference impact:
BLOCKING
NON_BLOCKING
Severity taxonomies are versioned diagnostic contracts and do not independently decide conformance.
19. report / completion / conformance
A ValidationReport preserves contract/world/target selection, focus evaluations, findings, ValidationCompletion and ConformanceJudgment.
ValidationCompletion = COMPLETE | INCOMPLETE
ConformanceJudgment = CONFORMANT | NONCONFORMANT | UNRESOLVED
A COMPLETE report may contain a complete semantic INDETERMINATE root and therefore be UNRESOLVED.
CONFORMANT requires complete required validation, target/applicability satisfaction and no blocking violated/indeterminate root.
NONCONFORMANT may be established early only by semantically complete DecisiveConformanceEvidence such as a blocking effective-root violation, complete target-set violation or complete applicability violation.
INCOMPLETE -/-> CONFORMANT
ProviderFailure -/-> NONCONFORMANT
Internal child violations do not independently decide conformance when their logical parent passes.
20. repair/admission/authorization/source boundary
ValidationFinding != Repair
RepairSuggestion != RepairExecution
RepairExecution != SourceAuthority
CONFORMANT -/-> ADMITTED
NONCONFORMANT -/-> REJECTED_BY_ADMISSION automatically
Admission/Authorization may consume validation artifacts under their own policies/authority. Validation itself never performs those transitions.
21. provider architecture
Validation providers are realization-only.
Provider defaults may not silently determine:
open/closed world
focus/target selection
count multiplicity
NULL/missing semantics
type membership
pattern dialect
unit comparison
logical composition
severity/impact
repair behavior
ValidatorDefault != ValidationSemantics
No provider is selected by this owner.
22. mandatory reference profile
Durable reference owner:
VALIDATION-H1-REFERENCE-PROFILE-SET.md
It owns SemanticShapeValidation.v1 plus W1..W4 capability/conformance witnesses and prevents an empty custom-validator/provider hook.
23. reopen triggers
Reopen on material evidence such as:
open-world decision semantics produce unsound conformance
closure coverage cannot be represented without hidden inference
N-ary role/cardinality semantics cannot be preserved
logical child/root separation is insufficient
complete semantic indeterminacy cannot be represented distinctly from provider failure
native standing/authority constraints require standing promotion
Conformance cannot remain separate from Admission/Authorization
reference profile is functionally below a competent H1 validation floor
P3 cannot preserve world/constraint/report correspondence
Implementation convenience or preference for SHACL/ShEx/another validator is not itself a reopen trigger.
24. closure state
VALIDATION_CAPABILITY_ADEQUACY = PASS
SEMANTIC_SHAPE_VALIDATION_PROFILE = RATIFIED
VALIDATION CONSTRAINT CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
VALIDATION PROVIDER CATALOG = OPEN / REALIZATION-ONLY
VALIDATION != ADMISSION != AUTHORIZATION = PRESERVED
AUTOMATIC REPAIR / SOURCE MUTATION = NOT PART OF H1 REFERENCE PROFILE
VALIDATION_BLOCKING_UNKNOWN = NONE AT THIS HORIZON
P3 VALIDATION CHANGE IMPACT = REQUIRED / DOWNSTREAM
P3L VALIDATE SURFACE = PAUSED
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — H1 Governance Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — H1 GOVERNANCE CAPABILITY OWNER
Consumes: GOVERNANCE-JUDGMENT-SEMANTICS.md, SEMANTIC-LIFECYCLE-TRANSITIONS.md, situated-result contract, Query/Reasoning/Validation capability owners, higher FormaSL foundations
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../GOVERNANCE-CAPABILITY-TERMINAL-REAUDIT-1.md, G-W1..G-W12
Ratified candidate basis: ../GOVERNANCE-CAPABILITY-HARDENING-1.md through ../GOVERNANCE-CAPABILITY-HARDENING-4.md
Date: 2026-08-22
Purpose: close a productive H1 governance capability floor for Admission, Authorization, persistent permission standing and attributable Decision without collapsing governance judgments, normative authority, effectuation or execution and without delegating FormaSL meaning to a policy provider/PDP.
1. Owner decision
GOVERNANCE_SEMANTIC_SEPARATION = PASS
ADMISSION_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
ADMISSION_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
ADMISSION_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
ADMISSION_COMPOSITIONAL_CAPABILITY = PASS
ADMISSION_CAPABILITY_ADEQUACY = PASS
AUTHORIZATION_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
AUTHORIZATION_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
AUTHORIZATION_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
AUTHORIZATION_COMPOSITIONAL_CAPABILITY = PASS
AUTHORIZATION_CAPABILITY_ADEQUACY = PASS
PERSISTENT_PERMISSION_CAPABILITY_ADEQUACY = PASS
DECISION_CAPABILITY_ADEQUACY = PASS
GOVERNANCE_H1_CAPABILITY_ADEQUACY = PASS
This contract ratifies capability, not surface syntax, provider architecture or implementation.
2. Jurisdiction and mandatory non-collapses
This owner closes the shared governance policy/evidence architecture consumed by H1 reference profiles for:
Admission
Request Authorization
Persistent Permission Status
Decision-facing capability
It preserves the semantic separation already owned by GOVERNANCE-JUDGMENT-SEMANTICS.md:
Validation != Conformance != Admission != Authorization
AdmissionJudgment != AdmissionDecision != BoundaryCrossing
AuthorizationJudgment != AuthorizationDecision != PermissionStatus
Decision != EffectiveDecision != AuthorizedDecision
Decision != Execution != Effect != Observation
Evaluator != Authority
DecisionAuthority != EffectuationAuthority != Executor
PolicyRuleEffect != GovernanceJudgment != DecisionOccurrence
A shared policy/evidence substrate does not imply one shared governance meaning.
SHARED POLICY / EVIDENCE SUBSTRATE
!= SHARED GOVERNANCE RESULT TYPE
!= SHARED GOVERNANCE OPERATOR
3. GovernancePolicyWorld
Every material H1 governance evaluation is relative to an explicit/reconstructible:
GovernancePolicyWorld
containing/referencing, as applicable:
policy identities and exact revisions
policy authority bases
jurisdiction / scope / frame / context
effective temporal intervals
policy applicability contracts
meta-policies / precedence / deconfliction basis
policy-selection contract
policy-world coverage state
policy combination contract
no-applicable/no-positive disposition
The world is semantic, not a provider snapshot.
ProviderLoadedPolicies != GovernancePolicyWorld
PolicyStored -/-> PolicyGoverning
PolicyLoaded -/-> PolicyAuthoritative
MutableLatestPolicy != HistoricalGovernanceBasis
4. Policy authority and effective standing
A policy contributes normatively only under an independently grounded authority/effectivity basis.
PolicyEffectiveStanding preserves/references as material:
policy identity/revision
authority principal/ref
governed jurisdiction
delegation/meta-authority dependencies
effective time / supersession / withdrawal state
applicable scope/frame/context
A policy cannot bootstrap its own authority or precedence.
PolicySelfDeclaration -/-> PolicyAuthority
PolicyDeclaresPriority -/-> AuthorizedPriority
PolicyTextAuthor != PolicyAuthority
Priority/deconfliction rules are themselves normative and require an authorized meta-policy basis.
5. PolicySelectionContract
Policy selection is part of semantic correspondence when omission could change a governance result.
The contract defines/references:
request/candidate domain
jurisdiction/scope/frame/time
policy classes potentially governing the domain
authority roots
selection/indexing semantics
coverage obligations
relevance/irrelevance criteria
Provider indexing/slicing may realize this contract only under correspondence.
ProviderPolicySlice -/-> SemanticallyCompletePolicySet
6. PolicyCoverageState
H1 coverage states are:
FULLY_CLOSED
OUTCOME_SUFFICIENT(outcome-class, PolicyCoverageJustification)
PARTIAL
OPEN
OUTCOME_SUFFICIENT(O, J) means the exact policy-selection, authority and meta-policy basis establishes that no governing policy outside the currently materialized/evaluated set can change candidate outcome O.
OUTCOME_SUFFICIENT != FULLY_CLOSED
A default negative from absence of positive support requires sufficient positive-policy coverage for the exact domain.
NoObservedPermit -/-> NO_POSITIVE_BASIS_UNDER_CLOSED_COVERAGE
NoObservedAdmissionSupport -/-> INADMISSIBLE
A decisive prohibition/preclusion may close a negative result under partial total enumeration only when outcome-sufficient coverage establishes that unseen policies cannot override/invalidate it.
7. PolicyCoverageJustification
A coverage justification preserves/references as applicable:
PolicySelectionContract revision
policy/meta-policy authority basis
jurisdiction/scope/frame/time
known effective policy revisions
coverage class
excluded/dominated/irrelevant policy classes
justification dependencies
assurance class where required
Reference justification classes include:
COMPLETE_RELEVANT_POLICY_SELECTION
ABSOLUTE_HIGHER_AUTHORITY_GUARDRAIL
CLOSED_POSITIVE_POLICY_CLASS
CLOSED_NEGATIVE_POLICY_CLASS
AUTHORIZED_PRIORITY_DOMINANCE
The catalog is open/versioned/admission-governed.
Preserve:
PolicyCoverageJustification
!= FormalProofObject
!= RuntimeTrace
!= ProviderAssertion
ProviderSaysCoverageComplete -/-> OutcomeSufficientCoverage
High-assurance profiles may require separately checkable certificates/proofs without changing the base distinction.
8. GovernanceEvidenceWorld
Every material evaluation seals or reconstructibly references an exact evidence world containing, as applicable:
semantic artifact identities/revisions
StandingContract of each artifact
issuer / producer / observer roles
authority/jurisdiction
valid/evaluation time
currentness/freshness
context/frame/scope
provenance/dependence
assurance/attestation
conflict/plurality state
closure/completeness state
material Query/Reasoning/Validation/Analysis/Transformation dependencies
Evidence may be present but semantically inadmissible for a policy.
EvidencePresent -/-> EvidenceAdmissibleForPolicy
Missing, stale, unauthoritative, conflicting or incomplete evidence is not silently false and is not a provider-defined deny.
MissingEvidence
StaleEvidence
UntrustedEvidence
IncompleteEvidence
!= False
!= Deny
!= Permit
9. PolicyEvidenceSelector
Mandatory H1 selector semantics include:
SINGLE_REQUIRED
ANY_SATISFIES
ALL_SATISFY
SET_AS_VALUE
EXPLICIT_RESOLUTION_DEPENDENCY
Plural/conflicting semantic artifacts are never collapsed by storage order, latest write or provider scalarization unless the exact selector/resolution contract authorizes that interpretation.
ConflictPresent -/-> ArbitraryScalarSelection
LatestStorageWrite -/-> CurrentSemanticValue
A resolution dependency is material semantic evidence and remains reconstructible.
10. Policy condition semantics
H1 governance conditions use typed, pure, order-independent three-valued semantics:
T = TRUE
F = FALSE
U = UNRESOLVED
NOT T = F
NOT F = T
NOT U = U
F AND X = F
T AND X = X
U AND U = U
T OR X = T
F OR X = X
U OR U = U
The condition kernel supports at least:
identity/equality/inequality
semantic-type / standing tests
set membership / containment
numeric/order comparisons
bounded pure computed scalar expressions
attribute/field access with definedness
role/relation membership
context/frame/scope predicates
temporal predicates
authority/jurisdiction predicates
provenance/dependence predicates
conflict/plurality predicates
The admitted pure-function catalog may include strings, dates/timestamps/durations, semantic references and IP/network-range membership when corresponding types are admitted.
PureFunctionRef != ArbitraryCallback
ConditionEvaluationFailure remains orthogonal to T/F/U.
SemanticUnresolved != EvaluationFailure
11. Query/Reasoning-backed governance predicates
Governance does not invent a second graph query or reasoning language.
A path/relationship/inference predicate is an explicit dependency on an admitted Query/Reasoning contract/result plus a policy interpretation rule.
GovernancePathPredicate
= Query/Reasoning dependency
+ PolicyEvidenceInterpretationContract
Completion sensitivity is preserved.
For existential evidence:
positive witness may establish TRUE before global completion
no witness observed under INCOMPLETE -/-> FALSE
complete closed relevant result + no witness -> FALSE
Material path/derivation witnesses remain reconstructible.
12. Rule applicability and evaluation state
Reference applicability state:
APPLICABLE
NOT_APPLICABLE
UNRESOLVED
with evaluation failure separate.
NOT_APPLICABLE != FALSE != UNRESOLVED != EVALUATION_FAILURE
Rule/policy applicability cannot be inferred from provider skip/index decisions without correspondence.
13. PolicyCombinationContract
Every H1 A1/Z1 policy set declares an explicit combination contract.
Mandatory H1 classes:
PROHIBITION_OVERRIDES
PERMISSION_OVERRIDES
PRIORITY_TIERED
ALL_REQUIRED
The catalog remains open/versioned/admission-governed.
Combination is denotational, not provider-order-driven.
ProviderEvaluationOrder -/-> PolicyPriority
StorageOrder != PriorityOrder
SourceTextOrder != PriorityOrder
An order-sensitive profile requires explicit semantic order.
Conflicting effective authoritative policies without an authorized deconfliction basis yield UNRESOLVED, not an implicit winner.
Unresolved potential effects block a final result only when they can change the set of admissible completed outcomes.
14. Negative default semantics
A profile may define a negative no-positive-support disposition only as explicit semantic contract content and only over a sufficiently closed/outcome-sufficient policy domain.
ProviderDefaultDeny != FormaSL NegativeJudgment
For Z1 reference authorization:
NO_POSITIVE_BASIS_UNDER_CLOSED_COVERAGE
is distinct from:
EXPLICIT_NEGATIVE_POLICY
COMBINATION_RESOLVED_NEGATIVE
SEMANTIC_BASIS_UNRESOLVED
For A1 the same distinction applies to positive support/preclusion.
15. JudgmentBasisClass
Reference typed basis classes are:
EXPLICIT_NEGATIVE_POLICY
NO_POSITIVE_BASIS_UNDER_CLOSED_COVERAGE
COMBINATION_RESOLVED_NEGATIVE
PERSISTENT_STATUS_NEGATIVE
EXPLICIT_POSITIVE_POLICY
COMBINATION_RESOLVED_POSITIVE
CONDITIONAL_POSITIVE_SUPPORT
SEMANTIC_BASIS_UNRESOLVED
Profiles/extensions may add versioned classes.
JudgmentBasisClass != JudgmentOutcome
The basis class is a typed summary and does not replace exact determining policy/evidence refs.
16. Preconditions, requirements, obligations and advice
Preserve:
AdmissionPrecondition
!= AuthorizationPrecondition
!= PostJudgmentObligation
!= Advice
!= GovernanceJudgment
!= Execution
An admission requirement belongs to a specific support path/branch and must not be unioned across alternative positive paths.
A post-judgment obligation attaches to a result path but does not execute itself.
Obligation != Execution != Effect
17. Delegation / representation
When:
RequestActor != AuthorizationPrincipal
material representation/delegation requires an explicit basis preserving/referencing:
actor/delegate identity
represented principal
allowed action/capability
resource/jurisdiction/scope restrictions
effective time
authority/delegation source
revocation/supersession status
OnBehalfOfField -/-> ValidDelegation
Delegation != IdentityEquality
Known expired/out-of-scope delegation may contribute a negative result under closed positive coverage; unresolved delegation evidence remains UNRESOLVED when it can change the outcome.
18. Persistent permission standing
Persistent permission is not modeled as one mutable provider field.
It is derived from immutable/reconstructible:
PermissionStatusContribution
with effects:
ESTABLISH_GRANT
ESTABLISH_PROHIBITION
ESTABLISH_SUSPENSION
WITHDRAW_CONTRIBUTION(target-ref)
Every contribution preserves exact subject/capability/scope/time, source Decision/transition, source authority, effectuation authority, policy/status-contract revision and lineage.
Targeted withdrawal does not erase history and does not manufacture the opposite standing.
WithdrawContribution != DeleteContribution
WithdrawProhibition -/-> Grant
WithdrawSuspension -/-> NewGrant
NO_EFFECTIVE_GRANT requires sufficient history coverage.
NoKnownGrant -/-> NO_EFFECTIVE_GRANT
19. Decision-facing capability
H1 Decision capability remains an attributable semantic occurrence under an explicit DecisionContract.
A Decision contract closes/references as applicable:
typed subject/outcome domain
DecisionBasisAdmissibilityContract
required basis standing/completeness/authority/currentness
selection mode
eligible/determined outcome rules
decider role
DecisionAuthority requirement
rationale/procedure requirements
supersession/reversal relations
DecisionEffectContract boundary
Reference selection classes include:
RULE_DETERMINED
DISCRETIONARY_WITHIN_ELIGIBLE_SET
Reference assessments are independent:
DecisionContractAssessment
= CONFORMS | VIOLATES | UNRESOLVED
DecisionAuthorityAssessment
= ESTABLISHED | NOT_ESTABLISHED | UNRESOLVED
A historically occurring Decision remains a Decision even when non-conforming or unauthorized.
DecisionOccurred != DecisionConforms
DecisionContractAssessment != DecisionAuthorityAssessment
20. Effectuation boundary
A valid/authorized Decision does not by itself introduce an external/normative effect unless the domain contract explicitly identifies the Decision as the effectuation event.
When effectuation is separate, an exact DecisionEffectContract preserves:
source Decision identity
required effectuation basis
EffectuationAuthority
transition/effective time
target status/effect identity
material external execution/observation dependencies
AuthorizedDecision -/-> EffectiveDecision
DecisionAuthority != EffectuationAuthority
Decision != Execution
21. Completion and early decisiveness
A governance evaluation is semantically complete only when the exact policy/evidence/combination contract establishes that no unevaluated/unresolved material contribution can change the final judgment.
Outcome-sufficient completion may occur before exhaustive enumeration when authorized precedence/guardrail semantics establish a unique final outcome.
ProviderFinished -/-> SemanticCompletion
ProviderStoppedEarly -/-> Incomplete necessarily
The criterion is semantic decision sufficiency, not runtime exhaustion.
22. Diagnostics and accountability
A material governance result preserves/reconstructs as applicable:
request/candidate/decision subject
exact policy/meta-policy revisions
policy coverage state/justification
evidence world and selectors
determining/supporting/conflicting policies
JudgmentBasisClass
requirements/obligations/advice
material Query/Reasoning/Validation dependencies
completion state
context/frame/scope/time
authority/delegation/effectuation dependencies
mechanism diagnostics separately from semantic result
Diagnostics do not become policy authority.
23. Provider / PDP / PEP boundary
GovernancePolicyContract
!= PolicyProvider
!= PolicyEngine
!= PDP
!= PEP
Provider-specific defaults, policy order, null/missing semantics, indexing, failure mode and binary output cannot redefine FormaSL semantics.
A provider incapable of representing a required semantic state is non-conforming for that execution path.
BinaryProviderDeny -/-> FormaSL UNAUTHORIZED
when the exact FormaSL result is UNRESOLVED.
A conforming semantic bridge must reconstruct/verify the required policy/evidence/combination/result correspondence.
24. FormaSL-native exploitation floor
H1 governance can directly govern over material FormaSL-native semantics including:
StandingContract
typed role-incidence / N-ary relations
higher-order semantic relations
Query path witnesses
Claim issuer and producer distinction
Observation / Assessment / SemanticConsequence standing
multiple normative authorities
delegation / jurisdiction
context / frame / scope
temporal validity/currentness
conflict / plurality
provenance / dependence
hypothetical dependence
source/theory/policy revisions
assurance/attestation
No universal JSON/property flattening is required or authorized.
25. Composition firewalls
Preserve at least:
ValidationReport -/-> AdmissionDecision
CONFORMANT -/-> ADMISSIBLE
NONCONFORMANT -/-> INADMISSIBLE globally
QueryAnswer -/-> AuthorizationJudgment automatically
SemanticConsequence -/-> Authorization automatically
AuthorizationJudgment -/-> AuthorizationDecision
AuthorizationDecision -/-> PermissionStatus
PermissionStatus -/-> Execution
Decision -/-> Effect
RuntimeOutput -/-> AuthoritativeSourceUpdate
Composition occurs only through explicit admitted contracts and standing transitions.
26. Mandatory H1 reference set
The productive H1 floor is witnessed by the separately owned reference profiles:
A1 — SemanticAdmissionPolicy.v1
Z1 — RequestAuthorizationPolicy.v1
Z2 — PersistentPermissionStatus.v1
D1 — AttributableDecisionContract.v1
See GOVERNANCE-H1-REFERENCE-PROFILE-SET.md.
The profile catalog remains open/versioned/admission-governed.
27. Witness and adversarial closure
Mandatory witness suite:
G-W1 policy coverage / omitted policy PASS
G-W2 plural conflicting Claim evidence PASS
G-W3 incomplete ReBAC path evidence PASS
G-W4 permit/prohibit combination PASS
G-W5 unresolved authoritative conflict PASS
G-W6 conformance vs admission PASS
G-W7 conditional admission support paths PASS
G-W8 actor/principal delegation PASS
G-W9 persistent permission history PASS
G-W10 Decision contract violation PASS
G-W11 Decision vs effectuation authority PASS
G-W12 provider substitution PASS
Terminal capability reaudit:
GOVERNANCE_H1_CAPABILITY_ADEQUACY = PASS
28. Deliberate non-requirements
H1 adequacy does not require:
one universal governance operator
one universal policy language
one universal policy engine
semantic compatibility with Cedar/XACML/Rego/OpenFGA
one global policy-combination algorithm
one global default-deny axiom
one global Decision outcome enum
one universal obligation calculus
one universal legal/normative effect calculus
one workflow/state-machine engine
symbolic policy equivalence for every future policy profile
These remain open only when a later owner/counterexample makes them constitutively necessary.
29. Reopen triggers
Reopen this capability owner only on material evidence such as:
H1 governance use case not expressible under the declared productive floor
policy/evidence state requiring provider-defined semantics
unresolvable category collapse between Admission/Authorization/Decision/effect
missing authority/temporal/conflict distinction causing wrong judgment
provider substitution changing semantic result under identical basis
Semantic Continuity ACCIDENTALLY-LOST
P3 correspondence impossibility
new higher-authority requirement
Implementation convenience, one provider’s API or preferred concrete syntax is not sufficient.
30. Ratified state
GOVERNANCE_CAPABILITY_CONTRACT = CLOSED / STABLE
GOVERNANCE_H1_CAPABILITY_ADEQUACY = PASS
SURFACE_SYNTAX = OPEN / P3L
PROVIDER_RUNTIME = OPEN
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — Governance Judgment Semantics
Status: STABLE
Authority: NORMATIVE DESIGN
Parent: ../FORMASL.md
Depends on: Formal World Model, Semantic Invariants, Semantic Continuity
Role: define the positive semantics and non-collapses among validation/conformance, admission, authorization and decision without prescribing an ensure family or policy-engine architecture.
1. Scope
This document owns the semantic distinction among four governance-related roles:
Validation / Conformance
Admission
Authorization
Decision
These roles may be implemented by shared mechanisms or composed in one surface construct, but their meanings remain distinct.
The historical V1 ensure family is evidence that these capabilities mattered. It does not determine FormaSL family decomposition.
2. Validation and conformance
Validation
Validation is an evaluation under a declared validation contract.
A serious validation contract identifies as applicable:
- the target/data being evaluated;
- the validation world/scope;
- constraints;
- target/focus selection;
- closure assumptions where material;
- reporting/failure semantics.
Conformance
Conformance is the semantic relation/judgment concerning whether the target satisfies the applicable constraints under that validation contract.
Conceptually:
Conforms(target, constraints, validation-world, context)
Conformance is scoped to its validation contract. It is not global truth.
Validation != Conformance
Conformance != Truth
A completed negative judgment is not a validation-engine failure.
NonConformance != ValidationFailure
3. Admission
Admission evaluates whether a candidate may cross a specified governed boundary under applicable policy, authority, context, time and evidence.
Conceptually:
Admission(candidate, boundary, governance-context, evidence)
may yield a governed outcome such as admitted, denied, conditional or unresolved according to the later design.
The exact status taxonomy is open.
Conformance may contribute evidence to Admission but does not define it.
Conformance != Admission
A candidate may be conformant yet denied by policy or authority. A domain may also permit a non-conformant candidate under an explicit conditional/remediation rule.
Admission is also distinct from actual crossing/execution:
Admission != BoundaryCrossing
4. Authorization
Authorization concerns the normative standing of an agent with respect to an action/capability under a scope and normative basis.
Conceptually:
Authorized(agent, action-or-capability, scope, normative-basis)
Authorization is not physical capability and not execution.
Capability != Authorization
Authorization != Execution
The actor may be technically capable but unauthorized, or authorized but never execute.
5. Admission is not Authorization
Admission is candidate/boundary-centered:
May candidate C cross boundary B?
Authorization is actor/action-centered:
May agent A perform action X?
Therefore both of these worlds are valid and distinct:
Admission(C, B) = admitted
Authorization(A, X) = denied
and:
Admission(C, B) = denied
Authorization(A, X) = granted
The first says the candidate is eligible but this actor is not authorized. The second says the actor has general standing but this candidate is not admissible.
Admission != Authorization
6. Decision
A Decision is an explicit attributable semantic occurrence in which a decider selects, adjudicates or commits an outcome under a declared basis.
Conceptually:
Decision(decider, subject, outcome, basis, context/time)
A Decision may consume Claims, assessments, derived results, conformance judgments, admission judgments, authorization state, policies or authority relations.
It is not identical to any of them.
DerivedResult != Decision
Conformance != Decision
Authorization != Decision
Decision != Execution
7. Judgment versus committing decision
A semantic evaluator may determine:
candidate C is admissible under policy P.
That is an Admission judgment.
A decider may subsequently perform:
admit candidate C.
That is an Admission decision / committing Decision occurrence.
AdmissionJudgment != AdmissionDecision
Likewise, a system may evaluate that an agent meets authorization conditions without the evaluation itself being the historical act that grants/revokes permission.
This distinction matters when eligibility and commitment are separated by authority, review or time.
8. Permission/status versus authorization decision
A permission/authorization status may persist over an interval while grant/revoke decisions are historical occurrences.
AuthorizationDecision != PermissionStatus
A later revocation does not erase the earlier grant decision from history.
The exact authority/commitment calculus remains open.
9. Negative results versus failures
For each governance evaluation, distinguish a valid negative semantic outcome from inability to perform the evaluation.
Examples:
NonConformant != ValidationFailure
DeniedAdmission != AdmissionEvaluationFailure
Unauthorized != AuthorizationEvaluationFailure
Decision(Deny) != DecisionProcessFailure
UNKNOWN/UNRESOLVED must not silently become denial or grant when the evidence/contract cannot decide.
10. Composition, not mandatory pipeline
The following is a possible dependency graph, not a mandated runtime pipeline:
constraints / validation world
-> validation
-> conformance judgment
candidate + governance context
-> admission judgment
agent + action + normative basis
-> authorization status/judgment
judgments + evidence + decider
-> decision
-> possible execution / boundary crossing
A particular design may evaluate authorization before admission, omit validation for a boundary, or combine evaluations operationally.
The semantic roles must remain recoverable when their distinction matters.
11. Authority and execution
The component that computes a governance judgment is not automatically the normative authority that supplies its basis.
Evaluator/Executor != Authority
A policy engine may evaluate a rule in the name of an explicit policy/authority without becoming the authority itself.
Normative source attribution must remain reconstructible when downstream behavior depends on it.
12. Canonical witnesses
GOV-W1 — Conformance passes, Admission fails
A candidate satisfies validation constraints but is denied by a policy/authority condition.
The design fails if it cannot represent this without contradiction.
GOV-W2 — Candidate admitted, actor unauthorized
The candidate is eligible for a boundary but a particular actor lacks authorization to perform the crossing/action.
GOV-W3 — Actor authorized, candidate denied
An actor has standing to perform a class of actions, but the concrete candidate is not admissible.
GOV-W4 — Eligible but not executed
A candidate is admitted and an actor authorized, but no execution occurs.
GOV-W5 — Negative semantic result versus evaluator failure
NonConformant/Denied remains distinguishable from inability to evaluate.
13. Architectural freedom
This contract does not determine:
- an
ensureoperator/family; - validation syntax;
- constraint language;
- closure algebra;
- policy language;
- policy-engine architecture;
- result carrier taxonomy;
- whether judgment and decision share a runtime module;
- persistence strategy;
- whether reports/results are universal artifacts.
Architecture may choose these mechanisms only while preserving the semantic distinctions above.
FormaSL — H1 Validation / Conformance Reference Profile Set
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — H1 VALIDATION REFERENCE-PROFILE OWNER
Depends on: VALIDATION-CAPABILITY-CONTRACT.md
Ratified candidate: ../archive/v2-development/VALIDATION-H1-REFERENCE-PROFILE-SET-CANDIDATE.md (historical)
Evidence: W1..W4 + ../VALIDATION-CAPABILITY-TERMINAL-REAUDIT-1.md
Date: 2026-08-22
Purpose: provide a non-empty provider-independent H1 Validation/Conformance floor while keeping total constraint/profile/provider catalogs open.
1. Owner decision
Mandatory reference profile:
V1 — SemanticShapeValidation.v1
REFERENCE PROFILE
!= TOTAL VALIDATION CONSTRAINT CATALOG
!= VALIDATION PROVIDER CATALOG
!= ADMISSION POLICY
2. ValidationWorld reference floor
V1 requires explicit world/basis/closure semantics:
exact source/artifact revisions
frame/context/scope/time
OPEN_EXTENSION
FOCUS_INTRINSIC_STRUCTURE_CLOSED
CLOSED_EXTENSION
COMPLETE_PRIOR_RESULT_EXTENSION + ClosureCoverageCorrespondence
It preserves:
Ontology != ValidationWorld
ProviderStore != ValidationWorld
PriorResultComplete -/-> ValidationExtensionClosed
3. target/focus reference floor
V1 supports explicit refs, kind/type targets, Query targets and prior-result targets with:
exact FocusEntity identity
TargetSetExpectation
selection completion
selection-witness retention
No complete/empty-target conclusion is inferred from an incomplete prefix.
4. judgment/completion reference floor
ConstraintJudgment
= SATISFIED | VIOLATED | INDETERMINATE | NOT_APPLICABLE
ConstraintEvaluationState
= DECISION_COMPLETE | INCOMPLETE | NOT_EVALUATED
ValidationCompletion
= COMPLETE | INCOMPLETE
ConformanceJudgment
= CONFORMANT | NONCONFORMANT | UNRESOLVED
ProviderFailure != SemanticIndeterminacy
INCOMPLETE -/-> CONFORMANT
5. mandatory constraint families
V1 includes semantic capability equivalent to:
kind/type membership
value datatype/equality/set membership
numeric range
versioned lexical pattern
min/max/exact cardinality
qualified min/max cardinality
all/some value constraints
cross-selector scalar/pairwise/set relations
uniqueness by semantic key
required/forbidden roles
closed allowed-role set
acyclic nested constraint refs
ALL / ANY / NOT / EXACTLY_ONE_OF
Open-world decision sufficiency is explicit per family.
6. count/equality reference floor
V1 supports exact count units including:
DISTINCT_SEMANTIC_REFERENT
DISTINCT_SEMANTIC_ARTIFACT
DISTINCT_RELATION_INSTANCE
DISTINCT_ROLE_PARTICIPATION
DISTINCT_TYPED_VALUE
QUERY_MATCH_WITNESS
EXPLICIT_CONSTRAINT_KEY
No physical row count or identifier-string equality is implicit.
7. native semantic constraint floor
V1 includes capability over existing:
N-ary role incidence
standing
issuer / producer
frame/context/time
conflict/plurality
dependence/provenance references
explicit reasoning-derived type membership
These are validation checks only.
8. report/conformance floor
V1 requires:
ConstraintEvaluationTree
EffectiveRootConstraint
ValidationFinding
Typed ValidationLocus
Severity
ConformanceImpact = BLOCKING | NON_BLOCKING
ValidationReport
Only effective root/contract obligations directly govern overall conformance.
Applicability policies prevent all-NOT_APPLICABLE vacuity.
9. admission/repair firewall
Mandatory:
CONFORMANT -/-> ADMITTED
NONCONFORMANT -/-> REJECTED automatically
ValidationFinding != Repair
RepairProposal != SourceMutation
10. witness set
W1 — VALIDATION-CAPABILITY-WITNESS-W1-NARY-SHAPE.md
W2 — VALIDATION-CAPABILITY-WITNESS-W2-OPEN-CLOSED-LOGIC.md
W3 — VALIDATION-CAPABILITY-WITNESS-W3-NATIVE-SITUATED.md
W4 — VALIDATION-CAPABILITY-WITNESS-W4-COMPOSITION-ADMISSION.md
All PASS at semantic-capability level.
11. open catalog rule
Future profiles may add recursive shape fixed points, incremental validation, repair suggestion/application contracts, raw-source validation or external validation-language mappings under exact semantic admission.
Custom constraints must have provider-independent semantics; providers remain realization-only.
No provider technology is selected by this owner.
12. closure state
VALIDATION REFERENCE PROFILE = STABLE / RATIFIED
SEMANTIC SHAPE VALIDATION = MANDATORY REFERENCE PROFILE
TOTAL CONSTRAINT CATALOG = OPEN / ADMISSION-GOVERNED
VALIDATION PROVIDER CATALOG = OPEN / REALIZATION-ONLY
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — Governance H1 Reference Profile Set
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — GOVERNANCE H1 REFERENCE PROFILE OWNER
Capability owner: GOVERNANCE-CAPABILITY-CONTRACT.md
Semantic separation owner: GOVERNANCE-JUDGMENT-SEMANTICS.md
Ratification evidence: ../GOVERNANCE-CAPABILITY-TERMINAL-REAUDIT-1.md, G-W1..G-W12
Date: 2026-08-22
Purpose: define the mandatory H1 reference profile set that proves productive Admission, Authorization, persistent permission and Decision capability without selecting one universal governance logic or provider.
1. Reference set
Governance H1 Reference Set
├── A1 SemanticAdmissionPolicy.v1
├── Z1 RequestAuthorizationPolicy.v1
├── Z2 PersistentPermissionStatus.v1
└── D1 AttributableDecisionContract.v1
The profile catalog is open/versioned/admission-governed.
MANDATORY REFERENCE SET != CLOSED PROFILE CATALOG
2. Shared semantic substrate
All profiles preserve/refer to the material subset of:
GovernancePolicyWorld
PolicySelectionContract
PolicyEffectiveStanding
PolicyCoverageState
PolicyCoverageJustification
GovernanceEvidenceWorld
PolicyEvidenceSelector
NormativeAuthorityDependency
GovernancePolicyContract
PolicyCombinationContract
GovernanceEvaluationBasis
PolicyEvidenceInterpretationContract
JudgmentBasisClass
completion/failure/diagnostic contracts
Preserve:
PolicyLoaded -/-> PolicyAuthoritative
ProviderAssertion -/-> PolicyCoverageSufficient
PolicyRuleEffect != GovernanceJudgment != Decision
Evaluator != Authority
SemanticUnresolved != EvaluationFailure
3. Shared condition semantics
H1 policy conditions use typed/pure three-valued semantics:
T = TRUE
F = FALSE
U = UNRESOLVED
NOT T = F
NOT F = T
NOT U = U
F AND X = F
T AND X = X
U AND U = U
T OR X = T
F OR X = X
U OR U = U
These equations are symmetric/commutative at the semantic level.
Missing/ambiguous evidence becomes U unless an exact selector/closure rule makes it decisive. Provider/evaluator failure is not U and remains separate.
4. Shared evidence selectors
Mandatory H1 selectors:
SINGLE_REQUIRED
ANY_SATISFIES
ALL_SATISFY
SET_AS_VALUE
EXPLICIT_RESOLUTION_DEPENDENCY
Plural/conflicting Claims, Observations, Assessments and other artifacts are never silently collapsed into one scalar value.
Query/Reasoning-backed predicates preserve positive-witness and negative-completion semantics.
5. Shared policy combination
Mandatory H1 combination classes:
PROHIBITION_OVERRIDES
PERMISSION_OVERRIDES
PRIORITY_TIERED
ALL_REQUIRED
Unresolved potential effects are combined denotationally: a final result is decisive only when every admissible semantic completion consistent with the exact basis yields the same material outcome.
Order-sensitive profiles require explicit semantic policy order.
Conflicting authoritative policies with no authorized deconfliction yield UNRESOLVED.
6. A1 — SemanticAdmissionPolicy.v1
6.1 Jurisdiction
A1 evaluates whether a candidate is admissible relative to a specified governed boundary under an exact governance basis.
A1Request
= candidate
+ governed boundary
+ BoundaryTransitionClass
+ governance context
+ GovernanceEvidenceWorld
+ GovernancePolicyWorld
Admission != Conformance
Admission != Authorization
AdmissionJudgment != AdmissionDecision != BoundaryCrossing
6.2 Rule contributions
Applicable positive rules contribute:
SUPPORT_ADMISSION(
support-path-ref,
requirement-set,
advice-set,
basis-class
)
Applicable negative rules contribute:
PRECLUDE_ADMISSION(reason-class)
Potential unresolved contributions preserve known effect/support-path metadata.
6.3 Support paths
An AdmissionSupportPath preserves:
policy/rule refs
authority refs
support basis
requirement set
evidence dependencies
Under alternative/ordinary positive support:
(require A)
OR
(require B AND C)
must not become:
require A AND B AND C
Under ALL_REQUIRED, branches are conjunctive and authority-distinct.
6.4 Outcomes
AdmissionJudgmentOutcome
= ADMISSIBLE
| INADMISSIBLE
| CONDITIONALLY_ADMISSIBLE(AdmissionSupportAlternatives)
| UNRESOLVED
with AdmissionEvaluationFailure separate.
ADMISSIBLE requires a determining positive support path/all-required branch set whose mandatory preconditions are satisfied and whose result cannot be overturned under the exact combination/coverage contract.
CONDITIONALLY_ADMISSIBLE means one or more individually sufficient support paths remain available subject to their own unsatisfied requirements.
CONDITIONALLY_ADMISSIBLE != ADMISSIBLE
6.5 Negative default
The reference profile uses a closed-boundary no-positive-support disposition only under sufficient positive-policy coverage.
NO_POSITIVE_ADMISSION_BASIS_UNDER_CLOSED_COVERAGE
-> INADMISSIBLE
This is not a language-global law.
6.6 Output contract
A1 result preserves/reconstructs:
AdmissionJudgment identity
candidate/boundary refs
outcome + JudgmentBasisClass
policy/meta-policy refs
coverage state/justification
determining/supporting/conflicting rules
support-path requirements/advice
material evidence dependencies
completion
context/frame/scope/time
diagnostics
7. Z1 — RequestAuthorizationPolicy.v1
7.1 Request model
Z1Request
= RequestActor
+ AuthorizationPrincipal
+ representation/delegation basis when distinct
+ action/capability
+ resource/subject-of-action
+ request context
+ GovernanceEvidenceWorld
+ GovernancePolicyWorld
RequestActor and AuthorizationPrincipal are independent semantic roles.
RequestActor != AuthorizationPrincipal
Delegation != IdentityEquality
7.2 Productive functional floor
Z1 provides policies equivalent in productive power to common combinations of:
IBAC / direct identity
RBAC / role and group membership
hierarchical membership
ABAC / principal-resource-context attributes
ReBAC / typed semantic relation/path evidence
resource and request context
time/environment restrictions
explicit permit/prohibit effects
policy targeting/applicability
policy combination/deconfliction
explicit no-policy disposition
FormaSL Query/Reasoning contracts provide relationship/path/inference evidence where needed.
7.3 Rule contributions
PERMIT
PROHIBIT
ADVISE(advice)
ATTACH_POST_JUDGMENT_OBLIGATION(obligation)
A positive authorization precondition is part of the positive policy condition/support path; a post-judgment obligation is not a hidden precondition.
AuthorizationPrecondition != PostJudgmentObligation != Advice
Obligation != Execution != Effect
7.4 Outcomes
AuthorizationJudgmentOutcome
= AUTHORIZED
| UNAUTHORIZED
| UNRESOLVED
with AuthorizationEvaluationFailure separate.
NOT_APPLICABLE remains rule/policy applicability state, not the top-level request result.
7.5 Negative default
Reference Z1 uses:
NO_POSITIVE_BASIS_UNDER_CLOSED_COVERAGE
-> UNAUTHORIZED
only under an exact contract whose positive authorization policy class is sufficiently closed/outcome-sufficient.
ProviderDefaultDeny != Z1 UNAUTHORIZED
7.6 Delegation
When actor and principal differ, a material delegation/representation basis preserves:
principal/delegate identities
action/capability scope
resource/jurisdiction restrictions
effective time
authority/delegation source
revocation/supersession state
Known invalid/expired delegation and semantically unresolved delegation remain distinguishable.
7.7 Output contract
Z1 result preserves/reconstructs:
AuthorizationJudgment identity
actor/principal/action/resource/context refs
outcome + JudgmentBasisClass
exact policy/meta-policy refs
coverage state/justification
determining/supporting/conflicting rules
obligations/advice
material evidence / Query / Reasoning dependencies
delegation basis where material
completion
diagnostics
AuthorizationJudgment != AuthorizationDecision != PermissionStatus != Execution
8. Z2 — PersistentPermissionStatus.v1
8.1 Purpose
Z2 derives current permission standing from immutable/reconstructible status contributions rather than a provider-owned mutable boolean/enum.
8.2 Permission subject
A PermissionSubject fixes/references as applicable:
principal
capability/action
resource/scope/jurisdiction
context/frame restrictions
status contract revision
8.3 Contributions
PermissionStatusContributionEffect
= ESTABLISH_GRANT
| ESTABLISH_PROHIBITION
| ESTABLISH_SUSPENSION
| WITHDRAW_CONTRIBUTION(target-contribution-ref)
Every contribution preserves:
contribution identity
PermissionSubject
source Decision/transition ref
source authority basis
effectuation authority basis
effective interval
scope/frame/context restrictions
target contribution where applicable
policy/status-contract revision
dependence/provenance
8.4 Withdrawal
A withdrawal references the exact contribution or contract-defined finite set it withdraws.
WithdrawContribution != DeleteContribution
WithdrawContribution != ClaimRetraction
WithdrawContribution != SourceDeletion
WithdrawProhibition -/-> Grant
WithdrawSuspension -/-> NewGrant
Historical effect before withdrawal time remains preserved.
8.5 Status basis
PermissionStatusBasis
= exact relevant contribution history
+ contribution-selection contract
+ history coverage/closure
+ effective-time rule
+ scope matching rule
+ contribution combination/precedence contract
8.6 Status judgments
PermissionStatusJudgment
= EFFECTIVE_GRANT
| EFFECTIVE_PROHIBITION
| SUSPENDED
| NO_EFFECTIVE_GRANT
| UNRESOLVED
SUSPENDED is not explicit prohibition.
SUSPENDED != EFFECTIVE_PROHIBITION
NO_EFFECTIVE_GRANT requires sufficient closed relevant history.
NoKnownGrant -/-> NO_EFFECTIVE_GRANT
GrantDecision -/-> EFFECTIVE_GRANT automatically
9. D1 — AttributableDecisionContract.v1
9.1 Decision occurrence
D1 preserves Decision as an attributable semantic occurrence:
Decides(decider, subject, outcome, basis, context/time)
-> Decision
A Decision is not a computed result merely because a rule can assess or determine its eligible outcome.
DerivedResult != Decision
GovernanceJudgment != Decision
9.2 Decision contract
The reference contract provides:
typed subject/outcome domain
DecisionBasisAdmissibilityContract
decider role/authority contract
RULE_DETERMINED selection
DISCRETIONARY_WITHIN_ELIGIBLE_SET selection
rationale requirements
procedure requirements
DecisionContractAssessment
DecisionAuthorityAssessment
DecisionEffectContract boundary
supersession/reversal/accountability dependencies
9.3 Basis admissibility
A DecisionBasisAdmissibilityContract may require:
specific StandingContracts
minimum completion
specific authority/provenance/currentness
conflict disposition
required combination of judgments/evidence
BasisPresent -/-> BasisAdmissibleForDecision
9.4 Independent assessments
DecisionContractAssessment
= CONFORMS | VIOLATES | UNRESOLVED
DecisionAuthorityAssessment
= ESTABLISHED | NOT_ESTABLISHED | UNRESOLVED
DecisionContractAssessment != DecisionAuthorityAssessment
A Decision occurrence remains historical even when either assessment is negative/unresolved.
DecisionOccurred != DecisionConforms
9.5 Effectuation boundary
DecisionAuthority != EffectuationAuthority != Executor
AuthorizedDecision -/-> EffectiveDecision
Decision != Effect != Execution
When effectuation is distinct, a DecisionEffectContract preserves exact source Decision, effectuation authority/basis, transition/effective time and target status/effect dependencies.
10. Reference JudgmentBasisClass
EXPLICIT_NEGATIVE_POLICY
NO_POSITIVE_BASIS_UNDER_CLOSED_COVERAGE
COMBINATION_RESOLVED_NEGATIVE
PERSISTENT_STATUS_NEGATIVE
EXPLICIT_POSITIVE_POLICY
COMBINATION_RESOLVED_POSITIVE
CONDITIONAL_POSITIVE_SUPPORT
SEMANTIC_BASIS_UNRESOLVED
JudgmentBasisClass != JudgmentOutcome
Exact determining policies/evidence remain preserved separately.
11. FormaSL-native capability
The reference set permits material governance over:
StandingContract
typed role-incidence / N-ary / higher-order relations
Query path witnesses
Claim issuer
producer vs issuer
Observation / Assessment standing
SemanticConsequence standing
authority / delegation / jurisdiction
context / frame / scope
temporal validity/currentness
conflict / plurality
provenance / dependence
hypothetical dependence
source/theory/policy revisions
assurance/attestation
No universal JSON-attribute flattening is required.
12. Provider boundary
GovernancePolicyContract != Provider/PDP
ProviderDefaultDeny != FormaSL UNAUTHORIZED
ProviderPolicyOrder != SemanticPriority
BinaryProviderDeny -/-> UNAUTHORIZED when FormaSL result is UNRESOLVED
A provider incapable of preserving a required semantic state is non-conforming for that execution path rather than semantic authority to coerce it.
13. Witness evidence
G-W1 policy coverage / omitted policy PASS
G-W2 plural conflicting Claim evidence PASS
G-W3 incomplete ReBAC path evidence PASS
G-W4 permit/prohibit combination PASS
G-W5 unresolved authoritative conflict PASS
G-W6 conformance vs admission PASS
G-W7 conditional admission support paths PASS
G-W8 actor/principal delegation PASS
G-W9 persistent permission history PASS
G-W10 Decision contract violation PASS
G-W11 Decision vs effectuation authority PASS
G-W12 provider substitution PASS
14. Reference-set closure
GOVERNANCE_REFERENCE_PROFILE_SET_COMPLETE = YES
GOVERNANCE_H1_CAPABILITY_ADEQUACY = PASS
PROFILE_CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
SURFACE_SYNTAX = OPEN / P3L
PROVIDER_RUNTIME = OPEN
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — H1 Hypothetical / Scenario Capability Contract
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — H1 HYPOTHETICAL CAPABILITY OWNER
Consumes: Formal World Model §5, Semantic Invariants §§11/13, SEMANTIC-LIFECYCLE-TRANSITIONS.md §7, situated-result and already-ratified computational/governance owners
Acceptance rule: WHOLE-LANGUAGE-CAPABILITY-ADEQUACY-AMENDMENT.md
Ratification evidence: ../HYPOTHETICAL-CAPABILITY-TERMINAL-REAUDIT-1.md, H-W1..H-W16
Date: 2026-08-22
Purpose: close the productive H1 what-if/scenario capability while preserving non-assertive standing, exact context/basis, local identity, virtual evolution, cross-scenario/world comparison, alternative-world completion and category-specific exit without granting runtime/provider/hypothetical state authority over baseline meaning.
1. Owner decision
HYPOTHETICAL_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
HYPOTHETICAL_CONTEMPORARY_FUNCTIONAL_BASELINE = PASS
HYPOTHETICAL_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
HYPOTHETICAL_COMPOSITIONAL_CAPABILITY = PASS
HYPOTHETICAL_SEMANTIC_CONTINUITY_AT_CAPABILITY_LEVEL = PASS
HYPOTHETICAL_CAPABILITY_ADEQUACY = PASS
This contract ratifies semantic capability, not concrete syntax, provider/runtime architecture, physical branch/storage strategy or implementation.
2. Constitutive distinctions
Preserve:
Assumption != Claim != Truth
Hypothetical != Unknown != Future
HypotheticalOccurrence != ActualOccurrence
ScenarioDefinition != ScenarioContextInstance != HypotheticalResult
Baseline != Truth != CompleteReality
HypotheticalEvaluation -/-> BaselineMutation
HypotheticalAuthority -/-> BaselineTransitionAuthority
HypotheticalMotivation != HypotheticalExecution
No universal promotion/merge/reify operator is authorized.
3. Hybrid scenario architecture
ScenarioContextInstance
= first-class semantic context artifact
+ explicit evaluation binder
Context is first-class because assumptions, deltas, lineage, local referents and results are intrinsically scenario-qualified.
Context is also a binder because the same inherited semantic basis may be reinterpreted under explicit scenario selection/resolution rules without changing source artifact identity.
CONTEXT IN DATA + CONTEXT IN BINDER
= H1 SCENARIO MODEL
Physical realization is free under correspondence:
overlay
copy-on-write
MVCC/snapshot
persistent structure
query rewriting
materialized clone
factorized/lazy representation
!= Scenario semantics
4. Three-level owner model
4.1 ScenarioDefinition
Reusable declaration preserving/referencing as applicable:
definition identity/revision
typed parameters
baseline/parent selection contract
admitted delta classes
ScenarioBasisResolutionContract
ScenarioClosureContract requirements
admitted operations/probes
result/export contract
exit capability declarations
4.2 ScenarioContextInstance
A sealed semantic context preserving/referencing exact:
ScenarioDefinition revision
ScenarioContextIdentity
root Baseline or parent ScenarioContextIdentity
parameter bindings
scenario deltas
basis-resolution contract revision
closure contracts
semantic dependency closure
scope/frame/time basis
construction/fork lineage
4.3 HypotheticalResult
A result of an admitted operation retains its original result standing/category plus material hypothetical dependence.
QueryAnswer + HypotheticalDependency(H)
AnalysisResult + HypotheticalDependency(H)
SemanticConsequence + HypotheticalDependency(H)
TransformedArtifact + HypotheticalDependency(H)
ValidationReport/ConformanceJudgment + HypotheticalDependency(H)
GovernanceJudgment + HypotheticalDependency(H)
No universal result-wrapper category erases the original standing.
5. Baseline semantics
A ScenarioBaseline is an exact selected non-hypothetical semantic basis.
Baseline != Truth
Baseline != CompleteReality
BaselineMembership != Truth
A baseline may contain conflict, uncertainty, observations, claims, assessments, consequences, policies and incomplete knowledge without those items acquiring stronger standing.
Baseline preserves/references exact source/revision, interpretation basis, scope/frame/context, relevant time roles, theory/model/policy revisions and closure/completeness declarations.
Mutable latest/current locators cannot remain as historical scenario basis.
6. Identity model
Keep distinct:
ScenarioDefinitionIdentity
ScenarioContextIdentity
ScenarioDenotationEquality
RuntimeMaterializationIdentity
EvaluationRunIdentity
ScenarioContextIdentity != ScenarioDenotationEquality
ScenarioContextIdentity != RuntimeMaterializationIdentity
EvaluationRunIdentity != ScenarioContextIdentity
A new context identity arises through explicit instantiation/fork construction, not provider rematerialization.
Two explicitly instantiated contexts may be denotationally equal and still have distinct context identities.
Derived contexts preserve exact parent context identity.
7. Version and temporal axes
Preserve independently where material:
SourceRevision
SourceRecordingTime
BaselineValidTime
BaselineKnowledgeTime
ScenarioConstructionTime
HypotheticalStepOrder
HypotheticalValidTime
HypotheticalDecisionTime
ActualValidTime
SourceRevision != ValidTime
HypotheticalStepOrder != HypotheticalValidTime
HypotheticalValidTime != ActualValidTime
Coincident values do not collapse semantic roles.
8. ScenarioBasisResolutionContract
Every scenario context declares the exact algebra governing inherited/parent content and local deltas.
Mandatory dimensions:
inheritance
masking/withholding
substitution
local addition
conflict preservation
local closure/completeness
scope/frame compatibility
identity correspondence
Provider/storage order cannot define these semantics.
9. Typed delta classes
Mandatory H1 scenario delta classes:
ASSUME
MASK
SUBSTITUTE
INTRODUCE_LOCAL
HYPOTHETICAL_TRANSITION
The catalog may be extended only through explicit versioned semantic contracts.
9.1 ASSUME
Introduces HypotheticalAssumption standing.
Assume(H,p) != Claim(p)
Assume(H,p) != Truth(p)
Conflicting inherited items remain unless separately masked/substituted.
9.2 MASK
Withholds an exact inherited item from a declared interpretation role/scope inside H.
MASK(x) != False(x)
MASK(x) != Nonexistent(x)
MASK(x) != Retract(x)
MASK(x) != Delete(x)
9.3 SUBSTITUTE
Selects a replacement for an exact interpretation role under ScenarioSubstitutionRoleContract.
SubstitutionSelection != StandingConversion
Substitution != IdentityMerge
Substitution != SourceRevision
9.4 INTRODUCE_LOCAL
Introduces a scenario-local referent/artifact with hypothetical-local standing.
It cannot create actual Observation/Decision/Effect/Execution merely by modeled kind or naming.
9.5 HYPOTHETICAL_TRANSITION
Produces a hypothetical successor context/state according to an explicit transition contract.
HypotheticalTransition != ActualExecution
10. ScenarioInterpretationBasis
For scenario H and consumer contract C:
ScenarioInterpretationBasis(H,C)
is a standing-preserving selected semantic view.
Each material selected item preserves/references:
semantic identity
StandingContract / semantic kind
scenario role
origin baseline/context
scope/frame/time
material authority/issuer/producer/observer roles
conflict/plurality
material provenance/dependence
HypotheticalDependency(H)
Reference scenario roles:
INHERITED
LOCAL_ASSUMPTION
LOCAL_INTRODUCED
SUBSTITUTION_REPLACEMENT
Masked/substituted-away items remain historically reconstructible but are not selected for the affected role.
SCENARIO BINDING != STANDING COERCION
11. ScenarioStandingAdmissibilityContract
Every consumer declares which source standings/scenario roles it can consume and how.
Preserve at least:
consumer contract identity/revision
admitted source standings
admitted scenario roles
content/view interpretation rules
closure/completeness requirements
conflict policy
scope/frame/time compatibility
output dependency obligations
Examples:
QueryMatchesAssumedContent != QueryTreatsAssumptionAsClaim
PremiseAdmissible(HypotheticalAssumption,R) -/-> Claim
Scenario context does not select a reasoning logic automatically.
12. ScenarioSubstitutionRoleContract
Substitution preserves/references:
exact target identity/standing
replacement identity/standing
interpretation role
scope/frame/context/time
compatibility/correspondence rule
lineage to target
A heterogeneous replacement is allowed only when the role/consumer explicitly admits its actual standing; standing differences remain visible.
Scenario-local policy substitution does not make that policy authoritative outside H.
13. Scenario-local semantic artifacts
13.1 ScenarioLocalSemanticArtifact
Preserve:
ScenarioLocalIdentity
ScenarioLocalStanding = HYPOTHETICAL_LOCAL
ModeledSemanticKind
modeled roles/fields
origin context
scope/frame/time inside H
dependencies
13.2 Modeled kind vs standing
ScenarioLocalStanding != ModeledSemanticKind
A scenario may model:
Claim
Observation
Assessment
Decision
Action/Occurrence
Effect
PolicyDefinition
RelationInstance
DomainEntity
without creating the corresponding non-hypothetical occurrence/standing.
ModeledKind(Claim) != Standing(Claim)
ModeledKind(Decision) != DecisionOccurrence
ModeledKind(Observation) != ActualObservation
ModeledKind(Effect) != ActualEffect
13.3 Assumption vs modeled occurrence
Assume(H,p)
!= hypothetical modeled Claim occurrence issued by A
Thus FormaSL can distinguish “suppose p” from “suppose Alice asserted p”.
14. Scenario-local identity
ScenarioLocalIdentity
= origin ScenarioContextIdentity
+ local semantic identity
Descendants inherit the same local identity when inheriting the referent.
Sibling-local items are distinct absent independently grounded identity equality.
Inherited baseline referents preserve baseline semantic identity when no identity-changing transformation occurs.
Cross-world correspondence relations such as COUNTERPART, REPRESENTS_FOR_COMPARISON or SUBSTITUTES_FOR_ROLE do not establish identity.
CounterpartAcrossWorlds != SameSemanticIdentity
15. ScenarioClosureContract
Closure is always local/relation-specific.
Preserve/refer to:
contract identity/revision
scenario/basis identity
closed semantic domain
closed predicate/relation/standing class
scope/frame/context/time
closure basis/authority where relevant
closure interpretation kind
completion
consumer applicability
Reference kinds:
MATCH_DOMAIN_CLOSED
PREMISE_DOMAIN_CLOSED
MEMBERSHIP_DOMAIN_CLOSED
SCENARIO_WORLDSET_CLOSED
ScenarioClosure != CompleteReality
ScenarioClosure != SourceClosure globally
A negative/absence conclusion requires the consumer’s own contract to admit the exact closure kind.
16. Actual execution firewall
Simulated/hypothetical transition:
HYPOTHETICAL_TRANSITION
-> hypothetical successor/context/effect description
If an external real action is explicitly invoked while evaluating H:
actual ExecutionAttempt / receipt / occurrence evidence
+ HypotheticalDependency(H)
must be preserved.
HypotheticalMotivation != HypotheticalExecution
Actual effects/observations/results do not automatically mutate H, its parent or authoritative source.
ActualExecutionResult -/-> ScenarioMutation
ActualExecutionResult -/-> SourceMutation
Separate explicit scenario/source incorporation transitions are required.
17. Governance/firewall under H
A governance evaluation under H preserves H in its exact policy/evidence basis.
AuthorizedUnder(H) != AuthorizedUnder(Baseline)
AdmissibleUnder(H) != AdmissibleUnder(Baseline)
PermissionStatusUnder(H) != BaselinePermissionStatus
Scenario-local/hypothetical authority may govern hypothetical transitions inside H if admitted, but:
HypotheticalAuthority -/-> BaselineTransitionAuthority
HypotheticalAuthority -/-> SourceWriteAuthority
A non-hypothetical consumer requires independent non-hypothetical authority/standing or a category-specific transition.
18. Category-specific exit
No universal:
PROMOTE
MERGE
ACCEPT
REIFY
Reference exits include:
HypotheticalResult
-> ASSERT-BASED-ON by explicit issuer
-> new Claim
ADOPT-AS-OWN only when its own content-correspondence contract applies
HypotheticalResult
-> DecisionBasisAdmissibilityContract
-> may be basis for a later Decision
HypotheticalChangeProposal/artifact
-> independent non-hypothetical authority/admission
-> SOURCE-EVOLVE when separately authorized
HypotheticalArtifact
-> downstream computation retaining hypothetical dependence
Exit does not erase historical hypothetical origin/dependence.
19. ScenarioExitIdentityContract
When scenario-local referent identity is material to an exit, choose/reference one exact disposition:
NEW_TARGET_IDENTITY
CORRESPOND_TO_EXISTING(existing-ref, IndependentIdentityBasis)
NO_TARGET_REFERENT
ScenarioLocalIdentity -/-> ExistingBaselineIdentity
CounterpartAcrossWorlds -/-> ExistingBaselineIdentity
StructuralEquality -/-> ExistingBaselineIdentity
Identity correspondence does not itself grant target standing or source authority.
20. Composition with other H1 regimes
A scenario context may supply an explicit interpretation/dependency basis to:
Query
Analysis / Prediction
Reasoning
Semantic Transformation
Validation / Conformance
Governance
only through consumer-specific standing admissibility.
Each produced result retains its ordinary standing plus material H-dependence.
No result category is promoted merely by composition.
21. Mandatory reference-profile set
The H1 capability floor is witnessed by:
CONTEMPORARY PRODUCTIVE FLOOR
S1 — BranchScenario.v1
S2 — HypotheticalEvolution.v1
S3 — ScenarioComparison.v1
FORMASL-NATIVE H1 SUPERSET WITNESS
S4 — AlternativeWorldSet.v1
See HYPOTHETICAL-H1-REFERENCE-PROFILE-SET.md.
The profile catalog remains open/versioned/admission-governed.
22. Alternative-world semantics
S4.v1 is a finite closed set of exact ScenarioContextIdentity members with exact/decidable complete membership denotation.
Preserve independently:
WorldSetCoverage
WorldEnumerationProgress
PerWorldProbeCompletion
CrossWorldJudgmentCompletion
WorldSetProbeContract.v1 requires deterministic/decision-stable semantic satisfaction interpretation.
Existential:
EXISTS_SATISFY(witness-world,result)
NONE_SATISFY
UNRESOLVED
Universal:
ALL_SATISFY
COUNTEREXAMPLE(world,result)
UNRESOLVED
Rules:
one decisive satisfying member -> existential closes positively
all members decisively non-satisfying -> existential closes negatively
one decisive non-satisfying member -> universal closes negatively
all members decisively satisfying -> universal closes positively
otherwise -> UNRESOLVED
Preserve:
EXISTS_SATISFY != Truth
ALL_SATISFY != GlobalTruth
WorldSetMembership != Probability
StochasticRunSample -/-> WorldSatisfies
23. Member-world identity / physical dedup
S4 membership is by exact semantic context identity.
Distinct context identities may be denotationally equal.
Physical deduplication is permitted only while preserving a correspondence from physical representation to every semantic member-world identity it realizes.
PhysicalDeduplication != SemanticWorldIdentityDeduplication
Witness/counterexample results preserve required semantic member-world identity/provenance.
24. Causal firewall
Ordinary scenario operations do not imply causal intervention semantics.
ASSUME != CausalIntervention
SUBSTITUTE != CausalIntervention
PredictionUnderScenario != CausalEffect
TemporalDifference != Causation
A causal counterfactual profile requires an explicit causal model/intervention contract.
25. Witness closure
H-W1 assumption standing / conflict PASS
H-W2 mask / local closure PASS
H-W3 substitution standing/identity PASS
H-W4 sibling/descendant local identity PASS
H-W5 exact parent vs latest baseline PASS
H-W6 virtual evolution / temporal axes PASS
H-W7 transition false/unresolved/failure PASS
H-W8 N-way comparison PASS
H-W9 existential world-set early witness PASS
H-W10 universal unresolved probe PASS
H-W11 cross-world completion + stochastic firewall PASS
H-W12 cross-regime composition PASS
H-W13 hypothetical authority escape firewall PASS
H-W14 actual execution / no feedback PASS
H-W15 provider substitution PASS
H-W16 exit identity + causal firewall PASS
Terminal capability gate:
HYPOTHETICAL_CAPABILITY_ADEQUACY = PASS
26. Deliberate non-requirements
H1 adequacy does not require:
one physical overlay/clone mechanism
one universal modal logic
one universal default/non-monotonic logic
one universal causal counterfactual calculus
implicit probability over world alternatives
one generic scenario merge/promotion
actual side effects as ordinary hypothetical steps
one global ranking/preference relation over scenarios
infinite/undecidable world sets in S4.v1
These remain future profile decisions if independently justified.
27. Reopen triggers
Reopen this owner only for material evidence such as:
scenario use case impossible without standing/identity laundering
required scenario capability below declared productive floor
context-resolution ambiguity causing different semantic results
alternative-world completion counterexample
hypothetical authority/source escape
actual/hypothetical occurrence collapse
provider substitution changing denotation under identical basis
Semantic Continuity ACCIDENTALLY-LOST
P3 correspondence impossibility
higher-authority contradiction
Implementation convenience or preferred storage branching mechanism is insufficient.
28. Ratified state
HYPOTHETICAL_CAPABILITY_CONTRACT = CLOSED / STABLE
HYPOTHETICAL_CAPABILITY_ADEQUACY = PASS
SURFACE SYNTAX = OPEN / P3L
PROVIDER / STORAGE REALIZATION = OPEN
IMPLEMENTATION = NOT AUTHORIZED
29. BLOCK-B ratified amendment — productive-execution closure law
Ratified: BLOCK-B-PRODUCTION-CLOSURE-v0.1 owner decision (2026-09-24); permanent law owned here, not by the campaign package.
Effect on §28: the IMPLEMENTATION = NOT AUTHORIZED line is superseded for the Block B scope by the owner-ratified campaign; §§1–27 semantics stand unchanged. This amendment adds only the realization law already presupposed by §§4–18.
29.1 Recognition is not execution
DECLARATION_RECOGNIZED -/-> Scenario completion
UnsupportedStmt on an admitted H1 scenario form = DEFECT
Every §9 formation statement (WITH, ASSUME, MASK, SUBSTITUTE,
INTRODUCE_LOCAL) and every §9.5/§14 evolution statement
(HYPOTHETICAL_TRANSITION, embedded composition) has a productive
execution route. A route that records the declaration and stops realizes
the contract only structurally and is fail-closed against completion.
29.2 Formation-region law (realizes §5/§9 declaratively)
body = formation region -> operation/evolution region
formation: collect -> resolve -> validate -> atomic seal
after seal, no formation statement may reappear; reappearance = typed
semantic rejection at the boundary, never source-order mutation,
never last-write-wins, never first-match fallback.
WITH assigns exact context fields (not a lexical binder).
`from` locators resolve before body locals and seal to exact immutable
bases. MASK/SUBSTITUTE resolve exact targets against the predecessor
contextual basis.
H exists semantically only after the final atomic seal.
29.3 Context identity law (realizes §4/§14)
New explicit construction mints a fresh ScenarioContextIdentity;
replay/load of the same sealed context preserves the existing identity.
Root/fork/parent lineage is explicit and carried. Scenario-local
identity is context-qualified and never inferred by name.
29.4 S2 successor law (realizes §6/§16)
HYPOTHETICAL_TRANSITION resolves to exactly one of:
PRECONDITION_FALSE SUCCESSOR(H_next) UNRESOLVED MechanismFailure
Only SUCCESSOR introduces the next context. The successor carries the
transition step, ScenarioSuccessorContribution, interpretation
contract and lineage sufficient to change denotation; Parent(H) alone
is insufficient. A missing successor never falls back to the
predecessor. Contributions remain hypothetical (never Effect /
SourceChange).
29.5 Interpretation/consumer law (realizes §10–§13)
ScenarioInterpretationBasis(H,C)
= standing-preserving contextual resolution -> consumer admission
Lazy, demand-driven, consumer-specific. There is no global
effective-world authority and no flattened-world carrier. MASKed
material cannot be resurrected by a consumer; rejecting a SUBSTITUTE
replacement does not silently restore the target through a different
route. Native results keep native standing and acquire
HypotheticalDependency(H) when H is material. Scenario→Query uses the
existing QEC substrate; scenario-only representation occurrences are
run-owned with a mandatory sidecar and never become scenario semantic
identity. Scenario closure reaches native query closure only through an
explicit bridge.
29.6 Persistence identity law (realizes §20-adjacent freeze decision)
SAVE SCENARIO = make H durable
MATERIALIZE SCENARIO = governed target transition of selected material
load(save(H)) = the SAME H (identity, lineage, denotation,
standing, dependencies, interpretation)
Canonical versioned schema, strict readback, corruption rejection, atomic crash-safe publication, same-H concurrent-save integrity conflict (never LWW). Runtime thread/scheduler/provider session state is not part of H.
29.7 Exit law (realizes §18)
Exit is explicit ScenarioExitProjection — immutable, non-authoritative,
effect-free preview; apply consumes the exact projection digest. Target
identity dispositions are exactly:
NEW_TARGET_IDENTITY
CORRESPOND_TO_EXISTING(exact target, IndependentIdentityBasis)
NO_TARGET_REFERENT
Name/content/shape/counterpart never establishes existing identity.
Source admission law: REVISION-CAPABILITY-CONTRACT.md §26.
29.8 Scenario-embedded composition
Embedded composition executes on the same shared semantic executor as
top-level composition, with context/epoch binding (§6/epoch law);
NOT_REACHED is reachability, never UNRESOLVED/FAILED.
FormaSL — Revision / Semantic Evolution / Source Incorporation Capability Contract
Status: STABLE / NORMATIVE DESIGN — OWNER-RATIFIED H1 CAPABILITY CONTRACT
Authority: downstream normative design subordinate to FormaSL foundations and SEMANTIC-LIFECYCLE-TRANSITIONS.md
Acceptance horizon: V2-WHOLE-LANGUAGE-H1
Date: 2026-08-22
1. Jurisdiction
This contract closes productive H1 history/evolution semantics while preserving:
SOURCE AUTHORING
!= AUTHORITATIVE SOURCE-STATE EVOLUTION
!= SEMANTIC REVISION / SUCCESSION
Mandatory profiles are owned by REVISION-H1-REFERENCE-PROFILE-SET.md.
It does not select concrete revise syntax, VCS, database, storage format or implementation.
2. Mandatory non-collapses
SemanticSuccessionRelation != SourceParentRelation != ProvenanceDerivation != Causation
ArtifactIdentity != ReferentIdentity != SourceBindingIdentity != SourceStateIdentity
AuthoritativeSourceStateIdentity != SourceStateSemanticBasisKey != PhysicalVersionId
RevisionOccurrenceTime != SemanticValidTime != SourceTransactionTime != SourceEffectiveTime
Retraction != Delete != False != rho=0 != SourceDeactivation
SourceIncorporation != Reassertion != AdoptionAsOwn != StandingPromotion
SourceMerge != SemanticConflictResolution
SourceStateSelection != SemanticEffectiveSelection
CurrentSelection != ConflictResolution
SourceStatePrepared != AuthoritativeSourceStateIntroduced
StorageWrite != SourceAuthority
3. E1 — semantic succession
H1 admits an open/admission-governed catalog with mandatory kinds:
CORRECTS
SUPERSEDES
RETRACTS
DEPRECATES
REFINES
A SemanticSuccessionRelation preserves/references:
relation identity/kind/revision
predecessor/target refs
successor refs where applicable
declarer/actor
relation authority/basis
scope/context/frame
time roles
rationale/evidence/dependence
RevisionIdentityEffectContract
category-specific SuccessionAdmissibilityContract
effect/current-selection contract where applicable
The relation never mutates endpoints.
SuccessionRelation -/-> SuccessorStandingIntroduction
4. Relation existence vs effectiveness
Distinguish:
SuccessionRelationExists
SuccessionContractAssessment
SuccessionAuthorityAssessment
SuccessionEffectiveStanding
Reference assessment domains:
SuccessionContractAssessment = CONFORMS | VIOLATES | UNRESOLVED
SuccessionAuthorityAssessment = ESTABLISHED | NOT_ESTABLISHED | UNRESOLVED
Purported/disputed succession remains historically representable.
SuccessionRelationExists -/-> EffectiveSuccession
5. Relation semantics
CORRECTS(old,new) declares, under exact authority/scope/time, that new is intended as a correction; it does not make old globally false.
SUPERSEDES(old,new) declares replacement for exact use/scope/time; predecessor remains historical and may remain applicable elsewhere/earlier.
RETRACTS is an attributable withdrawal act/relation; target remains historical and retraction does not assert negation.
For Claims, issuer retraction requires issuer/authorized-representative basis. Third-party disagreement remains a separate Claim/Assessment/purported relation unless authority exists.
DEPRECATES restricts/discourages future/declared use without implying falsehood.
REFINES records admitted refinement and does not imply subtyping, inheritance or supersession.
6. Identity effect
Every material succession relation has a RevisionIdentityEffectContract using, per relevant identity dimension:
PRESERVED
NEW_IDENTITY
EXPLICIT_CORRESPONDENCE
NO_IDENTITY_CLAIM
NOT_APPLICABLE
Material dimensions include as applicable:
domain/referent identity
artifact/statement identity
Claim assertion-token identity
theory/ontology/policy/type revision identity
source declaration identity
SameReferent -/-> SameArtifactIdentity
SamePayload -/-> SameArtifact
New correcting Claims have new Claim identity.
7. Category-specific succession
E1 is generic only at the history/interface layer.
ClaimIdentity = immutable assertion-token identity
PolicyRevisionIdentity != PolicyEffectiveStanding
NewOntologyRevision -/-> RewriteOldConsequences
NewTypeRevision -/-> RetypeHistoricalArtifacts
Migration/re-expression uses explicit Transformation/source-evolution contracts.
Category-specific profiles may impose stronger endpoint/cardinality/effect rules.
8. Succession graph
SemanticSuccessionGraph != SourceStateHistoryDAG
General E1 relations may be plural/conflicting/cyclic.
Category-specific effective-selection contracts may impose stronger ordering/well-foundedness on their effective relation subset.
Unresolved/conflicting effective candidates produce plurality/UNRESOLVED, not provider-order winners.
9. Succession temporal roles
Preserve, where material:
predecessor semantic valid/effective time
successor semantic valid/effective time
succession occurrence time
source transaction time of relation recording
SemanticValidTime != SuccessionOccurrenceTime != SourceTransactionTime
A late-recorded correction may have earlier semantic valid time without rewriting transaction history.
10. E2 — authoritative source-state evolution
AuthoritativeSourceState is immutable and carries:
AuthoritativeSourceStateIdentity
TargetSourceScope
exact parent SourceStateRef(s)
SourceStateSemanticBasisKey
accepted SourceChangeSet
source authoring/evolution/authority provenance
SourceTransactionTime
SourceEffectiveTime where applicable
source binding/declaration index
history/provenance dependencies
Physical Git/database/snapshot identifiers are representations only.
Two states may be profile-equivalent while historically distinct.
11. Source roles
Distinguish:
SourceAuthoringPrincipal
SourceEvolutionPrincipal
SourceAuthority
SourcePublisher/Recorder
SourceExecutionPrincipal
No role is inferred from execution/commit metadata alone.
12. Source change set
Mandatory H1 operations:
ADD_SOURCE_BINDING
REMOVE_SOURCE_BINDING
REPLACE_SOURCE_BINDING
RELOCATE_SOURCE_BINDING
INCORPORATE_EXISTING_ARTIFACT
ATTACH_SOURCE_METADATA
There is no source-op shortcut that directly establishes semantic succession effectiveness.
REMOVE_SOURCE_BINDING changes source-state membership only.
NotPresentInNewSourceState != Retraction != False != Delete
13. Binding targets / standing firewall
Every source binding target is:
EXISTING_ARTIFACT_REF
or
NEW_SOURCE_DEFINED_DECLARATION
Existing artifacts use E3 and require pre-established standing.
New declarations use SourceDeclarationIntroductionContract with:
COINTRODUCED_WITH_SOURCE_STATE
or
INDEPENDENT_INTRODUCTION_REQUIRED
Source shape/text cannot manufacture Claims, Decisions, Observations, PermissionStatusContributions or other independent occurrence standing.
14. Source binding identity
Bindings are immutable source-history artifacts.
Reference behavior:
unchanged carry-forward -> preserve binding identity
add -> new binding identity
remove -> historical old binding, absent in new state
relocate -> new binding identity + RELOCATED_BINDING correspondence
replace -> new binding identity + REPRESENTATION_SUCCESSOR/explicit mapping
Path/name/text equality is not identity authority.
Historical loci remain reconstructible.
15. Base admissibility / source history
Every transition seals exact base states first.
Mandatory SourceBaseAdmissibilityContract classes:
EXACT_BASE_ALLOWED
REQUIRE_EXPECTED_HEAD
REQUIRE_DESCENDANT_OF
MULTI_BASE_RECONCILIATION
Old exact state is a valid branch point under EXACT_BASE_ALLOWED.
Source states form an immutable parent DAG by introduction dependency.
Mutable branch/head locators are not state identity.
16. Candidate identity / order independence
All new source-defined declaration/binding identities are predeclared as candidate handles before reference validation.
CandidateSemanticIdentityHandle != EstablishedSemanticArtifactStanding
Semantic reference cycles may be permitted by category contracts; computed construction dependencies use a separate completion discipline.
Candidate identity collisions either coalesce only under an explicit idempotent-equivalence contract or fail.
SourceTextOrder -/-> SourceStateMeaning
17. Multi-base reconciliation
Every E2 transition declares TargetSourceScope and exact scope/base admissibility.
SourceReconciliationContract owns binding alignment, source-level conflicts and explicit reconciliation decisions.
SourceReconciliationResult = RESOLVED | UNRESOLVED
Unresolved source conflicts block source-state admission when complete reconciliation is required.
SourceMerge != SemanticConflictResolution
18. SourceStateAdmissionBundle / atomicity
Prepared E2 transition constructs a SourceStateAdmissionBundle containing exact bases, candidate state/basis, resulting bindings, source-defined COINTRODUCED standings, category assessments, reconciliation and authority evidence.
H1 introduces:
new AuthoritativeSourceState
+ all COINTRODUCED source-defined standings
or neither.
Independent-lifecycle artifacts are not minted by this bundle.
Required authoritative retention/recording failure before commit blocks introduction.
Downstream physical replication/distribution failure after commit does not erase the state.
19. Source temporal model
SourceTransactionTime
= authoritative history/admission recording coordinate
SourceEffectiveTime
= semantic source-effectiveness coordinate where distinct
PhysicalPublication/AvailabilityTime
= operational/runtime by default
SourceTransactionTime != SourceEffectiveTime != PhysicalPublicationTime
20. Source-state selection
SourceStateSelectionContract mandatory modes:
EXACT_STATE
AS_RECORDED_AT
EFFECTIVE_AT
RESOLVED_LOCATOR_AT
Result:
ONE | MANY | NONE | UNRESOLVED
SourceStateSelectionContract != SemanticEffectiveSelectionContract.
Semantic-effective selection then applies category/valid-time/scope/effective-succession/currentness rules within the selected exact basis and may likewise return ONE | MANY | NONE | UNRESOLVED.
SourceCurrent != SemanticCurrent
CurrentSelection != ConflictResolution
21. Source evolution impact
When an old result is considered for active reuse under a new source state, SourceEvolutionImpactContract yields:
REMAINS_VALID_UNDER_NEW_STATE
RECOMPUTE_REQUIRED
HISTORICAL_ONLY
UNRESOLVED_IMPACT
Both additive and subtractive changes matter.
Reuse requires explicit semantic invariance/correspondence sufficient for the result observation profile.
SameDirectDependencyRefs -/-> ResultStillValid
TextChanged -/-> SemanticBasisChanged
Historical old results remain valid about their original basis.
22. E3 — source incorporation
E3 requires:
ExistingArtifactStandingEstablished
+ exact artifact identity/reference
+ exact StandingContract
before incorporation.
It introduces only the source binding/reference under source authority and preserves:
artifact identity
issuer/producer/observer standing
original time/context basis
HypotheticalDependency where applicable
incorporation provenance/source locus
E3 != ArtifactRecognitionAuthority
E3 -/-> NewArtifactStanding
Later binding removal does not retract the artifact.
23. History inspection
Existing Query inspects:
source-state DAG/parents
binding membership/correspondence
E1 succession relations/assessments
valid/effective/source transaction times
result/dependence history
under explicit source-state + semantic-effective selection contracts.
No separate history query language is required.
24. Scenario / causal boundary
Scenario change proposals/hypothetical results do not become E1/E2/E3 transitions without independent target authority.
RevisionRelation != Causation
SourceParent != Causation
TemporalSuccession -/-> Causation
25. Capability acceptance
Witnesses E-W1..E-W12 establish:
REVISION_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
REVISION_PRODUCTIVE_FUNCTIONAL_BASELINE = PASS
REVISION_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
REVISION_COMPOSITIONAL_CAPABILITY = PASS
REVISION_SEMANTIC_CONTINUITY_AT_CAPABILITY_LEVEL = PASS
REVISION_H1_CAPABILITY_ADEQUACY = PASS
Surface syntax/provider/implementation remain downstream.
26. BLOCK-B ratified amendment — attempt/outcome resolution and scenario-source admission
Ratified: BLOCK-B-PRODUCTION-CLOSURE-v0.1 owner decision (2026-09-24); permanent law owned here, not by the campaign package. Closes: the last under-specified realiziation boundary that WP-B5 must honor. Existing §§14–25 law stands; this amendment adds the distinction classes that §15/§18 already presuppose.
26.1 Attempt outcome resolution
Publication execution distinguishes, irreducibly:
APPLIED — the SourceEvolution observably took effect
NOT_APPLIED — the attempt observably did not take effect
OUTCOME_UNKNOWN — linearization status is not observable (timeout,
lost response, crash between prepare and effect)
MECHANISM_FAILED — the publication mechanism itself failed closed
Law:
Timeout -/-> safe retry
OUTCOME_UNKNOWN must be resolved (the prior publication outcome
determined) before any retry attempt is admitted.
OUTCOME_UNKNOWN resolved as applied + replay => NOT a new SourceEvolution
(request identity != execution-attempt identity; replay of a successful
SourceEvolution never creates a second semantic transition).
NOT_APPLIED resolved from OUTCOME_UNKNOWN remains one closed attempt; a
retry is a new attempt with a new attempt identity over the same request
identity.
MECHANISM_FAILED is not NOT_APPLIED and not SemanticFailure.
26.2 Base-admissibility realization law
§15’s four classes are realized per contract class, not by one universal rule. It is prohibited to implement base admission as the single law expected_base == current tip: that law holds exactly when the selected class is REQUIRE_EXPECTED_HEAD.
EXACT_BASE_ALLOWED — sealed exact base remains admissible after head
advance; a publish over it branches the parent
DAG at that exact base (old exact state is a
valid branch point, §15).
REQUIRE_EXPECTED_HEAD — fail closed on head drift; no silent refresh to
the current tip and no automatic remap.
REQUIRE_DESCENDANT_OF — admissible iff the target base is a descendant
in the immutable parent DAG.
MULTI_BASE_RECONCILIATION — requires an explicit typed reconciliation
step; no implicit merge, no LWW, no
conflict-winner default.
Published history is the immutable parent DAG of §15, not a linear last-published chain.
26.3 Scenario→source independent admission
A scenario-sourced materialization reaches source evolution only through:
ScenarioExitProjection (exact projection/digest consumed)
→ exact TargetSourceBasis (independent of the scenario baseline)
→ typed ScenarioToSourceMappingContract with per-item explicit disposition
(no silent drop; no ASSUME→ADD / MASK→REMOVE / SUBSTITUTE→REPLACE /
INTRODUCE_LOCAL→CREATE defaults)
→ SourceBaseAdmissibilityContract (§15 class selected explicitly)
→ independent non-hypothetical SourceAuthority (HypotheticalAuthority
-/-> SourceWriteAuthority, preserved from the Hypothetical owner)
→ SourceStateAdmissionBundle → PreparedSourceCandidate
→ publication (§18) → PublishedAuthoritativeSourceState
PreparedSourceCandidate != PublishedAuthoritativeSourceState;
StorageCommit -/-> Publication. Preview is effect-free; apply consumes
the exact projection digest.
FormaSL — Hypothetical H1 Reference Profile Set
Status: STABLE / NORMATIVE DESIGN / OWNER-RATIFIED
Authority: DOWNSTREAM NORMATIVE DESIGN — HYPOTHETICAL H1 REFERENCE PROFILE OWNER
Capability owner: HYPOTHETICAL-CAPABILITY-CONTRACT.md
Lifecycle owner: SEMANTIC-LIFECYCLE-TRANSITIONS.md §7
Ratification evidence: ../HYPOTHETICAL-CAPABILITY-TERMINAL-REAUDIT-1.md, H-W1..H-W16
Date: 2026-08-22
Purpose: define the mandatory H1 scenario reference profiles that prove productive branching, virtual evolution, N-way comparison and alternative-world-set reasoning without selecting a physical branch/store mechanism or universal modal/counterfactual calculus.
1. Reference set
CONTEMPORARY PRODUCTIVE FLOOR
S1 — BranchScenario.v1
S2 — HypotheticalEvolution.v1
S3 — ScenarioComparison.v1
FORMASL-NATIVE H1 SUPERSET WITNESS
S4 — AlternativeWorldSet.v1
MANDATORY REFERENCE SET != CLOSED PROFILE CATALOG
The profile catalog remains open/versioned/admission-governed.
2. Shared semantic substrate
All reference profiles preserve/refer to the material subset of:
ScenarioDefinition
ScenarioContextInstance
ScenarioBaseline / ParentContext
ScenarioContextIdentity
ScenarioBasisResolutionContract
ScenarioInterpretationBasis
ScenarioStandingAdmissibilityContract
ScenarioSubstitutionRoleContract
ScenarioClosureContract
ScenarioLocalSemanticArtifact
ScenarioExitIdentityContract
HypotheticalDependency
scope/frame/context/time basis
semantic dependency closure
Preserve:
Assumption != Claim
ScenarioLocalStanding != ModeledSemanticKind
Baseline != Truth
ContextIdentity != DenotationEquality
ProviderMaterialization != ContextIdentity
3. S1 — BranchScenario.v1
3.1 Purpose
Create an isolated, parameterized, reusable hypothetical context from an exact baseline or exact parent scenario.
3.2 Definition contract
An S1 ScenarioDefinition declares/references:
stable definition identity/revision
typed parameters
baseline/parent selector contract
admitted delta classes
ScenarioBasisResolutionContract
ScenarioClosureContract requirements
admitted consumer/probe contracts
result/export contract
3.3 Context construction
InstantiateScenario(def,basis,bindings,deltas)
-> ScenarioContextInstance H
Basis is exactly one admitted:
ScenarioBaseline
or
Parent ScenarioContextIdentity
Same exact context reference rematerialized by a provider remains the same semantic context.
An explicit second instantiation may introduce another context identity even when denotationally equal.
3.4 Mandatory deltas
S1 supports:
ASSUME
MASK
SUBSTITUTE
INTRODUCE_LOCAL
and may prepare the basis for S2 transitions.
3.5 Fork
Fork(H_parent,delta-set) -> H_child
preserves exact parent lineage.
Child does not refresh from mutable latest baseline/source.
3.6 Interpretation
Consumers receive only:
ScenarioInterpretationBasis(H,C)
under an exact ScenarioStandingAdmissibilityContract.
No flattened effective graph has semantic authority.
3.7 Completion
S1 context construction completes when exact basis/dependencies, parameter bindings, deltas, resolution/closure contracts and context identity are sealed.
Provider materialization can remain lazy.
ScenarioContextComplete != PhysicallyMaterializedClone
4. S2 — HypotheticalEvolution.v1
4.1 Purpose
Represent and query a virtual ordered sequence of hypothetical changes without actual execution/commit.
H0 --s1--> H1 --s2--> ... --sn--> Hn
4.2 Reference transition profile
S2.v1 requires deterministic single-successor:
HypotheticalTransitionContract.v1
For an exact completed predecessor/binding:
HypotheticalTransitionJudgment
= PRECONDITION_FALSE
| SUCCESSOR(H_next)
| UNRESOLVED
with HypotheticalTransitionFailure separate.
No successor context is introduced for false, unresolved or failed transition evaluation.
4.3 Nondeterminism boundary
If a transition contract admits multiple successors:
MultipleAdmissibleSuccessors -/-> ArbitrarySuccessorSelection
The result routes to explicit branch/alternative-world semantics such as S4 or a future nondeterministic evolution profile.
4.4 Evolution history
HypotheticalEvolutionHistory preserves:
ordered step identities
predecessor/successor context identities
transition contract revisions
input bindings
precondition judgment/completion
hypothetical change/effect description
material dependencies
HypotheticalEvolutionHistory
!= RuntimeTrace
!= ActualExecutionHistory
4.5 Time/version
Always preserve HypotheticalStepOrder.
When material, preserve independently:
HypotheticalValidTime
HypotheticalDecisionTime
SourceRevision / recording time
No role is inferred from another.
4.6 Probes
Any admitted H1 semantic operation may bind an exact H_i or exact history interval under consumer-specific standing admissibility.
5. S3 — ScenarioComparison.v1
5.1 Purpose
Compare baseline and/or two or more scenarios/results without implicitly ranking, selecting, asserting or deciding.
N >= 2
5.2 ScenarioComparisonContract
Declares/references:
participant identities/bases
ScenarioProbeContract when probing
alignment/correspondence contract
result equivalence/comparison contract
missing/unmatched treatment
completion requirements
output schema
5.3 ScenarioProbeContract
Preserves:
probe semantic contract/revision
participant-binding rule
expected result standing/category
per-participant completion requirement
result-equivalence contract
alignment/correspondence semantics
Each participant result preserves standing, completion, identity and H-dependence.
5.4 Comparison classes
Mandatory:
BASIS_DIFF
RESULT_DIFF
PROBE_COMPARISON
BASIS_DIFF can report:
inherited unchanged
masked/withheld
substituted
locally introduced
conflicting/unaligned
5.5 Identity/counterpart
Inherited baseline identity may remain same across contexts.
Cross-world:
COUNTERPART
REPRESENTS_FOR_COMPARISON
SUBSTITUTES_FOR_ROLE
UNMATCHED
are correspondence relations and do not establish semantic identity.
5.6 Result standing
ScenarioComparisonResult
!= Preference
!= Ranking by default
!= Decision
!= Claim
Incomplete participant results are not presented as complete comparable values absent an explicit partial-comparison contract.
6. S4 — AlternativeWorldSet.v1
6.1 Purpose
Provide a FormaSL-native H1 superset capability for explicit finite alternative worlds and possible/universal judgments over them.
6.2 Reference world set
S4.v1 requires:
finite alternative domain
closed complete membership denotation
exact/decidable world generation/membership
exact ScenarioContextIdentity members
shared root baseline/declared basis relationship
Physical representation may be explicit, symbolic, factorized or lazy if exact.
6.3 World identity
Membership is semantic context-identity membership.
Two distinct member contexts may have equal denotation.
Physical deduplication is permitted only with correspondence to all realized semantic member identities.
PhysicalDeduplication != SemanticWorldIdentityDeduplication
6.4 Coverage and execution state
Preserve:
WorldSetCoverage = CLOSED for S4.v1
WorldEnumerationProgress
PerWorldProbeCompletion
CrossWorldJudgmentCompletion
These are independent.
6.5 WorldSetProbeContract.v1
Requires semantic decision stability:
same exact world basis + same exact probe contract
-> same SATISFIES / DOES_NOT_SATISFY / UNRESOLVED interpretation
An approximate/stochastic source result is admissible only if its own semantic contract makes the satisfaction decision invariant for the admitted result class.
StochasticRunSample -/-> WorldSatisfies
Provider failure remains separate from semantic UNRESOLVED.
6.6 Per-world probe state
SATISFIES
DOES_NOT_SATISFY
UNRESOLVED
with mechanism failure separately represented.
6.7 Existential judgment
WorldExistentialJudgment
= EXISTS_SATISFY(witness-world,witness-result)
| NONE_SATISFY
| UNRESOLVED
Rules:
one decisive SATISFIES member
-> EXISTS_SATISFY
every member decisively DOES_NOT_SATISFY
-> NONE_SATISFY
otherwise
-> UNRESOLVED
6.8 Universal judgment
WorldUniversalJudgment
= ALL_SATISFY
| COUNTEREXAMPLE(world,result)
| UNRESOLVED
Rules:
one decisive DOES_NOT_SATISFY member
-> COUNTEREXAMPLE
every member decisively SATISFIES
-> ALL_SATISFY
otherwise
-> UNRESOLVED
6.9 Standing
EXISTS_SATISFY != Truth
ALL_SATISFY != GlobalTruth
WorldSetMembership != Probability
WorldSetUniversalJudgment != EpistemicConfidence
A future probabilistic/causal/modal profile requires separate explicit semantics.
7. Shared closure semantics
ScenarioClosureContract is local/relation-specific.
Reference kinds:
MATCH_DOMAIN_CLOSED
PREMISE_DOMAIN_CLOSED
MEMBERSHIP_DOMAIN_CLOSED
SCENARIO_WORLDSET_CLOSED
Consumers may use a closure only when their own contract admits the exact closure interpretation.
ScenarioClosure != CompleteReality
8. Shared modeled-kind semantics
A ScenarioLocalSemanticArtifact may model an admitted semantic kind while retaining hypothetical-local standing.
ScenarioLocalStanding = HYPOTHETICAL_LOCAL
ModeledSemanticKind = Claim | Observation | Decision | Effect | ...
This permits rich hypothetical histories without actuality laundering.
ModeledKind(Claim) != Claim standing
ModeledKind(Decision) != DecisionOccurrence
9. Composition profile
Reference profiles compose with already-ratified H1 regimes through ScenarioInterpretationBasis and ScenarioStandingAdmissibilityContract.
MATCH under H -> QueryAnswer + H-dependence
ANALYZE under H -> AnalysisResult + H-dependence
INFER under H -> SemanticConsequence + H-dependence
TRANSFORM under H -> TransformedArtifact + H-dependence
VALIDATE under H -> Validation/Conformance result + H-dependence
GOVERNANCE under H -> governance judgment + H-dependence
No result becomes non-hypothetical standing by consumption alone.
10. Actual-execution profile boundary
S1–S4 do not treat actual external side effects as ordinary hypothetical steps.
An explicit external call remains actual execution evidence plus material scenario dependence.
Actual execution/effect/observation may enter a scenario only by explicit scenario delta/incorporation; may enter authoritative source only through ordinary source lifecycle authority.
11. Exit profile boundary
Category-specific exits include:
ASSERT-BASED-ON -> Claim
conditional ADOPT-AS-OWN
DecisionBasisAdmissibilityContract
independently authorized SOURCE-EVOLVE
downstream H-dependent computation
When scenario-local referent identity is material, ScenarioExitIdentityContract uses:
NEW_TARGET_IDENTITY
CORRESPOND_TO_EXISTING(existing,IndependentIdentityBasis)
NO_TARGET_REFERENT
No generic merge/promotion exists.
12. Causal boundary
ASSUME / SUBSTITUTE != CausalIntervention
ScenarioPrediction != CausalEffect
Causal counterfactual reasoning requires an explicit future causal model/intervention profile.
13. Reference-set closure
S1_BRANCH_SCENARIO = REQUIRED / CLOSED
S2_HYPOTHETICAL_EVOLUTION = REQUIRED / CLOSED
S3_SCENARIO_COMPARISON = REQUIRED / CLOSED
S4_ALTERNATIVE_WORLD_SET = REQUIRED / CLOSED
HYPOTHETICAL_REFERENCE_PROFILE_SET = COMPLETE
HYPOTHETICAL_CAPABILITY_ADEQUACY = PASS
PROFILE CATALOG = OPEN / VERSIONED / ADMISSION-GOVERNED
SURFACE SYNTAX = OPEN / P3L
PROVIDER / STORAGE REALIZATION = OPEN
IMPLEMENTATION = NOT AUTHORIZED
FormaSL — Revision / Source Evolution H1 Reference Profile Set
Status: STABLE / NORMATIVE DESIGN — OWNER-RATIFIED REFERENCE SET
Authority: downstream normative H1 capability owner subordinate to REVISION-CAPABILITY-CONTRACT.md
Acceptance horizon: V2-WHOLE-LANGUAGE-H1
Date: 2026-08-22
1. Mandatory profiles
E1 — SemanticSuccession.v1
E2 — AuthoritativeSourceEvolution.v1
E3 — SourceIncorporation.v1
These prove the H1 evolution capability floor; they are not a catalog ceiling.
2. E1 — SemanticSuccession.v1
Mandatory relation kinds:
CORRECTS
SUPERSEDES
RETRACTS
DEPRECATES
REFINES
E1 requires:
immutable endpoint artifacts
relation identity/kind/revision
relation declarer/actor
contract + authority assessments
scope/context/time
RevisionIdentityEffectContract
category-specific admissibility/effect
plural/conflicting relation preservation
Relation existence does not imply effective/current selection.
3. E2 — AuthoritativeSourceEvolution.v1
E2 requires:
AuthoritativeSourceStateIdentity
SourceStateSemanticBasisKey
TargetSourceScope
exact parent state(s)
SourceChangeSet
SourceBindingIdentity/Correspondence
SourceBaseAdmissibilityContract
SourceReconciliationContract for multi-base
SourceDeclarationIntroductionContract
SourceStateAdmissionBundle
SourceTransactionTime / SourceEffectiveTime
SourceStateSelectionContract
SourceEvolutionImpactContract
Source states form an immutable DAG distinct from E1 semantic-succession history.
4. E2 source operation floor
ADD_SOURCE_BINDING
REMOVE_SOURCE_BINDING
REPLACE_SOURCE_BINDING
RELOCATE_SOURCE_BINDING
INCORPORATE_EXISTING_ARTIFACT
ATTACH_SOURCE_METADATA
No source operation directly implies retraction, falsehood, semantic succession effectiveness or arbitrary category standing.
5. E2 standing firewall
Every source binding target is:
EXISTING_ARTIFACT_REF
or
NEW_SOURCE_DEFINED_DECLARATION
New declarations use:
COINTRODUCED_WITH_SOURCE_STATE
or
INDEPENDENT_INTRODUCTION_REQUIRED
under category-specific standing contracts.
Claim/Decision/Observation/Permission occurrence standing cannot be forged by source text shape.
6. E2 branch/reconciliation floor
Old exact bases are valid branch points unless an explicit base-admissibility contract requires current/head ancestry.
Multi-base source evolution requires explicit binding alignment/reconciliation and target-source authority.
SourceMerge != SemanticConflictResolution
7. E2 temporal/selection floor
Preserve:
SourceTransactionTime
SourceEffectiveTime
physical availability/publication time
as distinct roles.
Source-state selection modes include:
EXACT_STATE
AS_RECORDED_AT
EFFECTIVE_AT
RESOLVED_LOCATOR_AT
with result:
ONE | MANY | NONE | UNRESOLVED
Semantic-effective selection is a separate contract.
8. E2 impact floor
Old results considered for current reuse are classified:
REMAINS_VALID_UNDER_NEW_STATE
RECOMPUTE_REQUIRED
HISTORICAL_ONLY
UNRESOLVED_IMPACT
Explicit semantic invariance is required for reuse across changed source states.
9. E3 — SourceIncorporation.v1
E3 requires pre-established artifact identity/standing and adds only authoritative source binding/reference.
It preserves issuer/producer/observer/temporal/context/hypothetical standing and provenance.
E3 != ArtifactRecognitionAuthority
E3 -/-> NewArtifactStanding
10. Query/history integration
History inspection reuses Query over exact:
source-state DAG
source bindings/correspondence
E1 relations/assessments
source/semantic time axes
dependence/impact history
No separate history query language is mandatory H1.
11. Witness acceptance
E-W1 Claim correction PASS
E-W2 issuer retraction vs third-party disagreement PASS
E-W3 policy revision vs effectivity PASS
E-W4 ontology/type revision without historical retyping PASS
E-W5 single-base atomic source evolution PASS
E-W6 multi-base source reconciliation PASS
E-W7 source-binding removal without semantic retraction PASS
E-W8 standing-preserving source incorporation PASS
E-W9 bitemporal correction PASS
E-W10 derived-result impact PASS
E-W11 historical/current Query PASS
E-W12 provider/storage substitution PASS
12. Acceptance state
REVISION_CONSTITUTIVE_SEMANTIC_FLOOR = PASS
REVISION_PRODUCTIVE_FUNCTIONAL_BASELINE = PASS
REVISION_FORMASL_NATIVE_CAPABILITY_EXPLOITATION = PASS
REVISION_COMPOSITIONAL_CAPABILITY = PASS
REVISION_SEMANTIC_CONTINUITY_AT_CAPABILITY_LEVEL = PASS
REVISION_H1_CAPABILITY_ADEQUACY = PASS
Surface/provider/implementation remain downstream.
OBSERVATION ACQUISITION CONTRACT (C2)
STATUS = RATIFIED / NORMATIVE (conditional ratification, owner dispatch
BLOCK-C-CONTINUOUS-FINALIZATION-v0.1 §0, conditions recorded
below) — promoted from contracts-candidate/v14 (commit 807e70ee)
AUTHORITY CHAIN = World Model → Semantic Invariants → Semantic Continuity
→ C1 (EXTERNAL-EXECUTION-PLANE-CONTRACT, ratified) → this
contract → C2-B validated implementation evidence
AUDIT BASIS = B7 CLEAN on v7 (deleg_f6779e07) + B9 CLEAN on v9
(deleg_23e17603) on the law text; law region §0-16 and §17
body byte-identical v9..v14 (programmatic difflib, re-run at
promotion); A1..A8 = NO (§17); ACCIDENTALLY_LOST = 0 (§19);
no R3 was ever filed across rounds 1-12; no authority conflict
was sustained by any finding. Closure-artifact prose is NOT
part of the normative law text and is frozen (owner directive
2026-09-29).
IMPL BRANCH TARGET = impl/block-c-continuous-finalization-v0.1
GATES = C2-B implementation + adversarial acceptance
matrix (§16) exit witnesses.
CLOSURE BOOKKEEPING = candidate file git history (d19f103f..807e70ee);
normative law = §§0-19 of THIS file.
0. What this contract closes
C1 closed the operational boundary decision→dispatch→attempt→receipt.
C2 closes the epistemic boundary declared by SEMANTIC-CONTINUITY.md §13:
external information source
→ acquisition (adapter boundary crossing)
→ AdapterReceipt / acquisition evidence
→ admitted ObservationBridge
→ ObservationRecord
→ later semantic input (never automatic — see §5)
The bridge from possible-world occurrence to semantic knowledge is never implicit. C2 determines the roles, identities, temporal layers, admission authority, duplication/conflict/delay/scope semantics, and the exact (non-)relationship between execution evidence and observation.
Candidate closure means: every listed item is determined as a law, not deferred to implementation.
1. Jurisdiction
C2 governs the boundary:
SourceIdentity (external information source)
+ AcquisitionAdapterIdentity (the boundary crossed)
+ acquisition session / request
→ AdapterReceipt (scoped acquisition evidence)
→ ObservationBridge (declared transformation, admitted)
→ ObservationRecord (the admitted epistemic datum)
and only that boundary.
C2 does NOT own:
- dispatch, attempt, receipt-exposure, retry, cancellation standing
(ratified C1 —
EXTERNAL-EXECUTION-PLANE-CONTRACT.md; C1 §1 already excludesacquisition → Observationas C2 jurisdiction); - effect/causal standing (
EFFECT-OBSERVATION-CLAIM.md§4; the acquisition path may never enter effect standing — §5 NC6); - claim issuance and assertion (E-O-C §6; observation → claim is always a separate attributable act outside C2);
- source evolution, publication (C3 jurisdiction; observations are possible INPUTS only, never authority — §5 NC3a);
- semantic evaluation of content truth (no C2 mechanism decides whether an observation is true — §5 NC4);
- adjudication of conflicting observations: the CONFLICT-RESOLUTION act is a downstream explicit authority act, not a C2 mechanism. No campaign artifact names its owner yet (declared gap, §10 CL4): C2 states the pre-conditions that owner’s act MUST satisfy and forbids every C2 mechanism from playing that role;
- surface syntax (unchanged; §14).
Relationship to C1: an ExecutionReceipt or C1 AdapterReceipt is an
acquisition input EXACTLY when a C2-governed acquisition admits it
(§11). C1’s RC2 (“a receipt never establishes observation standing”)
remains in force from the C1 side; C2 gives the receipt a legal path
INTO observation — through the bridge, never around it.
2. Governing authorities and precedence
FORMASL-INTENT
→ FORMAL-WORLD-MODEL (reality != observation; partial access)
→ SEMANTIC-INVARIANTS INV-EPISTEMIC (Unobserved != Nonexistent),
INV-AGENCY-01/02 (observed execution MUST NOT by itself establish
permission or obligation), INV-AUTHORITY-01 (authority dimensions do
not collapse), INV-SCOPE-01, INV-CONFLICT-01/02/03,
INV-TIME-01/02/03, INV-DYN-02, INV-OCC-01
→ SEMANTIC-CONTINUITY §13 epistemic boundary; §14 recording
multiplicity; §19 semantic erasure; §21 reconstruction obligations
→ ARCHITECTURE (STABLE design docs):
EFFECT-OBSERVATION-CLAIM §§5-8 (observation is epistemic access;
never auto-Claim; recoverability list incl. confidence/uncertainty
where modeled; four histories)
SITUATED-RESULT-CONTRACT result/evidence role separation;
conflict-carrier substrate (§6 A2)
→ RATIFIED C1 CONTRACT (execution-plane side of the firewall):
§10 RC1/RC3/RC4; §14 N4 (no retroactive authorization — basis law
for §6 L3); §20 DB1/DB2 durability; §19 Q5 corruption fail-closed
→ rev-1 machine schemas (docs/contracts/post-p9/schemas/rev1/*.json):
DenyUnknown / additionalProperties:false PRECEDENT — promoted to law
by §12 P2 (B6-style precedent citation, not a C1-text clause)
→ validated implementation evidence (ActionJournal carriers,
spatial-perception-providers admission law — §13 reuse)
→ historical/demo evidence (no authority)
Current implementation (stringly carriers in crates/action/src/action.rs)
demonstrates the role skeleton exists; it acquires no semantic authority
by existing (dispatch §6). Where this contract and the current carriers
disagree, C2-B must reconcile the carriers (§13, §18).
3. Scope / non-scope
IN scope: acquisition requests and sessions; adapter receipt formation, guarantee scope and cap; bridge admission authority and re-validation; observation record identity, content binding, temporal roles, scope/frame, correlation edges; duplicate, conflicting, delayed, missing evidence behavior; standing annotation law; durability and concurrency of observation journals; public/machine surface laws; hostile acceptance matrix.
NOT in scope: the semantic content calculus (§1); effect qualification; claims; source authority ownership; conflict-resolution adjudication authority (obligation stated at §10 CL4, ownership downstream).
4. Definitions and roles
ExternalInformationSource a source whose states/events are causally
or conventionally independent of the acquiring system. A computation
output is NOT a source for C2 purposes unless treated through its
own publication (C3 boundary, not an observation shortcut).
SourceIdentity typed identity of the source AS RESOLVED BY
THE ADMISSION CONTRACT (declaration/owner-rule coordinates), never
a provider's self-reported label; distinct from adapter identity
(§5 NC2) and never carrying authority (§5 NC3/NC3a).
AcquisitionAdapter the governed boundary crossing that turns a
source interaction into scoped evidence (provider binding, sensor,
attestation reader — substrate free, §15).
AcquisitionSession one governed acquisition episode: request +
applicable adapter family + declared guarantee scope + its emitted
receipts. Optional as a carrier; MANDATORY as a recoverable
correlation role (§7).
AdapterReceipt acquisition evidence minted at the adapter
boundary. Establishes ONLY its declared operational claim within its
declared guarantee scope and revision basis (§10 AC-law; the
acquisition-side statement of the same boundary law C1 §10 RC1/RC3/
RC4 states for execution receipts — cited as the pattern, the law
below is stated here in full, not inherited). NEVER establishes: that
the external occurrence happened; its time; its effect; any
observation standing (standing arrives only via the bridge, §6).
ObservationBridge a declared transformation from receipt
evidence to a semantic observation, admitted by an explicit admission
authority. The bridge is WHERE the epistemic boundary is crossed. A
bridge is reusable (same transformation may observe many times); its
identity is the admission act, not the transformation text. Every
USE re-validates the admission (§6 L5 — caching may never replace
re-validation).
ObservationRecord the admitted epistemic datum: references
its receipts (by identity), its bridge (by identity), its authority
snapshot, its content binding, its temporal roles, its scope/frame,
and its AdmissionStanding. IMMUTABLE after admission: no field of an
ObservationRecord ever changes (§6 A1); epistemic changes ABOUT a
record (conflict noted, adjudication input) are NEW annotation
records (§6 A2), never in-place edits. Standing: epistemic access
only (§5).
AdmissionAuthority the owner-governed rule that admits a
bridge (production resolution: the checked declaration's owner rule
— §6 L2; never provider-derived, never session-derived, never
inferred from who recorded, observed, or stored anything).
AdmissionStanding the epistemic grade fixed INSIDE the record
AT ADMISSION (the record's grade at its own act; selected from
§4a's ADMISSION domain {Attested, Unqualified};
Admitted-Unqualified is the weakest ADMISSION grade — the
Contextualized annotation grades sit strictly BELOW every admission
grade in the §4a total order). Part of the immutable
record; never computed by heuristics; never changed post-admission.
EffectiveStanding the standing a downstream consumer MUST
treat the observation under: the MINIMUM over the record's
AdmissionStanding and every StandingAnnotation legally targeting it
(§6 A3). Derived, never stored in place; re-derived at every read
(§12 P4).
StandingAnnotation a NEW dated record referencing an earlier
ObservationRecord by identity and declaring a weaker grade plus the
annotation act's own authority coordinates and basis revision
(§6 A2/L6). Only declared weakening grades exist; no annotation ever
strengthens (§6 A3 / L4).
ProductiveSurface THE LAW-RELEVANT SURFACE, defined
STRUCTURALLY (not through any gate): exactly the journal-append
paths reachable from the P1 public typed operations — the ONLY
routes this contract permits admission/annotation acts to enter an
observation journal. Anything else that produces carrier VALUES
(raw struct minters, in-crate or cross-crate, reachable without
traversing a P1 operation) yields NON-admitted values (L1
semantic existence); the §13 obligation is that C2-B make the
structural definition TRUE AT RUNTIME too — non-P1 routes become
refused, not merely void (row 25; audit-B4 probe / audit-B3 L1
closure without circularity: the definition stands on §12 P1's
operation enumeration, the gate is an obligation ON that
surface, never part of its definition).
CheckedWorld the currently checked program/declaration
set owning declarations, owner rules and frozen revision refs —
the resolution target of §6 L2/L5 admission authority and §6 L6
annotation authority; "resolved against the checked world" always
means coordinate resolution from THIS, never from labels, provider
statements, or stored display forms.
§4a. Declared grades — ONE TOTAL ORDER (contract law, not convention: A3’s min and §17 A8 depend on its totality), strongest first:
Admitted-Attested
> Admitted-Unqualified (weakest ADMISSION grade)
> Contextualized-Conflict-Noted (annotation grade; §6 L6)
> Contextualized-Adjudicated-Input (annotation grade issued only by
a §10 CL4 resolution act: once that act exists, ITS record
carries the resolution; the observation remains raw input at its
lowest independent force — CL4 forbids erasure, never re-ranking
above Conflict-Noted)
Grades NAME standing levels; the ACT assigning each is always a separate authority-bearing event (admission or annotation), never a free-floating label (rows 23/26/27/37).
GROUNDING LAW (audit-B2 F-B2-02): Admitted-Attested is admissible ONLY when the record’s receipt set includes at least one AdapterReceipt whose guarantee scope declares attestation-class assurance under the session’s adapter family; an admission attempting Attested without such receipts is refused fail-closed, and decode re-checks it (correlated receipt entries are preserved, §19). Unqualified needs no such ground. Adjudicated grades are INADMISSIBLE while their owning CL4 act has no named owner — decode fails closed on a grade whose authorizing act is undefined (declared gap-owner, not an unbounded hole).
5. Mandatory non-collapses (contract-level prohibitions)
NC-law. The following are theorems NO compliant implementation may make false; every row is witnessed in the C2-B acceptance matrix (§16):
NC1 ExecutionReceipt -/-> Observation (automatically)
ExecutionSuccess -/-> Observation
receipt -> observation requires an admitted bridge act (§6).
NC2 AdapterIdentity != SourceIdentity
ProviderIdentity != SourceIdentity
(the same adapter may serve distinct sources under distinct
admission contracts; the same source may cross distinct adapters).
NC3 SourceIdentity -/-> SourceAuthority
ProviderIdentity -/-> SourceAuthority
(INV-AGENCY-01/02 + INV-AUTHORITY-01; a provider-VERIFIED
attestation is evidence within a guarantee scope, never
authority — authority is a property of admission acts, §6).
NC3a Observation -/-> SourceAuthority
(the SAME subject holds throughout: an ObservationRecord never
establishes, grants or strengthens any source authority — the
authority-bearing act is exclusively C3's own admission act;
no observation can substitute for, trigger, or corroborate
THAT act. Structure-analogue (same no-retroactive-
laundering shape, different authority dimension): C1 §6 line
621 — provider success never retroactively creates/receives
NORMATIVE authorization).
NC4 ObservationRecord != Truth
("observed X" means evidence access, not X — INV-OCC-01:
RepresentationOf(o) != TruthOfOccurrence(o)).
NC5 ObservationRecord != Claim
no assertion, issuer or endorsement is created by observation
(E-O-C §6). 'Consuming an observation as later semantic input'
(§3/§0) is data flow; issuing a Claim about its content is an
attributable act outside C2.
NC6 Observation != Effect
Occurrence != Observation
Effect != Observation
the acquisition path may never enter effect standing (E-O-C §4;
INV-DYN-02); no acquisition establishes that its source state
changed anything.
NC7 NoObservation -/-> NoEffect
NoObservation -/-> NoOccurrence
NoReceipt -/-> NoExternalEvent
absence of evidence is a representable state, never negative
evidence (INV-EPISTEMIC); a session with no receipts remains a
complete session fact and cannot be erased into 'nothing
happened'.
NC8 RecordingTime != OccurrenceTime
no timestamp substitution across roles (§8).
NC9 SameDeliveryTwice != TwoOccurrences
SameEvidenceReAdmission != DuplicateOccurrence
deduplication by text/coordinate heuristics is forbidden (§9).
NC10 Conflict -/-> Winner
contradictory observations coexist (§10); LWW/provider-
preference/most-recent-bridge rules are forbidden at EVERY level
(records, receipts, and which bridge 'currently wins').
NC11 Admission != Publication
an ObservationRecord is never a source revision, never a
semantic-family fact, and never feeds knowledge bases except as
explicit downstream input (C3 owns candidate admission).
NC12 LateEvidence -/-> BackdatedRecord (§9 D4).
NC13 Standing -/-> Strengthened by handling
no downstream mechanism may upgrade an observation's grade
(L4/A3); query, aggregation, storage and serialization preserve
or weaken only.
6. The bridge law, admission, and standing transitions
L1. SEMANTIC EXISTENCE: an ObservationRecord exists as an admitted
epistemic datum ONLY as the result of an admitted ObservationBridge
act; anything else — a triple assembled through raw constructors — is
NOT an observation, whatever its fields say. This is a law about
acceptance and standing, not a claim about today’s code. CONSTRUCTION
GATE (C2-B obligation, §13): the productive public surface must make
fabrication unreachable — carrier constructors gated so no reachable
call sequence mints a usable record (or a bridge presented as
admitted) without recording the admission event and consulting the
checked world; decode re-checks (§12 P4), so a deserialized journal
cannot contain a record whose admission event is absent. (Audit-B F3:
live crates/action pub minters — ObservationBridge::declared,
ObservationRecord::from_bridge, admit_observation_bridge’s
caller-supplied OwnerRuleRef — do NOT gate today; the contract
obliges C2-B to close exactly this, and §16 row 25 witnesses the
fabricated-triple path refused on the productive surface.)
L2. Bridge admission is an owner-governed act resolved from the CHECKED
semantic world, independent of any provider output (production law,
content verbatim from spatial-perception-providers::admission: wrong
declaration / wrong basis revision → fail closed; provider/model/
label/class/score changes cannot change which declaration owns the
bridge).
L3. Admission records, inside the observation: the bridge identity, the authority reference, and the exact basis revision. A later change to the owning declaration’s revision NEVER retroactively re-validates or invalidates an already-admitted record; each record stands at its admission basis. (Grounding: C1 §14 N4 / §6 line 621 ‘never receives retroactive authorization’ + E-O-C §7 no-silent-upgrade. NOT INV-TIME-03 — that law forbids erasure of earlier occurrences, which this contract separately keeps via A1/§19.)
L4. Evidence weakening is monotonic: standing may be WEAKENED only through legal annotation records (A-law); NO mechanism may STRENGTHEN an observation’s grade (mirrors the effect-adapter evidence-monotonic law; NC13).
A1. Immutability: an ObservationRecord’s fields never change after admission. Conflicts, adjudication inputs, and any standing change NEVER edit the record.
A2. The standing-transition artifact is a NEW dated record
(StandingAnnotation, §4) carrying: target ObservationRecordId, the
annotation act’s authority coordinates (fail-closed like any
authority), the weaker grade, the basis revision, and its own temporal
role (annotation time — §8). Substrate reuse: the conflict-carrier
family crates/result-core/src/conflict.rs (ConflictResolution) is
the existing shape this conforms to — reuse, not a second conflict
ontology (§13).
A3. EffectiveStanding = min(AdmissionStanding, all annotations legally targeting the record). Re-derived at every read; never stored in place; a consumer presenting a record above its effective grade (ignoring annotations) violates A3 and is refused (§16 row 26).
L5. Re-validation over cache (audit-B F2): EVERY bridge use — whether the bridge artifact is fresh or cached — re-resolves the admission authority against the CURRENT checked world and re-checks the basis-revision binding (L2). A withdrawn, re-owned or unresolvable declaration stops further admissions fail-closed (typed rejection: AuthorityWithdrawn / DeclarationNotFound / BasisRevisionMismatch — the L2 rejection set EXTENDED with withdrawal). Previously admitted records stand unchanged (L3) and are never retroactively invalidated. Caching may reuse resolved coordinate DATA of past acts; it may never mint a new act without re-validation. §15’s cache freedom is subordinate to this law.
L6. Annotation-authority law (audit-B2 F-B2-03). A StandingAnnotation is LEGALLY TARGETING its record — and only then alters EffectiveStanding — exactly when ALL of: (i) its authority resolves against the CheckedWorld per L2’s law (same fail-closed rejection set, extended with withdrawal); (ii) its target is an admitted ObservationRecord — annotations never target annotations (the weakening tower terminates by type; probed by audit-B2, closed); (iii) its grade is strictly weaker than the target’s AdmissionStanding (§4a order — the test is STATIC on stored fields, never on the derived EffectiveStanding: annotation legality cannot depend on arrival order or on re-derivation feedback, which keeps decode confluent; an annotation not strictly below the admission grade is refused, never stored as a no-op; audit-B3 M1); (iv) a Contextualized-Conflict-Noted annotation REQUIRES an actual §10 C1L conflict at decode (same referent, incompatible content, SAME frame §7a): a Conflict-Noted annotation naming no real same-frame conflict is refused — cross-frame pseudo-conflict cannot smuggle the ‘conflict exists’ conclusion C3L forbids; (v) a Contextualized-Adjudicated-Input annotation may be issued ONLY by a §10 CL4 resolution act’s own authority (inadmissible while CL4’s owner is unnamed, §4a). “Legally targeting” elsewhere in this contract means exactly (i)-(v); and NO mechanism outside this L6 channel alters standing — storage, query, aggregation and serialization freedom (NC13) never carries a standing change (audit-A3 C5).
7. Identity and correlation law
IC-law. Identities are minted, typed and non-collapsible:
SourceIdentity resolved by the admission contract
AdapterIdentity registry-sealed (ProviderRegistrationId /
EffectAdapterFamily precedent, §13)
AcquisitionSessionId one per governed episode (recoverable role)
AdapterReceiptId minted at the adapter boundary, per session
ordinal (existing carrier: origin+serial).
NAMESPACE LAW (audit-B6 F-B6-01): within
THIS contract, AdapterReceiptId means ONLY
a C2 acquisition-minted id; C1's execution-
side receipt identities (ExecutionReceiptId,
and C1's own adapter-receipt coordinates
from the ratified contract) live in a
distinct typed namespace — every edge,
closure test and mapping in §§7–11 (and
the §16/§19 rows/legs that depend on them)
keys on plane-typed ids, never on the
shared bare word. Live code currently collapses both
into one type/counter (crates/action
record_receipt + AdapterReceipt::acquired
share origin+serial); C2-B conformance
obligation (§13): the two planes' receipt
identities become DISTINCT TYPES so the
type law's 'and nothing else' (B5 F-B5-02)
is enforceable. Same laundering-by-name
discipline §13 already applies to stdlib
record_receipt.
ObservationBridgeId minted at admission
ObservationRecordId minted at admission, journal-unique
StandingAnnotationId minted at annotation act (origin+serial)
IC1. Every ObservationRecord carries typed, exact-reference edges:
→ its source receipts (by AdapterReceiptId, multi-set preserved in
delivery order), → its bridge (by ObservationBridgeId), → the
authority snapshot, → its referent coordinates WHERE MATERIAL, → its
scope/frame (§7a). The recoverability list is E-O-C §7 in full:
what occurrence/referent is at issue; what source/boundary supplied
the basis; what exactly that basis guarantees; relevant time/scope/
frame; confidence/uncertainty where modeled (discharged by
AdmissionStanding/EffectiveStanding, §4); contradictions with other
observations/evidence (discharged by §10 + annotations).
IC2. No universal loop identifier: chain identities correlate ONLY by typed edges. Deriving one from another by string concatenation, cross-chain hashing, or shared counters across roles is forbidden (C1 §14 discipline, extended).
IC3. Correlation is fail-closed: a receipt presented to a bridge from a DIFFERENT session/source/adapter-family than the bridge’s admission declares is rejected as wrong-correlation (typed rejection, never silent relabel). SESSION DISJUNCT (audit-B6 F-B6-02): declarations carry adapter-family/source coordinates, never raw session labels (bridges are reusable across episodes, §4) — the session disjunct means the receipt’s admission-lineage MEMBERSHIP under the family/ source the bridge declares, NOT literal session-identity equality: a reused-mapping receipt presented to a same-family bridge is legal (D2 re-admission route); presentation to a DIFFERENT family/source is what IC3 refuses. One behavior at the re-ingestion path — no impl fork.
7a. Scope/frame law (audit-A F1)
SF1. Every ObservationRecord carries its SCOPE (the declared domain under which the observation is meaningful — sourced from the checked declaration’s scope coordinates) and its TEMPORAL/CONTEXTUAL FRAME (the frame the observation answers: time window, spatial/context coordinates, target reference). The ADMISSION contract (checked declaration) DECLARES which scope/frame semantics apply; the acquirer SUPPLIES the coordinates; an admitted record without required coordinates fails closed.
SF2. Scope/frame are stored fields, distinct from the receipt’s guarantee scope: the guarantee scope bounds what the RECEIPT proves (§10 AC); the observation scope bounds what the observation MEANS; the frame locates it. Neither may be silently defaulted.
SF3. Filtering by scope/frame MUST NOT rewrite existence semantics (INV-SCOPE-01): a scope-filtered query must not make filtered observations indistinguishable from never-admitted; the full journal remains reconstructible; conflict sets (§10) are computed WITHIN the declared frame — different frames coexist without any automatic conflict claim.
SF4. Coordinates absent for a source with no spatial model: typed NOT-APPLICABLE, never sentinel, never default-zero (anti-sentinel discipline).
8. Temporal role law
T-law. Five temporal roles are distinguished wherever material (INV-TIME-01; no convenience substitution), plus the annotation role:
external occurrence time (the source's own time; MAY be unknown)
acquisition time (adapter boundary crossing, source clock
or receiver clock per declared guarantee)
receipt time (evidence minting instant)
record time (observation admission instant — this
family's realization of INV-TIME-01
'observation time': the instant the
epistemic datum exists)
knowledge time (the instant the datum becomes available
to later semantic input — equals record
time UNLESS admission latency is modeled)
annotation time (a StandingAnnotation's own act instant —
the sixth role, present exactly when
annotations are modeled)
DISPOSITION of the remaining INV-TIME-01 roles for the observation family (audit-A F13): ‘validity time’ is NOT-APPLICABLE (a standing-bearing epistemic datum is not a validity-bounded normative item; validity belongs to declarations/policies); ‘decision time’ is outside C2 jurisdiction (lifecycle family). The disposition is itself law: no C2 mechanism may introduce validity/decision-time fields into observation carriers.
T1. Each role is stored under its own name. Value coincidence is legal (same instant twice); SHAPE coincidence (one field serving two roles) is forbidden where the role is material. MATERIALITY IS NOT implementer discretion: a role is material iff §8, §7 IC1, §7a or any §16 row names it — the set is pinned by the contract text (closes the circularity attack; and §12 P2 types every named role as a distinct field regardless).
T2. Unknown occurrence time is first-class (typed absence, never a
sentinel, never default-filled from record time). A query treating
occurrence = Unknown as record time fails closed.
T3. Clock attribution: every temporal value records its clock basis (source / adapter / receiver clock); cross-clock comparisons are never silently ordered (INV-TIME-02: chronology is not provenance). T3 feeds NC10: an ordering computed across mismatched clock bases may never select a conflict ‘representative’ (§10, row 30).
T4. NoObservation has no timestamp obligation: absence is not an
event at time t (NC7); a ‘not observed by deadline’ answer is a
DERIVED judgment with its own evaluation time, never a stored
observation.
9. Duplication, delay and missing-evidence law
D-law.
D1. Repeated delivery. The same source material delivered again mints a NEW AdapterReceipt (new session/ordinal identity). It does not become a new ObservationRecord unless a bridge act runs again.
D2. Same-evidence re-admission. Re-running an admitted bridge over an EXACTLY identical receipt set yields a NEW ObservationRecord identity. The second admission ASSERTS AN ADMISSION (its own recorded act — SEMANTIC-CONTINUITY §14: ‘same Claim + two semantically relevant recordings != one recording’), NEVER a second occurrence of the source event. Automatic dedup is forbidden: any system wanting ‘observed once’ semantics must express an explicit reconciliation correlation (typed edge with its own authority), not an erasure. (Both readings of ‘the record asserts’ agree on this: what a record affirms is its admission; what the SOURCE event was is exactly what no record may affirm — §5 NC4/NC6.)
D2-CAP (audit-B2 F-B2-01; audit-B3 H1/H2; audit-A3 C1 — one deterministic law): (a) DOMAIN: AdmissionStanding selects ONLY from the ADMISSION domain {Admitted-Attested, Admitted-Unqualified}; annotation grades (Contextualized-*) are NEVER selectable at admission — a mint-at-annotation-grade twin is a refusal (closes the A8 fork). (b) CAP: a new admission over receipt set R may claim Attested only if EVERY already-admitted record whose receipt set INTERSECTS R (by AdapterReceiptId PROVENANCE CLOSURE: two ids count as intersecting when they are the same id OR their §11-X1 ingestion edges resolve to the same upstream C1 receipt identity — the closure is EXACTLY one hop to the foreign namespace: an ingestion edge’s TARGET DOMAIN is restricted by type to C1 ExecutionReceiptIds and nothing else (audit-B5 F-B5-02: no typed ingestion reference may target an intermediate AdapterReceipt or any other carrier, which keeps the closure neither vacuous nor implementation-defined-multi-hop; laundering via an intermediate receipt requires an edge the type law refuses to serialize — and edges are part of the preserved, digest-checked journal, §19) has EffectiveStanding at Attested or above. Re-ingestion is NEVER a laundering fresh-act, keyed MECHANICALLY on typed identity: an ingestion whose upstream C1 RECEIPT IDENTITY is already in the journal’s ingestion map MUST reuse the existing mapping (same AdapterReceiptId), never mint a fresh one; a minting implementation that forks the map is refused by this clause + row 42 (audit-B4 F-B4-01, audit-B5 F-B5-01). ‘Already entered’ is decidable from journal text alone: ‘the journal’s ingestion map’ IS that decidable text — the DERIVED index over the journal’s own preserved ingestion edges (§19): C1 receipt identity -> C2 AdapterReceiptId. It is not new stored state; it is reconstructible under the §20-pattern reopen (P4) exactly as the edges that produce it, and a stored acceleration copy would be a derived cache subject to re-derive/ check at decode (audit-A6 F-A6-03). The C1 ExecutionReceiptId IS the typed identity (one identity per lawful attempt — retry outcomes from DISTINCT attempts carry DISTINCT identities and are then ordinary fresh evidence acts under (d)); no content-based or interaction-based judgment participates. SESSION COORDINATES OF A REUSED RECEIPT (audit-A5 F-A5-01): reuse preserves the receipt’s ORIGINAL session coordinates — the mapping returns the stored receipt AS IS, immutable; a later admission using it is subject to IC3 exactly as any other stored receipt, so re-ingestion can never launder an IC3 cross-family violation by relabeling the session. Otherwise the admission CLAIMS Unqualified: claiming Attested over annotation-lowered intersecting evidence is refused fail-closed, typed GradeCapByAnnotatedEvidence (row 33). (c) CLAMP, NOT FREEZE: the Unqualified floor remains legal — an intersecting admission at the floor MUST be admitted (with correlation edges to the lowered predecessors), never blocked. Annotation history caps the CLAIM GRADE of the re-admission, it never vetoes the act (audit-B3 H2: a permanent-conflict record must not deadlock honest re-admissions; row 40). SCOPE OF (c): the clamp is GRADE-scoped only — L2/L5/IC3/§4a grounding and every other admission law apply to a clamped re-admission UNCHANGED (audit-A4 F3). (d) SCOPE — the cap keys on EVIDENCE ACTS (receipt identities), never on content sameness across acts. A re-acquisition of the source is a NEW evidence act (§9 D1): its receipts are fresh, its Attested claim must be grounded by ITS OWN receipt set (§4a grounding law), and any content tension with earlier records is handled by §10 coexistence/conflict machinery — the prior record’s lowering is never erased (A1). Chasing content across acts to deny the new admission would be exactly the sameness heuristic NC9/D3 forbid; laundering that instead rides forged ‘fresh’ adapter acts is adapter-honesty territory (AC1: a receipt establishes only what its ACT declared) and the storage layer’s declared provenance ceiling — not something any record-level cap could fix WITHOUT the journal’s preserved edges being forged (and that forgery class is the P4a ceiling, not a cap gap). (audit-B3 H1 answered: rotation = fresh act, governed by grounding + §10; same-evidence twins = closed by (b).)
D3. Unprovable sameness. When evidence cannot prove it is about the same external occurrence, the records stand as separate observations of SEPARATE POSSIBLE occurrences; merging is a downstream adjudication act outside C2 and must cite its own authority (§10 CL4 pre-conditions).
D4. Delayed evidence. Evidence arriving after later semantic input proceeded is admitted under §8 roles at its actual times; it NEVER backdates (NC12) and never rewrites the basis of earlier computations (C1 §14 N4 analogue; C4 witnesses the leg end-to-end).
D5. Missing/delayed ≠ negative (NC7): a session with no receipt by a
deadline is representable without creating any observation record;
downstream inference consuming it carries the NoObservation
standing, never NoOccurrence; the empty-session fact itself
survives (NC7 second clause — the session record is never erased).
10. Conflict law and acquisition-guarantee law
C-law.
C1L. INCOMPATIBILITY PREDICATE (audit-B3 M4; pair-ownership per audit-B4 F-B4-02): two records are contradictory ONLY when a declaration governing EITHER record’s admitted bridge transformation DECLARES their content classes incompatible — the predicate is evaluated as the UNION over the pair’s owning declarations: either declaration suffices to make the pair contradictory, and a permissive bridge may never veto a stricter bridge’s declared conflict (one law, one result — no union-vs-intersection fork). VOCABULARY LAW (audit-B5 F-B5-06; carrier per audit-A6 F-A6-04): a declaration names content classes of records admitted through ANOTHER bridge only via the coordinates both records preserve: referent identity + CONTENT CLASSES. Content classes are CARRIED: each admitted bridge’s transformation declaration names the content class(es) its output belongs to, and the admitted record’s content binding records the class its bridge emitted (a stored field on §19’s preserved legs). Where either bridge’s declaration names no output classes, the pair has no shared class vocabulary — honestly NO-PREDICATE (not a decode failure, not guessing). Cross-bridge class naming therefore evaluates ONLY over stored, reconstructible fields — no registry invention, no impl fork (one law, one result). C2 mechanisms NEVER infer incompatibility from content similarity, proximity, or timestamps (NC9). NO governing declaration of the pair defining an incompatibility relation yields UNFLAGGED coexistence: both records stand, and no Conflict-Noted annotation is admissible over them (L6(iv) can never be satisfied) — detection absence is not erasure. THREE-STATE LAW (audit-B4 F-B4-03, the NC7 pattern mirrored for the predicate): the predicate’s result is observably {DECLARED-INCOMPATIBLE, DECLARED-COMPATIBLE, NO-PREDICATE}; NO-PREDICATE ≠ agreement — no query, aggregation, conflict set, or consumer judgment may treat the absence of a declared incompatibility as compatibility (absence of evidence of conflict is not evidence of absence, §5 NC7 analogue; row 43). Contradictory ObservationRecords (same referent, incompatible content under the declared transformation, within the same frame §7a SF3) MUST coexist, remain individually complete and individually attributable (INV-CONFLICT-01), and MUST NOT silently disappear through query, aggregation, serialization, indexing or storage behavior (INV-CONFLICT-03).
C2L. No implicit winner: no storage ordering, timestamp, LWW, provider-preference or most-recent-bridge rule may select a representative — at ANY level: records, receipts within a session, or which bridge ‘currently wins’ (§5 NC10; INV-CONFLICT-02).
C3L. Conflict existence authorizes no conclusion beyond ‘conflict exists’; it weakens standing ONLY through annotation records (§6 A2, grade Contextualized-Conflict-Noted carrying the annotating authority’s coordinates) — never in place (A1).
CL4. The conflict-RESOLUTION act is outside C2; its owning authority is not yet named by any campaign artifact (declared gap — §1). Any downstream owner defining it MUST satisfy as pre-conditions: (a) the resolution is its own dated record citing BOTH conflicting observations by identity; (b) it produces standing ANNOTATIONS, never edits (A1); (c) neither observation is erased or history-rewritten (INV-TIME-03, SC §19); (d) the resolving authority is explicit coordinates, never ‘the newest writer’ (T3/NC10). Until such an owner exists, Adjudicated grades are inadmissible (§4a fail-closed); no C2 mechanism may substitute for that owner.
AC-law (acquisition guarantee scope; audit-A F2 + audit-B F5):
AC1. An acquisition AdapterReceipt establishes ONLY its declared operational claim within its stated guarantee scope. The law is STATED HERE IN FULL (not inherited from C1; C1 §10 is the execution- side analogue): scope + claim + basis are the receipt’s entire semantics. AC2. Who declares: the guarantee scope is fixed by the SESSION’s adapter-family boundary (the checked/admitted configuration), capped by the family’s assurance; a provider/self-description claiming MORE than the cap is recorded (retained for accountability), honored AT THE CAP, and flagged over-claim — never silently trusted, never silently dropped. The over-claim FLAG is PROVIDER-STATEMENT METADATA (accountability data recording what the provider asserted): it is not a second operational claim, establishes nothing, and no consumer may read it as receipt semantics (the establishment set is exactly AC1’s triple; audit-B2 F-B2-06, row 36). AC3. MALFORMED acquisition (a response received but not parseable within the declared claim): typed disposition recorded; NO claim established; the receipt may exist as evidence OF malformation within its scope; a bridge over malformed receipts observes the malformation, not the unproven content (§16 row 3). AC4. No acquisition receipt establishes observation standing (§4) — admission alone does (L1).
11. Execution-evidence interface law
X-law (the C1↔C2 seam).
X1. C1 ExecutionReceipt / adapter evidence MAY enter C2 acquisition
ONLY through an explicitly governed acquisition act (session + bridge
- admission). The seam is one-directional at the type level: C1 exports receipt identities and guarantee scopes; C2 consumes them as evidence — the C1-side identity is referenced by its exact identity, never re-minted or re-derived on ingestion. INGESTION CARRIER (audit- B3 M3; conformed to D2-CAP(b) by audit-A5 F-A5-02): a C1 receipt crossing the seam arrives as ONE acquisition evidence record whose AdapterReceiptId is the journal-minted identity of the FIRST ingestion act for that C1 receipt identity (a re-crossing REUSES the mapping — D2-CAP(b); the two clauses are one law), carrying a typed exact-reference edge to the C1 receipt identity (its guarantee scope imported, not re-declared). The ingestion act is an AC1-bounded evidence act (its own declared scope: ‘C1 receipt X carries outcome Y within scope Z’); the D2-CAP, grounding law and IC1 keying all operate on the INGESTION receipt id, while provenance to the C1 identity remains the typed edge — mint on crossing and reference-preservation are complementary (and the reuse duty of D2-CAP(b) is the one qualification — first crossing mints, re-crossing of the same identity reuses); NO C1 type coerces into an observation and NO C2 act can alter attempt/receipt standing in C1.
X2. An observation about a C1 attempt carries the typed edge to the attempt identity (§7 IC1); it never mutates it: observations never rewrite a C1 receipt’s recorded outcome. A later observation may be the INPUT to a C1-governed reconciliation (whose authority law stays C1’s), never an override. The C1 reconciliation outcome is ITSELF a control fact; feeding it back as acquisition evidence requires a fresh governed session + admission act — L1/L5 apply at every cycle, and L4 monotonicity means no feedback loop can strengthen standing (the laundering loop is bounded by construction).
X3. Execution != Observation at the type level: no function in the
public surface may return an ObservationRecord from an
ExecutionReceipt argument without the admission parameters (bridge +
authority + basis) being required arguments. Combined with the L1/§13
construction gate, the required-arguments firewall is not the only
line — fabrication paths are gated AND decode re-checked.
12. Public / machine surface obligations
P-law.
P1. Acquisition and admission are public typed operations: (a) open/continue an acquisition session, (b) record adapter receipts with guarantee scope, (c) admit a bridge (authority resolution fail-closed, L5 re-validation), (d) produce the admitted ObservationRecord, (e) query records with all §8 roles distinct, conflict sets complete (C1L/-03), annotations applied via EffectiveStanding, scope/frame preserved (SF3). Nothing may be demo-only or test-support-only (C2-B productive-path DoD).
P2. Machine surface (schema + CLI where material): every temporal
role, guarantee scope, authority snapshot, correlation edge, scope/
frame and standing field is a distinct typed field;
additionalProperties: false at every observation-layer object;
unknown field ⇒ reject (precedent: the rev-1 machine schemas’
DenyUnknown discipline in docs/contracts/post-p9/schemas/rev1/*.json,
promoted to law by this section — audit-A F8: this is NOT a C1-text
clause).
P3. Honesty of claims: no surface may present an ObservationRecord as truth, effect, authority or claim (§5); descriptions/naming follow role names verbatim (‘observed’, never ‘confirmed’/‘verified’ for unadjudicated standing).
P4. Persistence: admitted records, bridges, admission events, authority snapshots, adapter receipts incl. their guarantee-scope declarations (required by the §4a grounding re-check at decode — audit-A3 C3), annotations and journal position are durable and reconstructible across processes (C1 §20 DB1/DB2 pattern: save→reopen by a different process reproduces everything §12 P1 queries); corrupt/missing admission events fail closed at decode (pattern of C1 §19 Q5); DECODE RE-RESOLUTION (audit-B2 F-B2-05): for EVERY admission event, decode verifies the event against its OWN preserved basis SNAPSHOT (P4a): authority == the event’s preserved snapshot, declaration identity and revision bindings agree internally — presence-only checking is insufficient; absent, unresolvable, OR MISMATCHED preserved coordinates fail closed; the re-check pins well-formedness-at-admission and NEVER re-validates against the CURRENT world (L3 forbids retroactive invalidation; row 34); derived fields (EffectiveStanding, conflict sets, and the ingestion-map index — D2-CAP(b)’s derived index over the preserved ingestion edges — audit-A7 F-A7-01) are RE-DERIVED at decode and never trusted as stored (audit-A F9: the re-derivation obligation is a C2 law stated HERE, patterned on C1’s trust-boundary discipline, not a quote of C1 §20).
P4a. BASIS PRESERVATION (audit-B3 H3 — the re-resolution law must not
become the availability defect it audits): every admission event
stores, IN THE JOURNAL, the basis PRESERVED SNAPSHOT — the
declaration identity, exact revision binding, AND the authority
(owner-rule) coordinates EXACTLY AS RESOLVED AT THAT BASIS:
re-derivation from bare coordinates against a departed historical
world is not required (and, per the ratified C1 precedent at
crates/api/src/execution_plane.rs:150 — IdempotencyBasisRecord
stores the resolved basis snapshot, not a re-derivable pointer —
would not be possible). Decode re-resolution (P4) therefore checks
SELF-CONTAINED COHERENCE: authority == the event’s own preserved
snapshot, with its revision bindings agreeing internally; it NEVER
requires the historical declaration set to
still exist (journals whose basis left the live world reopen on
coherence alone; row 41). Honest boundary: a hostile storage layer
that fabricates a FULLY self-consistent event + basis coordinates is
the SAME declared provenance ceiling as the C1-B implementation’s paired-insertion case (an implementation-layer precedent recorded in the campaign carrier, not a ratified-C1 clause) (bytes
indistinguishable from an honest admission); P4/P4a refuse the
INCOHERENT fabrications (missing/unresolvable basis coordinates —
row 34 restated), the construction gate (§13) protects the productive
surface (row 25), and the self-consistent-forgery class is pinned as
measured ACCEPTANCE, never claimed refused.
P5. Concurrency of admission and annotation (audit-A F3 tail): admissions and annotations APPEND to the journal position (origin+serial discipline preserved); two processes writing concurrently MUST NOT clobber (CAS/fence pattern of C1 §20); a lost or overwritten journal entry is detectable (digest/position law); no admission or annotation may be silently replaced. Storage freedom (§15) is bounded by this: whatever the encoding, concurrent writes are append-visible and loss-detectable.
13. Relationship to existing carriers — reuse register
The contract REUSES (C2-B conforms, not reinvents):
ActionJournal (crates/action) record_receipt / observe /
admit_observation_bridge — role
skeleton and identities exist.
AdapterReceipt / ObservationBridge / ObservationRecord carriers
reused with REQUIRED field
enrichment (guarantee scope,
source identity, session id, §8
temporal roles as typed fields,
scope/frame, AdmissionStanding),
replacing stringly adapter/content
where material.
OwnerRuleRef / ContractRevisionRef admission coordinates — verbatim.
DeclarationIdentity resolution spatial-perception-providers
admission law = §6 L2 (promoted
from crate-local law; content
verbatim incl. the class term).
ProviderRegistrationId / adapter identity substrate.
EffectAdapterFamily
Evidence monotonicity law (effect-adapter header) = L4.
ConflictResolution (result-core standing-annotation/
conflict.rs) resolution-reference substrate
(§6 A2) — conform it; no second
conflict ontology.
FORBIDDEN: a second observation ontology — exactly one
ObservationRecord carrier (richer typing allowed, twins not).
crates/stdlib record_receipt (store-activation receipts) is a
DIFFERENT role, out of C2 jurisdiction; public naming must
disambiguate (wording law against laundering-by-name).
CONFORMANCE OBLIGATION (audit-B F3): the live pub minters
(ObservationBridge::declared, ObservationRecord::from_bridge,
OwnerRuleRef::restore + ContractRevisionRef::new as coordinate
factories, and admit_observation_bridge’s caller-supplied authority)
do NOT today gate admission against the checked world — proven
reachable across crates (harness-floor autopilot witness calls the
pair). C2-B MUST close this on the productive surface (constructor
gating + decode re-check + checked-world consultation as the only
admission route); §16 row 25 witnesses the fabricated-triple sequence
refused. The contract does not claim today’s code is gated; it
obliges C2-B to gate it, and §6 L1 states the semantic law
independently of the gate’s presence (ungated fabrication yields
NON-admission, never a false ‘admitted’ meaning).
14. Surface syntax
No surface syntax for the observation family is created, retired or
re-interpreted by C2. Existing .fsl vocabulary touching perception
remains valid; the observation family’s semantic declarations remain
the bridge-admission authority source (§6 L2). Any public application
mechanism for acquisition goes through existing application/
realization mechanisms — not a new keyword — unless a future owner
package creates one.
15. Implementation freedom (explicit)
The contract determines WHAT; the following remain implementer choice, each SUBORDINATE to its named law:
journal storage encoding (canonical-JSON snapshot vs append log) —
subordinate to P4/P5 (reopen fidelity, append/CAS, loss-detectable)
session carrier granularity (one struct vs embedded correlation ids)
adapter substrate (EffectAdapterFamily, provider SDK binding, sensor
adapter) — identity law §7 applies regardless
grade NAME spelling inside the §4a closed set — ordering/semantics
fixed by §4a/L4/A-law
in-memory vs disk persistence within P4 fidelity
bridge artifact caching — subordinate to L5: cache NEVER replaces
per-use re-validation of authority + basis
16. Adversarial acceptance matrix (C2-B exit-gate witnesses)
Each row is DECIDED by the named law (audit-B demand honored):
1 source unavailable -> NC7/D5: typed no-evidence session
2 adapter failure before crossing -> row-1 shape; empty-session fact
survives (NC7 2nd clause) [D5]
3 received but malformed -> AC3 typed disposition; content
not observed
4 delayed evidence -> D4: actual times, no backdating
5 duplicate delivery -> D1: new receipt, no new record
without bridge act
6 same occurrence observed twice -> D2: new admission identity,
asserts admission not occurrence
7 sameness unprovable -> D3 separate records
8 conflicting observations -> C1L coexist; C2L no winner (both
levels); C3L non-generative
9 recording != occurrence time -> T1/T2 distinct fields; wrong-
role query fails closed
10 occurrence time unknown -> T2 typed absence
11 ExecutionReceipt fed without admission -> X3/X1+L1 gate: refused
12 provider receipt treated as Observation -> NC1 refused (no bridge
act)
13 observation as Effect -> NC6 refused
14 observation as Truth -> NC4 refused
15 observation as Claim -> NC5 refused
16 NoObservation read as NoEffect -> NC7 refused (storage+query
witness)
17 wrong-source correlation -> IC3 typed rejection
18 adapter==source collapse -> NC2 refused: two sources one
adapter stay distinguishable end-to-end
19 later observation rewrites earlier basis -> D4 refused (witness:
earlier computation's basis byte-stable after a later admission)
20 provider-derived authority -> L2/NC3 refused
21 deserialized journal without admission event -> L1/P4 decode
re-check refuses
22 conflict vanishing through query/agg/serialization -> C1L
(INV-CONFLICT-03) fail-closed
23 standing upgrade attempt -> L4/NC13 refused
24 delivery relabeled new occurrence -> D1/IC2/NC9 refused
25 fabricated bridge+record via pub minters (no checked-world
admission) on the PRODUCTIVE surface -> refused (L1 construction
gate; §13 conformance obligation; witness replays the
harness-floor-style call sequence)
26 consumer presenting a record above EffectiveStanding (ignoring
annotations) -> A3/P4 refused
27 Adjudicated grade while CL4 owner unnamed -> §4a decode
fail-closed
28 scope-filtered query erasing existence semantics -> SF3 refused
29 cached bridge minting after authority withdrawal -> L5 refused
(AuthorityWithdrawn)
30 clock-ordered 'representative' across mismatched clock bases ->
T3/NC10 refused
31 observation feeding C1 reconciliation, outcome re-fed as
acquisition evidence without fresh governed act -> X2 refused;
with fresh act: bounded by L4 (standing cannot strengthen per
cycle)
32 observation laundered into source authority -> NC3a refused
(C3-acts-only admission; audit-A2 N2)
33 re-admission of an annotation-weakened receipt set at a higher
grade -> D2-CAP refused (GradeCapByAnnotatedEvidence)
34 fabricated admission events that are NOT self-coherent (missing,
unresolvable, or present-but-MISMATCHED preserved basis
coordinates — the mismatch is P4a's distinctive refusal) ->
P4/P4a refuse;
FULLY self-coherent forgery is the DECLARED provenance ceiling
(pinned as measured acceptance, not refusal — C1 paired-insertion
analogue; audit-B3 H3 honesty)
35 pseudo-conflict annotation across frames -> L6(iv) refused
(Conflict-Noted requires a real same-frame §10 conflict)
36 over-claim flag read as a second operational claim -> AC2
provider-statement-metadata law refuses
37 Admitted-Attested minted without an attestation-class receipt in
the set -> §4a grounding law refused
38 admitted observation silently landing as a source revision /
semantic-family fact (admission treated as publication) -> NC11
refused: the productive path to a source revision is C3's governed
incorporation act only (C4 loop witness)
39 provider statement over the assurance cap -> AC2 act witnessed:
retained, honored AT THE cap, flagged over-claim (the row-36 flag
reading is the consequence; the CAP ACTION itself is this row —
audit-A3 C2)
40 re-admission over annotation-lowered intersecting evidence
CLAIMING Unqualified -> ADMITTED (D2-CAP(c) clamp-not-veto; a
permanent Conflict-Noted must never deadlock honest re-admission;
audit-B3 H2)
41 journal whose recorded basis revision is no longer resolvable in
the CURRENT CheckedWorld -> REOPENS on P4a preserved-snapshot
coherence (historical re-derivation is not required; availability
protected — audit-B3 H3, audit-B4 F-B4-04)
42 SAME upstream C1 receipt identity re-ingested minting a fresh
C2 AdapterReceiptId to evade the cap -> refused: the ingestion
MUST reuse the mapping keyed on the stored upstream identity
(D2-CAP(b); audit-B4 F-B4-01; consequence: row 33)
43 pair with NO-PREDICATE treated as declared-compatible by a query/
aggregation/conflict consumer -> three-state law refuses (absence
of declared incompatibility != agreement; audit-B4 F-B4-03)
17. Architecture Closure Audit (re-executed from zero at every round; final pass v13)
A1 material WHAT/meaning unresolved? NO — roles §4 (incl. Admission-
Standing/EffectiveStanding/annotation), bridge §6 + L5, time §8
(materiality pinned + validity/decision disposition), scope/frame
§7a, guarantee scope + cap + malformed AC-law, dup/delay/missing
§9 (+D2-CAP domain/clamp/scope), conflict §10 (incl. the declared
incompatibility predicate), execution seam §11 (+ingestion
carrier).
A2 material WHO/authority unresolved? NO — admission authority §6 L2
with withdrawal extension (L5); annotation authority AND
eligibility law §6 L6 (i)-(v) with "legally targeting" defined;
the
conflict-RESOLUTION owner is a DECLARED EXTERNAL GAP with fixed
pre-conditions (CL4) and inadmissible grades until named (§4a) —
no C2 mechanism may act as that owner; every C2 act that needs
authority names its coordinates.
A3 material WHEN/transition unresolved? NO — §8 (six roles +
disposition), §6 admission/annotation acts, T4 absence.
A4 material identity/correlation unresolved? NO — §7 typed edges,
IC2 no universal id, IC3 fail-closed (rows 17/18/24).
A5 failure/unknown meaning unresolved? NO — AC3 malformed; D5/T2/NC7
absence; L5 AuthorityWithdrawn typed rejection; T4 derived
judgment meaning.
A6 concurrency/retry/idempotency unresolved? NO — P5 append/CAS law
(no clobber, loss-detectable) binds the storage freedom; D1/D2
duplicate/re-admission; C2L no LWW at any level; no admission
'retry' exists — a second act is D2-visible with its own identity
and per-use re-validation (L5).
A7 public observable behavior unresolved? NO — §12 P1-P5 (+P4a) +
§16 (43 rows).
A8 two plausible compliant implementations materially different?
NO — every former fork is DECIDED: (L3 vs L5) every use
re-validates, past records stand at their basis; (grade partial
order, A2 N1) §4a ONE total order, min decidable; (presence-only
vs re-resolution, B2 F-B2-05) P4 + P4a self-contained coherence
with preserved basis coordinates — and the availability fork P4
threatened (B3 H3) is decided by P4a (row 41); (cap-domain fork,
audit-A3 C1) D2-CAP(a) admission-domain refuses the annotation-
grade twin, D2-CAP(c) clamp-not-veto refuses the deadlock reading
(B3 H2) — the law now has ONE behavior per shape; (rotation,
B3 H1) D2-CAP(d) keys on evidence acts and routes content tension
to §10, never to a sameness heuristic; (incompatibility predicate,
B3 M4/B4 F-B4-02) UNION over the pair's owning declarations,
or — absent a shared coordinate vocabulary — honestly
NO-PREDICATE; conflict machinery stays unfired; (confluence, B3 M1) L6(iii) static test;
(re-ingestion escape, B4 F-B4-01) provenance-closure keying +
mapping-reuse law + derived-index definition (A6 F-A6-03);
(pair-ownership, B4 F-B4-02) union predicate with CARRIED content
classes over stored fields (A6 F-A6-04);
(predicate readability, B4 F-B4-03) three-state law; (surface
circularity, A4 F1 / B3 L1) structural definition; (cross-plane
receipt-id namespace, B6 F-B6-01) plane-typed ids + C2-B distinct-
types obligation; (session disjunct at reuse, B6 F-B6-02)
lineage-membership definition — one behavior on the re-ingestion
path.
§15 freedoms each bounded by a named reconstruct obligation; no
freedom spans a semantic boundary.
18. Migration / backward-compatibility
C2 creates no new surface. Existing carriers (§13) are reused; the stringly→typed enrichment is C2-B’s compatibility decision under the P4 fail-closed decode law. The spatial-perception-providers admission laws are PROMOTED (content verbatim), so its witnesses remain valid; sprm01 becomes a §16-class consumer witness. The §13 conformance obligation (constructor gating) is a behavioral CLOSE, not a break: paths that fabricated records were never semantically admitted (L1); after C2-B they are refused rather than merely void. No ratified C1 obligation changes.
19. Semantic continuity ledger (assault pass, repaired text)
For each crossing the materially-relevant data and its disposition:
source state/event -> receipt: referent + guarantee scope + cap +
temporal roles (occurrence may be Unknown — typed absence) +
malformed disposition where AC3
receipts -> bridge act (L5 re-validated): ALL receipt ids
(multi-set, order) preserved by reference; content binding;
authority snapshot at admission basis (L3)
bridge act -> record: bridge id + admitted_by + revision +
scope/frame (SF1) + AdmissionStanding (immutable, A1) + EMITTED
CONTENT CLASS (§10 C1L vocabulary-law carrier — the class the
bridge emitted, a stored field of the record's content binding;
audit-A7 F-A7-02, mis-cite per audit-A8 F-A8-02/audit-B8 F-B8-01
corrected here)
record -> consumers: six time roles retrievable;
conflict counterparties complete (C1L/INV-CONFLICT-03);
EffectiveStanding re-derived base+annotations (A3/P4);
execution-source edges retrievable (IC1)
annotation act -> NEVER edits base record (A1); dated, own
authority, own time; monotone-only (A3/L4/NC13)
For D2-CAP / grounding / decode legs (audit-closure enumerations):
admission act -> preserved: full receipt-set edges (cap
reconstructible; the ingestion-map index DERIVES from the
preserved ingestion edges among them), Attested-grounding
receipt references, the event's OWN basis coordinates (P4a —
journals must reopen after the live basis departs), ingestion
typed edge to C1 identity
annotation act -> preserved: target id + static AdmissionStanding
test inputs (legality re-derivable at decode, confluent)
ACCIDENTALLY_LOST = 0 at contract level: every arrow’s preserved list names the surviving field; §16 rows 9/10/19/21/22/26/ 28/29/30/33/34/37/39/40/41/42/43 witness the loss-sensitive legs.
CLOSURE EVIDENCE (normative copy): rounds 1-13, versions v1..v14, the
CLOSED-FINDING ledger and per-version STATUS_LINEs live in the candidate
file's git history (contracts-candidate/BLOCK-C2-OBSERVATION-ACQUISITION-
CONTRACT-CANDIDATE.md, commits d19f103f..807e70ee). This file carries the
LAW ONLY.
EXTERNAL EXECUTION PLANE CONTRACT (C1)
CLASSIFICATION = STABLE / NORMATIVE DOWNSTREAM DESIGN CONTRACT
STATUS = RATIFIED (owner decision on candidate v6, review #6)
SUBORDINATE TO = FORMASL-INTENT · FORMAL-WORLD-MODEL ·
SEMANTIC-INVARIANTS · SEMANTIC-CONTINUITY ·
ARCHITECTURE · ESI · ELA · SLT · EOC · other
applicable higher authorities
RATIFIED SOURCE = campaign candidate commit 5a2afca22edbdcf85015162a475b1bf043313e74
(branch campaign/block-c-contract-closure-v0.1;
docs/BLOCK-C-CONTRACT-CLOSURE-v0.1/contracts-candidate/
BLOCK-C1-EXECUTION-PLANE-CONTRACT-CANDIDATE.md),
owner-ratified after remediation passes v2–v6
(owner reviews #1–#5 findings V2-1..5, V3-1..4,
V4-1..3, V5-1..2, V6-1 all closed).
PROVENANCE = authored 2026-09-25 within BLOCK-C-CONTRACT-CLOSURE-v0.1
from the §2 live-authority derivation
(World Model → Semantic Invariants → Semantic
Continuity → live normative contracts → validated
implementation evidence); the full remediation
genealogy and the adversarial witness matrices are
historical campaign evidence preserved on the
contract-closure branch, not law-amendment channels.
OWNER DECISIONS = R-D1 = CLOSED: orphaned DOC/MRS historical documents
remain evidence only — never resurrected as normative
authority.
R-D2 = TRIGGERED and executed by this promotion: this
file is the permanent law location.
This contract is normative for the External Execution Plane (C1). It binds implementation (C1-B and later): every observable obligation stated below must hold, and where this contract marks a choice as law, implementers may not re-choose it; where it marks a choice as implementation freedom, they may. Section numbers, law labels (§AF/§AO/ §AS/§AL/§AX, D1–D5, E1–E4, RC1–RC5, I1–I5, C1–C5, N0–N5, T1–T4, S5, P1–P6, DB1–DB3), the §26 adversarial matrix and the §27 closure audit are part of the contract’s acceptance structure: §26 rows are the required behavior witnesses for implementation exit gates.
1. Jurisdiction
C1 governs the boundary:
RealizationBinding (exact, admitted)
+ ExecutionRequest (recorded, standing: request-only)
+ applicable operational authority (owner-produced)
→ Dispatch
→ Exposure (provider invocation)
→ ExecutionAttempt
→ ExecutionReceipt / adapter evidence
and only that boundary.
C1 does NOT own:
- acquisition → Observation (C2 jurisdiction;
ExecutionReceipt -/-> Observationstays untouched here); - candidate → governed incorporation → authoritative source (C3);
- causal/effect standing (owned by
EFFECT-OBSERVATION-CLAIM.md§4,SEMANTIC-LIFECYCLE-TRANSITIONS.md§11.5 — the execution plane may never enter it); - semantic family evaluation (owned by the ESI shared executor — C1 consumes nothing from it and mutates nothing in it);
- surface syntax (
execution_requestkeeps its present meaning, §16 P1); - physical hardware realization (FORMA-HARDWARE package consumes this contract; it never amends it).
2. Governing authorities and precedence
Applied in repository order (FORMASL-INTENT.md §1):
FORMASL-INTENT (I1, §3) — no system-owned reality oracle
FORMAL-WORLD-MODEL W9 / derived obligations 5
SEMANTIC-INVARIANTS INV-DYN-02, INV-GOV-02, INV-AGENCY-01/02, INV-NORM-01,
INV-EPISTEMIC-01, INV-HYP-02, INV-ID-01, INV-TIME-01/02,
INV-PROV-01/03, INV-SOURCE-02, INV-RUNTIME-01
SEMANTIC-CONTINUITY §13, §19 (erasure list), SC-D1..D11
ARCHITECTURE.md §10–§11, §14 (negative space)
EFFECT-OBSERVATION-CLAIM.md — effect firewall originals
EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md §19 (two channels), §27 (readiness),
§28 (requirement ≠ provider), §30 (provider bridge),
§32 (retry/replay law), §33 (time-of-check), §36 (chain)
EXECUTABLE-LANGUAGE-ARCHITECTURE.md §21 (external action boundary)
SEMANTIC-LIFECYCLE-TRANSITIONS.md (CB-L4) §10.3, §11.1–11.5, §12, §13, §14.1,
§17.3–17.4, §7.9
REVISION-CAPABILITY-CONTRACT.md §26.1 attempt-outcome resolution
(pattern authority for this plane, §11)
IMPLEMENTATION-CONFORMANCE-CONTRACT.md AC-13, BND-07/08
GOVERNANCE-CAPABILITY-CONTRACT.md /
GOVERNANCE-JUDGMENT-SEMANTICS.md §20 / §11–12 (authorization is
pre-dispatch, never occurrence)
HYPOTHETICAL-CAPABILITY-CONTRACT.md (motivation ≠ hypothetical execution)
Mechanism-plane history (EVIDENCE, NOT authority — see §9.1): the Durable
Operation Control (DOC) mechanism contract — historical
WORK-CONTROL-IMPLEMENTATION-CONFORMANCE-CONTRACT-v0.1 (storage/state
campaign, SS-03/SS-04 closure) and
MRS-FROZEN-HANDOFF-v0.1/contracts/MRS-05 (MRS campaign terminal), as now
expressed in crates/durable-operation, crates/effect-adapter,
crates/transport — is classified in this remediated version as
HISTORICAL DESIGN EVIDENCE + IMPLEMENTATION EVIDENCE + REALIZABILITY
EVIDENCE. It is NOT a source of architectural law: every mechanism-level
property this contract states is derived from the LIVE authorities above
(SLT §11–§14/§17; ESIC §19/§27–§33/§36; EOC; REVISION §26.1; SEMANTIC-
INVARIANTS). Where this document cites an MRS/DOC section number, the cite
is provenance of a law that independently stands on live authority or on
tested production behavior, never the law’s ground.
CONFLICT RECORD (declared, not silently reconciled): the DOC/MRS normative
package text was removed from the live tree by the canonicalization commits
(f2d152d3, 31788c70); it survives only in git history, while the DOC
carriers are live, workspace-tested production crates whose code comments
cite that contract. Remediation consequence (owner rule 10): no law in §5–§21
depends materially on the orphaned text — laws rest on the live authorities
above; the live crates are substrate/reuse candidates (§9.1, §22); and any
pure-mechanism detail previously carried by DOC/MRS text alone is now stated
as WHAT-MUST-HOLD property law with the crate mechanism demoted to preferred
implementation (§22 register). Owner decision R-D1 (§28) is CLOSED: the
orphaned text is never resurrected as normative authority — this contract,
grounded in the live owners above, owns the operational properties.
3. Scope / non-scope
IN scope: dispatch authority; exposure boundary; attempt formation; receipt guarantee scope; outcome uncertainty; retry; idempotency claim discipline; cancellation; correlation/identity laws across the boundary; temporal roles; public/machine surface obligations; fail-closed behavior for malformed / wrongly correlated / unavailable / exhausted mechanism cases.
OUT of scope (explicit non-scope): any new semantic family; any new human
surface keyword; durable storage design; scheduler/queue architecture
selection; message brokers or workflow engines (charter §Forbidden); provider
protocol semantics; effect/observation semantics; Agda obligations (none are
claimed for this plane at baseline — claim-map NOT_CLAIMED precedent from
BLOCK-B B7); production vendor integrations.
4. Definitions and roles
ExecutionRequest — the recorded semantic request to perform one external
action. Standing: request-only. Requesting is not
authorizing, dispatching, attempting, or executing.
(SLT §11.1; live carrier formasl_action::ExecutionRequest.)
Dispatch — the owner-authorized initiation of provider invocation
for exactly one attempt of one operation. Dispatch is a
transition event with an authorization chain, not a data
carrier duplicating the request. It ends — and is fully
consumed by — the exposure boundary.
Exposure — the point at which an adapter/provider invocation has
begun such that external acceptance can no longer be
excluded. Exposure is the irreversible control boundary:
before it, cancellation and reselection are lawful; once
possible, the outcome must be tracked (§11, §12).
ExecutionAttempt — the semantic OCCURRENCE of one provider invocation that
actually began (crossed, or is admitted to have crossed,
the exposure boundary). Occurrence law is §6 AF; the
occurrence/RECORDING separation is §6 AL: the
occurrence exists from T_occurrence (invocation
begins); its carrier identity is minted/assigned at
first admissible recording — the same occurrence,
never a later one. Authorization is a SEPARATE
relation from occurrence (§6 AO/AS three-standing
trichotomy), and operational
outcome is orthogonal to BOTH (§6 AX): an attempt
whose lawful dispatch chain was absent, denied,
invalid or otherwise not valid IS still an
ExecutionAttempt — whose standing is one of
AUTHORIZED / UNAUTHORIZED / NOT_ESTABLISHED per §6 AS
(absence proven by admitted evidence = UNAUTHORIZED;
evidence merely unavailable or inconclusive =
NOT_ESTABLISHED, NEVER UNAUTHORIZED by default) — and
whose outcome is evaluated normally under §10/§11
(UNAUTHORIZED × SUCCEEDED_WITHIN_BOUNDARY and
NOT_ESTABLISHED × SUCCEEDED_WITHIN_BOUNDARY are both
representable; no outcome launders or erases
standing); and
it is never demoted to a parallel "non-attempt
occurrence" category (SLT §6.5: an unauthorized/
invalid execution may still physically occur and
remain historically representable; §11.2: Executor !=
Requester != Authority; INV-NORM-01: no retroactive
authorization; SLT §12: occurrence time != recording
time; live carrier field actually_occurred
distinguishes evidence-admitted occurrence from a
merely reported one — reports never fabricate lawful
dispatch).
ExecutionReceipt — the recorded result of one attempt within the declared
operational boundary guarantee of the selected
capability + adapter family. Receipt is evidence within
scope only (§10).
Execution Operation — the durable control unit carrying exactly one dispatch
lifecycle of one ExecutionRequest under one owner
authority. WHAT MUST HOLD (topology-free): the operation
is the STABLE REFERENCE of the execution lifecycle: its
identity exists from acceptance onward, before any
attempt may exist, and survives pre-attempt waiting,
attempt creation, pending, uncertainty, terminal
receipt, reconciliation, restart, and the retry
lifecycle (§14 N5 OPERATION IDENTITY LAW;
OperationRef != AttemptRef). It records the authority
coordinates (exact payload identity, exact target,
exact binding designation, authority evidence,
correlation), maintains the §9.2 lifecycle phases as
reconstructible control facts, and survives process
restart per §20. HOW these facts are stored or
sequenced — state machine, ledger, CAS records — is
mechanism freedom (§22). The current
`crates/durable-operation` coordinator is the
productive realization and preferred reuse candidate,
not the architecture.
Guarantee cap — the maximum standing any receipt of this attempt can
carry: the declared boundary guarantee of the bound
capability (assurance-evidence-bounded, §7) and the
adapter family's declared scope. Nothing about the
external world beyond that cap is established (§10).
Two-plane model (binding law of this contract):
SEMANTIC PLANE ExecutionRequest / ExecutionAttempt / ExecutionReceipt /
(never) Effect — owned by CB-L4/EOC/action carriers
MECHANISM PLANE operation control, stale-worker exclusion, exposure
authorization, transport evidence, retry/reconcile/cancel
control — properties fixed by this contract; realized today
by durable-operation / effect-adapter / transport, which are
substrate, not authority
LAW the planes are mapped by the §9.2 correspondence table and
nothing in the mechanism plane extends semantic standing
(two-plane law derived from ESIC §19/§30 + AC-13 firewall;
the crate behavior merely confirms realizability);
and no semantic requirement may be satisfied by a mechanism
record alone.
5. Mandatory non-collapses (contract-level prohibitions)
Binding != Request
Request != Dispatch
Dispatch != Attempt (§6 AF: dispatch/preparation/lease/
fence/permit/authorization failure
never creates an attempt occurrence)
Attempt != Receipt
Receipt != Effect (record_effect requires an explicit
CausalBasisRef; there is no typed path
from any receipt/dispatch/transport
state to EffectRecord)
Execution != Effect (W9; INV-DYN-02; AC-13)
Transport success / ResponseObserved != ExternalEffectOccurred
(live transport-disposition law:
ResponseObserved is never an
EffectRecord nor an ObservationRecord)
Provider success != semantic result (ESIC §30; two-channel law ESIC §19)
Authorization != Execution (INV-GOV-02; GOV-W4: authorized and
admitted, yet nothing executed)
Observed physical occurrence != permission/authorization (INV-AGENCY-02)
Timeout != safe retry (REVISION §26.1 pattern law; ESIC §32)
Lost acknowledgement != not-executed (INV-EPISTEMIC-01: Unknown is not
False)
Cancel requested != stopped (§13)
Replay/rehydration != new attempt (SLT §13: ReplayExecutionTrace !=
NewExecutionAttempt; ReExecuteAction =
NewExecutionAttempt)
Retry != same attempt identity (§12)
Idempotency != caller convenience assumption (§12a)
Receipt != Observation (C2 boundary; preserved, never crossed here)
Recorded REQUESTED status != dispatch authorized (§16 P1)
Universal ID: one identity value must never stand for request, operation,
attempt and receipt simultaneously (§14).
Attempt occurrence != attempt authorization (§6 AO: unauthorized actual
invocation IS an ExecutionAttempt with unauthorized
standing; occurrence neither implies nor requires
authorization; SLT §6.5)
OperationRef != AttemptRef (§14 N5: the stable reference
exists before any attempt; no attempt occurrence and no
attempt identity exist before the actual invocation
begins; identity is introduced at first admissible
recording of that occurrence, §6 AF/§AL)
Prepared token != ExecutionAttempt (§14 N5: pre-exposure
generation / fence / prepared-invocation identifiers are
mechanism coordinates; they never carry attempt identity
or attempt standing)
Authorization != Outcome (§6 AX standing: UNAUTHORIZED is
a standing value, never an operational outcome class;
Unauthorized -/-> Failed / UnknownOutcome / NotApplied;
Authorized -/-> Succeeded; OperationalSuccess -/->
Authorization)
Evidence-of-absence != absence-of-evidence (§6 AS V5-1: UNAUTHORIZED and
NOT_ESTABLISHED are DIFFERENT standings — admitted
evidence that authorization was absent/invalid versus
insufficient evidence either way;
LackOfAuthorizationEvidence -/-> Unauthorized;
Unknown != False)
Insufficient evidence != conflicting evidence (§6 AS V6-1: both reasons
live INSIDE NOT_ESTABLISHED — no fourth standing;
neither may be silently converted into the other, into
UNAUTHORIZED, or into AUTHORIZED; the reason must stay
recoverable when accountability requires it)
Standing change -/-> evidence deletion / (§6 AS V6-1: the EVIDENCE
attempt mutation outcome mutation HISTORY is monotonic; the
standing is a DERIVED classification over it; new
evidence may make standing more OR less determinate,
and any transition touches only standing+reason —
identity, occurrence, times, outcome, correlation and
all records unchanged; H-V6-1..5)
Authorization != operational outcome (§6 AX V6-1: an
conflict authorization-evidence conflict NEVER makes
the attempt OUTCOME_UNCERTAIN — an attempt may be
NOT_ESTABLISHED(CONFLICTING_EVIDENCE) ×
SUCCEEDED_WITHIN_BOUNDARY with zero contradiction;
and no outcome settles the conflict)
OperationStatus != AttemptOutcome (§16 P2 V5-2: pre-attempt
operation-level results (NOT_REALIZABLE,
DISPATCH_REJECTED, CANCELLED_NOT_EXPOSED,
PRE_EXPOSURE_PENDING, …) live on the ExecutionOperation-
View axis; standing/outcome classes live only on the
AttemptView axis; Operation may exist with zero
attempts, and projecting such a state requires NO
AttemptAuthorizationStanding — no AttemptView may be
synthesized for it)
OperationExists -/-> AttemptExists (§14 N5 cardinality Request 1 →
Operation 1 → Attempt 0..N; a pre-attempt operation
result -/-> an attempt standing)
UNKNOWN correlation != fabricated edge / (§9.1 + §14 N4: an unlinked real
absent attempt attempt exists with correlation UNKNOWN;
representing it requires neither inventing a
request/operation edge nor demoting it to non-attempt;
the current mandatory-request carrier field is NOT the
architecture)
Occurrence time != Recording time (§6 AL: a late-admitted occurrence
keeps its T_occurrence (UNKNOWN when not evidenced);
recording never substitutes occurrence, never re-dates,
never creates a second attempt for the same occurrence)
6. Execution boundary model and attempt formation law
The boundary has one irreversible point, E (exposure), and one law per side. The boundary model is TOPOLOGY-FREE: it names semantic phases and the one irreversible point, not any concrete control-state sequence (§9.2 maps phases to the current mechanism as substrate correspondence, §22 owns the reuse decision):
Request Dispatch authorization E Provider world
─────────────────┬─────────────────────────────────┬───────┬───────────────
before E | operation accepted; |exposed| outcome
cancel lawful; | attempt NOT YET FORMED; |(or | tracking;
reselect lawful; | PRE_EXPOSURE_PENDING queryable |cert.) | evidence
pre-E failure | (stale-worker exclusion, | | monotonic:
observable as | exposure authorization) — | | uncertainty
this-route-not- | topology free | | may only be
exposed (§13 C2) | | | preserved or
| | | weakened toward
| | | greater uncertainty
AF. ATTEMPT FORMATION LAW (unambiguous occurrence boundary of ExecutionAttempt; identity-introduction timing per §AL):
BEFORE the provider invocation actually begins (before E is crossed or
begun): NO ExecutionAttempt EXISTS. Consequences, each absolute:
- a dispatch that fails before the invocation begins creates no attempt
occurrence;
- a preparation failure creates no attempt occurrence;
- a lease / fence / stale-worker rejection creates no attempt occurrence;
- an authorization or selection rejection that PREVENTS the invocation from
beginning creates no attempt occurrence;
- cancellation of any of the above is CANCELLED_NOT_EXPOSED with no attempt
in the operation's attempt history;
- a pre-exposure mechanism token (generation id, fence id, prepared-
invocation id) is NOT an attempt and never anticipates attempt identity
(§14 N5).
AT THE MOMENT the invocation actually begins: EXACTLY ONE new
ExecutionAttempt OCCURRENCE exists (semantic occurrence boundary) —
REGARDLESS of whether the lawful dispatch chain existed. Occurrence is not
conditional on authorization.
AL. OCCURRENCE / RECORDING SEPARATION LAW (V4-3; SLT §12 "Lifecycle
occurrence time vs recording time"):
```text
The semantic occurrence boundary and the representation boundary are
DISTINCT planes:
T_occurrence: the invocation actually begins.
→ the ExecutionAttempt occurrence EXISTS from T_occurrence.
T_recording: the moment the system first admits that occurrence into
representation (runtime event OR later-discovered
evidence import).
→ EXACTLY ONE stable ExecutionAttemptId is minted/assigned
TO THAT PRIOR OCCURRENCE at T_recording.
AttemptOccurrenceTime != AttemptRecordingTime (whenever the system first
admits the occurrence after it happened).
LateRecording -/-> NewLaterOccurrence
LateRecording -/-> NewAttempt
occurrence(T1) admitted at T2>T1 ⇒ ONE occurrence at T1, ONE identity
introduced at T2, occurrence_time = T1.
For runtime-controlled invocations the two moments may coincide. They are
NOT semantically identical; a contract claim of coincidence requires
evidence, never convention.
When evidence establishes that the invocation occurred but not exactly
when:
AttemptOccurrenceTime = UNKNOWN (preserved epistemic value)
AttemptOccurrenceTime := RecordingTime FORBIDDEN (no substitution by
convenience)
UNKNOWN != absent (INV-EPISTEMIC-01): the attempt still exists
Duplicate/late-admission law (consequence of AL):
same independently identified occurrence admitted twice (reobservation,
re-import, reconciliation) -/-> two ExecutionAttempts.
Re-admission of an occurrence already represented references the SAME
attempt identity. If external evidence cannot prove two records denote
the same occurrence, the system does NOT silently merge: the ambiguity or
conflict is preserved per the invariants (no heuristic deduplication).
AFTER an attempt exists: later evidence may only CLASSIFY its outcome (SUCCEEDED_WITHIN_BOUNDARY / FAILED_NOT_APPLIED / OUTCOME_UNCERTAIN / MECHANISM_FAILED / …) — never create, delete, merge, OR RETROACTIVELY UN-MINT the attempt; classification never touches the attempt’s authorization standing (AO).
RetryAfterNoAttempt: when a dispatch failed pre-invocation, a subsequent lawful dispatch for the SAME request/operation is a first attempt, not a “second attempt”: no phantom attempt may be recorded, and no attempt-count or retry-budget accounting may treat the failed pre-invocation dispatch as an attempt (it may count against dispatch budget only, never against attempt history).
AO. ATTEMPT OCCURRENCE / AUTHORIZATION SEPARATION LAW (V3-1):
```text
Occurrence(attempt) -/-> Authorized(attempt)
Unauthorized(attempt) -/-> NonOccurrence(attempt)
ExecutionAttempt = the occurrence relation (did the invocation
actually begin — §AF)
ExecutionAttempt != AuthorizedExecutionAttempt.
AuthorizedExecutionAttempt = ExecutionAttempt with standing AUTHORIZED
UnauthorizedExecutionAttempt = ExecutionAttempt with standing UNAUTHORIZED
NotEstablishedExecutionAttempt = ExecutionAttempt with standing
NOT_ESTABLISHED
(the three standings are defined pairwise-disjoint by law AS below — V5-1;
"not established" is NO LONGER folded into UNAUTHORIZED; all three attach
ONLY to an existing ExecutionAttempt — §16 P2 V5-2 applicability)
AS. AUTHORIZATION-STANDING TRICHOTOMY LAW (V5-1; V6-1 refined):
EXACTLY THREE standings remain — no fourth standing value is introduced (CONTESTED / CONFLICTED / AMBIGUOUS / DISPUTED are FORBIDDEN as parallel standing values; conflict is NOT a fourth conclusion, it is one of the two discriminated REASONS inside NOT_ESTABLISHED):
AUTHORIZED = admitted evidence establishes that the COMPLETE
applicable authorization chain was VALID at the
semantically relevant authorization time, AND no
unresolved admitted counter-evidence defeats a
unique authorization conclusion for the same
authorization question (§AS-same-question).
UNAUTHORIZED = admitted evidence establishes that the required
authorization was ABSENT, DENIED, INVALID, REVOKED,
EXPIRED or otherwise NOT VALID at the semantically
relevant authorization time, AND no unresolved
admitted counter-evidence defeats a unique
authorization conclusion for the same authorization
question. (Evidence OF lack.)
NOT_ESTABLISHED = a UNIQUE authorization conclusion is not currently
established — for exactly one of two semantically
discriminated reasons:
NOT_ESTABLISHED(INSUFFICIENT_EVIDENCE)
= available admitted evidence is INSUFFICIENT to
establish either AUTHORIZED or UNAUTHORIZED.
(Lack of evidence — the V5-1 case, unchanged.)
NOT_ESTABLISHED(CONFLICTING_EVIDENCE)
= admitted evidence supports materially incompatible
authorization conclusions for the SAME
authorization question (§AS-same-question) and no
admitted reconciliation has yet resolved that
conflict.
(Evidence on both sides — a POSITIVE epistemic
state with a defined reason, NOT a
contract-material UNKNOWN gap.)
Pairwise disjoint — all three standings remain mutually exclusive; the
reason discriminates WITHIN one standing, never adds a fourth:
AUTHORIZED != UNAUTHORIZED
AUTHORIZED != NOT_ESTABLISHED
UNAUTHORIZED != NOT_ESTABLISHED
LackOfAuthorizationEvidence -/-> Unauthorized
MissingEvidence -/-> NegativeAuthorizationFact
ConflictingEvidence -/-> Unauthorized (V6-1)
ConflictingEvidence -/-> Authorized (V6-1)
InsufficientEvidence != ConflictingEvidence (V6-1)
LatestEvidence -/-> Winner (V6-1)
Unknown != False
§AS-same-question (when is divergent evidence a CONFLICT at all):
evidence records are materially conflicting ONLY when they answer the
SAME authorization question, requiring at minimum, per the already-closed
identity/correlation/temporal laws (§14, §17, §4) — no new equivalence
heuristic is invented:
same ExecutionAttempt / occurrence (§AF/§AL identity)
same authorization subject
same required authority relation
same relevant authorization time or interval (§17 T3)
same scope / target / binding / invocation coordinates
Evidence about different times, scopes, authorities or coordinates is
NOT automatically contradictory and must NOT be fused into a conflict
(H-V6-6). Whether two records answer the same question is decided by the
closed identity/correlation/time laws, not by similarity guessing.
Standing DERIVATION law (V6-1 — corrects the v5 "epistemically
monotonic" formulation, which was too strong):
EVIDENCE HISTORY IS MONOTONIC. Standing is a DERIVED EPISTEMIC
Admitted evidence is never deleted, CLASSIFICATION over the CURRENT
un-minted, or overwritten by a later ADMITTED EVIDENCE SET. New
record (INV-EPISTEMIC-01; §9.2 evidence may make the standing
durable reconstructibility; R3 MORE or LESS determinate:
monotonic exposure applies to the
outcome axis likewise).
NOT_ESTABLISHED(INSUFFICIENT) + valid proof → AUTHORIZED
NOT_ESTABLISHED(INSUFFICIENT) + invalid proof → UNAUTHORIZED
AUTHORIZED + admitted conflicting counter-evidence
(same question, unresolved) → NOT_ESTABLISHED(CONFLICTING)
UNAUTHORIZED + admitted conflicting counter-evidence
(same question, unresolved) → NOT_ESTABLISHED(CONFLICTING)
NOT_ESTABLISHED(CONFLICTING) + admitted reconciliation
resolving the conflict → AUTHORIZED or UNAUTHORIZED
NOT_ESTABLISHED(CONFLICTING) + no lawful resolution
available → remains NOT_ESTABLISHED(CONFLICTING)
(durable indefinitely —
honest standing, not a defect)
- every transition is EPISTEMIC DISCOVERY over the evidence set, never
retroactive authorization: a later AUTHORIZED conclusion means "we
now establish that authority was valid THEN", never "we authorize the
attempt NOW" (INV-NORM-01 untouched — no laundering; §4/H-7, H-V6-3);
- transitions are driven ONLY by admitted evidence and admitted
reconciliation, NEVER by timeout, default, silence, outcome
settlement, or standing-precedence;
- a standing change touches ONLY the standing (+its reason): attempt
identity, occurrence, occurrence time, recording time, operational
outcome, request/operation correlation and the historical evidence
are all unchanged (§AF/§AL/§AX; H-V5-2/3 survive; StandingChange
-/-> AttemptMutation; StandingChange -/-> EvidenceDeletion);
- RECONCILIATION of a conflict follows the existing reconciliation
laws (§12b, §19 Q-law, §20): it must PRESERVE ALL EVIDENCE, record
its reconciliation basis, and produce AUTHORIZED or UNAUTHORIZED only
when that conclusion is ITSELF admitted. NO new precedence is
invented: newest-wins, provider-wins, owner-record-wins,
machine-record-wins, first-evidence-wins and majority-wins are all
FORBIDDEN resolution rules unless some live authority determines
exactly that rule (none does);
- NOT_ESTABLISHED(INSUFFICIENT) remains durable when evidence never
arrives; NOT_ESTABLISHED(CONFLICTING) remains durable while no
lawful resolution exists. Both are preserved facts, never defects,
and neither may be forced terminal to "clean up" the projection.
Distinguishing case law (V4 ambiguity, still removed):
- an invocation the SYSTEM itself dispatches whose own control records
admit no valid authorization chain — and nothing else contradicts that:
the records are admitted evidence of absence/invalidity → standing =
UNAUTHORIZED (D3/H-U1 exact);
- an externally observed / late-discovered invocation with no available
or conclusive authorization evidence → standing =
NOT_ESTABLISHED(INSUFFICIENT_EVIDENCE), NEVER UNAUTHORIZED by default
(H-V5-1);
- the same with BOTH sides admitted and unreconciled → standing =
NOT_ESTABLISHED(CONFLICTING_EVIDENCE) — NOT UNAUTHORIZED by default,
NOT resolved by the later timestamp (H-V6-1, rows 79–90).
An unauthorized actual invocation is therefore NOT placed in an alternative ontological category to preserve accountability: its ExecutionAttempt OCCURRENCE exists (§AF; identity introduced at first admissible recording, §AL), historically representable forever, whose NORMATIVE STANDING is unauthorized. Consequences:
- it appears in the operation’s attempt history as an attempt (a lawful D5-evidenced retry chain never treats it as if it had not occurred);
- it never receives retroactive authorization (INV-NORM-01), including from a later successful provider response (§26 rows) or from a receipt recorded against it;
- a receipt cannot launder authorization into it — but its operational outcome is NOT erased: the outcome axis is evaluated normally under §10 whatever the authorization standing is (AX law below; the v3 sentence “cannot be settled with a lawful outcome class” is WITHDRAWN as a collapse of standing into outcome);
- link edges to a request/operation are established only by independent evidence (§14 N4) — an unlinked unauthorized attempt still exists as an attempt, with unknown correlation, which is itself a preserved fact (never “absent”).
AX. AUTHORIZATION STANDING / OPERATIONAL OUTCOME ORTHOGONALITY LAW (V4-1; V5-1/V5-2 refined):
AttemptAuthorizationStanding != AttemptOperationalOutcome
authorization_standing ∈ { AUTHORIZED, UNAUTHORIZED, NOT_ESTABLISHED }
— the three pairwise-disjoint definitions of law AS above (V5-1; V6-1:
NOT_ESTABLISHED carries the discriminated reason INSUFFICIENT_EVIDENCE
| CONFLICTING_EVIDENCE inside the single standing value — still exactly
THREE standings).
operational outcome ∈ the ATTEMPT-SCOPED §11/§16 classes:
ACCEPTED_PENDING (status), SUCCEEDED_WITHIN_BOUNDARY,
NOT_APPLIED_WITHIN_BOUNDARY, OUTCOME_UNCERTAIN, MECHANISM_FAILED, …
(attempt-scoped only — pre-attempt operation-level classes are NOT
members of this axis; projection applicability is §16 P2 / V5-2).
APPLICABILITY RULE (V5-2 — replaces "every standing × every P2 class"):
For every EXISTING ExecutionAttempt:
each applicable authorization standing may coexist with each
ATTEMPT-SCOPED operational status/outcome whose evidence conditions
are satisfied.
There is NO standing to attach when no ExecutionAttempt exists
(OperationExists -/-> AttemptExists). A pre-attempt operation result is
never an AttemptView, carries no AttemptAuthorizationStanding, and no
AttemptView may be synthesized to project it (§16 P2).
Representable combinations (over an existing attempt) include:
AUTHORIZED × SUCCEEDED_WITHIN_BOUNDARY
UNAUTHORIZED × SUCCEEDED_WITHIN_BOUNDARY (success is on the
outcome axis; admitted-evidence UNAUTHORIZED standing is never
erased or laundered by it)
NOT_ESTABLISHED × SUCCEEDED_WITHIN_BOUNDARY (no conclusive
authorization evidence either way — H-V5-1; true under EITHER
§6 AS reason, incl. CONFLICTING_EVIDENCE: an authorization-
evidence conflict does not touch the outcome axis — H-V6-1;
§5 authorization-conflict collapse)
UNAUTHORIZED × OUTCOME_UNCERTAIN / MECHANISM_FAILED
NOT_ESTABLISHED × OUTCOME_UNCERTAIN / MECHANISM_FAILED
Forbidden collapses:
Unauthorized -/-> Failed
Unauthorized -/-> UnknownOutcome
Unauthorized -/-> NotApplied
Authorized -/-> Succeeded
OperationalSuccess -/-> Authorization (= ProviderSuccess -/->
RetroactiveAuthorization)
SuccessfulOutcome -/-> AuthorizedAttempt
AuthorizationConflict -/-> OUTCOME_UNCERTAIN (V6-1: a standing-axis
conflict never contaminates the outcome axis — the operational
outcome keeps settling solely by §10/§11 evidence; nor does any
outcome settle the conflict)
NO operational outcome may RESOLVE the standing axis in any direction
(success never proves AUTHORIZED; failure never proves UNAUTHORIZED;
uncertainty never forces NOT_ESTABLISHED either way);
NO standing may FABRICATE an outcome (the outcome settles solely by
§10/§11 evidence rules, identical for all three standings).
The provider response of an unauthorized attempt is evaluated under the SAME §10 guarantee cap and §11 evidence-classification rules as any other attempt: the authorization STANDING of the occurrence — whatever it is, AUTHORIZED, UNAUTHORIZED, or NOT_ESTABLISHED — never changes the EVIDENTIAL rules by which its outcome settles. Outcome semantics (EF wording, §10 caps) are identical across all three standing values.
R1. Pre-dispatch rejections and authorization/selection rejections that keep the invocation from ever beginning never create an attempt and never expose (§7, §8, §AF). (A rejection that failed to PREVENT an actual invocation falls under AO: the attempt exists, unauthorized.)
R2. Post-exposure, the system’s evidence state is at best
TransportRecorded with a disposition; the external state is unknown
whenever the acknowledgement is absent or unreliable (§11).
R3. Evidence strengthening is forbidden: a mechanism may move
ExposureMayHaveOccurred → ResponseObserved only by actual admitted response
evidence for the exact attempt; it may never move
definitely-not-exposed claims across E without independent evidence, and
may never move any uncertainty state toward certainty by timeout, silence, or
storage write (live tested effect-adapter monotonicity behavior, adopted as
contract law).
7. Dispatch authority law
D1. A dispatch is authorized only when the COMPLETE lawful authorization chain below exists for exactly one (request, binding, operation). The chain is stated as PROPERTIES THAT MUST HOLD — the required artifacts are the semantic coordinates and their evidence, not any named permit type:
recorded ExecutionRequest (semantic plane)
+ an admitted exact RealizationBinding (requirement ↔ capability, frozen
revision; Binder-produced, never caller-constructed)
+ owner-produced operational authority binding the EXACT case coordinates —
exact payload identity, exact target, currentness evidence where required,
adapter/invocation-type requirement
(live reference-form law: a generic Granted/Requested is NOT sufficient
authority — the authority is exactly the authorization coordinates
above, carried today by crates/durable-operation::DurableIntentAuthority)
→ authority recorded as a durable control fact (intent)
→ dispatch eligibility established (all preconditions met)
→ stale-worker/concurrency exclusion established for this operation
→ exposure authorization issued for the EXACT prepared invocation
→ consumed at exposure: exactly one lawful exposure (no reuse, no
re-resolution — D4)
The concrete realization may be today’s DOC coordinator chain (intent → queue admission → lease → fence → DispatchPermit → ExposurePermit → transport), a consolidated single-permit design, or an equivalent mechanism — provided every property line above holds and remains reconstructible (§20). The current chain is the preferred reuse candidate (§22), not the architecture.
D2. The following do NOT authorize dispatch and must never be accepted as if they did:
- a recorded
execution_request/ statusREQUESTED; - an
EffectuationGuard::RecordedOnlyoutcome; - a
RealizationBindingalone (binding is mechanism eligibility, not authority); - an
Admitted/Authorizedgovernance judgment alone (Authorization != Execution; the judgment may support the owner authority but the chain above is the operative authorization; INV-GOV-02; SLT §17.3 — the request/attempt transition is explicit); - a policy obligation attaching to a decision path (Obligation != Execution);
- a Decision (Decision -/-> ExecutionRequest -/-> Dispatch without the explicit transitions);
- the physical fact that some attempt later occurred (§4, INV-NORM-01);
- the name
ExecutionAttemptas used bycrates/runtime(runtime::ExecutionAttempt= an attempt of a RUNTIME RUN of an evaluation instance,crates/runtime/src/runtime.rs:114) — a DIFFERENT plane’s homonym; it is not this plane’s attempt and authorizes nothing here; - the materialization-plane carriers (
api::scenario_materialization:: ExecutionAttemptId/MaterializationOutcome— the publication-side §26.1 analogue) — a different product plane whose laws this contract ADOPTS as pattern only; it neither participates in this dispatch chain nor may be reused as its carriers.
D2a. Homonym law: the plane names above (runtime::ExecutionAttempt,
materialization attempt/outcome identities) must never be imported into this
plane’s public surface or correlation edges. If C1-B finds a genuine need to
reference them (e.g. shared display), the reference is by explicit qualified
type only; no identity or authority crosses.
D3. A request without owner authority is representable and remains a request. If a provider nevertheless executes, the actual invocation produces a real ExecutionAttempt OCCURRENCE under §AF (identity introduced at first admissible recording, §AL) whose standing is UNAUTHORIZED (§AO/AS — the system’s own records are admitted evidence of the chain’s absence: evidence of lack, not mere absence of evidence): historically preserved, linked only by independent evidence (§14 N4), and nothing retroactively authorizes it.
D4. After the exposure authorization is issued, the resolution set is frozen: provider lookup = 0, credential lookup = 0, adapter rebinding = 0, transport rebinding = 0, fallback = 0 (live tested mechanism law, adopted as property law). Any failure after this point is post-authorization mechanism failure, not reselection opportunity.
D5. LAWFUL EXPOSURE LAW (topology-free; replaces v1’s mechanism-level seam law):
A lawful external exposure requires ONE complete, reconstructible and
unbroken authorization chain bound to the EXACT prepared invocation.
No invocation may cross the exposure boundary on partial authorization:
an exposure is lawful only when every D1 property line is evidenced by
records that jointly reconstruct the chain (regardless of how many permit
objects, states, or CAS records internally carry those properties).
Authorization evidence used for exposure MUST correspond to the exact
request, target, realization/provider binding and invocation being
exposed — coordinate mismatch is a boundary violation, not a clerical
difference.
No post-authorization rebinding or silent substitution may occur across
that boundary (D4).
An invocation observed crossing E without a complete lawful chain still
forms an ExecutionAttempt (§AF/§AO); its standing is classified by §6 AS:
UNAUTHORIZED when admitted evidence — including THIS plane's own control
records, which are admitted evidence of absence when they show no chain
was issued — proves the authority absent/invalid at the relevant time;
NOT_ESTABLISHED when the authorization evidence is simply unavailable or
inconclusive (late-discovered external crossings). Neither value is ever
a default, neither is ever laundered by outcome, and no crossing is ever
settled as an AUTHORIZED outcome (§16 P2 attempt view; H-V5-1).
Implementation fact (NOT law): the current tree carries two distinct
ExposurePermit-related types on parallel paths
(crates/durable-operation/src/permit.rs:36 coordinator-minted
{operation, attempt} single-use; crates/effect-adapter/src/adapter.rs:194
CAS-bound to the exact PreparedInvocationId, with no join dependency
between the planes). C1-B may consume both as-is, join them, consolidate
them into one object, or replace their internal relationship — the binding
obligation is the abstract law above: at the moment of exposure, a single
complete chain must be reconstructible whose evidence covers each D1 line
and binds the exact invocation (matrix row 31).
8. Realization / provider selection law
S1. Selection is exact-match over the admitted binding: requirement’s frozen
required_revision ≡ candidate realizes_revision; every hard
RequirementConstraint satisfied under presented evidence; preserved clauses
(limit/prefer/budget) carried, never silently discarded (live Binder law).
S2. Zero applicable capability → typed fail-closed readiness outcome
NOT_REALIZABLE (§16), before exposure, with no attempt. Per ESIC §27 this
is a realization/readiness result — not semantic falsehood, not type
invalidity, not governance denial.
S3. Ambiguous designation (multiple admissible candidates without a selection
contract deciding among them) → typed fail-closed; no representative
selection; no default; no ordering heuristic (Binder bind_late law:
universal satisfaction over the closed set or rejection).
S4. No-capability or stale-capability (currentness basis expired) → rejected
before dispatch. Capability validity follows ProviderCapabilityEvidence
CurrentnessBasis (ELA §8.4); evidence expiry is re-checked at dispatch
eligibility, and its failure class is S2/S4 (capability-expired →
NOT_REALIZABLE or retry-later per policy, never silent proceed).
S5. Fallback rule: silent fallback is forbidden. The only lawful substitution is an explicit SubstitutionRecord judgment (live carrier): replacement candidate satisfies the SAME frozen requirement and the declared guarantee envelope is monotone — substitution never weakens a declared guarantee (ARCS §13/§17 law; FP-P6-05). Post-permit substitution is impossible by D4.
S6. A capable provider cannot create semantic authority by being bound (ESIC §28). Provider selection establishes mechanism reachability only.
9. Relationship to durable-operation (substrate determination, v2)
9.1 Status determination (remediated per owner finding 1)
The campaign must answer: which existing durable-operation roles are normative implementation substrate versus merely evidence? The remediated answer separates WHAT-MUST-HOLD (this contract’s laws) from the current realization:
crates/durable-operation (coordinator, state machine, permits, lease,
fence, retry-permit, reconciliation-case, persistence, reopen)
crates/effect-adapter (prepare→claim→expose, CAS-bound exposure, registry)
crates/transport (typed request-response dispositions)
= CURRENT PRODUCTIVE IMPLEMENTATION SUBSTRATE
+ PREFERRED REUSE CANDIDATE FOR C1-B
+ EVIDENCE THAT THE CONTRACT IS REALIZABLE.
They are NOT an independent source of architecture: the properties the
plane must hold are fixed by §6–§8, §11–§13, §19–§20 derived from LIVE
authorities (SLT/ESIC/EOC/REVISION/INVARIANTS); ESIC §32 explicitly
leaves concrete retry/idempotency mechanism to P3/P6 territory.
C1-B MUST reuse a current mechanism whenever it satisfies the contract
without distortion (charter: no second machinery for a productively
implemented role); C1-B MAY refactor, join, consolidate, or replace
mechanism internals (state sequences, permit count and shapes, storage
layout, carrier names) provided every law of this contract holds and
§14 answerability is preserved. The accidental Rust topology of today
is not frozen by this document.
They extend no semantic/action standing (reaffirmed as contract law).
historical DOC/MRS contract text (WORK-CONTROL…v0.1, MRS-FROZEN-HANDOFF)
= HISTORICAL DESIGN EVIDENCE ONLY (orphaned from the live tree — §2
conflict record). No law of this contract stands on it alone; every
mechanism property above is restated as property law from live
authority or adopted from tested production behavior. Owner re-registration question is
CLOSED by R-D1 (§28): the text is never resurrected as normative authority.
executable-world VALVE_1 loop (demos/executable-world/providers/
src/operational.rs, WTT2-06)
= EVIDENCE / GENEALOGY ONLY (its own header: "harness-scope realization
witnesses … mint NO production semantic standing"). Its topology is not
normative. It is retained as the hostile-history corpus to be re-run as
product witnesses (see §21) — because each case exercises a contract
obligation of this document, not because the demo exists.
harness-record / harness-floor / forma-agent
= PRODUCTIVE APPLICATION LAYERS (application-owned E4 discipline; they
consume the mechanism plane and must not be forked or weakened by C1).
Their existing laws (retry mints a new attempt identity AND new
exclusion/fence identity; unknown external outcomes stay Unknown until
application reconciliation; no automatic resolution by the core) are
CONSISTENT with this contract and are inherited as application-side
precedent. C1-B must not break them (they are regression gates, §25).
crates/action carriers (ExecutionRequest/Attempt/Receipt/Record,
EffectRecord, AdapterReceipt, ActionJournal)
= NORMATIVE CARRIER REALIZATION of CB-L4/EOC on the semantic plane
(authority cited in the crate itself — the semantic distinctions are
authority-derived, §2/§5, NOT an implementation choice).
REUSE LAW (V4-2 corrected):
crates/action OWNS the semantic carrier roles and minting authority.
The semantic roles and distinctions MUST be reused.
The CURRENT RUST CARRIER SHAPE IS NOT FROZEN: e.g. today
ExecutionAttempt carries a MANDATORY ExecutionRequestId field and
ActionJournal::attempt_execution requires a request — that field
topology cannot represent §14 N4's contract-required unlinked
attempt without fabricating a request edge or a second ontology,
both forbidden. C1-B MAY (and where needed MUST) minimally evolve
the existing carrier/journal realization — conceptually: attempt
identity/occurrence + evidence-qualified correlation edges, where
the correlation may be a known request/operation relation OR
UNKNOWN / not yet established.
The law is representational honesty:
absence of admitted correlation evidence must be representable;
UNKNOWN != fabricated edge != absence of attempt;
later admitted correlation evidence may establish an edge WITHOUT
changing the attempt identity or occurrence time (§6 AL).
Prescribing the Rust solution is FORBIDDEN here: Option<id>, sidecar,
relation table, journal edge, enum, new field — all implementation
choices (§23 freedom). Role/minting ownership is law; field topology
is not. reuse semantic authority/role != freeze current topology.
9.2 Phase correspondence (semantic phases are law; the right-hand
column is substrate realization, not frozen mechanism)
C1 semantic phase (LAW) required control property current substrate realization
request recorded (public) request-only standing ExecutionRequest carrier
+ EffectuationGuard::RecordedOnly
intent under authority durable record of authority intent record (outbox today)
coordinates + evidence
operation accepted / the stable OperationRef EXISTS queue admission / leased
PRE-EXPOSURE_PENDING and is queryable BEFORE any today (operation identity
attempt exists (§14 N5, §16 P6); from the moment of durable
zero attempts are observable intent record)
dispatchable eligibility precondition set DispatchEligible today
met, reconstructible
dispatch pre-exposure stale-worker exclusion + lease + fence + permit chain
single exposure authorization today
bound to exact invocation
exposure boundary crossed or begun AwaitingTransport / permit
consumption today
attempt formation (§AF) EXACTLY ONE attempt OCCURRENCE occurrence exists at begin;
per begun invocation; none pre-E; identity introduced at first
regardless of authorization admissible recording (§AL);
(standing per §AO; outcome standing/authorization per
independent per §AX) §AO; outcome per §AX
transport evidence typed disposition recorded TransportRecorded +
ExecutionReceipt + AdapterReceipt
settled success definite within-boundary Succeeded; receipt outcome
outcome Terminated + cap (§10)
settled definite failure route-scoped definite Failed (only with that
non-exposure evidence evidence); FAILED_NOT_APPLIED
(EF wording; pre-E: no (within boundary; §AF/EF)
attempt, §AF)
retry scheduled/permitted explicit authority to retry, RetryPermit → re-eligibility
new exclusion per attempt → new generation today
outcome uncertain uncertainty first-class, ReconciliationRequired →
blocking blind retry Reconciling today
reconciled resolution only from admitted ResolutionKind
reconciliation evidence (attempt stays closed;
§12 new attempt if retry)
cancelled pre-exposure definite non-exposure pre-E cancellation today
(CANCELLED_NOT_EXPOSED, §13)
retention accountability record kept mark_for_retention today
Structural law of the table: the LEFT/MIDDLE columns are contract; the RIGHT
column names today’s preferred substrate and may be refactored or replaced
by C1-B as a unit provided each middle-column property still reconstructs.
A mechanism control fact alone never constitutes an ExecutionAttempt,
ExecutionReceipt, or any semantic standing; conversely every claim of
lawful dispatch/receipt for accountability purposes MUST be reconstructible
from control records + action carriers (no memory-only proof).
10. Receipt guarantee law
RC1. An ExecutionReceipt establishes ONLY: (a) the mechanism outcome of its attempt (§16 taxonomy), (b) the declared operational claim of an AdapterReceipt, if separately issued, within its stated adapter scope, (c) the exact guarantee scope reference: the selected capability + adapter-family declared boundary guarantee, capped by assurance (§10 RC3).
RC2. A receipt never establishes: external effect (§15); observation or
observation standing (C2); semantic result validity (ESIC §30 — provider
output is raw realization evidence until the semantic bridge admits it);
source authority (ESIC §30 ProviderSuccess != SourceEvolutionAuthority);
freshness/authenticity beyond its evidence (Trust laws).
RC3. Guarantee cap by assurance class (live realization carriers):
SelfDescription evidence → receipts may report transport/protocol
facts only; NO boundary-guarantee claims of
the "the target system accepted it" class may
be carried as more than provider-statement.
VerifiedRoute evidence → receipt may carry the declared boundary
guarantee of the verified route, exactly at
that route's declared scope.
Any provider/adapter response claiming standing beyond the cap (e.g.
"effect confirmed") must be recorded as an OVER-CLAIM: retained verbatim as
provider statement, admitted at capped strength, and NEVER silently
truncated (honest evidence) nor silently honored (no overreach).
RC4. Malformed, unparseable, or out-of-vocabulary receipts are typed failures
(§16 malformed-receipt), never coerced to success, never coerced to
failure-of-the-attempt: the attempt’s exposure state is independently tracked
(a malformed reply after possible exposure is still §11 uncertainty).
RC5. A receipt correlated to the wrong attempt/operation/provider (identity
mismatch against §14 edges, fence/generation mismatch, permit CAS mismatch) is
REJECTED fail-closed and reported wrong-correlation; it never settles any
attempt (§19 Q-law).
11. Failure taxonomy (pre/post exposure) and outcome uncertainty
pre-exposure failures (§AF: NO ExecutionAttempt exists; evidence is
route-scoped per EF — "not exposed through THIS route", never a global
non-occurrence claim):
selection-not-realizable | capability-currentness-expired |
authorization-absent | dispatch-rejected(no chain) | lease-conflict-stale |
fence-stale | permit-ineligible | permit-expired | target-unreachable-
before-any-exposure (DefinitelyNotExposed evidence) | preparation-failure
| resource-exhaustion-before-exposure | authorization-revoked-pre-invocation
| provider-unavailable-pre-invocation
post-authorization / boundary failures (evidence-classified, monotonic):
DefinitelyNotExposed → definite route-scoped failure; safe §12a
retry; standing CANCELLED/FAILED per §13
wording rules (NOT a world-wide effect
statement)
ExposureMayHaveOccurred → OUTCOME_UNCERTAIN — MUST NOT be recorded,
projected, or consumed as not-executed
ResponseObserved → receipt forms within cap (§10)
unauthorized actual invocations (§AO) are NOT in this taxonomy's
"failure" place by default: the attempt exists and its outcome class is
settled by evidence like any other attempt; what a proven-UNAUTHORIZED
standing can never acquire is authorized standing. Its standing projects
on the SEPARATE authorization axis of §16 P2 (never as an outcome class
of this taxonomy; the three standings are §6 AS's disjoint
AUTHORIZED / UNAUTHORIZED / NOT_ESTABLISHED — an attempt whose authority
evidence is merely unavailable is NOT_ESTABLISHED, not UNAUTHORIZED);
outcome classification and standing are independent (§6 AX): UNAUTHORIZED
× {SUCCEEDED_WITHIN_BOUNDARY, OUTCOME_UNCERTAIN, MECHANISM_FAILED, …} and
NOT_ESTABLISHED × same classes are all representable (H-V4-1/2/3,
H-V5-1..3).
certainty classes for one attempt:
KNOWN-SUCCEEDED-WITHIN-BOUNDARY | KNOWN-FAILED-NOT-APPLIED(within
declared boundary, admitted evidence — EF) | OUTCOME_UNCERTAIN |
MECHANISM_FAILED | CANCELLED(pre-E) | CANCELLED_POST_CANCEL_RACE (§13)
U1. OUTCOME_UNCERTAIN is a first-class standing of the plane (INV-EPISTEMIC-
01: Unknown ≠ False ≠ absent; EOC §11: UNKNOWN/UNRESOLVED is preferable to a
hidden oracle). It is produced by: timeout after possible exposure; lost
acknowledgement; ExposureMayHaveOccurred transport disposition; crash
between expose and transport evidence (recoverable via durable control
reopen
— §20); malformed/undecodable acknowledgement whose validity cannot be
established.
U2. Uncertainty NEVER resolves by: passage of time, a later unrelated
response, a duplicate inbound (inbox dedup may prove a second delivery, never
an outcome), storage write, or default. Resolution occurs ONLY through an
admitted reconciliation resolution derived from reconciliation evidence
(live law: “must be derived from admitted reconciliation evidence, not
opened from bare uncertainty”; ResolutionKind includes
RequiresManualIntervention — an honest terminal, not a guess).
U3. While an attempt is uncertain, the request it belongs to is blocked from
blind re-dispatch (§12b) and the operation control state is
ReconciliationRequired → Reconciling — never silently Failed.
EF. SCOPED-EFFECT WORDING LAW (V3-4 — closes every “non-effect” leak):
C1 possesses NO authority to establish global external-world non-occurrence from route-local facts. Every pre-exposure or not-applied statement in this plane is scoped, and the scoping is semantic content, not prose decoration:
pre-exposure outcome statements mean:
THIS EXECUTION ROUTE DID NOT CROSS ITS EXPOSURE BOUNDARY
NOT_APPLIED means:
not applied WITHIN THE DECLARED OPERATIONAL BOUNDARY
under admitted evidence
(and NOTHING stronger without an independent causal/evidentiary basis
established outside this plane — which this plane cannot mint, §15).
Prohibited collapses (each a contract violation at any layer, including user-facing text produced from C1 results):
Execution != Effect (§15 firewall)
ExecutionFailure -/-> NoExternalEffect
NoExposureOnThisRoute -/-> NoExternalOccurrenceAnywhere
NOT_APPLIED -/-> "no external effect occurred" (global reading)
definite route-scoped failure -/-> world-wide non-effect knowledge
The honest formulations are exactly the scoped ones above; “nothing happened externally” is never a C1 claim, because independent external events remain possible regardless of this route (§13 C2, §11 R3).
12. Retry law
a. SAFE RETRY (same attempt not required; no new semantic attempt needed if no attempt occurred): lawful only when the prior dispatch chain terminated with definite non-exposure evidence. This creates no ExecutionAttempt.
b. RESOLVE-BEFORE-RETRY: when any prior attempt of the same request is
OUTCOME_UNCERTAIN, retry is FORBIDDEN until reconciliation resolves it
(pattern law, ratified for the publication route by REVISION §26.1 and
ESIC §32 Timeout -/-> SafeToReExecute):
- resolved APPLIED/replayed → the request is settled; re-delivery is replay (§12d), not a new attempt;
- resolved NOT_APPLIED → the prior attempt is one closed attempt; a retry is a NEW attempt with a NEW attempt identity over the SAME request identity (literal §26.1 law, adopted for this plane).
c. MECHANISM_FAILED is not NOT_APPLIED and is not a semantic failure (§26.1); retry after MECHANISM_FAILED is permitted only when the failure is independently shown to be pre-exposure; otherwise it inherits §11 uncertainty rules.
d. REPLAY/REHYDRATION: reconstructing, re-reading, or re-projecting a prior
attempt/receipt record (including after process restart and including
restoration of durable control state — substrate today:
SequentialProcessReopen) is NOT a new attempt, NOT a new
semantic occurrence (SLT §13: ReplayExecutionTrace != NewExecutionAttempt).
A genuine re-execution of the action (ReExecuteAction) IS a new attempt.
Delivery retry of the same operation under a lawful retry authorization
receives a NEW stale-worker exclusion, a NEW exposure authorization, and
forms a NEW attempt identity (substrate today: new generation + new fence +
new permit; live tested law + harness-record application precedent).
e. Retry requires an explicit retry AUTHORIZATION issued by the control-plane
owner (substrate today: RetryPermit; authorization ≠ retryable-status —
INV-AGENCY-02).
No automatic/hidden retry exists at any layer (charter: no silent machinery).
12a. Idempotency law (remediated per owner finding 4)
I1. Idempotency is NEVER inferred by caller convenience, by absence of observed side effects, or by transport retries.
I2. THE KEY / GUARANTEE DISTINCTION (contract law):
RequestIdempotencyKey != ExternalIdempotencyGuarantee
A request MAY carry an idempotency key with a declared equality domain, intended scope, and requested idempotency semantics. That key is a CORRELATION / REQUEST COORDINATE only: it identifies which deliveries the requester intends to be repetitions of one intended operation. It does NOT, alone, establish that the provider/target will honor idempotent semantics, and is therefore NOT a sufficient basis for any operational idempotency guarantee.
An ADMISSIBLE IDEMPOTENCY GUARANTEE requires an independently grounded enforcement/attestation boundary, namely at least one of: (a) provider capability contract: the selected ProviderCapability declares an idempotency guarantee over a declared key domain and window, backed by assurance evidence (same cap discipline as §10 RC3); or (b) target contract: an independently admitted contract of the target system establishing the guarantee; or (c) adapter/boundary guarantee: the adapter family’s declared boundary guarantee covers idempotent delivery within a stated domain; or (d) another independently admitted enforcement contract, admitted under the same evidence discipline.
Mechanism-plane dedup (delivery dedup identities carried today by DOC inbox records and StorageIdempotencyKey — live law “storage idempotency ≠ business idempotency ≠ domain commit key”) deduplicates DELIVERIES ONLY; it establishes nothing about external-world repetition:
delivery dedup != business idempotency != external-world idempotency
I3. Consequences for retries: a delivery retry may settle APPLIED by
replay evidence ONLY when BOTH (i) an admitted §I2(a)–(d) guarantee basis
covers the key domain AND (ii) the key+payload match the original under
that basis. Missing either leg: the retry cannot be settled by replay and
follows §12b uncertainty rules. A key collision across two DIFFERENT
payloads, or a guarantee claim without an admitted basis, is a typed
fail-closed idempotency-key-mismatch / idempotency-claim-unadmitted
(§19 Q-law), never a silent merge.
I4. Idempotency never licenses crossing §15: even a perfectly idempotent provider still proves only its cap-scoped guarantee.
13. Cancellation law
C1 phases, each a distinct representable standing (C1.9 obligation):
cancel-requested (accept/refuse typed; refusal keeps attempt state)
cancel-acknowledged (provider ack of the cancellation request — proves
only that: NOT termination; proves NOTHING about
effects — EF wording law)
terminated-known (attempt terminates with definite route-scoped
non-exposure OR definite stopped-without-effect
WITHIN THE DECLARED BOUNDARY evidence under
admitted basis — EF: neither is a world-wide
non-effect claim)
terminated-unknown (provider acked stop but effect window cannot be
excluded)
effect-unknown (race: completion evidence and cancellation overlap)
C2. Lawful pre-exposure cancellation yields the honest outcome
CANCELLED_NOT_EXPOSED, which means EXACTLY (EF wording law):
this execution ROUTE did not cross its exposure boundary
and, when the evidence contract behind the definite non-exposure record actually supports it, additionally:
no external occurrence attributable to this execution
through this route was established
It NEVER means “nothing happened externally”: independent external events remain possible regardless of this path (§11 R3 is about evidence strength, not about world totality). This is the only cancellation carrying a definite non-exposure position, and that position is solely about THIS path crossing E — possible because §6 R3 evidence says this path never exposed.
C3. Post-authorization / post-exposure: after possible exposure a
cancellation CANNOT terminate the attempt. The lawful transition structure
is: Cancelled is reachable only before dispatch eligibility or through
reconciliation — never by cancellation overwriting an uncertain exposure
(substrate today: the live DOC state machine already encodes exactly this;
adopted as property law, independent of how C1-B realizes it). A cancelled
attempt-in-request keeps its reconciliation case open; resolution then
follows §11/§12b. A completion that arrives after a cancel acknowledgement
produces terminated-unknown/effect-unknown, never “both happened, pick
one”: the conflict is preserved (INV-CONFLICT-01), with both evidences
recorded.
C4. Cancellation grants no information about the external world beyond its
own acknowledgements: cancel-acknowledged -/-> not-executed, and never
erases the attempt history (SLT §14.1: a failed/cancelled attempt remains
historically representable).
14. Identity / correlation law
E-edges (typed, reconstructible; no universal id; INV-ID-01):
ExecutionRequestId (action plane, minted by ActionJournal under origin revision)
│ request-of (typed edge; when independently established, an attempt
│ names exactly one request; an UNLINKED unauthorized attempt (§AO/N4)
│ exists with this edge UNKNOWN — a preserved fact, never absent)
DurableOperationId / DurableOperationCorrelationKey (mechanism plane)
│ operation-for (typed edge; one operation carries one request's dispatch
│ lifecycle; correlation key ≠ identity; the operation identity is the
│ STABLE reference and exists before any attempt — §14 N5)
DispatchGeneration / AttemptFenceId (mechanism)
│ generation/fence-of (typed edge; monotonic per operation; mechanism
│ coordinates ONLY — never attempt identity or attempt standing, §N5)
DurableAttemptId (mechanism per generation)
│ mechanism-attempt-of ↔ ExecutionAttemptId (semantic plane)
│ (an invocation actually beginning produces exactly one
│ ExecutionAttempt occurrence; its identity is introduced at first
│ admissible recording — lawful or unauthorized;
│ §AF/§AO; where the lawful chain exists, the edges both ways are
│ required, so "which attempt arrived at the provider" and "which
│ request originated this" are answerable without heuristics;
│ authorization standing is recorded as a SEPARATE relation on the
│ attempt, never by omitting the attempt or its edges-by-evidence)
ExecutionReceiptId (per attempt; receipt names exactly one attempt id;
a receipt recorded against an unauthorized attempt does not authorize
it — §AO)
AdapterReceiptId (per declared operational claim; names adapter + basis)
ExactPayloadIdentity, ExecutionTargetRef (exact coordinates carried by the
intent; permit CAS binds the exact PreparedInvocationId)
Laws:
- N0. The semantic-plane identities (request/attempt/receipt/adapter- receipt/occurrence) are fixed by §4/§5 and are law. The mechanism-plane coordinate names below (DurableOperationId, DispatchGeneration, AttemptFenceId, DurableAttemptId, correlation key) are the CURRENT substrate’s realization of the required control coordinates: C1-B may rename or restructure them provided the edge structure, monotonicity and N3 answerability survive exactly.
- N1. No identity from Debug/serialization strings; action identities mint
origin + serial(live law), substrate operation ids are nominal and minted by the control coordinator (realizability evidence — the coordinator’s concrete id scheme is free per §9.1), machine surface projects typed coordinates (rev-1), never display forms as authority (BLOCK-B §36 precedent). - N2. The four-plane identities MUST remain distinct types; collapsing request↔operation↔attempt↔receipt into one stored id is an architectural violation (§5 universal-ID collapse).
- N3. Reconstructible answerability is the test: given any receipt R, the system must be able to answer — request(R)? attempts(R)? which generation/ fence? provider+capability(R)? target(R)? — via typed edges alone, never textual correlation (SLT §11.2; SC-D1/D8/D10).
- N4. An UNAUTHORIZED ExecutionAttempt (§AO) is a real attempt with its own attempt identity and occurrence facts. Its link edges to a request or operation are established ONLY by independently admitted evidence — an observed invocation does NOT acquire request/operation edges retroactively by guessing; an unlinked unauthorized attempt remains a representable attempt with correlation UNKNOWN (a preserved fact, never silently “absent”, never reclassified as a non-attempt). UNKNOWN correlation must be honestly representable WITHOUT fabricating a request/operation edge and WITHOUT a second unauthorized-attempt carrier family (§9.1 REUSE LAW: the current mandatory-request carrier field topology is NOT frozen precisely because it cannot otherwise represent this case). Later admitted evidence may establish an edge to the existing attempt identity WITHOUT changing that identity or the occurrence’s T_occurrence (§6 AL).
- N5. OPERATION IDENTITY LAW (V3-2):
Operation identity exists BEFORE any attempt may exist.
Attempt occurrence exists ONLY from actual invocation (§AF); its carrier
identity is introduced at first admissible recording of that occurrence
(§AL) — never before the invocation, never for a non-occurrence.
OperationRef != AttemptRef.
The operation identity survives: pre-attempt waiting; attempt creation;
pending; uncertainty; terminal receipt; reconciliation; restart; and the
retry lifecycle. The STABLE public/query correlation reference of the
lifecycle is the OperationRef — never an AttemptRef (which does not yet
exist pre-invocation).
Receipt references its ExecutionAttemptId AND remains reachable through
the OperationRef.
PreparedInvocationToken (any pre-exposure generation id, fence id,
prepared-invocation id or similar mechanism coordinate) !=
ExecutionAttemptId and != ExecutionAttempt standing: it may exist for
CAS / preparation / stale-worker exclusion / provider binding / exposure
authorization, and may NEVER anticipate semantic attempt identity.
C1-B must not resolve the OperationRef/AttemptRef distinction by
pre-minting attempts.
Cardinality (closed for C1): one ExecutionOperation = the durable
lifecycle associated with one ExecutionRequest, capable of relating
ZERO OR MORE sequential attempts under explicit retry history:
Request 1 → Operation 1 → Attempt 0..N (distinct attempt identities)
A pre-attempt failure does NOT end the operation's eligibility to relate
a later first attempt (H-I4: A1, no phantom A0). Retry after uncertain
A1 creates A2 under the same operation/request relation while preserving
A1 (§12b). No universal id (N2, §5).
15. Effect firewall (explicit closure of ExecutionReceipt -/-> Effect)
F1. WHY the boundary exists (authority basis, restated as contract law):
Effect is a causal role under an explicit/contractually established causal
relation (FWM W9; EOC §4). The execution plane is a mechanism of exposure and
evidence; it possesses, by construction, no admissible causal-evidence
introduction: temporal succession between attempt and any later world signal
is not causation (INV-TIME-02), and transport acceptance is not world
occurrence (W9, AC-13). Minting Effect from receipts would install the exact
hidden oracle INV-CORE-02 forbids.
F2. HOW it is enforced (positive obligations):
- the ONLY effect mint in the carrier plane is
ActionJournal::record_effect(execution, causal_basis: CausalBasisRef, …)
— the CausalBasisRef argument is structurally required (live API law);
- no type in the C1 surface may convert ExecutionReceipt / mechanism
control state /
transport disposition into EffectRecord without an independently admitted
causal-basis artifact;
- a receipt may carry, without crossing the firewall: its guarantee-scope
reference, the provider's declared boundary guarantee (§10 caps), and
provider statements (including effect-claiming statements) AS statements;
- an over-claiming provider response is recorded under RC3 discipline and
remains a statement, never an effect basis.
F3. The consumer side (who may later turn an adapter confirmation into an EffectRecord, e.g. governed effect-evaluation) is outside C1; C1’s obligation ends at honest, capped, firewall-respecting evidence.
16. Public / machine surface obligations
P1. execution_request DOES NOT change meaning. The public run route keeps
returning recorded REQUESTED with EffectuationGuard::RecordedOnly
(ESIC §35 chain intact; the honest-support text docs/user/SUPPORT- LIMITATIONS.md “recording is not dispatch or completion of work” remains
true and must be amended only by addition (§16 P1) once the successor route
exists).
P2. C1-RATIFIED adds exactly one new productive product capability class: an explicit post-request operational route (API-level today; machine-protocol projected) that performs §7 dispatch and returns typed outcomes. The concrete Rust operation name(s) are implementation-chosen; the required typed-result classes are contract-fixed.
PROJECTION APPLICABILITY LAW (V5-2): the typed classes are partitioned by which semantic view they belong to. This is a semantic separation of APPLICABILITY, not a prescription of Rust nesting/layout — OperationView and AttemptView need not be two structs (nested objects, separate endpoints, linked resources, tagged projection, or a flat protocol with typed relations are all lawful realizations):
ExecutionOperationView — always exists once the operation exists: ├── OperationRef ├── request relation (§14) ├── operation lifecycle status / result (the classes below) └── attempts: 0..N AttemptViews
AttemptView — EXISTS ONLY WHEN AN ExecutionAttempt EXISTS (§AF): ├── AttemptRef ├── authorization_standing: AUTHORIZED | UNAUTHORIZED | │ NOT_ESTABLISHED — pairwise-disjoint definitions in §6 AS │ (V5-1); UNAUTHORIZED is never a default for missing evidence; │ NOT_ESTABLISHED carries the §6 AS reason — │ INSUFFICIENT_EVIDENCE vs CONFLICTING_EVIDENCE — which must be │ mechanically recoverable whenever material for │ accountability/reconciliation (V6-1; encoding free: reason │ code, typed linked conflict record, projection, separate │ reconciliation resource — no Rust/JSON layout prescribed) └── attempt operational status / outcome (the attempt-scoped classes below)
Operation-level statuses/results (valid whether attempts = 0 or > 0; NOT attempt standings, NOT attempt outcomes):
PRE_EXPOSURE_PENDING operation accepted/authorized; invocation NOT
begun; attempts = 0; known non-terminal (§16 P6)
NOT_REALIZABLE(no-capability | ambiguous | currentness-expired) pre-E
DISPATCH_REJECTED(authorization-absent | preconditions-unmet |
stale-fence | lease-conflict | permit-ineligible) pre-E
CANCELLED_NOT_EXPOSED = THIS EXECUTION ROUTE DID NOT CROSS ITS EXPOSURE
BOUNDARY (EF wording law; §13 C2; attempts = 0)
reconciliation required / active (§12b, §20)
operation-level terminal aggregation where contractually defined
Attempt-scoped statuses/outcomes (require an existing ExecutionAttempt; each may coexist with ANY of the three standings whenever its own evidence conditions are satisfied — §6 AX applicability rule):
ACCEPTED_PENDING admitted acknowledgement; completion not terminal
MECHANISM_FAILED(class; post-attempt evidence)
RESOURCE_EXHAUSTED(mechanism class of MECHANISM_FAILED, post evidence;
the PRE-attempt exhaustion result is operation-level
pre-E dispatch failure, §19 Q-law)
NOT_APPLIED(not applied WITHIN THE DECLARED OPERATIONAL BOUNDARY under
admitted evidence — EF; never a global non-effect claim)
SUCCEEDED_WITHIN_BOUNDARY(guarantee-scope reference, cap per §10)
OUTCOME_UNCERTAIN(evidence class: timeout | lost-ack |
exposure-may-have-occurred | unrecovered-crash)
RECONCILED(resolution: applied | not_applied | manual-intervention)
CANCEL_ACKNOWLEDGED / TERMINATED_UNKNOWN / EFFECT_UNKNOWN (§13 race
states — attempt-scoped, post-begin)
WRONG_CORRELATION / MALFORMED_RECEIPT / IDEMPOTENCY_KEY_MISMATCH (§19 Q-law)
Applicability law (V5-2, replaces any “every standing × every P2 class” reading of v4):
For every EXISTING ExecutionAttempt: each applicable authorization
standing may coexist with each ATTEMPT-SCOPED operational status/outcome
whose evidence conditions are satisfied.
No AttemptView exists when attempts = 0; therefore operation-level
pre-attempt classes carry NO AttemptAuthorizationStanding, and projecting
them must NOT fabricate or synthesize an attempt (§5 OperationStatus !=
AttemptOutcome; §14 OperationExists -/-> AttemptExists).
AUTHORIZED × NOT_REALIZABLE is not a "forbidden pair" — it is not a pair
at all while NOT_REALIZABLE terminated the operation before any attempt
existed. If an attempt exists and later evidence establishes the chain
(§6 AS), its standing and the operation's own history are each classified
on their own axis.
STANDING × OUTCOME PROJECTION (preserves V4-1 with V5-1 standings):
Standing axis NEVER resolved by outcome; outcome axis NEVER fabricated
by standing (§6 AX). Examples of valid coexistence over an existing
attempt:
AUTHORIZED × SUCCEEDED_WITHIN_BOUNDARY
UNAUTHORIZED × SUCCEEDED_WITHIN_BOUNDARY (standing proven by
admitted absence-evidence; success launders nothing — H-U1)
NOT_ESTABLISHED × SUCCEEDED_WITHIN_BOUNDARY (inconclusive authority
evidence either way — H-V5-1; NOT an unauthorized finding)
UNAUTHORIZED / NOT_ESTABLISHED × OUTCOME_UNCERTAIN / MECHANISM_FAILED
Standing updates — refinement (NOT_ESTABLISHED → AUTHORIZED /
UNAUTHORIZED) AND less-determination (AUTHORIZED / UNAUTHORIZED →
NOT_ESTABLISHED(CONFLICTING) on genuine counter-evidence, resolved
only by admitted reconciliation) — follow §6 AS: evidence-derived,
never precedence-defaulted, identity/occurrence/outcome unchanged
(H-V5-2/3, H-V6-1..5).
The public/machine surface MUST preserve both views, the two axes inside AttemptView, and the typed Operation→Attempt relation, without loss and without ever requiring a fabricated attempt for an operation-only state.
No variant may be flattened to boolean success/failure (ESIC §19 two-channel law: mechanism outcome ≠ semantic conclusion; a CLI/runtime aggregate status is a report over this structure, not a replacement for it).
P3. Machine projection: rev-1-style typed coordinates; every P2 outcome class must be mechanically representable, and BOTH §6-AX axes (authorization standing × operational outcome) must be mechanically representable independently — the machine schema may not merge standing into outcome or outcome into standing; the §6 AS reason inside NOT_ESTABLISHED (INSUFFICIENT vs CONFLICTING) is recoverable through the same schema when material (V6-1 — projection obligation, layout free); the machine schema must likewise preserve the P2 VIEW partition (V5-2): operation-level results and attempt-level standing/outcome are distinguishable by typed relation, and an operation-only state (attempts = 0) is representable without any AttemptView or synthetic standing; rev-0 frozen behavior untouched (precedent: B6 T2 / machine schema law).
P4. Accountability: the route mints/persists the carriers of §14 so that the P2 result is reconstructible afterward (SC-D10); nothing is memory-only.
P5. Honesty gate (product-doc obligation of C1-B): SUPPORT-LIMITATIONS /
user docs must state the ceiling exactly — which transports/families are
production-wired vs controlled-fixture vs sandbox; ControlledFixtureEffect != ProductionVendorEffect (e2e-controlled law) persists as a claim ceiling.
P6. EXECUTION LIFECYCLE SHAPE — CLOSED BY CONTRACT (owner finding 3; this is no longer an implementation freedom):
CORE EXECUTION CONTRACT = ASYNC-CAPABLE
The lifecycle the plane MUST admit, for every lawful dispatch:
- from the moment the dispatch/operation is ACCEPTED, the operation is addressable by a STABLE OPERATION REFERENCE (§14 N5 — the request/operation coordinates; NOT an attempt reference, which does not yet exist pre-invocation) that does not change across waiting, restart, polling, attempt creation, or late completion;
- a PRE-ATTEMPT operational state EXISTS, representable and queryable
(
PRE_EXPOSURE_PENDING): operation accepted/authorized, invocation has NOT begun, ZERO ExecutionAttempts exist — this is a known non-terminal, distinct from bothACCEPTED_PENDING(attempt exists with admitted in- progress acknowledgement) andOUTCOME_UNCERTAIN(exposure occurred or may have occurred without classifying evidence). The three classes NEVER collapse into one another; a worker merely being busy is notACCEPTED_PENDING; - an in-progress operational state EXISTS whenever an attempt exists with
admitted acknowledgement and completion is not yet terminal
(
ACCEPTED_PENDING) — NOT every provider necessarily produces an observable acknowledgement: when invocation began but reliable acknowledgement is absent, the state is §11 uncertainty, never orderly pending; - the terminal receipt/outcome may arrive LATER than the dispatch call returns, and is then recorded against the same stable OperationRef and the same attempt (§14, §AF);
- querying the stable OperationRef at ANY lifecycle point returns the distinguishing status of P2’s non-terminal list (pre-attempt window CLOSED) — never a fabricated terminal outcome, never a coerced failure (R3, U2), never a pre-attempt pending reported as uncertainty and vice-versa.
ACCEPTED_PENDING is a POSITIVE non-terminal operational state grounded in
admitted acknowledgement evidence. It is NOT OUTCOME_UNCERTAIN: uncertainty
means exposure may have occurred with NO classifying evidence (§11). Confusion
between them is a contract violation in either direction: pending must not be
reported as failure by elapsed time, and an unacknowledged post-exposure gap
must not be dressed up as orderly pending.
While an attempt exists — pending or uncertain — §12b resolve-before-retry governs: pending is a known non-terminal, so the request is settled only when terminal evidence arrives; a pending operation whose acknowledgement later proves unreliable/absent degrades to §11 uncertainty, never to “not applied”.
A SYNCHRONOUS product realization is permitted ONLY as a convenience facade over the SAME lifecycle:
sync call = dispatch, then wait on the same operation/attempt until a
terminal outcome becomes available
Sync is therefore NOT a second execution architecture, NOT a second outcome taxonomy, and NOT a separate carrier set: it observes the same records, mints the same identities, and yields the same P2 classes. A waiter timing out does not settle anything (U2); a terminal receipt arriving after the waiter gave up is recorded normally against the stable reference.
Delivery mechanism (immediate return + polling, callback, event notification, or blocking wait) is an implementation choice; none of these may alter the identities, the outcome semantics, or §AF attempt formation. This obligation is a PROTOCOL/LIFECYCLE obligation: it does NOT license or require a generic scheduler, a workflow engine, a mandatory broker, background semantic work, or any new semantic family (§3 non-scope unchanged; §22 hygiene unchanged).
17. Temporal roles (only where material)
T1. The following role timestamps must be individually recoverable when material (SLT §12; INV-TIME-01; ESIC §16): request time; intent-recorded time; dispatch-authorization time; exposure time (authorization consumption); attempt OCCURRENCE time (T_occurrence — when the invocation actually began, §6 AL; UNKNOWN when evidence establishes occurrence but not its instant); attempt RECORDING / carrier-identity-introduction time (T_recording — when the system first admitted the occurrence into representation); transport-evidence time; receipt recording time; reconciliation-open/resolution times; cancel-request/ack times; retry-authorization boundaries per attempt.
Terminology discipline (§6 AL / §6 AF / §14 N5 — mint-ambiguity sweep): “mint” attaches to IDENTITY INTRODUCTION at recording time; “occurrence” attaches to the SEMANTIC boundary at invocation beginning. For runtime-controlled invocations the two coincide; for late-admitted occurrences they do not, and the contract wording must never collapse them by calling the recording moment the birth of the occurrence.
T2. AttemptOccurrenceTime != AttemptRecordingTime and
ExecutionAttemptTime != ReceiptRecordingTime (SLT §12 literal). Later
recording never creates a later occurrence; unknown occurrence time stays
UNKNOWN, never substituted by recording time (§6 AL); one occurrence
admitted twice keeps ONE identity (§6 AL duplicate law).
T3. Time-of-check law for authority/currentness-sensitive actions follows the
request’s contract selection among the ESIC §33 classes
(AuthorizationAt{Decision,Request,ExecutionAttempt}Time / ThroughoutInterval);
the plane must carry the basis needed to honor the selected class (e.g.
temporal guard evidence at exposure eligibility). A convenient check time
never substitutes the semantic one (P3ConvenientCheckTime -/-> SemanticAuthorityTime).
T4. No timestamp may be introduced that carries no §T1/T3 role (charter: do not require clocks without meaning).
18. Hypothetical dependence
H1. A request motivated by an H keeps its hypothetical_dependence
(ScenarioContextId reference, live carrier) through dispatch and onto the
attempt/receipt accountability chain when material (INV-PROV-03; SLT §7.9:
HypotheticalMotivation != HypotheticalExecution).
H2. The dependence NEVER converts the request/attempt/receipt to hypothetical standing: an actual dispatch under motivation from H is actual (SLT §7.9). Conversely actual standing never launders the dependence away (INV-HYP-02).
H3. Hypothetical authority cannot authorize this plane: baseline/non- hypothetical owner authority is required at D1 (SLT §7.7; governance §605ff).
H4. Governance invalidity does not imply non-occurrence when an external system executes anyway (SLT §7.9 last line) — the actual invocation produces a REAL ExecutionAttempt occurrence with unauthorized standing (§AO/D3), represented as such, not by erasure and not by a non-attempt category.
19. Resource exhaustion / malformed / wrong-correlation / duplicate laws
(the “Q-law”: fail closed, preserve uncertainty, never fabricate)
Q1. Resource exhaustion: a mechanism-channel failure class. If proven
definitely pre-exposure, behaves as §12a; if not provably pre-exposure, the
attempt inherits OUTCOME_UNCERTAIN — never a silent “not executed”.
OUT_OF_GAS-style semantic budget outcomes remain separate (ESIC §19:
BudgetExhausted ≠ semantic OutOfGas).
Q2. Malformed provider response: RC4. The attempt’s exposure tracking survives independently.
Q3. Wrong correlation (receipt/permit/payload/target/fence/identity mismatch): fail-closed rejection, attempt state untouched (RC5, §14); a duplicate inbound delivery proves only duplication (inbox dedup); conflicting evidences coexist unadjudicated (INV-CONFLICT-01) until reconciliation. Same law on the authorization-standing axis (V6-1): conflicting admitted authorization evidence for the SAME authorization question is preserved unadjudicated — standing = NOT_ESTABLISHED(CONFLICTING_EVIDENCE), never LWW’d, never averaged, never defaulted — until an admitted reconciliation resolves it per §6 AS (the Q-law’s fail-closed/preserve-never-fabricate pattern applies identically to both epistemic axes).
Q4. Duplicate dispatch: prevented by the D1 chain properties — stale-worker/ concurrency exclusion + monotonic attempt numbering + single-use exposure authorization bound to the exact invocation + generation identity (laws; substrate today: lease exclusivity + fence monotonicity + permit CAS + generation, all live tested behavior). A detected duplicate attempt for the same generation/authorization is a corruption signal (§20), not a second legitimate attempt.
Q5. Persistence/corruption: any corruption or incompleteness of control
state is detected and rejected fail-closed; no silent repair, no default
fill, no skip (live corruption.rs law).
20. Durability and process boundary (where material)
DB1. The §9.2 lifecycle phases (intent → … → settle/reconcile) must be durable as reconstructible control facts across process restart within the recorded profile: “survives process termination; makes no power-loss claim” is the CURRENT honest ceiling (live persistence law); C1-B must not advertise above it.
DB2. Reopen restores control state fail-closed; restored uncertain attempts
remain uncertain (ReconciliationRequired survives restart; reopen NEVER
replays into a success/failed default — §11 U2, §12d replay law).
DB3. Crash between prepare and effect → OUTCOME_UNCERTAIN (REVISION §26.1 pattern adopted literally).
DB4. Writer exclusion: at most one active writer per operation control state
(law; substrate today: the live writer-token rule). Stale-worker exclusion
across process restart must be reconstructible (substrate today:
WorkerLeaseCas; WTT2-07 precedent) — the property is the obligation, the
lease-CAS is the current mechanism (§22 freedom).
DB5. Multi-process / distributed transaction requirements are OUT of this plane (charter forbidden list). Where an application needs them, it composes above this contract, owning its own law.
21. Mandatory histories (positive obligations — each must be
representable, witnessed, and never conflated)
H-1 request recorded; no dispatch; nothing attempted; cancel lawful
H-2 dispatch rejected before exposure (no chain / authority absent)
H-3 provider exposed; caller receives no acknowledgement; effect unresolved
(OUTCOME_UNCERTAIN, ReconciliationRequired survives restart)
H-4 request R, attempt A1 uncertain; blind retry FORBIDDEN (rejected typed)
H-5 A1 reconciled NOT_APPLIED → A2 is a new attempt over the same request
H-6 receipt success within boundary B; external effect NOT established
(same fixture where an over-claiming provider statement is capped)
H-7 actual unauthorized invocation IS an ExecutionAttempt (§AO): real
occurrence exists (§AF), identity introduced at recording (§AL),
standing unauthorized, never retroactively authorized, outcome axis
independent (§AX — see H-V4-1..3), never laundered by a later
successful provider response
H-8 cancel-before-dispatch → CANCELLED_NOT_EXPOSED (means: this route
never crossed E; EF wording; no attempt — §AF)
H-9 cancel racing completion → TERMINATED_UNKNOWN / EFFECT_UNKNOWN with
both evidences preserved and conflict unadjudicated
H-10 wrong-provider / wrong-attempt / wrong-generation receipt →
WRONG_CORRELATION rejected, attempt unsettled
H-11 malformed receipt after possible exposure → attempt still UNCERTAIN
H-12 duplicate delivery under admitted idempotency basis → APPLIED by
replay evidence; key collision across payloads → IDEMPOTENCY_KEY_MISMATCH
H-13 exhaustion definitely pre-exposure → safe retry, no attempt occurrence
H-14 exhaustion not provably pre-exposure → uncertainty, not "failed"
H-15 replay of a settled success (restart, rehydration) → no new attempt,
no new semantic occurrence
H-16 async lifecycle (P6): dispatch returns on the stable OperationRef in a
distinguishable non-terminal state (PRE_EXPOSURE_PENDING pre-invocation;
ACCEPTED_PENDING once an attempt exists with admitted ack); terminal
receipt arrives later; same operation, same attempt, same identities,
same P2 class as a synchronous realization of the same outcome; a
waiter timeout in between settles nothing
H-17 pre-invocation failure then lawful first dispatch (§AF): zero attempts
before; exactly one after; no phantom attempt in history
H-U1 request exists; provider invocation actually begins; dispatch
authority absent/invalid → ExecutionAttempt occurrence EXISTS (§AF),
authorization standing = unauthorized (§AO); historical occurrence
preserved forever; no retroactive authorization; outcome evaluated
normally on its own axis (§AX — v4: the v3 denial of an outcome class
to unauthorized attempts is withdrawn; e.g. UNAUTHORIZED ×
SUCCEEDED_WITHIN_BOUNDARY is the exact H-V4-1 state)
H-I1 operation accepted → stable OperationRef exists and is queryable →
query = PRE_EXPOSURE_PENDING → zero ExecutionAttempt (H-I1 is the
discriminating witness that pending-before-attempt ≠ attempt-pending)
H-I2 same OperationRef; invocation begins → Attempt A1 minted exactly once;
query now distinguishes the in-progress attempt through the SAME
OperationRef (reference unchanged across attempt creation)
H-I3 OperationRef exists; provider invocation never begins; pre-exposure
failure → zero attempts; the operation history preserves the accepted-
then-failed lifecycle without inventing an attempt
H-I4 same request/operation lifecycle: first dispatch never invoked; lawful
retry; first actual invocation mints A1 — the FIRST attempt, no
phantom A0 (dispatch-budget accounting only for the failed dispatch)
H-I5 invocation begins without valid authorization → A1 exists (§AF) with
unauthorized standing (§AO); a lawful receipt recorded against it (or
a later successful provider response) does NOT launder authorization
H-I6 retry after uncertain A1 reconciled not-applied-within-boundary →
A2 under the SAME OperationRef/Request relation; A1 preserved with
its own history (Request 1 → Operation 1 → Attempt 0..N, §14 N5)
H-I7 query aliasing witness: a surface that reports PRE_EXPOSURE_PENDING
as OUTCOME_UNCERTAIN, or ACCEPTED_PENDING as OUTCOME_UNCERTAIN, or
either pending as terminal/failure by elapsed time, fails the
non-collapse law (§16 P6)
H-V4-1 unauthorized invocation occurs → A1 occurrence exists (§AF);
authorization_standing = UNAUTHORIZED (§AO); admitted provider
response establishes operational outcome SUCCEEDED_WITHIN_BOUNDARY
under the normal §10 cap; authorization REMAINS UNAUTHORIZED forever
(§AX: outcome axis settled, standing axis untouched — neither axis
erases the other)
H-V4-2 unauthorized invocation occurs; acknowledgement lost →
authorization = UNAUTHORIZED; operational outcome = OUTCOME_UNCERTAIN
(U1 rules identical to an authorized attempt's; reconciliation
proceeds normally; standing never changes the evidence rules)
H-V4-3 unauthorized invocation occurs; mechanism fails post-begin →
authorization = UNAUTHORIZED; outcome = MECHANISM_FAILED(class);
Unauthorized -/-> Failed is witnessed by the two distinct values
H-V4-4 unlinked attempt: real invocation independently observed →
ExecutionAttempt A1 exists; request correlation = UNKNOWN; operation
correlation = UNKNOWN; NO fabricated request/operation edge (§9.1
reuse law: the carrier realization must represent this honestly,
evolving the field topology if needed); later admitted evidence may
establish edges WITHOUT replacing A1 (§14 N4, §6 AL)
H-V4-5 correlation remains unknown: A1 exists historically; no admissible
request/operation evidence ever arrives → correlation remains UNKNOWN
forever; A1 remains historically representable; UNKNOWN is preserved,
never converted to absent, never laundered by inventing a request
H-V4-6 late discovery: external invocation occurred at T1; system first
admits evidence at T2 (T2 > T1) → ONE attempt occurrence at T1;
ONE carrier identity introduced at T2; occurrence_time = T1;
NO second occurrence, NO later-attempt re-dating (§6 AL)
H-V4-7 occurrence time unknown: evidence establishes the invocation
occurred but not exactly when → attempt exists; occurrence_time =
UNKNOWN; recording_time = known T2; T2 is NEVER substituted for the
occurrence time (§6 AL; UNKNOWN != absent)
H-V5-1 missing authorization evidence: attempt A1 exists (invocation
real); authorization evidence unavailable/inconclusive in BOTH
directions → standing = NOT_ESTABLISHED; NOT UNAUTHORIZED (§6 AS;
LackOfAuthorizationEvidence -/-> Unauthorized); outcome classified
independently on its own axis
H-V5-2 later authority proof: A1 standing = NOT_ESTABLISHED; later
admitted evidence proves the complete chain valid at the relevant
authorization time → standing = AUTHORIZED; SAME A1 identity, SAME
occurrence, SAME occurrence time, SAME operational outcome (§6 AS
update law — epistemic discovery, not retroactive authorization;
INV-NORM-01 intact)
H-V5-3 later unauthorized proof: A1 standing = NOT_ESTABLISHED; later
admitted evidence proves the required authority was absent/invalid
at the relevant time → standing = UNAUTHORIZED; same A1, same
occurrence, same outcome (mirror of H-V5-2; the two updates show
NOT_ESTABLISHED refines ONLY toward an evidenced value)
H-V5-4 operation with zero attempts: request → operation; provider not
realizable before any invocation → OperationView result =
NOT_REALIZABLE; attempts = 0; NO AttemptView exists and NO
AttemptAuthorizationStanding is invented or required (§16 P2 V5-2)
H-V5-5 rejected dispatch: operation exists; dispatch rejected
pre-invocation → operation result = DISPATCH_REJECTED; attempts = 0;
no synthetic AttemptView, no standing attached (§16 P2 applicability)
H-V5-6 attempt appears later: operation PRE_EXPOSURE_PENDING with zero
attempts → invocation begins → A1 exists → an AttemptView NOW
exists for the first time; its standing is classified independently
(§6 AS) and its outcome independently (§6 AX/§11) — the operation-
level view and the new attempt-level view coexist under one
OperationRef
H-V6-1 valid then conflicting: A1 standing = AUTHORIZED; later admitted
evidence materially supports UNAUTHORIZED for the SAME
authorization question (§AS-same-question) → standing =
NOT_ESTABLISHED(CONFLICTING_EVIDENCE); BOTH evidence sets remain
in the history (evidence history monotonic — nothing deleted);
no LWW; identity/occurrence/times/outcome unchanged (outcome keeps
whatever §10/§11 admits — conflict is NOT OUTCOME_UNCERTAIN)
H-V6-2 invalid then conflicting: A1 standing = UNAUTHORIZED; later
admitted evidence materially supports AUTHORIZED for the same
question → standing = NOT_ESTABLISHED(CONFLICTING_EVIDENCE);
both evidence sets preserved (mirror of H-V6-1; neither direction
is privileged)
H-V6-3 conflict resolved authorized: standing =
NOT_ESTABLISHED(CONFLICTING_EVIDENCE); admitted reconciliation
(per §12b/§19/§20 reconciliation laws, basis recorded, all
evidence kept) establishes the authority WAS valid at T_auth →
standing = AUTHORIZED; the conflict evidence remains HISTORICAL
(never erased); the conclusion means "valid THEN, now
established" — NOT retroactive authorization (INV-NORM-01)
H-V6-4 conflict resolved unauthorized: same resolution path;
reconciliation establishes invalid/absent authority at the
relevant time → standing = UNAUTHORIZED; historical evidence
preserved; identity/occurrence/outcome unchanged
H-V6-5 conflict unresolved: conflicting evidence persists and no
lawful reconciliation basis exists → standing REMAINS
NOT_ESTABLISHED(CONFLICTING_EVIDENCE) indefinitely (durable
honest standing; forcing it terminal — either way — to clean up
a projection is a violation; it is a defined epistemic state,
not a contract-UNKNOWN gap)
H-V6-6 unrelated evidence: E1 answers the authorization question for
time T1/scope S1; E2 concerns T2/scope S2 (or a different
authority relation/coordinates) → NOT automatically conflicting:
standing is classified per authorization question; fabricating a
conflict from non-identical questions is a violation; sameness of
question is decided ONLY by the closed identity/time/scope laws
(§AS-same-question; §14/§17), never by similarity heuristics
(Hostile suite of 03 §Mandatory-histories and BLOCK-C-ORIGINAL C1.10 fully
covered: provider-unavailable → H-2/H-13/H-14; timeout with late execution →
H-3/H-4; success with lost receipt → H-3/H-15; duplicated external action →
H-4/H-12; over-strong guarantee claim → H-6; the rest map directly.)
22. Relationship to existing carriers — reuse register (v2; role
ownership is law, mechanism choice is substrate preference)
ROLE-OWNERSHIP LAW (a second machinery for a ROLE is a contract violation):
semantic carriers (Request/Attempt/Receipt/Record/Effect/AdapterReceipt/
ActionJournal + minted identities) → crates/action (authority-
derived carriers, §2/§5; ROLES + minting authority are law and MUST be
reused; current FIELD TOPOLOGY is not frozen — §9.1 REUSE LAW V4-2,
minimal carrier evolution permitted where the contract requires it)
realization selection / assurance / → crates/realization Binder
currentness law
provider registration/designation identity → crates/provider sdk registry
(canonical; no second registry)
transport request-response dispositions → crates/transport
durable control facts, exposure → THE MECHANISM PLANE OF THIS
authorization, stale-worker exclusion, CONTRACT (§§6–9, 11–13, 19–20):
retry authorization, reconciliation one owner for the mechanism
record, restart-durable control state roles; realization preferred,
not frozen (§9.1)
machine/CLI product-surface pattern → rev-1 protocol pattern (B6)
application state commits / storage receipt → application-state + storage
discipline law (C1 consumes)
PREFERRED REUSE CANDIDATES (current productive realization of the mechanism roles — reuse whenever they satisfy the contract without distortion; C1-B MAY refactor, join, consolidate or replace their INTERNALS provided every §6–§21 law reconstructs):
crates/durable-operation — coordinator chain (intent/queue/lease/fence/
permits/retry/reconciliation/persistence/reopen/corruption)
crates/effect-adapter — prepare→claim→expose + CAS-bound exposure + registry
convergence (ProviderRegistrationId canonical)
crates/transport (request-response family) + time + trust — ports
Two implementation facts recorded for C1-B’s informed reuse decision (they are facts, not laws; the governing laws are D5 and §12a):
- the current tree carries TWO
ExposurePermit-class objects on unjoined paths (coordinator-mintedpermit.rs:36and CAS-boundeffect-adapter/adapter.rs:194, no Cargo dependency between the planes); whichever topology C1-B chooses must make the D5 complete-chain property reconstructible at exposure (row 31). - retry/exclusion law is duplicated today in three incompatible attempt/ identity systems (action, scenario_materialization, DOC, plus runtime-homonym); C1-B reuses only the §4/§14 semantic-plane carriers and one mechanism realization; D2a bars the other planes’ identities from this plane’s edges.
MUST NOT (evidence, never architecture):
VALVE_1 topology; single hardcoded adapter; in-process loopback as the
production ceiling; demo-local causal() label minting.
MUST NOT (prohibited invention):
new queue/broker/workflow engine (the P6 obligation is protocol/lifecycle,
not infrastructure); a second semantic family; a second owner for any
ROLE-OWNERSHIP row above (e.g. a second ActionJournal, or a second
parallel mechanism-plane control owner beside the reused one — one owner,
possibly refactored, never two competing); new human syntax; a
"do-anything execution host" bypassing §§6–13; any
ExecutionSuccess→Effect conversion.
CENSUS HYGIENE (live wiring gaps recorded for C1-B; these close as
obligations against the REUSED realization, NOT as second mechanisms):
(a) crates/durable-operation declares a formasl-storage dependency it
never imports (persistence uses std::fs directly) — the §20 DB1 profile law
must execute through the canonical storage plane or the dependency be
consciously scoped out; (b) the coordinator exposes NO cancel entry while
Cancelled transitions exist — §13 makes the cancel route mandatory on
whichever realization carries the mechanism roles; (c) the inbox-dedup
carrier has no productive writer — §12d/I2 make dedup real where delivery
retry exists; (d) failure variants RetryBudgetExhausted /
AdapterOutcomePoisoned / TemporalGuardViolated exist with no enforcement
site — §12e (retry budget is an owner-declared parameter, per §23) and §19
Q1/Q2 make their enforcement mandatory where the corresponding law is
exercised.
The obligations each reused element realizes: durable-operation → §6/§7/§9.2/§12/§13/§20 control laws; effect-adapter → §6 R3 monotonicity + D4 frozen-resolution + D5 exact-invocation binding; action carriers → §4/§5/§14 semantic plane; realization → §8/§10 RC3/§12a(a); transport → §6 exposure dispositions + §16 P6 late-completion arrival; provider-sdk registry convergence → §8 exact-selection + no-second-registry; machine rev-1 → §16 P3.
Why unreused candidates are not the productive owner: harness-* are
application-owned layers over this plane (their laws are preserved by
consistency, §9.1); crates/publication/lifecycle::revision own the source
publication route — structurally analogous (used as the pattern authority of
§12b) but a different boundary; demos/* and crates/e2e-controlled are
witness environments; crates/mrs-fixture is fixture support.
23. Implementation freedom (explicit)
The implementer (C1-B, after ratification) may choose — all semantically equivalent under this contract:
- module/crate decomposition and which existing crate hosts the public route;
- names of the Rust operations and JSON field labels (subject to P3 rev-1 typed-coordinate law);
- how the semantic↔mechanism correlation edges are stored (sidecar records, journal extension, or durable maps) provided §14 N3 answerability holds without heuristics;
- the internal mechanism topology realizing the §9.2 control phases: state sequence vs append-only control ledger; two permit objects vs one joined exposure authorization vs another binding device; generation counters vs monotonic sequence records — provided D1’s property lines, D5’s complete- chain law and §14 answerability reconstruct exactly (§22);
- queue/lease/fence internals: C1-B MAY implement, replace, or omit a queue where an operation is dispatched directly by the owner (the D1 eligibility + stale-worker-exclusion + exact-binding PROPERTIES must still hold); MAY use any lawful stale-worker mechanism (lease-CAS today); MAY re-shape persistence behind the §20 profile law;
- synchronous vs asynchronous PRODUCT CALL SHAPE — NOT an outcome-semantics choice: both must be the same §16-P6 lifecycle (sync = blocking wait facade on the stable reference); the choice of facade per public operation is surface design, while the lifecycle, pending state, identities and P2 classes are fixed;
- error plumbing, serialization mechanics, collections, builders, internal algorithms, retry-policy parameters (per-application budgets remain application policy above this plane);
- test organization; witness harness layout; reuse of existing DOC persistence profile or addition of a stronger one (claim ceiling honesty per DB1 applies to whatever is shipped).
The implementer MUST NOT choose: anything in §5–§21 laws; the taxonomy classes of P2 (naming of code variants may differ; the distinctions may not); the caps; the firewall; the identity edges; the pre/post exposure boundary; whether uncertainty blocks retry; whether an attempt may exist before invocation begins (§AF — it may not); the lifecycle shape (§16 P6 — async-capable core, sync only as wait facade); whether authorization standing and operational outcome are orthogonal axes (§6 AX — they are; encoding UNAUTHORIZED as an outcome-exclusive variant violates P2); whether UNKNOWN correlation is representable without a fabricated edge (§14 N4/§9.1 — it is; fabricating a request id to satisfy the current carrier shape violates the contract); whether occurrence time and recording time are distinct roles (§6 AL — they are; substituting T_recording for T_occurrence, or minting a second attempt for a re-admitted occurrence, violates the contract); whether the three authorization standings are disjoint (§6 AS V5-1 — they are; defaulting missing evidence to UNAUTHORIZED violates the trichotomy); whether operation-level results may be projected as attempt-level views (§16 P2 V5-2 — they may not; zero-attempt states carry no AttemptView and no standing). Conversely, the carrier FIELD TOPOLOGY (how the unlinked attempt is represented: Option, sidecar, relation table, journal edge — any of these) is exactly what the implementer MAY choose, evolving the current shape minimally as needed (§9.1 reuse law).
24. Forbidden architectural shortcuts
- making execution_request itself dispatch/execute (P1; C1.10 exit rule:
"recording is not dispatch" remains TRUE of the request surface);
- an implicit auto-dispatch on binding, on authorization judgment, or on
composition reaching an action step;
- boolean (ok/err) public flattening of §16;
- reporting ACCEPTED_PENDING as OUTCOME_UNCERTAIN or as failure, or dressing
an unacknowledged post-exposure gap as orderly pending (§16 P6 — the two
states have different evidence conditions);
- minting an ExecutionAttempt for a dispatch/preparation/authorization
failure that never began an invocation (§AF phantom attempt);
- treating a request-carried idempotency key as an external idempotency
guarantee (§12a I2);
- demoting an unauthorized actual invocation to a "non-attempt physical
occurrence" category, or erasing/un-minting it from attempt history
(§AO — it IS an ExecutionAttempt; only its standing differs);
- making attempt identity part of the stable pre-attempt reference, or
pre-minting attempts to give pending operations an attempt-shaped id
(§14 N5 — OperationRef != AttemptRef; prepared tokens carry no attempt
standing);
- flattening PRE_EXPOSURE_PENDING / ACCEPTED_PENDING / OUTCOME_UNCERTAIN
into one "pending" or into uncertainty, or timing a pending operation
into failure (§16 P6);
- encoding UNAUTHORIZED as an operational-outcome enum variant mutually
exclusive with SUCCEEDED/UNCERTAIN/FAILED, or erasing an unauthorized
attempt's outcome because its standing is unauthorized (§6 AX —
standing × outcome are orthogonal; both axes must be preserved
losslessly on the public/machine surface);
- fabricating a request/operation correlation edge (inventing an id, a
placeholder request, or a self-correlation) to satisfy the CURRENT
carrier field topology (§9.1/§14 N4 — the honest representation is
correlation UNKNOWN; the carrier evolves, the edge never gets invented);
- creating a second unauthorized-attempt type, non-attempt category, or
parallel carrier family instead of evolving the action realization
minimally (§22 role-ownership);
- recording-time substitution: writing T_recording as the attempt's
occurrence time, re-dating a late-discovered occurrence to its
admission moment, or treating a runtime-controlled coincidence of the
two planes as a general identity (§6 AL);
- minting a second ExecutionAttempt because one occurrence was admitted
twice (reobservation/re-import/reconciliation), or silently merging
two records whose same-ness is not provable (§6 AL duplicate law);
- classifying inconclusive/absent authorization evidence as UNAUTHORIZED
(or letting timeout or continued absence settle the standing axis in
any direction): absence-of-evidence is NOT_ESTABLISHED, evidence-of-
absence is UNAUTHORIZED — the two standings never substitute (§6 AS,
rows 67/68);
- resolving a genuine same-question authorization-evidence CONFLICT by
any precedence default — newest-wins/LWW, provider-wins, owner-record-
wins, machine-record-wins, first-evidence-wins, majority-wins — or by
deleting/overwriting either evidence set; resolution is by ADMITTED
reconciliation with recorded basis only, and an unresolved conflict
stays NOT_ESTABLISHED(CONFLICTING_EVIDENCE) for as long as needed
(§6 AS V6-1; rows 80–88); likewise forbidden: hiding a real conflict
by keeping a determinate standing, erasing the conflict REASON by
folding it into INSUFFICIENT, or letting the conflict contaminate the
operational-outcome axis (rows 79/83/84);
- projecting an operation-level pre-attempt result (NOT_REALIZABLE,
DISPATCH_REJECTED, CANCELLED_NOT_EXPOSED, PRE_EXPOSURE_PENDING, zero-
attempt terminal aggregation) through a synthesized AttemptView or with
any attached AttemptAuthorizationStanding; conversely encoding the P2
partition so that every result must be an attempt outcome (§16 P2 V5-2,
rows 73–77) — layout is free, the applicability partition is not;
- any wording, projection, or user-facing claim that reads a route-local
pre-exposure fact or NOT_APPLIED as global external-world non-occurrence
(§11 EF);
- a second outcome taxonomy or second lifecycle for the synchronous facade
(§16 P6 — sync waits on THE same operation/attempt records);
- timeout → failure; silence → failure; restart → success; retry → same
attempt id; cancel → not-executed; provider-200 → effect;
- provider over-claim silently honored or silently dropped (RC3);
- fallback/substitution without SubstitutionRecord + monotone envelope;
- inferring idempotency from storage-key dedup;
- a universal "operation id" replacing the §14 edge system;
- minting EffectRecord without CausalBasisRef, or adding any conversion
path from receipt states toward effect carriers;
- treating a demo/fixture ceiling (loopback, sandbox, controlled fixture)
as the production claim (P5);
- letting mechanism control states carry or imply semantic standing;
- reopening Block-B frozen semantics to make C1 convenient (none required;
none used).
25. Migration / backward-compatibility
- No existing behavior changes meaning:
execution_requeststays RecordedOnly;observestays C2 territory; publication law untouched. C1 is purely additive at the product surface. - Existing consumers of the honest ceiling text (
docs/user/SUPPORT- LIMITATIONS.md, execution frontier rows) must be re-accredited by C1-B to state the new route + its ceiling (§16 P5), preserving the non-collapse sentences verbatim. - harness-floor / harness-record / forma-agent keep their current semantics; C1-B may route them above the new product path only in a behavior- preserving way (their witnesses are regression gates).
- DOC/MRS re-registration is CLOSED as a non-question (R-D1, §28) — no governance action is implied there; the only governance action on ratification is the R-D2 promotion (§28).
- Post-P9 contract tree topics T01–T29 carry no execution-plane contract; nothing there must be edited by C1 (frozen tree, known debt registered separately).
26. Adversarial acceptance matrix (C1-B exit-gate witnesses; each row is
falsifiable, typed, and STATEMENT-TOPOLOGY-FREE — rows specify observable required behavior, never which mechanism object must produce it)
# | attack | required observation
--+-----------------------------------------+--------------------------------
1 | request without any provider | NOT_REALIZABLE; no dispatch
| | authorization; zero attempts
2 | request with ambiguous provider set | fail-closed; no representative
3 | capability revision mismatch | RealizationRejection at binding;
| | dispatch never attempted
4 | capability currentness expired | rejected pre-dispatch (S4)
5 | dispatch attempted without owner | DISPATCH_REJECTED; action plane
| authority (bare Granted / binding only) | shows Request only
6 | control chain broken mid-way (missing | exposure authorization cannot
| exclusion / missing evidence line) | be issued (D1 fail-closed)
7 | exposure authorized, provider | definitely-not-exposed evidence
| unreachable pre-exposure | → NOT_APPLIED, safe §12a retry,
| | NO attempt (§AF)
8 | provider accepts, caller times out | OUTCOME_UNCERTAIN; retry block
9 | reply lost, effect actually happened | uncertainty + H-3; reconcilable
| | only via admitted evidence
10| blind retry after uncertainty | typed rejection; control state
| | stays reconciliation-required
11| same request, two lawful attempts | A1≠A2 ids; one request id
12| replay/rehydration of settled success | no new attempt/occurrence
13| duplicate inbound delivery | dedup evidence only
14| receipt for wrong attempt / generation | WRONG_CORRELATION rejected
15| receipt from wrong provider identity | rejected (edge mismatch)
16| idempotency claim without admitted | claim not admitted (§12a I2);
| (a)-(d) enforcement/attestation basis | retry via §12b path only
17| idempotency key collision (payloads | IDEMPOTENCY_KEY_MISMATCH
| differ) |
18| malformed receipt pre-exposure vs post | Q2: attempt state independent
19| cancel before dispatch | CANCELLED_NOT_EXPOSED (means:
| | this path never crossed E;
| | NO attempt)
20| cancel during execution | ack ≠ stop; phases distinct
21| cancel races completion | TERMINATED_UNKNOWN +
| | both evidences; conflict kept
22| provider claims "effect confirmed" | capped statement; no Effect
23| process restart mid-uncertain attempt | uncertainty survives reopen
24| corrupted control record on reopen | fail-closed (Q5)
25| unauthorized actual invocation | H-7/H-U1/H-V4-1..3: a REAL
| | ExecutionAttempt occurrence
| | exists (§AF) with
| | authorization_standing =
| | UNAUTHORIZED (§AO; the
| | system's own control records
| | are admitted absence-evidence
| | — if evidence were merely
| | unavailable, standing =
| | NOT_ESTABLISHED per §6 AS,
| | row 67); its
| | operational outcome is
| | evaluated normally under
| | §10/§11 (§AX): UNAUTHORIZED ×
| | SUCCEEDED/UNCERTAIN/FAILED all
| | representable; no retroactive
| | authority; not a non-attempt
26| exhaustion unprovable-side | H-14 uncertainty
27| post-authorization rebinding attempt | structurally impossible (D4/D5)
28| reuse of a consumed exposure | single-use violation rejected
| authorization for a second invocation | fail-closed
29| stale worker acts after exclusion | exclusion rejects (mechanism
| transfer | free: fence/lease/CAS/ledger)
30| public status projected as bool | P2 violation — hostile witness
31| HALF-AUTHORIZED EXPOSURE: invocation | D5 lawful-exposure law + §AO/
| crosses E while any D1 property line | §AS: the attempt OCCURRENCE
| lacks reconstructible evidence (any | exists; standing per AS —
| internal permit topology) | UNAUTHORIZED when admitted
| | evidence (incl. this plane's
| | records) proves absence/
| | invalidity, NOT_ESTABLISHED
| | when evidence inconclusive;
| | its outcome settles normally
| | under §10/§11 (§AX); standing
| | never laundered by any outcome
32| runtime::ExecutionAttempt or | D2a homonym law: never joins
| materialization attempt ids imported | this plane's edges or surface
| into C1 correlation edges |
33| dispatch returns immediately; terminal | P6: stable OperationRef
| receipt arrives later (async) | queryable throughout;
| | PRE_EXPOSURE_PENDING before
| | invocation / ACCEPTED_PENDING
| | after ack; later receipt same
| | attempt/ids
34| sync facade over the same outcome | same records, same P2 class,
| | no second lifecycle (§16 P6)
35| restart between pending and receipt | pending/uncertain survives;
| | late receipt settles the SAME
| | attempt (DB2, P6)
36| two queries of the same stable | consistent non-terminal status;
| reference while pending | no double-observation of a
| | settled state as two attempts
37| waiter timeout, receipt arrives late | timeout settles nothing (U2);
| | late receipt recorded normally
38| request carries key; provider declares | no guarantee admitted (§12a
| nothing | I2); retry cannot settle by
| | replay; uncertainty rules apply
39| provider declares guarantee; key domain | guarantee not in force for
| mismatched | this key → unadmitted (I3)
40| mechanism dedup present, target NOT | delivery dedup only; external
| idempotent; duplicate delivery | repetition NOT excluded (I2)
41| replay proof valid, same key+payload | APPLIED settle admissible
| under admitted basis | under admitted (a)-(d) basis
42| preparation failure (pre-invocation) | NO attempt occurrence (§AF);
| | first later lawful invocation =
| | attempt #1, no phantom history
43| provider unavailable before invocation | definite route-scoped pre-E
| | failure; no attempt; safe
| | retry same request/operation
44| authorization revoked before invocation | pre-E rejection; no attempt;
| | post-authorization revocation
| | across E impossible (D4)
45| invocation begins, connection drops | attempt EXISTS; no ack
| immediately | evidence → OUTCOME_UNCERTAIN
46| malformed response after invocation | attempt exists; malformed
| began | classification never erases
| | exposure (§11 U-laws, RC4)
47| stable OperationRef queried before | H-I1: query returns
| any invocation begins | PRE_EXPOSURE_PENDING; zero
| | ExecutionAttempt observable;
| | no attempt-shaped id required
48| pre-attempt pending pressure: worker | PRE_EXPOSURE_PENDING never
| internally busy but invocation not | minted/misreported as an
| begun | attempt; busy-worker ≠
| | ACCEPTED_PENDING (§16 P6)
49| invocation begins | exactly ONE attempt
| | OCCURRENCE (§AF); identity
| | introduced once at first
| | admissible recording (§AL);
| | OperationRef unchanged
| | (H-I2)
50| unauthorized invocation + successful | H-U1/H-V4-1: attempt exists
| provider response afterward | (occurrence real); outcome
| | axis = SUCCEEDED_WITHIN_
| | BOUNDARY; standing axis stays
| | UNAUTHORIZED (§AX) — provider
| | success never launders
| | authorization (INV-NORM-01);
| | success is NOT laundered away
| | either: Unauthorized -/->
| | Failed
51| prepared generation/fence/invocation | §14 N5: token rejected as
| token presented where an attempt id | attempt identity; mechanism
| is required | coordinate only; pre-minting
| | attempts is a violation
52| OperationRef survives A1..A2 with | H-I6: same reference across
| distinct attempt ids; A1 preserved | attempts; attempt identities
| | distinct; no universal id
53| retry after pre-attempt failure | H-I4: first ACTUAL
| | invocation mints A1; no A0;
| | same request/operation
54| retry after uncertain A1 reconciled | §12b: A2 NEW attempt under
| not-applied-within-boundary | same operation; A1 history
| | intact
55| query aliases PRE_EXPOSURE_PENDING → | H-I7: rejection — the two
| OUTCOME_UNCERTAIN | pending classes and
| | uncertainty are pairwise
| | distinct (§16 P6)
56| query aliases ACCEPTED_PENDING → | H-I7: rejection; unacked
| OUTCOME_UNCERTAIN (or reverse: gap → | post-exposure gap is
| orderly pending dressing) | uncertainty, never pending
57| CANCELLED_NOT_EXPOSED / pre-E failure / | §11 EF: every statement
| NOT_APPLIED projected anywhere as | route-scoped or boundary-
| "no external effect happened" (global | scoped; a global-reading
| reading, incl. user-facing text) | projection is a violation
58| NOT_APPLIED without admitted within- | Q-law fail-closed: the
| boundary basis class requires admitted
| | evidence within the
| | declared boundary (EF)
59| unauthorized attempt + timeout / | H-V4-2/H-V4-3: standing axis
| mechanism failure after begin | UNAUTHORIZED (§AO); outcome
| | axis OUTCOME_UNCERTAIN or
| | MECHANISM_FAILED (§AX) — the
| | two axes carry independent
| | values; reconciliation applies
| | normally to the uncertain one
60| code encodes "unauthorized" as an | §16 P2 two-axis violation:
| outcome enum variant mutually exclusive | UNAUTHORIZED is standing, not
| with SUCCEEDED/UNCERTAIN/FAILED | outcome; the surface must
| | project standing × outcome
| | without loss (§6 AX)
61| unlinked real attempt presented where | §9.1 reuse law + §14 N4 +
| the carrier requires a request edge | §6 AL: the attempt exists
| | with correlation UNKNOWN
| | honestly; FABRICATING a
| | request id to satisfy the
| | current field topology is a
| | violation; a second
| | unauthorized-attempt type is
| | a violation; minimal carrier
| | evolution is REQUIRED
62| later evidence correlates an existing | §14 N4/§6 AL: edges attach to
| unlinked attempt | the SAME attempt identity;
| | identity and occurrence time
| | unchanged; no re-mint
63| no later evidence ever correlates A1 | H-V4-5: correlation remains
| | UNKNOWN forever; A1 stays
| | historically representable;
| | UNKNOWN never converted to
| | absent (INV-EPISTEMIC-01)
64| invocation occurred at T1, system first | H-V4-6 (§6 AL): ONE
| admits evidence at T2 > T1 | occurrence at T1; ONE carrier
| | identity introduced at T2;
| | occurrence_time = T1; no
| | later occurrence created; a
| | second admission of the same
| | occurrence references the
| | SAME identity — never two
| | attempts; unprovable
| | same-ness is kept ambiguous,
| | never silently merged
65| evidence proves occurrence but not its | H-V4-7 (§6 AL): attempt
| instant; implementation substitutes T2 | exists; occurrence_time =
| (recording) for occurrence_time | UNKNOWN; substituting
| | recording time is a violation
| | (UNKNOWN != absent != T2)
66| pre-minted attempt id before invocation,| §AF/§AL discrimination: LATE
| or one real occurrence admitted twice | REPRESENTATION of a past
| minted as two attempts | occurrence is lawful;
| | PRE-MINTING of a future one
| | is forbidden (N5); duplicate
| | admission of one occurrence
| | minting two attempts violates
| | §6 AL duplicate law
67| missing authorization evidence | H-V5-1: standing =
| classified as UNAUTHORIZED | NOT_ESTABLISHED; classifying
| | it UNAUTHORIZED is the v5
| | violation (evidence of lack
| | != lack of evidence, §6 AS)
68| NOT_ESTABLISHED silently defaulted to | §6 AS update law violation:
| UNAUTHORIZED after timeout | updates by ADMITTED EVIDENCE
| | only; timeout/silence/
| | continued absence settle
| | NOTHING (U2 pattern applied
| | to the standing axis)
69| provider success changes NOT_ESTABLISHED| §6 AX collapse: outcome never
| to AUTHORIZED | resolves standing; evidence
| | only (H-V5-2 shows the lawful
| | update path)
70| provider failure changes AUTHORIZED to | §6 AX collapse mirror:
| UNAUTHORIZED | failure never proves
| | absence-of-authority; the
| | D1-chain evidence alone
| | classifies standing
71| later valid-authority evidence updates | §6 AS violation: an update
| standing but mints/replaces the attempt | touches ONLY the standing
| identity or occurrence | axis; identity, occurrence,
| | T_occurrence, outcome are
| | unchanged (H-V5-2)
72| later invalid-authority evidence | §6 AX violation: standing
| rewrites the attempt outcome | updates never touch the
| | outcome axis (H-V5-3 mirror
| | of row 71)
73| NOT_REALIZABLE projected with a | §16 P2 V5-2 violation:
| synthetic AttemptView | attempts = 0; the result is
| | operation-level; fabricating
| | an attempt to project it is
| | a collapse (H-V5-4)
74| DISPATCH_REJECTED carrying an attempt | same violation:
| standing value | DISPATCH_REJECTED is an
| | operation-level pre-attempt
| | result; NO standing exists to
| | attach (H-V5-5)
75| CANCELLED_NOT_EXPOSED creating a | §AF zero-attempt law + V5-2:
| phantom attempt | cancellation pre-invocation
| | leaves attempts = 0; the
| | operation view carries the
| | result alone
76| every P2 result encoded as one | §16 P2 partition violation:
| flat AttemptOutcome enum | operation-level and attempt-
| | scoped classes share no
| | applicability domain; the
| | flat encoding forces
| | synthetic attempts (rows
| | 73–75) — layout otherwise
| | free
77| OperationView with attempts = 0 cannot | P2/P3 violation: honest zero-
| be represented | attempt projection is
| | mandatory surface behavior
| | (H-V5-4/5)
78| invocation begins after | H-V5-6: the AttemptView is
| PRE_EXPOSURE_PENDING and no AttemptView | introduced WITH the first
| is introduced | occurrence; standing (§AS)
| | and outcome (§AX) classified
| | from then on; before it, only
| | the operation view exists
79| AUTHORIZED + admitted genuine | V6-1 violation (H-V6-1):
| counter-evidence → remain AUTHORIZED | keeping AUTHORIZED hides the
| | conflict; honest derived
| | standing = NOT_ESTABLISHED
| | (CONFLICTING_EVIDENCE)
80| AUTHORIZED + counter-evidence → switch | V6-1 violation: that is LWW
| directly to UNAUTHORIZED by | — forbidden (row 68 pattern);
| latest-write | H-V6-1 is the only answer
81| UNAUTHORIZED + counter-evidence → | V6-1 violation mirror
| switch directly to AUTHORIZED | (H-V6-2): no side is
| | privileged; CONFLICTING
82| conflict mapped to UNAUTHORIZED by | §6 AS: ConflictingEvidence
| default | -/-> Unauthorized; the
| | honest standing is
| | NOT_ESTABLISHED
| | (CONFLICTING_EVIDENCE)
83| conflict mapped to NOT_ESTABLISHED | §6 AS V6-1: the REASON is
| with reason lost / collapsed to | semantic when material;
| INSUFFICIENT | collapsing loses the
| | distinction Insufficient !=
| | Conflicting (P2/P3
| | recoverability obligation)
84| conflict changes attempt outcome to | §6 AX V6-1 violation:
| OUTCOME_UNCERTAIN | AuthorizationConflict -/->
| | OUTCOME_UNCERTAIN; outcome
| | settles solely by §10/§11
| | (H-V6-1 × SUCCEEDED is
| | lawful)
85| conflict changes attempt identity / | §6 AS V6-1 violation:
| occurrence / correlation | StandingChange -/->
| | AttemptMutation; the same A1
| | carries the less-determinate
| | standing (H-V6-1/3/4)
86| reconciliation resolves conflict by | §6 AS V6-1 violation:
| DELETING the losing evidence | StandingChange -/->
| | EvidenceDeletion; all
| | evidence preserved, basis
| | recorded (H-V6-3/4)
87| reconciliation resolves by timestamp / | §6 AS V6-1 violation:
| provider / owner-record / machine- | newest/provider/owner-record/
| record / first-evidence / majority | machine-record/first-
| precedence with no admitted basis | evidence/majority precedence
| | all FORBIDDEN absent a live
| | authority stating exactly
| | that rule (none does);
| | resolution requires an
| | admitted conclusion
| | (H-V6-3/4)
88| unresolved conflict forced terminal | H-V6-5 violation: durable
| (AUTHORIZED or UNAUTHORIZED "clean-up") | NOT_ESTABLISHED(CONFLICTING)
| | is an honest preserved
| | state; forcing it is the
| | row-68 pattern again
89| evidence about different times/scopes | H-V6-6 violation:
| fabricated into a conflict | §AS-same-question decided
| | by closed identity/time/scope
| | laws; a fabricated conflict
| | degrades real AUTHORIZED/
| | UNAUTHORIZED standings
90| genuine same-question conflict | THE contractual answer
| represented as NOT_ESTABLISHED | (H-V6-1/2): lawful,
| (CONFLICTING_EVIDENCE), reason | distinguishable from
| recoverable, outcome axis untouched | INSUFFICIENT via the P2/P3
| | reason; reconciliation path
| | stays open (§12b/§19/§20)
27. Architecture Closure Audit (ratification witness)
A1 WHAT/meaning unresolved? NO — roles (§4), occurrence law (§6 AF),
occurrence/authorization separation (§6 AO) with the authorization
axis a PAIRWISE-DISJOINT trichotomy (§6 AS V5-1: AUTHORIZED =
admitted evidence the complete chain was valid at the relevant time
with no unresolved defeating counter-evidence; UNAUTHORIZED = admitted
evidence it was absent/denied/invalid/revoked/expired, likewise;
NOT_ESTABLISHED = no unique current conclusion, with the REASON
discriminated INSUFFICIENT_EVIDENCE vs CONFLICTING_EVIDENCE — still
exactly THREE standings, reason never a fourth value;
LackOfAuthorizationEvidence -/-> Unauthorized; ConflictingEvidence
-/-> Unauthorized / Authorized; Insufficient != Conflicting),
standing/outcome orthogonality (§6 AX: standing values are never
outcome classes; AuthorizationConflict -/-> OUTCOME_UNCERTAIN; every
standing × ATTEMPT-SCOPED outcome combination representable), view
applicability (§16 P2 V5-2: OperationView always, AttemptView only
when an attempt exists), occurrence/recording separation (§6 AL:
T_occurrence vs T_recording; late discovery is late REPRESENTATION,
never a new occurrence), receipt semantics (§10), effect firewall
(§15), scoped-effect meaning (§11 EF), uncertainty (§11), three
non-terminal classes (§16 P6), key vs guarantee (§12a) all fixed by
live-authority-derived law. Mechanism topology, carrier field shape,
projection nesting, and the conflict-reason ENCODING are explicitly
NOT meaning (§9.1/§22/§29).
A2 WHO/authority unresolved? NO — dispatch authority exact as
PROPERTIES (D1 chain; owner-produced authority with exact coordinates);
authorization standing is an orthogonal relation to occurrence AND to
outcome (§AO/§AS/§AX), granted/updated/resolved only by admitted
chain evidence and admitted reconciliation — never by receipt/
response/outcome/timeout/precedence-default (§26 rows 50, 67–70,
79–90); who resolves a conflict is determined: the existing
reconciliation laws (§12b/§19/§20), and what counts as the SAME
authorization question is decided by the CLOSED identity/time/scope
laws (§AS-same-question), not by a new authority or heuristic.
Authority GROUND audit (v6): no law stands on the orphaned DOC/MRS
text (R-D1 CLOSED, §28); no law stands on code shape — including the
action carrier field topology and any single-outcome enum shape, which
§16 P2 explicitly declines to freeze; every v6 addition re-grounded on
live authority (INV-NORM-01 non-retroactivity; INV-EPISTEMIC-01
Unknown!=False and preserved-conflict; SLT §6.5/§11.2/§12; ESIC
§19/§36; EOC/AC-13) — conflict-of-evidence is the same monotone-
evidence-set classification the outcome axis already performs.
A3 WHEN/transition unresolved? NO — operation-identity birth: at
acceptance (§14 N5); attempt-OCCURRENCE boundary: exactly at actual
invocation begin (§AF); attempt carrier-identity INTRODUCTION: at first
admissible recording of that occurrence (§AL) — coinciding with the
occurrence boundary only for runtime-controlled invocations, and the
contract distinguishes the planes even when they coincide; the three
times (accept / T_occurrence / T_recording) are distinct roles (§17
T1/T2); pre-attempt → attempt transition fixed (H-I2, H-V5-6: the
AttemptView appears exactly when the first occurrence begins, never
before, and never with an invented standing at appearance); standing
TRANSITION timing closed (§6 AS derivation law: standing tracks the
admitted evidence set at every moment — more or less determinate —
and every change is dated by the admission of its evidence, never by
timeout/default/outcome — H-V5-2/3, H-V6-1..5, rows 68/71/72/79–90);
replay vs re-execute (§12d); time-of-check (§17 T3).
A4 WHICH identity survives? NO — OperationRef survives the entire
lifecycle list of §14 N5; OperationRef != AttemptRef (N2); AttemptId
survives once introduced (un-minting forbidden, §AF); an attempt
occurrence survives independent of when it is recorded (§AL — late
admission attaches to the SAME identity, H-V4-6); any standing change
— refinement OR less-determination (conflict), and its later
resolution — NEVER touches identity, occurrence, T_occurrence, T_
recording, correlation, or outcome (H-V5-2/3, H-V6-1/3/4: the attempt
that oscillates AUTHORIZED → CONFLICTING → AUTHORIZED through evidence
is the SAME A1 throughout, and every evidence record stays in
history); unlinked attempts keep correlation-UNKNOWN as a preserved
fact without any fabricated edge (N4 + §9.1, H-V4-4/5); one occurrence
admitted twice keeps ONE identity (§AL duplicate law); prepared tokens
never carry attempt standing (N5); homonym planes barred (D2a).
A5 FAILURE/UNKNOWN meaning? NO — §11 taxonomy with EF scoping;
monotonicity R3; U2 resolution-only-from-admitted-evidence, applied on
BOTH epistemic axes: outcome axis AND standing axis
(NOT_ESTABLISHED is to authorization what U1 is to outcome — Unknown
!= False, §6 AS); within the standing axis the two NOT_ESTABLISHED
REASONS carry exactly one contractual meaning each —
INSUFFICIENT_EVIDENCE (nothing conclusive admitted) vs
CONFLICTING_EVIDENCE (incompatible conclusions admitted for the same
question, unreconciled) — and an authorization conflict has EXACTLY
ONE honest standing: NOT_ESTABLISHED(CONFLICTING_EVIDENCE), never
UNAUTHORIZED-by-default, never forced-terminal, never OUTCOME_
UNCERTAIN-by-contamination (rows 82/84/88);
the three non-terminal classes pairwise distinct (§16 P6, H-I7);
unauthorized ≠ failure ≠ not-established — three disjoint meanings
(§AS); APPLICABILITY DOMAINS explicit per class (§16 P2 V5-2);
UNKNOWN occurrence time preserved (§AL, H-V4-7); UNKNOWN correlation
likewise (H-V4-5).
A6 CONCURRENCY/RETRY resolved? NO — §12a–e; Request 1 → Operation 1 →
Attempt 0..N cardinality CLOSED (§14 N5); zero-attempt case first-class
operation state (§16 P2 V5-2, H-V5-4/5); retry-after-uncertainty
creates A2 preserving A1 (H-I6); standing classification is
INDEPENDENT of admission order — the derived standing over an
admitted evidence SET is order-insensitive, and resolution of a
conflict is NEVER LWW/default/heuristic: all six precedence defaults
forbidden absent a live authority stating exactly that rule (none
does) — resolution requires an admitted conclusion with recorded
basis preserving all evidence (§6 AS V6-1; rows 86/87; H-V6-3/4);
conflict preserved, never LWW; stale-worker exclusion required as
property, mechanism free; duplicate admission of one occurrence never
mints a second attempt (§AL).
A7 PUBLIC behavior unresolved? NO — P1 unchanged; P2 projects the
V5-2 partition: ExecutionOperationView {OperationRef, request
relation, operation-level statuses/results, attempts: 0..N} and
AttemptView {AttemptRef, authorization_standing ∈ disjoint trio with
the §6 AS reason recoverable when material (V6-1: insufficient vs
conflicting distinguishable through the surface — reason code, typed
conflict record, projection, or equivalent encoding, layout free),
attempt-scoped status/outcome}, with the applicability law replacing
any "every standing × every class" reading — zero-attempt states
representable honestly WITHOUT a synthetic AttemptView (rows 73–77);
the standing axis inside AttemptView stays orthogonal to outcome
(§6 AX; conflict never appears as an outcome-class sibling); every
lifecycle phase of the query surface determined; P3 machine
obligations preserve both views, both axes, the standing reason, and
the typed Operation→Attempt relation losslessly, with nesting/layout
free; P5 honesty (an unresolved conflict is projected as exactly that
— not hidden, not laundered); P6 lifecycle shape closed.
A8 Compliant implementations NO — the v6 central questions each have
exactly one contractual answer: genuine same-question contradictory
authorization evidence arrives — keep the prior determinate standing
(hide conflict)? NO (row 79). Flip by latest write? NO (rows 80/81).
Default to UNAUTHORIZED? NO (row 82). Record NOT_ESTABLISHED but lose
the conflict reason? NO (row 83) — insufficient vs conflicting must be
recoverable. Let it contaminate the outcome? NO (row 84, §AX). Can the
conflict remain unresolved indefinitely? YES — durable
NOT_ESTABLISHED(CONFLICTING_EVIDENCE) is honest, forcing terminal is a
violation (row 88, H-V6-5). Does the contract prescribe the Rust
representation of any of this? NO — §6 AS names are conceptual; P2/P3
require recoverability, not layout. Could two implementers diverge on
conflict treatment? Rows 79–90 + §AS-same-question pin it. Prior v5
answers stand (disjoint trichotomy, view applicability), and v4's
(unauthorized-success, correlation UNKNOWN, recording/occurrence,
duplicate admission). Architecture-by-code battery green plus carrier-
evolution battery green: a minimal action-carrier change (evidence-
qualified request edge, standing/operation view split, standing-reason
field if the carriers need it) is REQUIRED-where-needed and legal; a
second journal/ontology is forbidden (§22). §26 (90 rows) pins every
observable class; remaining freedoms (naming, layout, decomposition,
nesting topology, conflict encoding, token scheme, carrier field
representation) cannot move a behavior class.
28. Owner decisions — CLOSED
R-D1 = CLOSED (owner decision):
The orphaned DOC/MRS historical documents are NOT resurrected as
normative authority. Their material remains exactly what §2/§9.1
classify it as: HISTORICAL DESIGN EVIDENCE + IMPLEMENTATION EVIDENCE +
REALIZABILITY EVIDENCE. The C1 contract itself, grounded in the live
higher authorities of §2, OWNS the operational properties required by
C1. crates/durable-operation remains implementation substrate /
preferred reuse candidate — never semantic or architectural authority.
No provision of this contract may later be read as leaving re-
registration of DOC/MRS open as a normative question; genealogy
documentation may continue recording history, and that is all.
R-D2 = TRIGGERED AND EXECUTED (owner RATIFICATION of candidate v6):
This file — docs/design/EXTERNAL-EXECUTION-PLANE-CONTRACT.md — IS the
permanent law location: classification STABLE / NORMATIVE DOWNSTREAM
DESIGN CONTRACT, subordinate to foundations, World Model, Semantic
Invariants, Semantic Continuity, ESI, ELA, SLT, EOC and other
applicable higher owners. Normative routing is updated accordingly;
C1-B implementation is authorized by this RATIFICATION and bound by
the laws above. Any future law change follows DESIGN-METHOD — the
ratification of this file does not itself amend higher authorities.
There are NO residual owner decisions affecting observable semantics or authority grounding. Every §5–§29 law stands on §2 live authorities alone (v4 re-audit: the unauthorized-attempt law stands on SLT §6.5/§11.2 + INV-NORM-01; the standing/outcome orthogonality stands on INV-NORM-01 + INV-EPISTEMIC-01 + ESIC §19 two-channel law; the operation-identity law stands on SLT §12/INV-TIME/INV-ID-01 + ESIC §36; the occurrence/recording separation stands on SLT §12 literally (“Lifecycle occurrence time vs recording time”) + §8.7 non-retroactivity; the pre-attempt query law stands on INV-EPISTEMIC-01 + ESIC §19; the scoped-effect law stands on EOC/INV-DYN-02/AC-13 — none on DOC/MRS text, none on crate field shape).
29. Architecture vs implementation — explicit separation table
(demonstrates that the contract freezes no accidental Rust topology)
architectural invariant (LAW — this contract) | current implementation mechanism (SUBSTRATE, replaceable-as-unit per §9.1/§23) | implementation freedom
------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+----------------------------------------------------------
owner-authorized complete dispatch chain (D1 lines) | record_intent→admit_to_queue→acquire_lease→establish_fence→issue_dispatch_permit (durable-operation) | any device realizing each property line; queue optional
single-use exposure authorization bound to the exact | two ExposurePermit-class objects (DOC permit.rs + adapter CAS permit) — an implementation FACT (§22) | join / consolidate / replace; only D5 law binds
invocation prepared coordinate (D5) | |
attempt OCCURRENCE exists exactly when the invocation begins (§AF); its
carrier identity is introduced at first admissible recording, coinciding | ActionJournal::attempt_execution call placed post-expose (action crate) | call-site structure free; the WHEN of occurrence is law;
for runtime-controlled invocations (§AL); REGARDLESS of authorization; | | mint-vs-record wording per §17 T1
standing separate (§AO); outcome independent axis (§AX) | | unauthorized standing is a relation, not a category
stable pre-attempt reference = OperationRef; | DurableOperationId exists from intent record; ExecutionAttemptId minted post-expose (substrate today | id schemes free; the ORDER operation→attempt is
attempt ids only after invocation (§14 N5) | already matches this order) | law; prepared tokens never attempt-shaped
query classes PRE_EXPOSURE_PENDING / ACCEPTED_PENDING / | (none productive yet — P6 window is the gap C1 closes; substrate control states map onto it via §9.2) | projection format free; the three classes and
OUTCOME_UNCERTAIN pairwise distinct (§16 P2/P6) | | their evidence conditions are law
stale-worker/concurrency exclusion per attempt | WorkerLease + AttemptFence + incarnation CAS | any exclusion mechanism with the same property (row 29)
retry requires owner-issued authorization; retry mints| RetryPermit + new DispatchGeneration + new fence (coordinator) | generation vs ledger sequence; names free
new attempt+fence (§12d/e) | |
reconcile-before-retry; resolution from admitted | ReconciliationCase/ResolutionKind (durable-operation) | record shape free; evidence law binds
evidence only (U2) | |
monotonic exposure evidence (R3) | effect-adapter ExposureMayHaveOccurred immutability + transport dispositions | internal representation free; monotonicity binds
durable reconstructible lifecycle phases (§9.2 law | PersistedOperationRecord + SequentialProcessReopen + CorruptionDetector + writer token (fs+sha2 today) | storage engine/layout free (dead storage-dep hygiene
columns 1–2) | | §22(a)); profile ceiling honesty DB1
request-only public standing of execution_request | run_execution_request → EffectuationGuard::RecordedOnly (api) | untouched by C1 (P1); new route additive (P2)
(P1) | |
typed public outcome classes + PENDING TRILOGY | (none productive yet — the gap C1 closes) | Rust op names/JSON labels free (P3 rev-1 pattern)
PRE_EXPOSURE_PENDING / ACCEPTED_PENDING /
OUTCOME_UNCERTAIN (P2/P6) | |
semantic identity edges + answerability (N0–N5) | origin+serial mints (action); DOC nominal ids | mechanism id names free (N0); edges law
authorization standing orthogonal to operational | carrier MechanismOutcome + actually_occurred fields already axis-like (action) | two-field struct, nested result, tagged
outcome; both axes losslessly public (§6 AX, §16 P2) | | projection, separate linked records —
standing is a DISJOINT TRICHOTOMY (§6 AS V5-1/V6-1): | current carriers have no authorization-standing field at all (unauthorized | storage free (one enum, three constants,
AUTHORIZED vs proven-UNAUTHORIZED vs NOT_ESTABLISHED | attempts are journal-absent today, H-U1); no defaulting field allowed | derived-from-evidence projection) + reason
with reason INSUFFICIENT vs CONFLICTING inside | | recoverable when material (reason code,
NOT_ESTABLISHED (still THREE standings); standing is | | linked conflict record, reconciliation
DERIVED from the monotonic admitted evidence set and | | resource — any equivalent); DEFAULT to
may become less determinate (conflict) without any | | UNAUTHORIZED on missing evidence FORBIDDEN
evidence deletion; resolution only by admitted | | (rows 67/68); conflict→UNAUTHORIZED or
reconciliation (§6 AS V6-1) | | conflict→INSUFFICIENT-collapse FORBIDDEN
| | (rows 82/83); update must not touch
| | identity/occurrence/outcome (rows 71/85)
operation-level result vs attempt-level standing/ | current public surface has no operation/attempt view split (gap C1 closes) | nesting FREE (nested objects, endpoints,
outcome have DISJOINT applicability domains (§16 P2 | | linked resources, tagged, flat typed
V5-2); OperationView exists with attempts = 0; no | | protocol); forcing every result through
AttemptView/standing may be synthesized for it | | one AttemptOutcome enum is FORBIDDEN
unlinked attempt with correlation UNKNOWN | current ExecutionAttempt.request is MANDATORY — the shape cannot honestly represent N4 as-is; | representation free (Option, sidecar,
representable honestly (§14 N4, H-V4-4/5; §9.1 law) | carrier evolution REQUIRED where needed (minimal) | journal edge); fabrication FORBIDDEN
attempt occurrence time vs recording time distinct | runtime path: today the two coincide implicitly in journal append | both roles individually recoverable
when material; UNKNOWN occurrence time preserved | | when material; substitution forbidden (§AL)
(§6 AL; SLT §12; §17 T1/T2) | |
substitution only via explicit monotone judgment (S5) | SubstitutionRecord (realization) | realization reuse preferred (already canonical)
application E4 discipline (retry/timeout/cancel on | harness-record attempt.rs (CR-01-preserved at master@40c09b97) | C1-B must not fork/soften (regression gates)
top of the plane) | |
Every law in column 1 is derivable from the §2 live-authority list alone; column 2 is cited only as substrate and realizability evidence. No row has column 2 promoted into column 1’s content.
30. Semantic continuity ledger (ratification witness)
Coordinates attacked: Request identity · Operation identity · Operation- level view/status (V5-2 applicability domain) · Attempt occurrence identity · AttemptView applicability (exists only when an attempt does) · Authorization STANDING (disjoint trio, §6 AS) · Standing REASON (INSUFFICIENT vs CONFLICTING inside NOT_ESTABLISHED, V6-1) · Authorization EVIDENCE HISTORY (monotonic — never shrinks) · Standing DERIVATION (refinement AND less-determination, identity-immutable) · Reconciliation basis (admitted, recorded, all evidence preserved) · Operational OUTCOME · Request correlation edge · Operation correlation edge · Occurrence TIME · Recording/identity-introduction TIME · Provider identity · Provider evidence/receipt · Uncertainty · Historical occurrence. Gate: ACCIDENTALLY_LOST = 0; MATERIAL_UNKNOWN = 0. Authorization is NEVER a constitutive property of attempt identity (§AO); attempt identity is NEVER a constitutive property of the stable reference (§14 N5); outcome is NEVER a constitutive property of standing (§AX); standing is NEVER a constitutive property of an operation-level result (V5-2: no standing may be required, invented, or projected where attempts = 0); lack of standing evidence is NEVER negative standing (§AS: NOT_ESTABLISHED != UNAUTHORIZED); CONFLICTING evidence is NEVER resolved by precedence default and its records are NEVER lost by the resolution (§AS V6-1: a standing change -/-> an evidence deletion); NOT_ESTABLISHED(CONFLICTING_EVIDENCE) is NOT a contract-UNKNOWN gap — it is a fully defined epistemic state with a discriminated reason; recording is NEVER a constitutive property of occurrence (§AL).
request → operation
request identity ................. PRESERVED-DIRECTLY (operation-for edge;
request survives at RecordedOnly standing
before the operation exists, §16 P1)
authority coordinates ............ PRESERVED-DIRECTLY (recorded into the
operation as durable control facts, §9.2)
operation → attempt
operation identity ............... PRESERVED-DIRECTLY (stable OperationRef
unchanged across attempt creation — H-I2,
N5; survives restart — DB1/§20)
attempt occurrence identity ...... DERIVABLE-THEN-PRESERVED (occurrence from
actual invocation begin, §AF; carrier
identity introduced once at first
admissible recording, §AL; zero attempts
observable pre-begin, H-I1)
occurrence time (T_occurrence) ... PRESERVED-DIRECTLY when evidenced;
PRESERVED-AS-UNKNOWN when the invocation
is evidenced but its instant is not
(§AL, H-V4-7; never substituted by T2)
recording time (T_recording) ..... PRESERVED-DIRECTLY as a DISTINCT temporal
role (§17 T1; identity introduction ≠
occurrence; duplicate admission references
the SAME identity, §AL duplicate law)
authorization standing ........... PRESERVED-BY-REFERENCE as a SEPARATE axis
(D1 chain evidence reconstructs lawful vs
unauthorized vs not-established per
attempt — the three §6 AS standings are
disjoint; occurrence never implies it,
its absence never erases occurrence, no
outcome ever launders or resolves it,
and missing evidence NEVER defaults to
UNAUTHORIZED (§AS; H-V5-1, rows 67–70);
standing is DERIVED over the current
admitted evidence SET: refinement
NOT_ESTABLISHED→AUTHORIZED/UNAUTHORIZED
AND less-determination AUTHORIZED/
UNAUTHORIZED→NOT_ESTABLISHED
(CONFLICTING_EVIDENCE) both preserve
attempt identity, occurrence, times,
correlation and outcome (H-V5-2/3,
H-V6-1/2; rows 71/79–90); conflict
records and the reconciliation basis
remain in the evidence history
FOREVER — a standing change never
deletes evidence (H-V6-3/4; row 86);
unresolved conflict is a durable
defined state, not loss (H-V6-5);
UNLINKED occurrence keeps correlation
UNKNOWN preserved, N4)
request/operation correlation .... KNOWN-EDGE or preserved-UNKNOWN (§14 N4,
H-V4-4/5); fabrication of an edge to
satisfy carrier shape is a violation, not
a representation; later admitted evidence
attaches to the SAME attempt identity
without changing it (§AL/N4)
provider identity ................ PRESERVED-BY-REFERENCE (frozen binding at
authorization, D4; runtime trace by
default, semantic only where a contract
makes it material — SLT §11.2)
attempt → receipt / outcome
attempt identity ................. PRESERVED-DIRECTLY (receipt names exactly
one attempt id; WRONG_CORRELATION is the
only alternative, §19; an unauthorized
attempt's receipt still names its attempt
— §AO)
operational outcome .............. PRESERVED-DIRECTLY within cap (§10 RC1;
EF-scoped — never a world statement);
outcome settles by §10/§11 evidence rules
IDENTICALLY under every standing (§AX —
the standing axis never blocks or rewrites
the outcome axis)
authorization standing ........... PRESERVED-UNCHANGED through receipt/
outcome (§AX: success recorded against an
unauthorized attempt changes outcome only;
standing is untouched — H-V4-1)
uncertainty ...................... PRESERVED-DIRECTLY (U1 first-class;
monotonic R3; survives restart DB2; never
collapses into pending either way — P6;
UNAUTHORIZED × UNCERTAIN representable,
H-V4-2)
temporal roles ................... PRESERVED-DIRECTLY (T1 role timestamps
individually recoverable when material;
accept / T_occurrence / T_recording are
three distinct roles — A3)
attempt → retry / reconciliation
prior attempt history ............ PRESERVED-DIRECTLY (A1 survives alongside
A2 under the same OperationRef, §12b,
H-I6; unauthorized attempts included —
§AO "never un-minted"; unauthorized A1
with its own outcome is history either
way — §AX)
reconciliation case .............. PRESERVED-DIRECTLY (resolve-before-retry;
resolution from admitted evidence only U2;
RequiresManualIntervention honest terminal;
reconciliation of a late-recorded
occurrence uses its T_occurrence, §AL)
idempotency coordinate ........... request key PRESERVED-DIRECTLY as
correlation; GUARANTEE standing only via
admitted (a)–(d) basis (§12a — never a
silent conversion between the two)
intentionally-erased: NONE. accidental_lost: 0. material_unknown: 0
(the UNKNOWN states the contract itself mandates — unlinked-occurrence
correlation (§N4), unknown occurrence time (§AL), unsettled outcome (U1) —
are EPISTEMIC preserved UNKNOWNs with defined meaning, which is the
opposite of contract loss: each UNKNOWN has exactly one contractual
reading.)
End of contract. This ratified contract authorizes C1-B implementation
under its laws. Historical campaign provenance:
docs/BLOCK-C-CONTRACT-CLOSURE-v0.1/** (contract-closure branch, evidence
only).
PUBLIC SOURCE INCORPORATION CONTRACT (C3-A, PROMOTED v14)
PROMOTION RECORD (2026-10-01): promoted from candidate docs/BLOCK-C-CONTRACT-CLOSURE-v0.1/contracts-candidate/ BLOCK-C3-SOURCE-INCORPORATION-CONTRACT-CANDIDATE.md @ blob 657fa0c6 (tree b96730b3) under the OWNER’S BOUNDED-CLOSURE DIRECTIVE (‘sem auditoria adversarial de prosa. o importante é o código’): round-14 delta-scoped partials found law hunks CONFINED to the claimed set and NO R1/R2 material before the owner halted prose-adversarial auditing; rounds 6-14 carry R1x0 (eighth+ round prospectively); residual risks are recorded in §16/§14 below and in the carrier (IM-3 M-class, IM-4(c) composer mode, IM-5 cross-lane integration, IM-6 checkpoint, §14 transcription family, F-R3-1 commit-numerics lesson). This document IS the C3-A normative law for C3-B implementation and C4 reaccreditation.
Campaign: BLOCK-C-CONTINUOUS-FINALIZATION-v0.1 · WP: C3-A
Subject: productive public meaning for AppKind::Incorporate by wiring
- governed reuse of the EXISTING source-evolution machinery.
Lineage: v1@a804007e — round-1 audits both NOT-CLEAN (audits/C3-A-CONTRACT-DOWN-a804007e.md: R1×4/R2×9/R3×9; audits/C3-A-ADVERSARIAL-a804007e.md: R1×3/R2×7/R3×5). v2@4e660eb9 — round-2 audits both NOT-CLEAN (register verdict line is literally ‘VERDICT: NOT-CLEAN’; the counts R1×2/R2×6/R3×4 and the quoted characterization are THIS lineage’s paraphrase of the registers, marked as such per round-4 R4-5; audits/C3-A-ADVERSARIAL-4e660eb9.md: NOT-CLEAN, R1×1/R2×3/R3×4 likewise summarized). v3@7f335b4e — round-3 audits both NOT-CLEAN (audits/C3-A-ADVERSARIAL-7f335b4e.md: R1×2/R2×3/R3×4 — S6 ledger chain-break R1-1, standing-blind classifier two-step R1-2, bundle landing R2-1, observer plumbing R2-2, step encoding R2-3, naming residuals R3×4; audits/C3-A-CONTRACT-DOWN-7f335b4e.md: R2×2/R3×3 — N-1 chain unaddressed, N-2 origin-leaf codec hole, N-3 S6 over-refusal drift, N-4/N-5 bookkeeping/range residuals; headline validations ACCEPTED: RM-21 mirror real, lie gates closed, §14 real-only, codec callable, machine host real). v4@edd8587f — round-4 audits both NOT-CLEAN, CONVERGENT on one R1 (audits/C3-A-CONTRACT-DOWN-edd8587f.md: R1×1/R2×1/R3×3 — R4-1 P-TEXT standing gap, R4-2 gate-range contradiction; validations: chain-break public-on-public executable in-process, §14 real-only, ~55/55 probes, E-1 15/15; audits/C3-A-ADVERSARIAL-edd8587f.md: R1×1/R2×2/R3×4 — same P-TEXT R1, ancestry-inclusiveness ambiguity reviving the two-step (R2-1), historical-vs-current P-REG over-blocking ICC §14 re-adds (R2-2), open rejection set + ID residuals (R3s); cross-branch, INDEPENDENT_USE, origin-collision, host-threading, codec, termination attacks FAILED — documented). v5@344c750d — round-5 audits both NOT-CLEAN (audits/C3-A-CONTRACT-DOWN-344c750d.md: R5-1/R5-2 [R1] printed split-brain formula §1.2-vs-§1.3 + PB unsealed; R5-3/R5-4 [R2]; R5-5/R5-6 [R3]; validations: seed limb RESTATEMENT verdict, §14 9/9 real, E-1 15/15, ~70 probes zero substantive mismatch; audits/C3-A-ADVERSARIAL-344c750d.md: R5-1 [R1] phantom/unpaired record selection + PB double-anchor + seed-vs-record precedence; R5-2 [R2] cross-lane journal identity assumed; R5-3 [R2] FORM S mode has no composer input; R5-4..7 [R3]; documented failed attacks: seed-after-Remove re-consult, closure reflexivity/ termination, split-brain as CONCEPT (real once formulas unified), closed rejection sets exact, MECHANISM_FAILED reachability, §14 IDs, E-1 15/15.) v6@7b8e5d8a — round-6 audits both NOT-CLEAN with R1 = 0: the three round-5 R1s (dual-printed predicate, unsealed PB, phantom selection) verified CLOSED under fresh assault; residuals surgical (audits/C3-A-CONTRACT-DOWN-7b8e5d8a.md: R2x2/R3x4; audits/C3-A-ADVERSARIAL-7b8e5d8a.md: R2x3/R3x3 — pairing criterion TRIPLE-printed [F-R2-1], ComposerModeUnavailable designation unpinned [F-R2-2], §5-vs-§7.0 MECHANISM_FAILED clash [F-R2-3 = CD R6-2], :83 anchor mis-site [F-R3-1 = CD R6-3], order-law double print [F-R3-2], §14 closure claims not landed [F-R3-3 = CD R6-1].) v7@c0613dd9 — round-7 audits both NOT-CLEAN, R1 = 0 for the SECOND consecutive round (6+7; v8 printed THIRD — a miscount caught by round-8’s own registers: F-R3-1/N-R3-5); ALL nine round-6 residuals landed truthfully (both auditors re-grepped every §14 claim: landing verified, 0 substantive probe mismatches [down], lineage all-true [adv]). The three round-7 R2s hit ONE route — the crash-durability resolution exit v7 opened: N-R2-1/F-R2-1 (the re-close repair route ASSUMES its input: the completion id is persisted by no carrier the contract reads — journal record carries none crates/ lifecycle/src/revision.rs:323-341; service stores (PublishedStateId, ContractRevisionRef) only crates/publication/ src/publication.rs:85-89/:153-166; the printed resolution join ‘over RI’ has no RI<->attempt binding absent the close; §5’s read-set cannot discriminate 5-Ok-unclosed from step-5-refused; §14’s ‘no longer gestures’ claim FALSE as printed) and N-R2-2 (§3.1 vs §5 opposite retry instructions for evolved-then-rejected attempts; fresh-RI escape legal-unstated). R3 hygiene x10 (whitespace byte-identity, circular report-order home, doubled path, unrecorded landing-claim, false v2 provenance, quote case, bare path, ‘records records’, registry residues, ‘triple’ naming four coordinates). v8@3947b22b — round-8 audits both NOT-CLEAN with R1 = 0 for the THIRD consecutive round (rounds 6+7+8 each returned R1×0 — this line’s own count verified against all three register pairs; the EARLIER claim ‘round-7 = THIRD’ was the miscount caught by round-8 as F-R3-1/N-R3-5: at round-7 the streak was SECOND; v9 states both facts consistently — an over-correction to ‘second’ here would itself be the same defect class, checked). The law CORE passed at fixed-point quality on both independent units: all thirteen round-7 residuals landing-verified claim-by-claim; 0 substantive probe mismatches (33/33 path:range + 64-anchor sweep); the round-7 defect class — a repair route reading values no carrier persists — declared CLOSED on the governing text; scope-refusal mechanically minimal with named availability cost; re-drive inputs provably readable. Survivors are closure-artifact surface only: CD (audits/C3-A-CONTRACT-DOWN-3947b22b.md: R2x2/ R3x7 — N-R2-1 §14 row over-credits §10 while IM-6 printed in §9; N-R2-2 §5 kept an ‘over RI’ read-set beside §1.3’s corrected one — one determination two read sets; N-R3-1 W-UNK named an undefined class; N-R3-2 IM-4(b) row overstates pairing survival on digest-only carriers; N-R3-3 transition range one arm short; N-R3-4 §16 fence never closed, §17 renders inside it; N-R3-5 streak miscount; N-R3-6 §0 ‘IM-1/IM-2 only’ stale; N-R3-7 W-PAIRN referenced never defined (W-NOPAIR was already defined — round-9 F-R3-3 corrected v9’s misquote of its own register) + ADV (audits/C3-A-ADVERSARIAL-3947b22b.md: R2x0/R3x4 — F-R3-1 = the streak miscount; F-R3-2 IM-6 landing-home miscited x2 sites; F-R3-3 §0 stale census; F-R3-4 dangling ‘§19’ (no §19 exists)). v9@03ce2b05 — round-9 audits both NOT-CLEAN with R1 = 0 (FOURTH consecutive R1-zero round: 6+7+8+9; both round-9 units landing- verified all thirteen round-8 residuals truthfully, 0 probe mismatches, E-1 15/15). The single R2 is v9’s OWN fix for N-R3-1: RetryBlockedPendingResolution installed a SECOND public refusal coordinate colliding with §7.0 S0’s s0:reconciliation-pending on a constructible crash input, un-ordered and un-encoded (CD-R2-1/ F-R2-1 — round-6 F-R2-3’s two-site class at the repair site itself). v10 DELETES the class: the unified determination (§5, since v9) already routes every unresolved prior attempt to exactly one of replay / §3.1 reuse / S0’s single pending refusal / no-refusal-not-published — the class had no residual case. R3s: vacuous W-PAIRN label (paired-without-published is non- constructible under the ONE pairing criterion) merged into W-NOPAIR’s both-directions row; ‘(parity 54)’ false numeric (56); §14 misquoted its own register crediting N-R3-7 with W-NOPAIR (already defined). v10@e7afefeb — round-10 audits both NOT-CLEAN with R1 = 0 — FIFTH consecutive R1-zero round (6+7+8+9+10 enumerated against the registers; [v11 printed ‘SIXTH’ INSIDE the sentence claiming register-re-derivation — round-11 CD-R3-1/F-R3-2: the parenthetical itself enumerates FIVE, and ADV-e7afefeb prints FIFTH; off-by-one recurring inside the row preaching the number lesson — corrected by ENUMERATION; round-11’s own R1×0 extends the streak PROSPECTIVELY but no post-round count is printed as a tree-fact anywhere]) — and, for the FIRST TIME in the campaign, R2 = 0 in BOTH units: deletion census clean (class in zero law positions); the round-9 constructed collision input determinate at S0’s single coordinate by REMOVAL (scope-check inside the first gate); four-route determination exhaustive over every 5th-state hunt (cross-session orphan -> §11; double-close -> §3.1 cardinality; step-2 crash -> route (4); corrupt close -> §3.2 digest class; mid-chain ambiguity -> WALK refusal NOT_APPLIED{S6}, not a determination state); W-matrix 43 names 0 live referenced-not-defined [v11 propagated the ‘44’ from the round-10 CD’s arithmetic slip — W-PAIRN counted, since deleted; recounted this round: 41 heads / 43 names]; invariant re-run even/depth-0/headings-zero. Survivors were 5 closure-TEXT rows (union of both registers, 2+3): W-NOPAIR (a)-exclusion INVERTED against route (3) (CD-R3-2/F-R3-1 — the exclusion belongs to published- with-NO-EVOLVE-RECORD via step-3≺step-5; sync-profile atomicity is what excludes (a) transiently); N-R3-4 amendment re-anchored a deictic fence number its own sibling row disavowed (CD-R3-1/ F-R3-3); unmarked-stale N-R3-7 ‘witness defined’ for the deleted W-PAIRN (F-R3-2). v11 closed all five — and round-11 caught v11’s OWN added closure prose re-committing the closure-text class for a fifth version running: a FABRICATED ‘verified printed’ coordinate (CD-R2-1/F-R3-1 [R2] — v12 PRINTS it at §7.0’s walk-hit law site: prose-claim becomes law-fact); SIXTH-vs-FIFTH off-by-one inside the register-derivation sentence (CD-R3-1/F-R3-2 — corrected by enumeration below); propagated 44 vs mechanical 43-names/41-heads (CD-R3-2/F-R3-3 — recounted, split stated); (2)/(3) route mis-quote (CD-R3-3 — marked in place; (a) is route (3) only); unpinned E-5 ‘candidate-only’ (F-R3-4 — pinned: candidate + carrier named). No LAW position moved in v11. v12 moved exactly ONE encoding sentence — the §7.0 walk-hit arm’s propagation clause — and v12’s lineage THEN sold that sanctioned amendment as ‘the same- named propagation law unchanged since v10’, which its own diff, its §14 twin (‘the ONLY law-site change’), and the new coordinate VALUE falsify (round-12 CD-R3-1 [R3]: provenance falsehood inside the row about provenance honesty; also the arm’s parenthetical said ‘the class in the payload stays…’ while §7.1’s NOT_APPLIED payload carries NO class field at all — the coordinate string is the public report form of the walk- internal class StandingProofAmbiguous{X}). v13 states the truth: v12 amended the arm’s ENCODING (refusal class, gate ownership, and fail-closed substance preserved); v13 adds the GATE-SEMANTICS law closing round-12 F-R2-1’s α/β fork. The payload-shape sentence is corrected above at the arm. v12@cacb756c — round-12 audits: CONTRACT-DOWN NOT-CLEAN R1x0/R2x0/R3x1; ADVERSARIAL NOT-CLEAN R1x0/R2x1/R3x0 (31 attacks). R1-zero streak continues — SEVEN rounds (6+7+8+9+ 10+11+12) by enumeration of all fourteen register verdict lines, each verified R1×0 by round-13’s own re-count rather than this print’s trust (the enumeration METHOD, not the ordinal, is the durable claim). The fabrication-cure landed truthfully (coordinate at the law; eight round-11 IDs verified); v13 closes the round’s single R2 (gate-field owning-vs-executing under-specification ACTIVATED by the very print that cured v11’s fabrication — the fix site became a fork site; closed by law, with the two units’ disagreement REGISTERED not arbitrated) and the single R3 (provenance falsehood inside the lineage about its own amendment). v13@3455e41a — round-13 audits: CONTRACT-DOWN NOT-CLEAN R1x0/ R2x0/R3x1; ADVERSARIAL (scope-reduced, 24 attacks, coverage note in its register) NOT-CLEAN R1x0/R2x1/R3x1. GATE-SEMANTICS LAW verified to kill round-12’s walk α/β fork (single payload every profile; A-enumeration unmutated); CD-R3-1 provenance retracted plainly; streak SEVEN re-derived from all 14 verdict lines; all doc-side mechanical invariants clean; history blocks immutable. ADV F-R2-1 [R2]: the cure left the OTHER §1.3-defined refusal — IndependentIntroductionBlocked, firing only where S6 never runs — with no printed owning gate (class name prints in §7.0’s S6 firewall paragraph; exclusion clause denies the S1 reading; sibling ComposerModeUnavailable IS pinned ‘at S1’) => α{gate:S6} vs β{gate:S1} on the W-IBLOCK input; fix-site-becomes-fork-site a third round running. F-R3-1 [R3]: the v13 COMMIT MESSAGE’s self-assault printed two stale v12 numerics as blob facts (fence 62 vs actual 64; s6 census 4 vs actual 6) — the document itself prints no such numbers (numbers-not-tree-facts discipline held in the doc; commit messages are immutable, named residual). v14 closes F-R2-1 by making IB’s ownership EXPLICIT (owner = S1, read off its defining introduction-side law; coordinate s1:independent-introduction-blocked; W-IBLOCK pinned) and generalizes to an OWNERSHIP TOTALITY RULE mapping every printed refusal class to its defining-law home — the durable end of the three-round per-class whack-a-mole. F-R3-1 is named a residual risk per bounded closure (no doc-law impact; the lesson — self-assault numerics must be re-counted at the NEW blob, not carried from the previous — is recorded here because the commit message cannot be amended honestly). v14 replaces v13 at this locus (single candidate; prior versions live only in git history). §14 disposition covers round-13.
Normative inputs (live authority, never re-arbitrated here):
docs/design/REVISION-CAPABILITY-CONTRACT.md(ICC) §§10-24, 26 (§26.1 outcome law, §26.2 base-admissibility, §26.3 scenario chain)docs/design/SEMANTIC-LIFECYCLE-TRANSITIONS.md(SLT) §8 (E2/E3), §3docs/design/CONCRETE-LANGUAGE-SURFACE.md(CLS) incorporate grammar block + the E3-schema note (quoted exactly, §1.0)docs/design/ARCHITECTURE.md§10.1- ratified C1
EXTERNAL-EXECUTION-PLANE-CONTRACT.md; ratified C2OBSERVATION-ACQUISITION-CONTRACT.md(boundary line “ExecutionSuccess -/-> Observation” is AT C2:271 — v2 mis-attribution corrected). Brief being closed: 05-C3-CONTRACT-CLOSURE-BRIEF.md — 15 bullet-lines at 05:9-23 (v2 “19” corrected); E-1 below maps each bullet’s TEXT.
LIVE-GAP REPRODUCED at 4e660eb9 (campaign branch; master 50b709dd
merged @67bf0737):
crates/api/src/executor.rs:480-492 AppKind::Incorporate =>
any_unsupported = true; ResultCompletion::Unsupported;
RunApplicationOutcome::Unsupported(...)
crates/api/src/run.rs:80 "Incorporation, which has no public
semantic bridge."
Evidence-tree honesty (round-1 findings F-C3A-7 and R2-extra-E):
v1 cited 859b70a1 (invalid); later versions cite only real objects:
67bf0737 (merge), a804007e (v1 tree), 4e660eb9 (v2 tree),
7f335b4e (v3 tree), edd8587f (v4 tree), 344c750d (v5 tree),
6b480752 (v6 blob, audited at tree 7b8e5d8a), c0613dd9 (v7 tree,
blob 2acd234c), 3947b22b (v8 tree, blob 0bbf8e4c), 03ce2b05 (v9
tree, blob 7237a643), e7afefeb (v10 tree, blob ce40db8a),
501bf927 (v11 tree, blob e5fa3fdf), cacb756c (v12 tree incl its
naming amendment; blob 97ec03ca; the intermediate a34d85ca/
36fc0480 pair was an INVALIDATED freeze — an orchestrator
amendment moved the blob mid-audit; outputs quarantined
audits/invalid/ — no auditor verdict attaches to it), 3455e41a
(v13 tree, blob 79231450). v14's landing commit = the next
commit modifying THIS file — git-verifiable by construction; deliberately NOT
printed here (round-7 F-R3-4: v7 claimed 'recorded here' while
recording nothing — printing a self-referential landing hash is
the unverifiable-claim trap itself).
0. Jurisdiction, reuse rule, census
PUBLIC INCORPORATION = wiring + contracted governance over the existing
machinery: the lifecycle journal (semantic record), the publication
service (operational completion), the checked program's resolution
(identity of named things), the scenario-lane typed change-set
builder (composite input), the DOC control records (attempt
status). Named substrate obligations: §10's register (IM-1..
IM-6; v8's 'IM-1/IM-2 only' was stale — N-R3-6/F-R3-3).
!= second source engine
!= new semantic family / authority class / type /
storage engine / semantic journal / surface
grammar / elaboration rule
Census (every row re-probed at 4e660eb9 with corrected ranges; CODE checks vs DOC-only laws distinguished):
| piece | class | CODE reality at the tree |
|---|---|---|
AppKind::Incorporate (crates/frontend/src/cst.rs:89), SourceChangeStmt::Incorporate (:1848), LocalContractKind::Incorporate (:2017) | NORMATIVE OWNER (surface) | parsed+elaborated; never executed |
SemanticSourceChange (crates/elaborate/src/program.rs:2035-2105 area; Inc arm 2089-2096) | PRODUCTIVE SUBSTRATE (statement lane) | holds raw Expression payloads — NOT convertible “verbatim” into SourceChangeSet (round-2 A-10: that v2 claim was type-impossible; the public law does NOT parse expressions here — §1.2) |
resolution machinery: declaration_named(programs, name) exact-name lookup fail-closed (crates/api/src/run_families.rs:160-165); resolve/resolve_open Unique fail-closed (crates/elaborate/src/reference.rs:278-300, Unique-match arms :286-290) | PRODUCTIVE SUBSTRATE | decidable presence/absence of a designation over the SEALED program — this is what §1.2/§2.1 key on (no invented class tags; ExpectedKind crates/resolver/src/basis.rs:34 has NO authority variant — round-2 R1-1 accepted) |
RM-21 authority derivation: introduction_authority(declaration) (crates/api/src/run_families.rs:167-174) → IntroductionAuthority{basis_artifact: owner_revision.artifact, basis_revision: owner_revision, authority: OwnerRuleRef::from_declaration_identity(identity)}; from_declaration_identity doc: “This is the only route by which a governance authority’s OwnerRuleRef enters production: it is reconstructed from the declaration the sealed basis resolved, never from mint_for_test and never from a caller-selected label” (crates/result-core/src/identity.rs:189-209); precedent lane = resolve_authority (crates/api/src/run_families.rs:176-190) with real typed refusals GovernanceFailure::{AuthorityFieldMissing, AuthorityNotAName, AuthorityDeclarationMissing} (enum opens :199, R4-5; variants :217-222) | PRODUCTIVE PUBLIC (ratified governance lane) | this contract MIRRORS that lane’s mechanism exactly — no new authority kind, no new extraction law |
SourceEvolveJournal::evolve(base_states, accepted_change_set, source_authority_basis, author, new_state, predecessor) (crates/lifecycle/src/revision.rs:387-418; record construction :407-416; occurrence mint :408; NoBaseState :396, NotANewState :399, SelfGrounding :404; history() :422) | PRODUCTIVE SUBSTRATE — SEMANTIC RECORD | code checks as listed; mints SemanticOccurrenceId{origin,domain,serial} (crates/lifecycle/src/identity.rs:175-211: pub origin()/domain() :191/:196, pub restore :211) |
SourceChangeOperation{kind: SourceChangeKind, target: String, content: Option<String>, origin: String} (revision.rs:160-171), SourceChangeKind::{Add,Remove,Replace,Relocate,Incorporate,AttachMetadata} (:139-152), SourceChangeSet::canonical_bytes() (:216) | NORMATIVE OWNER (typed change-set carrier) | ratified canonical-bytes builder exists |
SourceStateStanding{designation: String} (revision.rs:247-249), StandingIntroductionMode::{CointroducedWithSourceState, IndependentIntroductionRequired} (:256-268), SourceStateAdmissionBundle (:271-290) | NORMATIVE OWNER (standing carrier) | per-state admission bundles |
TargetSourceLedger{states: BTreeMap<ContractRevisionRef, PublishedLedgerEntry>} (crates/api/src/scenario_materialization.rs:919-923); PublishedLedgerEntry{parent, serial, change_set, admission} (:932-941) | PRODUCTIVE SUBSTRATE — lane-private | NOT the public observer (round-3 R1-1): insert sites lane-private (:1073/:1430/:1478); genesis/publish registrations fabricate EMPTY bundles (:953-991); ledgers field private (:1053). Public standing observation derives from the JOURNAL instead (§1.3) |
change_set() typed composer (crates/api/src/scenario_materialization.rs:425-461): explicit per-item MaterializationDisposition::{AddAt, ReplaceAt, AttachMetadataAt, NoSourceEffect} → Result<SourceChangeSet, MaterializationRejection> incl. InventedOperation (:432-438) | PRODUCTIVE SUBSTRATE (composite input) | the ONLY existing, ratified Expression-free path from candidate material to a typed change set (§1.2 form S) |
SourceEvolutionService::prepare(content, expected_base: ContractRevisionRef, prepared_basis) (crates/publication/src/publication.rs:105-113) / publish(candidate, transition, integrity, new_revision, authorizer) (:122-166) | PRODUCTIVE SUBSTRATE — OPERATIONAL EXPOSURE | code checks: tip-equality :136-144; let _ = transition/authorizer existence-only :145-147; non-empty proof :148-150; extends = published.last() :155; state struct :156. prepare takes ONE expected_base (round-2 A-4 noted the M-class conflict) |
AuthorizedSourceTransitionRef/OwnerRuleRef::mint_under_authority (crates/result-core/src/identity.rs) | PRODUCTIVE PUBLIC | deterministic named-label binding; node-lane consumer crates/node/src/contracts.rs:666 builds format!("{contract}-incorporation-authority") — self-nominated string, NOT cited as authority model (round-1 R3-13 stands removed); contracts.rs:652 let _ = program + serial :653-658 = HISTORICAL lane |
scenario chain types ProposedSourceAuthority/TargetSourceBasis/ScenarioExitProjection/ScenarioToSourceMappingContract (real, crates/api/src/ | ||
| scenario_materialization.rs) | PRODUCTIVE SUBSTRATE (scenario lane) | §26.3 chain journal-direct; ONE candidate producer (§6.5) |
DOC carriers (crates/durable-operation/src/): DurableAttemptId (identity.rs:37; v2’s “DocAttemptId” corrected), PersistedOperationRecord{operation_id, state, generation, payload_hash: [u8;32]} (persistence.rs:34-39), DocOperationControlRecord (state_machine.rs:110) | PRODUCTIVE SUBSTRATE — operational control | header law verbatim: “provider-neutral … extends no semantic/action standing”; payload_hash = the named quadruple-digest home (§3.2) |
machine surface: machine_run (api/machine.rs:465) serializes outcome.applications into the JsonValue document (:475/:483-584, applications array :583) | PRODUCTIVE PUBLIC | the machine result host for a new RunApplicationOutcome variant (§7.2) |
| executor Unsupported arm (:480-492) | MISSING public bridge | closed here; wiring model = the REAL Admit arm (executor.rs:359-365; v2 cited :441-451 = Analyze — round-2 mismatch accepted, corrected) |
1. Surface and sealed inputs
1.0 Grammar (CLS owner, verbatim — unchanged from v2)
incorporate_decl = "incorporate" , app_signature , "using" ,
qualified_ref , contract_block ;
local_incorporate = "incorporate" , "using" , qualified_ref ,
contract_block ;
source_incorporate = "incorporate" , expression ,
[ "as" , expression ] , terminator ;
E3-schema note (CLS:1207, verbatim): “The E3 contract schema owns
mandatory artifact/source/base/actor/authority fields of
incorporate_decl; the incorporate keyword makes the lifecycle
category structural and reconstructible.”
Standalone public input lane = app.body = Contract(fields) +
app.using (parser routes incorporate_decl’s contract_block into the
application body; contract_fields crates/api/src/run_families.rs:150-155 is the
ratified reader; no grammar/elaboration change is needed or made).
local_incorporate reads the SAME contract block law with the module-
local designation as target (§1.2 INC-LOCAL). v2’s with {…} misquote
stays corrected.
1.1 Contract block = ICC §10 field set (§10 coordinates;
base_admissibility row is §26.2-sourced, in-row marked — R4-4)
Required sealed coordinates (each a contract field; presence law, no defaults):
ICC §10 field role / law
TargetSourceScope target selection
exact parent SourceStateRef(s) sealed expected base(s)
SourceStateSemanticBasisKey source basis
accepted SourceChangeSet built ONLY per §1.2 (never parsed
from raw expression text)
authoring/evolution/authority
provenance (three coordinates) §2.2; evolve's author := AUTHORING
coordinate only
SourceTransactionTime /
SourceEffectiveTime §5 seams (time VALUES sealed; clock
(when applicable) SOURCE free per §12)
binding/declaration index derived from the change set via ICC
§14 table
history/provenance dependencies predecessor + occurrence (§4/§8)
AuthoritativeSourceStateIdentity derived ONLY (§3.3) — never input
base_admissibility ONE of ICC §26.2's four classes —
REQUIRED, no default
Missing/malformed required field ⇒ InputShapeInvalid { field }.
v2’s invented names (target_source_scope: String,
source_state_basis) deleted. Classification agreement is checked by
S1 (§1.2), not assumed.
1.2 INC-INPUT — total change-set construction + classifier with
PRECEDENCE (round-2 R1-2 / A-1 closed; v2 forms (a)/(c) overlap was a real hole)
The change set is built ONLY through these named, decidable routes — never by parsing expressions:
FORM O (single operation, the standalone-lane route):
The contract block's target coordinate designates one binding
`t` (designation string from the sealed field). PRECEDENCE LAW
(three-state, standing-aware; v3's text-only two-state test was
standing-blind — round-3 R1-2): over SEALED data evaluate:
ONE predicate (v6: §1.2 PRINTS EXACTLY §1.3's definition —
round-5 R5-1[down]: v5 printed an OR-formula here that the
§1.3 OBSERVATION form did not carry, re-splitting the brain
on the flagship W-READD case):
standing_established(t, B) := standing_at(B, t)
— BYTE-IDENTICAL to §1.3's OBSERVATION line INCLUDING
leading indentation (round-7 F-R3-1: v7 claimed character-
identity while its two prints differed 6-vs-4 leading
spaces; v8 pins BOTH at the same 6-space column and
W-FORMULA tests byte equality trim-INCLUSIVE).
S-DECL lives ONLY in the walk's seed branch X == PB — never
a second disjunct (round-5 R5-1 closure).
Same-text equality between this law and §1.3's OBSERVATION is
checked by witness W-FORMULA (both sections rendered from one
definition; a contract edit that changes one MUST change the
other or CI-prose-test fails).
classification:
standing_established true => EXISTING_ARTIFACT_REF class (ICC §13) ⇒
profile B ⇒ S6 applies (standing OBSERVED, §1.3); operation
kind := the block's declared class, which MUST be
Incorporate/Replace/Relocate/AttachMetadata/Remove over an
established designation;
false => NEW_SOURCE_DEFINED_DECLARATION; kind := Add
under SourceDeclarationIntroductionContract (mode sealed in
the block: COINTRODUCED | INDEPENDENT — checked §1.3
introduction-side law).
DECLARED-vs-SEALED AGREEMENT (lie gates, both directions):
declared NEW while standing_established ⇒ ClassificationMismatch
{ designation, declared, observed };
declared EXISTING while !standing_established ⇒
ExistingArtifactAbsent { designation }.
TWO-STEP attack (co-introduce via profile A, then re-incorporate
as NEW because program text never grew the designation) is DEAD:
the co-introduction makes standing_at TRUE on every closure node
after it ⇒ the re-attempt classifies B ⇒ S6 reads the SAME
predicate true ⇒ legitimate USE passes; a second profile-A
INTRODUCTION of the same designation hits ClassificationMismatch
— standing can never be re-minted silently (E3 firewall on the
introduction side).
REMOVE-then-re-ADD (round-4 R2-2; round-5 R5-1 consistency):
after a Remove on the chain, membership FALSE (the seed is
evaluated ONLY at X == PB; a descendant node consults its own
record, so REMOVE sticks downstream — round-5 adversarial
attack-3 probed the recursion and this reading is the ONLY
printed one) ⇒ the re-attempt classifies A and legitimately
RE-INTRODUCES with a NEW binding identity (ICC §14 add ⇒ new;
§12 remove changes membership only; history keeps both bindings —
NotPresentInNewSourceState != Retraction != False != Delete). v4's
historical-mention reading (permanent re-add block = over-law) is
REPLACED by §1.3's walk law (seed-at-PB + paired-record chain).
operation.origin := the §5 origin-leaf law (EXISTING: resolved
declaration Display; NEW: sealed source-basis Display — never an
invented string, matches the field's own doc law "never invented
silently").
FORM S (composite route): a change set may also arrive ONLY as the
output of the RATIFIED typed composer `change_set()`
(crates/api/src/scenario_materialization.rs:425-461) — i.e. the §26.3
scenario-lane candidate materialization chain — consumed whole,
per-item dispositions already explicit by that law.
COMPOSITE GATE MAPPING (round-4 ADV R3-4 + round-5 R5-3/R5-5,
v6): the classifier applies standing_at PER OPERATION TARGET
(any target standing true ⇒ profile B); FORM S sets containing
Add-class targets are refused ComposerModeUnavailable
{designation := ORDER OF §1.3 REPORT-ORDER LAW} (no mode input exists
in the composer output — IM-4(c); defaulting a mode would
VIOLATE the mode doc law);
Replace/AttachMetadata targets classify B via the other-kind
limb; S6 enumerates existing-class targets in the
ORDER OF §1.3 REPORT-ORDER LAW (marker token intact on one
line — round-7 F-R3-2; executor-invariant failed_coordinate);
all enumerated targets must pass; first marker-order failure
reports
ExistingArtifactStandingUnestablished{designation, base}.
prepare(expected_base) takes the SINGLE sealed head of §1.1's
parent set: a FORM S block sealing multiple parents WITHOUT the
M class is InputShapeInvalid{parents} — M is the only
multi-parent path and stays refused until IM-3 (§4). No other
composite producer exists at this surface: multi-operation
incorporation from NON-scenario producers is a future surface
extension OUT OF SCOPE here, stated so (no silent hole): this
contract never claims otherwise.
v2's FORM (b) ("source-block SemanticSourceChange consumed
VERBATIM as the change set") is DELETED — round-2 A-10 correctly
showed it is type-impossible (Expression ≠ String-carrier; no
conversion law exists and inventing one would be a second engine).
FORM S' (local_incorporate): target = the sealed module-local
binding; construction identical to FORM O.
MULTI-OPERATION standalone (FORM O sets with 1 op each; >1 op only
via FORM S): InputShapeInvalid.
CLASSIFIER (total, precedence-ordered):
1. base_admissibility == MULTI_BASE_RECONCILIATION ⇒ M
(substrate-refusal §4 governs landing behavior)
2. ELSE any operation target has standing_established true (§1.3
unified predicate — never the declarer's word) ⇒ B
3. ELSE A.
ONE pure function of sealed program + sealed base + journal
closure; classifier and S6 CANNOT diverge (round-4 R1's
two-executor split closed at the root; round-3 standing-blindness
closed by standing_at; round-2 precedence closed).
1.3 Standing law (v6 rewrite; closes round-5 R5-1[R1]
split-brain formula + phantom-record selection, R5-2[R1] unsealed PB, R5-2[R2] cross-lane journal, R5-3[R2] FORM S mode, R5-4[R2] refusal siting, R5-6/7[R3] mechanics)
HOST AND PB (v6 — round-5 R5-2[down]: v5's seed compared states to
an unsealed str basis key; round-5 R5-2[adv]: which journal was
assumed, not lawed):
BRIDGE-JOURNAL := the single SourceEvolveJournal host the public
incorporation route opens and appends to (single-source-of-truth law
ICC §10/SLT §8: states are minted ONLY via evolve; §9 lanes-
separate row states which journals EXIST; the bridge uses its
own host — scenario-engine journals are DIFFERENT instances and
are NOT read by the public predicate).
PB := the bridge-journal origin: SourceEvolveJournal::open(origin)
takes origin: ContractRevisionRef (crates/lifecycle/src/
revision.rs:367; :83 is the SIBLING RevisionJournal::open —
same shape, NOT the bridge's type; round-6 F-R3-1) and
EVERY record carries basis := self.origin (evolve body :415) —
so PB is a typed, present, per-journal coordinate in the SAME
space as new_state/predecessor (ContractRevisionRef), and the
equality X == PB is well-typed by construction (round-5's type-
space defect removed).
PB-AGREEMENT (S0 check; round-5 R5-2 "mis-sealed PB" hole):
the §1.1 SourceStateSemanticBasisKey row is a STR KEY — v6 does
NOT seed from it (ICC:31 separates it from state identity —
the round-5 anchor, accepted). The seed uses the journal origin.
S0 verifies the sealed parents descend within this host (chain
below); the basis key remains what ICC §10 says it is (semantic
basis identity, not a walk coordinate). A sealed parent that is
neither PB nor a paired new_state in BRIDGE-JOURNAL => S0
InputShapeInvalid{base: NotASourceStateInHost} — fail-closed
(round-5 R5-4[down]: the refusal now sits WHERE the A-path
reaches it: the classifier never runs membership on such a
base; §11 restates the same refusal at the base-seal check).
THE LAW — one recursive total function standing_at(B, t) (the
name §1.2 and §7.0 print IDENTICALLY; round-5 R5-1[down] two
printed formulas re-unified):
standing_at(B, t) := walk(B, t) where
walk(X, t):
X == PB: declaration_named(programs, t) resolves [SEED —
S-DECL limb lives ONLY here: standing by ADMISSION
over the sealed program; ICC §10 binding/
declaration index + §13 EXISTING limb "pre-
established" = established when the declaration
entered the source of truth + §14 carry. The limb
GRANTS NO PROMOTION: §6 SourceInclusion -/->
SemanticStandingPromotion and §2 authority
separation mean it classifies and gates; nothing
more. ARCH §10.1 untouched — recognition of
source-binding membership, not truth/competence.]
else:
let paired(X) := THE record r in BRIDGE-JOURNAL.history()
with r.new_state == X (round-5 R5-1[adv] phantom
selection: the domain is PAIRED records ONLY.
PAIRING — SINGLE CRITERION (round-6 F-R2-1; round-7
N-R2-1/F-R2-1 corrected v7's over-reach: a record r is
PAIRED iff its step-6 attempt-close exists in the §3.2
DOC attempt spine (join on occurrence). Step-5 Ok
WITHOUT step-6 close is NOT paired — it is the §5
OUTCOME_UNKNOWN window, governed by §5's RECONCILIATION
LAW (v8): determination of the OUTCOME is readable (r
in journal.history() with new_state X; X ==
tip_revision() crates/publication/src/publication.rs:
168 — the ONLY exposed accessor; within one host
session a tip advance AFTER the window is impossible
(every base seal needs pairing or PB and X is
unpaired), so the tip check is decisive); but the
completion id itself lives on NO carrier readable
after the close was lost
(journal record carries none — crates/lifecycle/src/
revision.rs:323-341; the service stores
(PublishedStateId, ContractRevisionRef) only —
crates/publication/src/publication.rs:85-89/:153-166;
payload_hash is the POST-close digest of values the
lost attempt never emitted). Therefore resolution-as-
APPLIED-without-close puts the SCOPE into
ReconciliationPending (the DOC carrier's real state —
DocControlState::ReconciliationRequired, crates/
durable-operation/src/state_machine.rs:30; the state
machine's reconciliation transitions :63-68): ALL
incorporation operations over the scope are refused
(named refusal §7.0) until either IM-6 lands (step-5
Ok CHECKPOINT of (RI, occurrence, completion,
published-state) in the attempt carrier, making re-
close lawfully recomputable) or the host session ends
(§11 cross-session limb: a fresh host re-seeds at a
new PB; the orphaned X is unreachable as a sealed
base — fail-closed, never silently re-paired and
NEVER re-published: §3.3 head+1 + tip serialization
forbid minting X twice). NO executor may re-close
from unreadable values — round-7 killed v7's assumed
input. Resolution-as-NOT_APPLIED leaves r unpaired
forever (phantom excluded — round-5 law intact) and
releases the RI per §5's retry-precedence (below).
Unpaired records record NOTHING in standing_at; paired(X) is UNIQUE —
law: two paired records cannot share new_state,
because publish serializes on the tip (§4) and §3.3
derives new_state = sealed head + 1, so a second
record at X would require X published twice; the
phantom path produces UNPAIRED records, excluded; if
host corruption yields FEWER THAN ONE or MORE THAN ONE
paired candidate the walk refuses fail-closed
StandingProofAmbiguous{X} — never picks).
paired(X) absent (X != PB): if X is the SEALED BASE, S0
refuses InputShapeInvalid{base: NotASourceStateInHost}
(grounding check, pre-walk — §7.0 S0); if X is an
INTERMEDIATE chain node whose record lost its pairing
(post-resolution-NOT_APPLIED phantom or corruption),
the WALK refuses StandingProofAmbiguous{X}. Two sites,
two named classes, each defined at exactly one site
(round-6 CD R6-5: v6 called them one class at two
names — v7 separates them cleanly; no overloading).
t is Remove-target in paired(X).accepted_change_set : FALSE
t is Add-target in paired(X).accepted_change_set : TRUE
t is other-kind target in paired(X).accepted_change_set : TRUE
t untouched by paired(X) :
walk(paired(X).predecessor, t) [§14 carry]
CASES EXHAUSTIVE AND ORDERED: the SEED is consulted ONLY at
X == PB; descendants consult their own record only, so a REMOVE
STICKS DOWNSTREAM (round-5 adv attack-3 probed and failed to
find a re-consult reading — v6 pins the order explicitly:
PB-test before record-consult).
TOTALITY: every sealed base used by the public route is PB or a
paired new_state in this host (S0 gate above); walks terminate
(predecessor strictly older; distinct revisions; non-cyclicity
code-checked :399 as a NECESSARY but not by-itself-sufficient
warrant — round-5 ADV R5-7 first item accepted: termination is LAWED by
the S0 descend-within-host requirement, not by :399 alone).
CROSS-LANE LAW (round-5 R5-2[adv] R2; chain-break one level up —
named, fail-closed until IM-5):
A designation introduced ONLY in a scenario-engine journal is
INVISIBLE to standing_at by construction (different host).
Consequence lawed, not assumed: a public application cannot
SEAL a scenario-lane base at all (S0 NotASourceStateInHost) —
so no public classification (A or B) of scenario-introduced
targets over scenario states exists pre-IM-5; the silent-A
re-introduction the attack constructed has no reachable input.
IM-5: shared-host integration (bridge reads the journal that
the host profile declares authoritative for the TargetSource-
Scope; ICC §10 single-source-of-truth law already requires
ONE journal per scope — IM-5 wires it; until then the two
lanes' states do not intersect at this surface, and §26.3's
scenario chain keeps its own route, un-crossed).
CROSS-SESSION limb (v6, honest): a NEW host session reopens PB
over its origin; records of a PRIOR session of the in-memory
profile are outside this host's walk. Under §11's process-
lifetime scope that prior world is NOT authoritative data for
this host (fresh-world fact, not laundering — the prior
session's completion/pairing coordinates are unreferenceable:
no base of it is sealable here). Where the host profile
DECLARES cross-session persistence, IM-4(b)'s pairing view
(attempt ledger + journal) is the named recovery route; until
it lands, sealing such a base fails at S0.
CROSS-HANDOFF laundering is therefore IMPOSSIBLE pre-IM-5 (no
bridge input names a foreign-host state) and governed by IM-5 +
the pairing law after it.
FORM S MODE (round-5 R5-3[adv] R2): change_set() emits only
Add/Replace/AttachMetadata operations and DROPS per-item
introduced_standing (no mode input in MaterializationDisposition
crates/api/src/scenario_materialization.rs:189-215; the engine's
mode check at :1236-1252 is engine-side
apply(), not composer output). v6 law: FORM S change sets with
Add-class targets are refused at S1 ComposerModeUnavailable
{designation := ORDER OF §1.3 REPORT-ORDER LAW} — a
default mode would VIOLATE the
StandingIntroductionMode doc law (never inferred); refusal is
the fail-closed honest state until IM-4(c) (composer carries
per-item introduction mode into change_set() output — the
additive completion §10's IM-4(c) row registers; v8's bare
'§19' was a dangling reference — no §19 exists in this
contract, F-R3-4). Replace/AttachMetadata (use-class)
targets stand: classification B, membership via the other-kind
TRUE limb (a published paired record's Replace target IS
present).
REPORT-ORDER LAW — THE SINGLE HOME (round-7 F-R3-2: v7's two
quotation sites diverged in case/wording/plural AND each
credited the OTHER section as the rule's home — circular
provenance; v8: this §1.3 block is the ONLY printed body;
every report site prints ONLY the marker token):
ORDER OF §1.3 REPORT-ORDER LAW := select the FIRST
candidate designation in ASCENDING BYTE ORDER of the
canonical_json ENCODING of the designation STRING (§5
single encoder) — NOT change-set Vec order, NOT text order
(ICC §16).
Sites choosing among multiple candidate designations: S6
existing-class enumeration (§1.2/§7.0); ComposerMode
Unavailable multi-Add refusal (§1.2/§1.3). W-ORDER tests:
(i) this body prints exactly once; (ii) every report site
carries the exact marker token 'ORDER OF §1.3
REPORT-ORDER LAW' — tested as the unwrapped single-line string
(whitespace-normalized match); (iii) NO site paraphrases the
body or credits another
home. Edits to the body happen ONLY here.
MEMBERSHIP CONSEQUENCES (v5 text retained; re-probed consistent):
REMOVE then re-ADD: walk FALSE after the Remove => classification
A => legitimate re-introduction, NEW binding identity by the
§14 table (identity of a binding := (designation, introducing
paired record's new_state) — the derived coordinate IS the
identity mechanism; no separate binder carrier exists or is
invented; round-5 R5-6(c) closed by naming the derivation).
Both bindings retained in history (NotPresentInNewSourceState !=
Retraction != False != Delete, §12).
co-introduce then reuse: paired record's Add => TRUE at its
new_state and carried => classification B, S6 same-predicate
TRUE => legitimate USE; second profile-A INTRODUCTION =>
ClassificationMismatch lie gate. Two-step dead within a host;
cross-host dead by the cross-lane law above.
OBSERVATION (S6 predicate — printed IDENTICALLY by §1.2 and §7.0):
standing_established(t, B) := standing_at(B, t)
MODE-INDEPENDENT for USE (N-3 stands). Introduction-side mode
law unchanged (§1.2 FORM O sealed mode; INDEPENDENT on a NEW
declaration => IndependentIntroductionBlocked mirror as LAW;
COINTRODUCED rides the record, IM-4(a)).
REACHABILITY: reads only sealed program + BRIDGE-JOURNAL history()
(pub crates/lifecycle/src/revision.rs:422; every record's basis
:= journal origin — crates/lifecycle/src/revision.rs:341, the
PB-equality fact) + the §3.2 attempt spine; PAIRED := step-6
closed record joined on occurrence — the ONE criterion defined
in the walk body above (no second wording anywhere). Decidable
in-process by construction pre-IM-4(b) (the bridge writes both
records); after restart IM-4(b)'s threading names the read
path; §11 governs cross-host visibility. The pairing join is
one-directional (record -> attempt close), never circular:
the attempt spine never consults the walk.
CROSS-BRANCH: unchanged (closure over the chain; branches invisible
from each other — ICC §15 correct; round-4/5 both failed to
falsify).
2. SourceAuthority — the RM-21 mirror route (round-2 R1-1 closed)
2.1 Resolution route (decidable, zero invented types)
LAW AUTH-ROUTE (mirrors the ratified governance lane exactly):
1. the contract block's `authority` field names a designation
(field-name = the existing AUTHORITY_FIELD "authority",
crates/api/src/run_families.rs:87); `using` qualified_ref is the SAME
designation channel at the surface (its elaborated
Option<Resolution> is consistency-checked against the field:
disagreement => AuthorityDisagreement { name }).
2. `declaration_named` over the sealed programs resolves it;
absent => AuthorityDeclarationMissing { name } (real precedent
GovernanceFailure::AuthorityDeclarationMissing).
3. the authority coordinate :=
IntroductionAuthority{ basis_artifact :=
declaration.owner_revision.artifact,
basis_revision := declaration.owner_revision,
authority := OwnerRuleRef::from_declaration_identity(
declaration.identity) }
— the RM-21 single production route (identity.rs:189-209 doc
quoted §0). NO kind-tag test exists or is claimed: expectedkind
has no authority variant (round-2 fact accepted); authority
status comes from the ROLE the application assigns the resolved
declaration, grounded by the independence law §2.2 — exactly
how the admit lane operates (resolve_authority performs no kind
test either: crates/api/src/run_families.rs:176-190).
4. non-name / non-unique field value => AuthorityNotAName |
AuthorityFieldMissing (precedent variants; reused pattern, not
re-lawed for admission).
2.2 Independence + roles (I-3 fixed — round-2 A-5 showed v2’s
I-3 was vacuous)
LAW ROLES: authoring / evolution / authority are three sealed §1.1
coordinates; evolve's `author` argument := the AUTHORING coordinate
only. Recorder/publisher role discharged BY machinery (journal /
service), never an input coordinate.
Independence checks (gate S3, all decidable over sealed data):
I-1 authority.basis_revision != new_state (evolve :404, CODE)
I-2 the authority declaration's OWN designation != the sealed
target designation(s) being incorporated (name-to-name
compare between two sealed fields — NOT a free-string guess at
basis_artifact; v2 formulation corrected)
I-3' the authority declaration is NOT among the change set's
operation targets: no operation target designation equals the
authority declaration name (decidable over SourceChangeSet
.target strings + sealed designation). A self-incorporated
authority ("my target is also my authority") is the concrete
laundering shape I-3' kills; v2's "exists independently of
outputs" was trivially true (round-2 A-5) and is REPLACED by
this non-vacuous law.
Violations: AuthorityIndependenceRejected { I-1|I-2|I-3' }.
Coincidence of PRINCIPALS across role slots stays legal-as-declared
(ICC §11 forbids inference, not coincidence); a MISSING coordinate
is InputShapeInvalid, never back-filled.
2.3 AUTH-BIND (v2 two-layer law stands, honestly)
publish consumes transition/authorizer existence-only (:145-147 CODE). The bridge re-checks equality at bridge level (authorizer == §2.1 authority.authority; transition == the mint_under_authority binding of the same coordinate — deterministic equality, total check). IM-1(b) makes publish structural. Pre-IM the bridge check IS the public enforcement; law single, both points named. (No over-claim: “substrate enforces” is NOT said anywhere in this contract.)
3. Composition, attempt state, revision (v2 §3 substance survives
round-2 spot-check “substantially closed”; residuals closed here)
3.1 COMPOSE (journal-first, total order — unchanged core; pairing
made a law with CARDINALITY)
1 seal inputs; RI := §5 codec record
2 DOC attempt OPEN (DurableOperationId + DurableAttemptId, §3.2)
3 evolve(base_states = sealed parent(s) per §1.1,
accepted_change_set = §1.2 carrier,
source_authority_basis = §2.1 coordinate,
author = authoring coordinate,
new_state = §3.3 derived,
predecessor = sealed expected head)
-> SourceEvolve{occurrence,...} (semantic record)
4 prepare(content = the change-set carrier's target-state payload,
expected_base = PRIMARY SEALED BASE (see M law §4),
prepared_basis = sealed source basis)
5 publish(prepared, transition(§2.3), integrity = §5 digest over
SourceChangeSet::canonical_bytes(), new_revision = SAME
value as step-3 new_state, authorizer = §2.1 authority)
-> PublishedAuthoritativeSourceState (completion)
6 attempt CLOSE; the SPINE QUADRUPLE (RI, occurrence,
completion_id, published_state_id) recorded — round-7
F-R2-1: v7 called a four-coordinate record a 'triple'; DOC
payload_hash := §5 digest of the quadruple (§3.2)
CARDINALITY LAW (round-2 R2-a): per attempt: ≤1 evolve, reached only
if S7 executes; per RI: ≤1 APPLIED (replay short-circuits after one;
retry-after-NOT_APPLIED = new attempt under the SAME RI; a NEW
evolve is permitted only if attempt#1 produced NO evolve (pre-S7
refusal — step-3 refusals append nothing; step-5 refusals leave an
UNPAIRED evolve r1). PRECEDENCE LAW (round-7 N-R2-2 — v7’s two
sentences gave opposite instructions for evolved-then-rejected
attempts): retry-after-NOT_APPLIED where attempt#1 produced an
unpaired evolve r1 REUSES r1 — attempt#2 issues no new evolve
(cardinality holds: attempt#2 produces zero); the publish step
re-drives step 5 over r1’s payload (new_state derives identically
from the same sealed head; tip law re-checks at publish time, so a
concurrent tip advance simply rejects step 5 again and the RI
stays NOT_APPLIED). Reuse never re-mints: a step-5 Ok resolved
APPLIED replays (§5 replay law), and a resolution-APPLIED
unclosed attempt is §5’s ReconciliationPending case, never a
retry-with-reuse. Fresh RI over the same base is legal and
independent (§3.3 + tip serialization). All reconstructible via
journal.history() (:422) — the divergence the auditor named is now
itself the detection surface.
PAIRING: evolve-without-publish = unpaired, never retro-paired (§5);
publish-without-evolve at the bridge impossible (step 5 consumes step
3) and a published state with no paired journal record is NOT an
AuthoritativeSourceState (ICC §10 field list = the definition;
PublishedAuthoritativeSourceState struct :156 carries none of them).
3.2 Attempt control on DOC (named homes — round-2 R2-c closed)
Attempt/request control = DOC records ONLY:
operation := DurableOperationId — DOC-minted for the operation
spine (no re-derivation law; the RI<->operation
binding is recorded by the payload_hash digest of
the SPINE QUADRUPLE below; the PUBLIC attempt
coordinate is
DurableAttemptId — round-6 observation closed);
attempt := DurableAttemptId (crates/durable-operation/src/identity.rs:37 — the REAL name);
record := PersistedOperationRecord{operation_id, state,
generation, payload_hash:[u8;32]} with
payload_hash := SHA-256( canonical QUADRUPLE encoding ) via
the §5 encoder/leaf laws — the named carrier's EXACT
slot for the (RI, occurrence, completion,
published-id) spine digest (full values live in the §7.1 machine result;
DOC stores the binding digest).
No new control-journal type; DOC's "no semantic standing" header
honored (authority truth = journal+publication). In-memory profile:
process-lifetime same carriers (§11).
3.3 Revision derivation as a NAMED FUNCTION (round-2 R2-b)
new_state := ContractRevisionRef{
artifact: <sealed TargetSourceScope's artifact coordinate>,
revision: <sealed expected head>.revision + 1 }
(new_revision at step 5 := the SAME value — one variable, two uses.)
Total, deterministic over sealed inputs (artifact name from §11's
sealed scope; ordinal over the base's own revision field). NOT
caller input, NOT tip+1 over a mutable service tip, NOT the node
serial style (HISTORICAL).
4. Concurrency, stale base, branching, classes (v2 core stands;
M-class and multi-base made honest)
HISTORY AUTHORITY = journal DAG (evolve base_states/predecessor;
multiple children of one base = branch, CODE-true). Publication
`extends = last()` (:155) is the completion list, never the history
law; IM-2 derives it from the sealed base. Branch coexistence
reconstructible from journal.history() (W-DAG targets the journal).
REQUIRE_EXPECTED_HEAD: code-native (:136-144 ExpectedBaseMismatch).
Second publisher on a moved tip => class-S refusal; no implicit
winner; candidate survives; CurrentSelection != ConflictResolution;
SourceMerge != SemanticConflictResolution.
EXACT_BASE_ALLOWED / REQUIRE_DESCENDANT_OF: NOT substrate-realized
inside publish (tip-equality only; is_descendant_of lives in the
scenario ledger, not in publish). HONEST STATE + BRIDGE LAW: refused
fail-closed `SubstrateClassUnsupported { class }` until IM-1(a)
dispatches the sealed class inside the SAME conjunction. No silent
demotion; the ratified classes' meaning lives in the journal DAG
meanwhile (a refused-attempt candidate loses nothing).
MULTI_BASE_RECONCILIATION: NO code carrier exists for
SourceReconciliationContract/Result (grep = 0 hits, contract-down
R2-e confirmed) and prepare takes ONE expected_base (adversarial
A-4). v3 law: class M is BRIDGE-REFUSED `ReconciliationClassUnsupported`
until a named reconciliation carrier + a sealed PRIMARY-BASE
projection law land (tracked as IM-3, same honest pattern); evolve's
base_states: Vec already accepts the multi-parent shape — the refusal
is about the UNLAWED projection, not the carrier.
Replay-vs-gate ordering: the §5 REPLAY/RETRY law (added at v3,
restated since — round-7 F-R3-5 corrected v7's false
'unchanged from v2' provenance AND its §7.0 site attribution:
§7.0's ledger-first is gate ORDERING, not a replay law; v2
printed no replay step): completed (APPLIED) RI returns
original coords; fresh RI runs gates; NOT_APPLIED resolved
retry = new attempt over same RI with §3.1 evolve-REUSE
precedence (v8).
5. Outcomes, exposure, retry/replay, identity codec (v2 §5 core
stands; codec made CALLABLE with pinned leaves)
VOCABULARY: the four CLASS NAMES are ICC §26.1's exactly (APPLIED
| NOT_APPLIED | OUTCOME_UNKNOWN | MECHANISM_FAILED — verbatim);
the PAYLOADS {gate, failed_coordinate}, {unresolved_attempt},
{substrate_reason} are THIS contract's §7.x result-surface
encodings, NOT §26.1 text (round-4 contract-down R4-3 fixed).
EXPOSURE POINT: success return of COMPOSE step 5. Steps 1-5 refusal =
pre-exposure NOT_APPLIED. Status loss after 5-Ok before 6-close =
OUTCOME_UNKNOWN. REACHABILITY LAW: synchronous in-memory profile =
atomic 1-6; bridge NEVER issues UNKNOWN; MECHANISM_FAILED covers
NON-REFUSAL compose failures ONLY (round-6 F-R2-3: v5/v6's '='
sentence contradicted §7.0's closed-set law): typed REJECTIONS
returned by step-3/step-5 are NOT_APPLIED{gate:S7, step-N:variant}
(§7.0 closed set, never demoted UP or DOWN); MECHANISM_FAILED is
reached in the sync profile via ledger-host faults at steps 2/6
and panic paths (evolve/publish are pure-Result, so their only
non-refusal exits are panics). Crash-durability profile (DOC
CrashDurabilityProfile configured): boundary real; resolution-before-
retry determines the prior outcome with EXACTLY §1.3's
printed read set for the window case — journal.history() +
tip_revision() (crates/publication/src/publication.rs:168) —
and the §3.2 attempt-spine join keyed on RI applies ONLY to
CLOSED attempts, whose RI<->operation binding exists (§3.2:
payload_hash is written AT close). No determination may be
keyed on a binding whose close never happened (round-8 N-R2-2:
v8 kept an 'over RI' formulation beside §1.3's corrected one —
ONE determination, ONE read set; the stale formulation is
deleted here). resolution-as-APPLIED-WITH-CLOSE enters compose
normally; resolution-as-APPLIED-WITHOUT-CLOSE is the §5
RECONCILIATION LAW: the scope enters ReconciliationPending
(DOC state carrier §1.3/§3.2) and every incorporation
operation over it is refused ReconciliationPending{scope}
until IM-6 (step-5 Ok checkpoint) or host-session end (§11).
No re-close without a readable checkpoint — round-7.
RETRY/REPLAY (§26.1 verbatim + §3.1 cardinality): APPLIED RI replay =
RETURN original coords (no new evolve/publish/transition);
NOT_APPLIED resolved retry = new attempt over same RI (evolve-
reuse precedence §3.1); UNKNOWN
blocks until resolution — and resolution EXHAUSTS the block
(round-9 CD-R2-1/F-R2-1: v9 had installed a SEPARATE pre-
compose class RetryBlockedPendingResolution{attempt}; it
collided with §7.0 S0's scope refusal on one constructible
input with no printed precedence and no §7.1 encoding —
precisely the two-site collision class of round-6 F-R2-3; the
class is DELETED, not re-ordered, because the unified
determination leaves NO residual case it would name):
determination of an unresolved prior attempt reads
journal.history() + tip_revision() (:168; §1.3 read set) and
lands in exactly one of — (1) closed-APPLIED: replay returns
original coords (§5); (2) closed-NOT_APPLIED: retry per §3.1
PRECEDENCE (evolve-reuse or fresh evolve, no refusal); (3)
published-unclosed: SCOPE ReconciliationPending → the ONE
public refusal for that input, at S0, encoded
NOT_APPLIED{gate: S0, failed_coordinate:
"s0:reconciliation-pending"} (§7.0/§7.1); (4) not-published:
step-5 never Ok → unpaired → §3.1 reuse/retry route, no
refusal. One determination, one route per outcome, AT MOST
ONE public refusal coordinate per input — RetryBlocked-
PendingResolution survives in NO law position (W-UNK re-
armed; §14 row marked below).
RI CODEC (callable + leaf-pinned — round-2 R2-d/A-3 closed):
RI := sha256_hex( to_canonical_bytes( sealed_record ) )
using ONLY the RING-FREE public encoder in crates/api:
canonical_json.rs (JsonValue::object sorts members by raw UTF-8
bytes of the key — canonical JSON v1: enum doc :24, object
constructor :35, sort :39;
to_canonical_bytes :66; sha256_hex :135). v2's persist.rs:173-177
citation was a comment over a PRIVATE writer (round-2 fact
accepted): the contract now names the public one. The §3.2 spine
quadruple
digest and the §5 integrity digest reuse the SAME encoder (single
canonical encoder for the identity domain — no second).
LEAF LAWS (every field's canonical rendering pinned):
ContractRevisionRef := object{artifact: str, revision: uint}
OwnerRuleRef / DeclarationIdentity spine :=
object{origin: ContractRevisionRef-leaf, serial: uint}
IntroductionAuthority := object{basis_artifact: str,
basis_revision: rev-leaf, authority: owner-leaf}
change set := SourceChangeSet::canonical_bytes() (revision.rs:216
— ratified builder, its own doc: "identity for digests and
equality across carriers")
operation.origin STRING (round-3 N-2 leaf hole closed; the
origin String IS a canonical_bytes leaf, so its rendering
is pinned): EXISTING class := the resolved declaration's
rendering produced by the ratified opaque_identity macro
Display law "{Name}#{serial}@{origin}"
(crates/resolver/src/identity.rs:103-108) with the
embedded ContractRevisionRef Display "{artifact}@r{revision}"
(:44-46); NEW class := the sealed source-basis coordinate's
ContractRevisionRef Display "{artifact}@r{revision}". The
law pins the macro's OWN Display output, never a
reformulation. Total, deterministic, single encoder.
enums (base_admissibility class, profile, kind) := UPPERCASE_SNAKE
fixed strings named in this contract
designation/scope/basis keys := sealed str coordinates as authored
time values := object{ticks: uint, domain: str}
Two executors hashing the same sealed inputs now CANNOT differ
(A8 falsifier #2 dead).
TIMES: three sealed roles recorded at the named seams (step 3 /
§1.1 effective / step 5). VALUE-distinctness is NOT asserted (§12
clock freedom stands; round-2 A-7 correction: the law is
ROLE-separation-at-seam, coarse clocks may coincide in value —
W-TIME re-pinned to roles/seams, not to inequality).
6. Non-collapses — refusal + enforcement point + witness (v2 §6
stands; row-5 wording re-pinned to real carriers)
1 Observation -/-> Source: observation-typed values where change-set/
authority coordinates are required => SourceAuthorityNotCarriedBy
Observation at S0 (typed inputs + §1.2 construction never reads
observation carriers). W-OBS.
2 Candidate != Source: prepared id, stored bytes, UNPAIRED evolve are
NOT authoritative (paired-publish law §3.1; ICC §26.3; separate
pub structs). W-NOPAIR (both directions; round-9 merge).
3 RuntimeOutput -/-> AuthoritativeSourceUpdate: execution/attempt/
receipt carriers as payload/authority => RuntimeOutputCarried
UpdateRefused at S0 seal (no input slot exists for them; §1.2
builds from sealed fields + resolution facts only). W-RO.
4 StorageWrite -/-> SemanticAuthority: integrity proof is
bridge-COMPUTED over the change-set canonical bytes (§5), never an
accepted receipt; "already written" offers => StorageProofRejected
(S0). Bytes without §3.1 pairing are not states. W-ST.
5 ScenarioAuthority -/-> SourceAuthority: scenario candidates enter
ONLY as `change_set()`'s OUTPUT (FORM S) under a §2.1-resolved
authority that re-resolves INDEPENDENTLY; ProposedSourceAuthority
is consumed as a NAME coordinate re-resolved over the sealed
program, proposal != authority; per-item dispositions explicit
(no default coercion — §26.3 verbatim, incl. no
INTRODUCE_LOCAL→CREATE: the composer's InventedOperation law).
W-SCN.
6 ProviderSession -/-> SourceAuthority: session/registration types
are not declaration designations resolvable by §2.1's route;
using->non-declaration => AuthorityDeclarationMissing-style seal
refusal (no coercion probes: distinct structs, zero From/TryFrom
— verified both round-2 passes). W-SESS.
Higher-level invariants preserved (restated bridge laws):
SourceStatePrepared != AuthoritativeSourceStateIntroduced;
SourceInclusion -/-> SemanticStandingPromotion (S6 REFUSES
unestablished standing; incorporation changes membership only);
RevisionRelation != Causation; SourceParent != Causation;
TemporalSuccession -/-> Causation (§24);
Retraction != Delete != False (§12); SourceTextOrder -/->
SourceStateMeaning (§16); identity coalescence only via §5 RI law;
CurrentSelection != ConflictResolution;
SourceStateSelection != SemanticEffectiveSelection.
7. Public execution — total gates + surfaces (v2 §7 stands, S6
given its observer, §7.2 given its host)
7.0 Gate sequence (TOTAL, first-refusal law — unchanged order;
S6 now OBSERVABLE)
S0 SHAPE+SEAL + HOST-GROUND + SCOPE-STATE: §1.1 required
fields; §1.2 construction legality; typed-input collapse seals
(§6.1/.3/.4); RI computed (§5); the scope is checked NOT to be
in ReconciliationPending (§5 reconciliation law / §1.3 pairing
window) — otherwise NOT_APPLIED{gate: S0, failed_coordinate:
"s0:reconciliation-pending"} — the named class
ReconciliationPending{scope} (round-7
N-R2-1/F-R2-1: a scope whose last attempt published-without-
close refuses ALL incorporation until IM-6 or session end —
never re-closed from unreadable values); the sealed base(s)
are checked to be PB or a PAIRED new_state in BRIDGE-JOURNAL
(§1.3) — otherwise InputShapeInvalid{base:
NotASourceStateInHost} (round-5 R5-4: the refusal sits at the
base-seal so the classifier never walks a foreign/unpublished
state; single named class).
S1 CLASSIFY: §1.2 precedence classifier over §1.3 standing_at
(M -> §4 refusal law applies at compose; FORM S Add targets ->
ComposerModeUnavailable §1.3/IM-4(c)).
S2 AUTH-ROUTE: §2.1 (AuthorityFieldMissing | AuthorityNotAName |
AuthorityDeclarationMissing | AuthorityDisagreement).
S3 INDEPENDENCE+BIND: §2.2 I-1/I-2/I-3'; §2.3 bridge equality.
S4 BASE: §4 class law over sealed base(s) (ExpectedBaseMismatch |
SubstrateClassUnsupported | ReconciliationClassUnsupported).
S5 INTEGRITY: digest via §5 over SourceChangeSet::canonical_bytes().
S6 E3-PRE-STANDING (profile B): OBSERVER = §1.3 standing_at walk
over BRIDGE-JOURNAL PAIRED records (one pairing criterion —
§1.3) + the PB seed (v3's
PublishedLedgerEntry observer WITHDRAWN — lane-private:
round-3 R1-1/N-1; v5's whole-history registry WITHDRAWN —
phantom/unpaired records could manufacture standing: round-5
R5-1[adv]; pairing is §3.1's own law, now applied to the walk
domain):
standing_at(B, t) (§1.3's one printed body; MODE-INDEPENDENT
— independently-introduced standing IS established for USE;
round-3 N-3 over-refusal drift corrected):
false => ExistingArtifactStandingUnestablished
{designation, base};
true => pass (legitimate E3 use);
walk hit StandingProofAmbiguous{X} => propagated as
NOT_APPLIED{gate: S6, failed_coordinate :=
"s6:standing-proof-ambiguous"} — THE coordinate print
site (round-11 CD-R2-1/F-R3-1: v11's prose claimed this
dash-form as verified-printed while no law site printed
it; v13 — after round-12 CD-R3-1 — states plainly: v12
AMENDED this arm's encoding sentence, refusal substance
preserved; not 'unchanged since v10').
GATE-SEMANTICS LAW (round-12 ADV F-R2-1 [R2]: v12's
print sat inside the profile-B-only arm while §1.3's
walk refusal is profile-neutral and A-profile
classification runs the walk at S1 — executor α could
report gate:S6 (owning law) and executor β owe an S1
encoding that exists nowhere): the gate field of
NOT_APPLIED names the OWNING GATE of the refusal class
— the gate whose law body defines the refusal — NEVER
the executing-sequence membership. A walk refusal's
owning gate is S6 (the standing law §1.3/§7.0's observer
arm) in EVERY profile; profile A's enumeration ('A: S0,
S1,S2,S3,S4,S5,S7') records that A never RUNS the S6
observer step — it does NOT forbid S6-as-owner
coordinates; β's premise (S1 encoding owed) is
excluded: no refusal's owning gate is S1 except S1's
own classifier/lie-gate classes. Same input, one public
payload in every profile (fail-closed; no record
selection; W-GATESEM pins).
The bridge NEVER manufactures standing (E3 firewall): a
profile-A RE-INTRODUCTION over standing_at-true designation is
refused before S6 by the §1.2 lie gate (ClassificationMismatch);
INDEPENDENT-mode new introductions are refused by §1.3's
introduction-side law (IndependentIntroductionBlocked).
IB OWNERSHIP PIN (round-13 ADV F-R2-1 [R2]: IB's owning gate
was unpinned — the class name prints here in the S6-observer
paragraph, IB fires only on the profile-A path where A never
RUNS S6, and the gate law's exclusion clause denies the S1
reading without pinning an owner => α{gate:S6} vs β{gate:S1}
fork on the W-IBLOCK input; the fix site became the fork site
a third round running): IndependentIntroductionBlocked is an
INTRODUCTION-SIDE-LAW refusal — NOT a walk refusal (S6-owner
excluded) and NOT a classifier/lie-gate class (the exclusion
clause's S1 carve-out does not apply to it either; the clause
is hereby read as pinning WALK refusals to S6 and
CLASSIFIER/LIE-GATE classes to S1, leaving introduction-side
law refusals to the general owning rule below). By that rule
IB's owner is S1 — the gate at which the introduction-side
mode law runs (§1.2 FORM O sealed-mode check is part of
classification; ComposerModeUnavailable, IB's sibling §1.3
refusal, is pinned 'at S1' by the identical logic): every
profile RUNS S1, so {gate: S1, failed_coordinate :=
"s1:independent-introduction-blocked"} is a legal in-sequence
coordinate in A and B alike; the dash-form follows the s0:/s6:
report-form convention. OWNERSHIP TOTALITY RULE (generalized;
closes the three-round whack-a-mole): EVERY refusal class
printed by this contract has EXACTLY ONE owning gate, read
off its defining law's home — walk/standing refusals own S6;
classifier and lie-gate classes own S1; introduction-side mode
law (ComposerModeUnavailable, IndependentIntroductionBlocked)
owns S1; base/shape/scope grounding owns S0; authority route
owns S2; independence/bind owns S3; base-class law owns S4;
publication/eligibility owns S5; compose-step refusals own S7
(step-N encoding). A refusal whose home section is printed
inside another gate's paragraph (as IB's name is, above, for
firewall-narrative reasons) takes its owner from its
DEFINING law (§1.3/§1.2 introduction-side), not from the
paragraph it is mentioned in. Round-13's ADV swept 14 further
classes and found them converged (sweep completeness NOT
claimed under scope reduction — the totality rule is the
durable closure; W-IBLOCK pins).
S7 COMPOSE: §3.1 ordered; step-failure encoding below.
A: S0,S1,S2,S3,S4,S5,S7 | B: +S6 | M: §4 refusal until IM-3.
NOT_APPLIED carries {gate: Sx, failed_coordinate} — no unlabeled
classes. STEP-Failure encoding (round-3 R2-3 + round-4 ADV R3-1:
CLOSED SET — the v3/v4 open "other NAMED substrate rejection"
disjunct is REMOVED). Returned compose-step refusals enumerate
the CODE-CLOSED variant sets (self-probed at this tree):
SourceEvolveError = exactly {NoBaseState, NotANewState,
SelfGrounding} (crates/lifecycle/src/revision.rs:346-354) and
PublicationRejection = exactly {ExpectedBaseMismatch,
IntegrityEvidenceMissing} (crates/publication/src/
publication.rs:175-186) — failed_coordinate := "step-3:{variant}"
| "step-5:{variant}" over that closed union ONLY. A step failing
NON-refusal (ledger-host fault at compose steps 2/6, or a panic
path) is MECHANISM_FAILED {substrate_reason} — compose steps 2/6
(DOC attempt open/close) have THIS failure class (round-5 R5-4:
previously unencoded); evolve/publish themselves are pure-Result
in the sync profile so their only non-refusal exit is panic, and
MECHANISM_FAILED is reachable in the sync profile VIA ledger
faults, not via step-5 (the candidate claims no step-5 sync
reachability). If the substrate later ADDS a rejection
variant, THIS CONTRACT MUST BE REVISED to admit it — new variants
are NOT implementer's mapping choice (A8 closed-enum law). S0..S7
labeling exhaustive.
7.1 Public result (v2 structure; naming + gate range fixed)
RunApplicationOutcome::IncorporationComplete(IncorporationOutcome {
coordinates: RunApplicationCoordinates, (family: Incorporate)
designation, request_identity: HexDigest(§5),
attempt_identity: DurableAttemptId,
outcome: APPLIED { published: { occurrence: SemanticOccurrenceId,
new_revision: ContractRevisionRef (§3.3 — same value as evolve's
new_state), completion: PublicationCompletionId,
published_state_id: PublishedStateId, predecessor,
transaction_time, effective_time: Option, physical_time },
profile: A|B }
| NOT_APPLIED { gate: S0..S7, failed_coordinate }
| OUTCOME_UNKNOWN { unresolved_attempt } (never issued by the
in-memory profile, §5)
| MECHANISM_FAILED { substrate_reason },
impact_summary: Option — presence laws:
APPLIED => Some(computed over the sealed base's ancestry and
the §1.3 PAIRED-walk domain (paired records + carry; unpaired
records excluded from impact evidence exactly as from standing
— round-6 pinned) per ICC §21, classes
REMAINS_VALID_UNDER_NEW_STATE | RECOMPUTE_REQUIRED |
HISTORICAL_ONLY | UNRESOLVED_IMPACT — exact labels;
non-APPLIED => None). Carrier = journal.history() records
(round-3: lane ledger removed from the law — v2's dangling
phrase had been mapped to PublishedLedgerEntry, withdrawn by
v4 §9/R1-1; now mapped to the public-route carrier).
})
Unsupported removed from this family (executor :480-492 arm
replaced). Non-APPLIED issues no unearned coordinates.
7.2 Machine surface (host NAMED — round-2 R2-c closed)
The new variant serializes INSIDE THE EXISTING machine result
document: machine_run already projects outcome.applications into
its JsonValue array (machine.rs:465/:475/:483-584) — no new ledger
invention, no C1 execution-plane host (the only other api ledger,
AuthorizationEvidenceLedger, is execution-plane; binding rows there
would CROSS §13 — declined explicitly). Correlation rows =
IncorporationOutcome fields serialized deterministically (§5 leaf
laws); the durable reconstruction spine = §3.2 DOC payload_hash +
journal.history(). “One-value answer”: APPLIED carries the spine
quadruple;
nothing else is asserted.
8. Preservation / history / identity / times (v2 §8 stands,
anchors fixed)
predecessor: step-3 record (sealed head), append-only.
history: journal DAG complete; ICC §23 Query over existing surfaces;
W-DAG pins reconstructibility from journal.history().
identity: new state := (basis, occurrence, §3.3 revision); binding
identities per ICC §14 TABLE (full row, R4-4/R5-5 restatement
— content-complete, not a literal quotation):
unchanged carry-forward PRESERVES binding identity; add -> new
binding identity; remove -> historical old binding, absent in
new state; relocate -> new binding identity + RELOCATED_BINDING
correspondence; replace -> new binding identity +
REPRESENTATION_SUCCESSOR + EXPLICIT MAPPING; path/name/text
equality is never identity authority.
times: §5 three-role seam law (role separation, not value
inequality — A-7 correction).
impact: §7.1 presence laws over the §1.3 paired-walk records;
§21 invariance laws quoted (SameDirectDependencyRefs -/->
ResultStillValid; TextChanged -/-> SemanticBasisChanged);
later-computation-on-new-revision remains the C4 obligation,
deferred HONESTLY here.
9. Relationships (v2 §9 stands; census truth unchanged)
SourceEvolveJournal: SOLE semantic route; the public bridge is its
FIRST productive non-scenario consumer (callers today: scenario
lane + tests — re-verified by both round-2 passes).
publication machinery: step-5 completion under §2.3; IM-1/IM-2/IM-3
named obligations (laws exist ICC §26.2/§10/§17; code state honest
§0/§4 — no over-claim).
ScenarioMaterializationEngine: ONE candidate producer (§6.5); its
change_set()/§26.3 chain is the FORM S carrier (Add-class items
refused until IM-4(c) — no mode input in composer output); the
scenario lane's journal is a DIFFERENT host instance (engine
open() at crates/api/src/scenario_materialization.rs:1063 mints its own) — §1.3 cross-lane law + S0 host-
ground keep foreign states unsealable until IM-5; not re-lawed.
DOC: control host §3.2; header law honored.
TargetSourceLedger: NOT the public observer (round-3 R1-1; v3
attribution WITHDRAWN): lane-private structure, never written by
the public route, ledger fields fabricated empty at registration
(:953-991), map private (:1053). The scenario lane keeps it for
its own §26.3 chain; this contract neither reads nor writes it.
IM-6 is registered at §10 (round-8 N-R2-1: v8 printed it here
while §11/§14 credited §10 — the home is now the register).
The public observer is §1.3 (journal derivation). IM-4(b) threads
the journal host to the bridge; §11's empty-registry law covers
the pre-IM gap.
10. Substrate obligations (named; honest landing state)
IM-1 (a) publish base-admissibility class dispatch (§26.2 law
exists; pre-IM bridge refuses SubstrateClassUnsupported);
(b) publish consumes transition/authorizer structurally
(§2.3; pre-IM bridge-level equality enforcement).
IM-2 publication extends derived from sealed base (history law
already journal-side).
IM-3 M-class: named reconciliation carrier + primary-base
projection law + sealed per-conflict alignment inputs
(ICC §17 meaning; NO code carrier exists — the bridge
refuses until it does; v3 does NOT pretend M lands now).
IM-4 (round-3 R2-1/R1-1 residual, v4): (a) the SourceEvolve
record gains the sealed introduction MODE stored per
target (ICC §18/§14 law the values; evolve's signature
carries no bundle today — recording is wiring); until then
§1.3's S6 predicate is mode-INDEPENDENT (USE), so the
public route is NOT blocked by the gap, and re-introduction
is blocked by the §1.2 lie gate, not by stored mode;
(b) journal HOST threading: the bridge must reach the
same journal the route appends to (integration seam —
C3-B/C4 host configuration; §11's empty-registry fail-
closed law governs the pre-threading state honestly);
the §1.3 walk's PAIRED filter is decided by the §3.1
step-6 closed-attempt record joined on occurrence (pairing
view over DOC attempt control + journal) — pairing survives
ledger-host restarts ONLY once this threading IS LANDED;
on today's carriers the persisted record holds only the
one-way digest (§3.2), which yields NO plaintext join key
(round-8 N-R3-2: v8's row stated survival as if current);
pre-IM-4(b) the bridge writes both in-process and pairing
is by-construction, bounded by §11's session law;
(c) (round-5 R5-3[adv]) change_set() carries per-item
introduction MODE into its output (Materialization
Disposition extension — small API completion); until then
FORM S Add-class targets are refused ComposerModeUnavailable
(§1.3; defaulting a mode would violate the mode doc law).
IM-6 (round-7; v9 re-home per N-R2-1/F-R3-2): CHECKPOINT of
(RI, occurrence, completion, published-state) in the
attempt carrier at step-5 Ok, BEFORE step 6. Landing is
an ADDITIVE carrier extension (today's
PersistedOperationRecord carries only the post-close
digest — crates/durable-operation/src/persistence.rs:
34-39; the quadruple's plaintext does NOT exist pre-IM-6
and is never re-derived from the one-way digest). Once
landed, §5's ReconciliationPending resolves by
idempotent re-close (values readable => recomputation
lawful). Pre-IM-6 the pending state is TERMINAL for the
session (§11 governs cross-session). NOT silently worked
around: no contract law may read completion ids from
carriers that lack them.
IM-5 (round-5 R5-2[adv]) cross-lane journal integration: ONE
journal host per TargetSourceScope as ICC §10's single-
source-of-truth law requires; until wired, bridge and
scenario engine run DISJOINT hosts and §1.3's cross-lane
law + S0 NotASourceStateInHost make foreign states
UNSEALABLE (no public classification over them; laundering
input-unreachable). Laws unchanged; integration only.
All wiring of ratified law; C3-B implements (a)/(b)/(c); IM-3/
IM-5/IM-6 are tracked-not-faked.
11. Restart / persistence (v2 §11 stands)
Active profile = in-memory; no crash-durability claimed; UNKNOWN
class UNREACHABLE for it (§5). Reconstructibility triad (distinct from §3.2's spine
QUADRUPLE — three EVIDENCE sources) = §3.2
payload_hash binding digest + §7.1 result fields + journal.history()
— recoverable wherever the host profile persists DOC + journal;
under the in-memory profile obligation = process lifetime. Where a
persistence-store profile is configured the recovery route is DOC
PersistedOperationRecord + journal replay; no new storage machinery
(C4 determines empirically; campaign packet §26). v2's "journal
replay" sentence is kept ONLY with this scoping (round-2 A-8 note:
the journal's own persistence is host-declared, not inherent — the
contract asserts nothing beyond the profile). RECONCILIATION-
PENDING IS SESSION-BOUNDED (round-7 N-R2-1): a scope whose last
attempt published-without-close refuses incorporation
(§7.0 S0 ReconciliationPending{scope}) until either IM-6's step-5
Ok CHECKPOINT lands (values readable => re-close lawful, §10) or
the host session ENDS — a fresh session re-seeds at a NEW PB
(cross-session limb above) and the orphaned state is UNREACHABLE
as a sealed base in the new world (§3.3 + tip forbid re-minting
X; §1.3 never pairs it without the close). Fail-closed forever
is the honest pre-IM-6 answer; no contract law may re-derive a
completion id from carriers that do not persist it.
EMPTY-REGISTRY LAW (v4, cited by §1.3/§14): where the host
profile gives the bridge no visibility of prior evolve records for
the sealed base's ancestry (fresh in-memory host pre-IM-4(b)),
the walk seeds at the bridge-journal origin PB: program-declared
designations PASS (round-4 R1; the seed IS the S-DECL limb),
designations published-but-invisible (paired records of a prior
host session, or scenario-lane records — different host, IM-5)
are either unsealable at S0 (NotASourceStateInHost: the base
itself is not a paired new_state/PB here) or, for a sealable
base, resolve FALSE at S6 (ExistingArtifactStandingUnestablished
{designation, base}) — fail-closed at both points, NEVER silently
accepted, NEVER silently rebuilt. This is the honest pre-IM landing
state of the chain-break closure (round-3 R1-1) and the cross-lane
closure (round-5 R5-2), not a durability claim.
12. Implementation freedoms (non-semantic only; v2 list minus
everything round-2 moved into §1-§7 laws)
placement inside crates/api (Admit-arm pattern, executor.rs:359-365);
error-message TEXT; clock SOURCE feeding sealed time values (roles/
seams fixed by §5 — values may coincide); internal borrow/clone/
caching; serialization FORMAT beyond serde-deterministic given §5
leaf laws.
DETERMINED (not freedom): authority route+carriers (§2.1 RM-21
mirror), classifier precedence+lie gates (§1.2), composition order+
cardinality (§3.1), revision function (§3.3), attempt homes (§3.2),
exposure point+reachability (§5), codec+leaves (§5), gate order
(§7.0), S6 observer + walk domain PAIRED-ONLY (§1.3/§7.0), PB
carrier (= bridge-journal origin, ContractRevisionRef, revision.rs
:367/:415) + S0 host-ground, FORM S Add refusal + canonical
enumeration order, seed-before-record case order (REMOVE sticks
downstream), pairing as the sole authority test = the ONE step-6-spine
criterion + §5 RECONCILIATION LAW (pending-scope refusal; IM-6
checkpoint is the ONLY lawful recovery — no repair route may
read values no carrier persists, round-7); report-order rule
with ONE printed home + marker tokens at every multi-candidate
site (§1.3/§1.2), M
landing refusal (§4/IM-3), impact
presence (§7.1), machine host (§7.2).
13. Continuity (attribution fixed)
C1: nothing dispatches/attempts/receipts here; execution carriers
input-forbidden (§6.3). (The "ExecutionSuccess -/-> Observation"
line is C2 OBSERVATION-ACQUISITION-CONTRACT.md:271 — v2 mis-
attributed it to C1; corrected.)
C2: observation authority stays admission authority; CheckedWorld/
ProductiveAcquisition are C2-B IMPLEMENTATION machinery (not C2
doc text — attribution corrected); this contract uses the checked
resolution MODEL only; no shared authority object.
ICC/SLT/CLS/ARCH: quoted-verbatim where binding; §14 table, §16
ORDER law, §17 classes, §21 impact, §26.1-3 — restated, not
re-lawed. No elaboration/grammar change anywhere in this contract
(standalone lane is the body-contract lane, §1.0).
14. Disposition — round-13 (IDs verbatim from the two
round-13 registers @3455e41a — CD-* = CONTRACT-DOWN-3455e41a, F-* = ADVERSARIAL-3455e41a [scope-reduced: 24 attacks completed; full 34-citation re-probe and exhaustive batteries cut short by owner directive, carried sweep sound — code tree byte-identical since 03ce2b05, git-verified; coverage caveat is part of the register] — and — retained below — round-12, then rounds 11-6.)
CONTRACT-DOWN-3455e41a:
CD-R3-1 [R3] (§14 round-12 STANDING list credited 'both units'
for mid-chain determinacy 'under the new law' — a v13 text
no round-12 unit could verify, and ADV had filed the
OPPOSITE for exactly that input; plus a CD-only 34/34
citation count inside both-units scope) -> v14 splits the
attribution: the STANDING row is marked in place (below);
determinacy-under-the-gate-law is v13's own contribution
(CD verified convergence under v12's implicit law; ADV
denied it; the law removed the under-specification); the
34/34 count is scoped to CD; ADV's independent count was
31/31. [This is closure-text family instance #14 — a
transcription row may carry ONLY what every named source
literally verified.]
ADVERSARIAL-3455e41a (scope-reduced per owner directive):
F-R2-1 [R2] (IndependentIntroductionBlocked owning gate
UNPINNED: defined only by '§1.3's introduction-side law';
class name prints inside §7.0's S6 firewall paragraph;
fires only on the profile-A path where A never RUNS S6;
gate law's exclusion clause ('no refusal owns S1 except
S1's own classifier/lie-gate classes') denies the natural
S1 reading while no sentence pins S6-ownership; sibling
ComposerModeUnavailable IS pinned 'at S1' at §1.3;
executor α {gate:S6} vs β {gate:S1} on the identical
W-IBLOCK input; fail-closed substance both ways hence R2;
round-9 CD-R2-1 / round-12 F-R2-1 precedent — the fix site
became the fork site a THIRD round running; 14 other swept
refusal classes converged, sweep completeness NOT claimed)
-> v14: IB OWNERSHIP PIN printed at §7.0 (owner = S1 by
the introduction-side defining law — the β reading was
structurally right; coordinate
"s1:independent-introduction-blocked" following the s0:/s6:
convention; legal in-sequence in every profile because
every profile RUNS S1) + OWNERSHIP TOTALITY RULE mapping
EVERY printed refusal class to its defining-law home
(walk->S6; classifier/lie-gate->S1; introduction-side
mode->S1; grounding->S0; authority->S2; independence->S3;
base-class->S4; publication->S5; compose->S7 step-N) with
the mention-site-vs-defining-law precedence made explicit;
W-IBLOCK re-pinned with the coordinate.
F-R3-1 [R3] (the v13 COMMIT MESSAGE's self-assault printed two
stale v12 numerics as committed-blob facts: 'fence 62' vs
actual 64 at blob 79231450 — invariant holds, number
outdated by the new §14 fence pair; 's6 census 4' vs
actual 6 incl the new W-GATESEM hard-wrapped occurrence;
the DOCUMENT itself prints neither number — doc discipline
held; commit messages are immutable) -> NAMED RESIDUAL per
bounded closure (zero doc-law impact); lesson recorded in
lineage: self-assault numerics must be re-counted at the
NEW blob, never carried from the previous round's tree.
STANDING (round-13, both units): GATE-SEMANTICS LAW kills the
round-12 walk fork (single payload {gate:S6, s6:standing-proof-
ambiguous} in EVERY profile; W-GATESEM pinned; A-enumeration
records-does-not-forbid reading verified); §1.3 'same-named'
residues all in marked-history/quote positions (3/3, both units
independently); 'unchanged since v10' 3/3 quoted-negated;
streak SEVEN re-derived TRUE from all 14 register verdict lines
by both units independently; invalidated-freeze record git-true
(a34d85ca/36fc0480 objects verified; quarantined outputs
verified in audits/invalid/); naming-slip record accurate;
law-diff confinement: the ONLY law hunk v12->v13 is the §7.0
walk-hit arm (programmatic section slices; §1-§6/§8-§13
byte-identical); probes 0 mismatches (CD 34/34; ADV carried-sweep
under scope reduction, code tree byte-identical since 03ce2b05
git-verified); E-1 15/15; token oracle 0; fences even/depth-0/
headings-0 at v13 (count NOT printed per numbers-not-tree-facts);
predicate byte-equality incl indent; marker single home;
deletion census law-free; W recount 41 heads/43 names matched
independently.
14v. Disposition — round-12 (IDs verbatim from the two
round-12 registers @cacb756c — CD-* = CONTRACT-DOWN-cacb756c, F-* = ADVERSARIAL-cacb756c — and — retained below — round-11, then rounds 10, 9, 8, 7, 6.)
CONTRACT-DOWN-cacb756c:
CD-R3-1 [R3] (v12 lineage sold its OWN one-sentence law
amendment as 'same-named propagation law unchanged since
v10' — falsified by the v12 diff (11 hunks; the one law-
body hunk IS the arm), by §14's twin 'ONLY law-site
change', and by the new coordinate value; plus the arm's
'class in the payload' phrase misdescribes §7.1's
class-less NOT_APPLIED shape) -> lineage rewritten to
state the amendment plainly (v12 moved one ENCODING
sentence, substance preserved); the arm's parenthetical
corrected (public payload = {gate, failed_coordinate};
the class is walk-internal; the coordinate is its report
form). Rounding: a claim about law-movement must match
git diff; 'unchanged' claims are diff-checked BEFORE
printing (standing lesson re-earned).
ADVERSARIAL-cacb756c:
F-R2-1 [R2] (constructed: declared-NEW op over legally-sealed
base whose ANCESTRY lost pairing post-grounding; §1.3's
walk refusal is profile-neutral and classification runs
the walk at S1 in profile A, whose enumeration has no S6;
v12 pinned the coordinate inside the B-only arm and
printed NOTHING about whether the gate field means
executing gate or owning law -> executor α reports
{gate:S6,...} (a gate outside A's sequence), executor β
owes an S1 encoding that exists nowhere — divergent
public payload, identical input; latent since v10's
'same-named refusal propagated', ACTIVATED by v12's
explicit gate pin; fail-closed both readings hence R2
not R1; CD's own mechanical run read the same input as
convergent — the disagreement between units is closed
by REMOVING the under-specification, not by arbitrating
readings) -> GATE-SEMANTICS LAW printed at §7.0's walk-
hit arm: gate := OWNING gate of the refusal class, never
executing-sequence membership; walk refusals own S6 in
every profile; A's enumeration records that A never RUNS
the S6 observer step, not that S6-coordinates are
forbidden to A; no refusal owns S1 except S1's own
classes; witness W-GATESEM added.
CONTRADICTION REGISTERED (round-12 units, same construction):
CONTRACT-DOWN judged the A-profile walk-failure input
'converges under closed-encoding + first-refusal' (no filing;
context phrasing pre-existing, documented-DEAD); ADVERSARIAL
constructed the α/β fork and filed R2. Orchestrator
disposition: the input is determinate ONLY under the
owning-gate reading; β's reading was not barred by any
printed sentence — the closure removes the fork at the law
rather than arbitrating between auditors (FIOP: findings
converge by repair, not vote). The DEAD-attack status of
v10/v11's unspecified prose does NOT transfer to v12, whose
print made the semantics a live question at a law site.
STANDING (round-12; [v12 wrote 'both units' over this list —
round-13 CD-R3-1: the mid-chain-determinacy item below was
CD-verified only, under v12's IMPLICIT law, and ADV filed the
opposite for that input (its F-R2-1); determinacy under an
EXPLICIT gate law is v13's contribution, not a round-12 both-
units fact; and the 34/34 citation count below is CD's — ADV's
independent count was 31/31 — attribution corrected in place,
list retained]): all eight round-11 IDs landed
incl the coordinate print at the law; law-body equality v10-
>v11->v12 programmatic (four-route/§7.0 S0/§3.1/§1.2/§1.3 body/
§7.1 byte-identical); mid-chain corruption end-to-end determinate
at {gate:S6, s6:standing-proof-ambiguous} under the new law;
IM-6 vs pending-scope cannot co-fire (S0 scope-check precedes
grounding); post-IM-6 re-close evaporates ambiguity coherently;
W recount 41/43 independently matched; streak FIFTH-at-10 true
by eleven-register enumeration; naming-slip record accurate
(501ebf92 verified not-a-git-object; register paths real);
fences 62 even/depth-0/headings-0; predicate equality incl
indent; marker single home; deletion census 5/5 non-law; E-1
15/15; token oracle 0; probes 0 mismatches (34/34 citations).
14y. Disposition — round-11 (IDs verbatim from the two
round-11 registers (target tree 501bf927, candidate blob e5fa3fdf — the auditors’ FILES are named …-501ebf92.md, a one- character filename slip: 501ebf92 is not a git object; their Target: lines name the correct 501bf927b0b1… tree; both round-12 dispatches point at the real file paths audits/C3-A-{CONTRACT-DOWN,ADVERSARIAL}-501ebf92.md) — CD-* = CONTRACT-DOWN-501ebf92.md, F-* = ADVERSARIAL-501ebf92.md — and — retained below — round-10, then rounds 9, 8, 7, 6.)
CONTRACT-DOWN (target @501bf927; filename 501ebf92):
CD-R2-1 [R2] (§14 STANDING printed 'refusal coordinate
s6:standing-proof-ambiguous — verified printed' while
the coordinate existed NOWHERE in the contract or the
round-10 registers; register-verified form was
NOT_APPLIED{gate:S6, failed_coordinate:
StandingProofAmbiguous{X}} — fabricated-verification,
claimed-but-absent class; substance true hence R2) ->
v12 PRINTS the coordinate at §7.0's walk-hit law site
(failed_coordinate := "s6:standing-proof-ambiguous",
class unchanged) — the prose-claim becomes a law-fact;
STANDING row rewritten to quote the law with the
fabrication marked IN PLACE [v11 FABRICATION].
CD-R3-1 [R3] (streak 'SIXTH (6+7+8+9+10)' — enumerates FIVE;
ADV-e7afefeb prints FIFTH; off-by-one inside the
register-derivation sentence) -> lineage + §14 header
corrected to FIFTH-at-round-10 with the mark; ordinals
by enumeration of registers; post-round-11 status stated
prospectively nowhere as tree-fact.
CD-R3-2 [R3] ('W-matrix 44/44' — mechanical 41 heads / 43
names; 44 counted the deleted W-PAIRN) -> recounted in
lineage + STANDING: 43 names / 41 heads, 0 live
referenced-not-defined (0-part always true; count fixed).
CD-R3-3 [R3] ((a) 'handled by routes (2)/(3)+§11' — (2) is
closed-NOT_APPLIED; (a) = route (3) only) -> marked in
place; §17 twin wording already correct ((a) -> route (3)
via ReconciliationPending/§11).
ADVERSARIAL (target @501bf927; filename 501ebf92):
F-R3-1 [R3] (= CD-R2-1 from the fabrication side: the row
ALTERS the coordinate form AND asserts verified-printed)
-> same fix: print at law; the row now says what the law
says.
F-R3-2 [R3] (= CD-R3-1; 'the sentence asserting re-derivation
from registers is itself falsified by the registers it
cites') -> enumeration adopted.
F-R3-3 [R3] (= CD-R3-2; 'no principled count yields 44') ->
heads/names split printed to prevent propagation slips.
F-R3-4 [R3] (E-5 'candidate-only diffs' outdated by the
round's own carrier commit) -> E-5 pinned: diffs over
03ce2b05..HEAD = candidate + ACTIVE-WP carrier ONLY,
named; code paths zero (git-verified this round).
DEAD/HOLDS (round-11 registers; v12 does not re-run): three-
state separation survived every boundary attack — crash (a)
routes to (3) word-for-word and grants nothing; post-IM-6
re-close PAIRS the record so (a) evaporates (coherent, no
standing hint); published-with-NO-evolve-RECORD impossible-by-
law at the bridge (§3.1 step-3≺step-5 + ICC §10/SLT §8 states-
minted-only-via-evolve, printed at §1.3's authority layer);
foreign non-bridge publisher unreachable at this surface —
lands on S0 NotASourceStateInHost if it existed; sync-atomicity
= profile property, cross-process = disjoint hosts (§1.3 cross-
lane + §11), same-process serialized by tip equality (:136-144)
-> step-5:ExpectedBaseMismatch; no-record-published state not a
determination case (no round-2 filing owed); deletion census
5/5 non-law; four-route block / §7.0 S0 / §3.1 CARDINALITY
BYTE-IDENTICAL v10->v11 programmatically (v12's coordinate
print is the ONLY law-site change and touches the walk-hit
report encoding, not routes/gates/classes); twin marks add
without mutating history; fence 60/even/depth-0/headings-0 at
v11; predicate equality invariant (positions deictic); E-1
15/15; token oracle 0; 31/31 citations resolve; code tree
identical to 03ce2b05 — round-9's 64-anchor sweep CARRIES;
law core untouched; R1×0 for the round — streak extends
prospectively to six but is NOT printed as a count anywhere.
14z. Disposition — round-10 (IDs verbatim from the two
round-10 registers @e7afefeb; the five rows closed by v11 are CD-R3-1, CD-R3-2, F-R3-1, F-R3-2, F-R3-3; standing: R2x0 BOTH UNITS — first time in the campaign — deletion complete, routes exhaustive, probes 0 mismatches, E-1 15/15; [v11’s header here claimed ‘streak SIXTH … re-derived from registers’ — round-11 CD-R3-1/F-R3-2: the ten registers enumerate FIVE (6+7+8+9+10); FIFTH is the register-derivable ordinal at round-10]) . Round-10 register verdicts: CONTRACT-DOWN-e7afefeb = R1x0/ R2x0/R3x2; ADVERSARIAL-e7afefeb = R1x0/R2x0/R3x3 (23 attacks).
CD-R3-1 [R3] (§14x N-R3-4 amendment re-anchored '(at this
tree: 56)' — outdated to 58 by v10's own appended §14
block; sibling row claims the trap removed) -> NUMBER
replaced by the INVARIANT statement in the row (even
markers, depth 0, §17 outside §16, headings-zero,
re-run mechanically each round; no per-tree number is
ever printed as a tree fact again).
CD-R3-2 [R3] (merged W-NOPAIR claims (a) 'published state
with NO paired evolve record mechanically excluded
(§3.1 order)' — FALSE: §5 route (3) constructs exactly
that state in the crash window; the cited proof is
inverted; §3.1 order excludes published-with-NO-EVOLVE-
RECORD; 'no evolve' conflated with 'no PAIRED evolve';
operative refusals unaffected — both directions refuse
at independent homes — hence R3) -> §17 row REWRITTEN
(v11): (a) = the crash-profile routine handled by
routes (2)/(3)+§11 [v11 CLAIM AS PRINTED — round-11
CD-R3-3: (a) is route (3) ONLY, (2) is closed-NOT_APPLIED
— §17's live row already says (a) -> §5 route (3); this
historical closure row retained with the mark];
sync-profile atomicity is the only
transient exclusion; the record-level exclusion is
stated separately for published-with-no-evolve-record;
§14 twin marked in place [v10 CLAIM AS PRINTED —
INVERTED].
ADVERSARIAL-e7afefeb:
F-R3-1 [R3] (= CD-R3-2 from the proof-inversion side: step-
5-before-step-6 is what makes (a) TRANSIENTLY POSSIBLE
in the crash profile; W-NOPAIR as a prose test could not
pass v10's wording) -> same rewrite.
F-R3-2 [R3] (§14x N-R3-7 row still asserts 'witness defined'
for the since-DELETED W-PAIRN without in-place marking
— violating v10's own bracketing discipline) -> bracket
added to that historical row ([v9 LANDED; round-9 killed
the headline; v10 deleted the row; retained as history]).
F-R3-3 [R3] (= CD-R3-1: '56 at this tree' where v10 holds 58
— 'the exact trap the CD-R3-1 row claims designed away')
-> same invariant conversion; v11 additionally notes the
AUDIT itself verified 58 even/depth-0/headings-zero at
e7afefeb, so the invariant holds — only the NUMBER
print was the defect.
STANDING (round-10 both units; v11 does not re-run): deletion
complete (5 occurrences all quotes/marks; §7.0/§7.1/§10/§11/
§12 residue-free; 'no unlabeled classes' true); AT-MOST-ONE
governs S6 enumeration + total first-refusal (all five A8
constructions held); four routes exhaustive on 5th-state hunt;
mid-chain StandingProofAmbiguous = WALK refusal encoded
NOT_APPLIED{gate:S6,failed_coordinate} under §7.0's closed set
(sits at the walk inside S6's pass; the coordinate VALUE was
StandingProofAmbiguous{X} propagated same-named per §1.3 —
[v11 STANDING here asserted a dash-form 's6:standing-proof-
ambiguous' as 'verified printed' while NOTHING printed it —
round-11 CD-R2-1/F-R3-1 [R2] fabricated-verification; v12
PRINTS failed_coordinate := "s6:standing-proof-ambiguous" at
§7.0's walk-hit law site so the claim becomes law, and this
historical row retains the mark]; W-matrix 43 names / 41 heads
[round-11 CD-R3-2/F-R3-3 corrected the propagated '44']; fence
invariant even at v10; predicate prints byte-identical incl.
indent [positions are tree-deictic — the invariant is
equality]; marker 'select the FIRST' once; blobs
v8/v9/v10 git-verified; code tree 03ce2b05..e7afefeb
candidate-only diff — round-9's 64-anchor sweep CARRIES (both
units re-confirmed); round-8's and round-9's standing lists
un-regressed.
14w. Disposition — round-9 (IDs verbatim from the two round-9
registers @03ce2b05 (retained below round-10) — CD-* = CONTRACT-DOWN-03ce2b05, F-* = ADVERSARIAL-03ce2b05.)
CONTRACT-DOWN-03ce2b05:
CD-R2-1 [R2] (v9's RetryBlockedPendingResolution §5:835-840 vs
§7.0-S0's scope refusal: two first-refusal claims, no
printed priority, class absent from §7.0's exhaustive
S0..S7 and un-encoded in §7.1's NOT_APPLIED surface —
divergent public failed_coordinates on identical input,
A8 channel) -> CLASS DELETED (v10): the determination
routes (1) closed-APPLIED replay / (2) closed-NOT_APPLIED
§3.1 reuse / (3) published-unclosed S0 single refusal /
(4) not-published no-refusal — NO residual input needed
a distinct public class; 'at most ONE public refusal
coordinate per input' printed as the governing sentence;
W-UNK re-armed to the routing; N-R3-1's round-8
definition row marked IN PLACE [v9 LANDED IT — round-9
CD-R2-1/F-R2-1 killed it as a collision; v10 deletes] —
the round-8 finding asked for 'definition OR deletion';
v9 chose definition and paid for it; v10 completes the
same closure alternative honestly.
CD-R3-1 [R3] ('(parity 54)' false numeric; actual 56) ->
corrected for v9's tree (56 lines at 03ce2b05 — the
register's own count); v10 additionally REMOVES the
self-referential trap: the fence LINE COUNT is not a
stable law fact (it grows as disposition blocks are
appended) — the durable claim is parity-EVEN + §17
renders outside §16 + zero headings inside any open
fence, re-verified mechanically EVERY round instead of
printed as a number next-round-auditors can outdate.
CD-R3-2 [R3] (W-PAIRN headline 'paired-evolve WITHOUT
published state' non-constructible under the ONE pairing
criterion (close records completion+published-state from
step-5 Ok); vacuous; duplicates W-PHANTOM/W-NOPAIR with
a self-contradicting prefix) -> MERGED into W-NOPAIR as
a single both-directions row ((a) published-no-paired-
evolve — mechanically excluded by §3.1 order [v10 CLAIM
AS PRINTED — INVERTED per round-10 CD-R3-2/F-R3-1: (a)
is the crash window's routine = §5 route (3); the §3.1
exclusion applies to published-WITH-NO-EVOLVE-RECORD;
§17 row rewritten in v11]; (b) evolve-no-publish — walk
skips per §1.3); §6.2 reference now names W-NOPAIR
alone; round-4 vacuity precedent
respected.
ADVERSARIAL-03ce2b05:
F-R2-1 [R2] (= CD-R2-1 from the constructed side: attempt#1
5-Ok-unclosed => scope PENDING; attempt#2 DIFFERENT RI2
crashed mid step-3/4 leaving unpaired r2; retry over RI2
matches BOTH rules) -> same deletion closure: under v10's
routing, retry over RI2 takes route (4) — RI2's own prior
attempt is not-published -> §3.1 reuse/retry, NO refusal;
the scope's PENDING state is checked at S0 for EVERY op
including this one BEFORE compose, so the printed S0
entry order (§7.0: scope check inside S0, before base
checks) makes S0's the only reachable public refusal —
determinism restored by REMOVAL, not by an added
precedence sentence (one fewer law to diverge on).
F-R3-1 [R3] (= CD-R3-2) -> merged row.
F-R3-2 [R3] (§14's '(parity 54)' false numeric — round-8
F-R3-1 class re-surfaced at a numeric) -> same fix;
numerics in disposition rows are CLAIMS: the audited
count 56 held at 03ce2b05; v10 replaces print-the-number
with print-the-invariant (parity even, §17 outside §16,
no headings in fences — mechanical each round).
F-R3-3 [R3] (v9's lineage/§14 misquoted the round-8 register:
N-R3-7 covered W-PAIRN only — W-NOPAIR was already
defined) -> lineage sentence corrected in place.
STANDING CONFIRMED by round-9 (not re-run by v10): 13/13
round-8 residuals landed truthfully; §5 one read set (6/6
'over RI' occurrences classified quote/history, 0 prescriptive);
IM-6 single home (§10 body once, §9 pointer-only, §11 cite
resolves); streak dual-truth arithmetic accepted; predicate
byte-identical incl. 6-space indent; marker token single home;
fences closed, §17 renders outside §16; E-1 15/15; token oracle
clean; A1..A8 except the filed collision.
14x. Disposition — round-8 (IDs verbatim from the two round-8
registers @3947b22b — N-* = CONTRACT-DOWN-3947b22b, F-* = ADVERSARIAL-3947b22b — and — retained below — round-7, then round-6).
CONTRACT-DOWN-3947b22b:
N-R2-1 [R2] (§14's F-R2-1 row credited '§10 ... re-armed' while
IM-6 printed in §9 and §10 listed IM-1..IM-5 — claimed-fix
location not landed; §11's 're-close lawful, §10' cite
dangled) -> v9 RE-HOMES IM-6 INTO §10's register (the
obligation IS a substrate obligation — the §9 row now
points at §10 instead of printing the law), §10's closing
enumeration extended to IM-6, §11's cite now resolves;
the §14 row here describes ONLY the new printed state.
N-R2-2 [R2] (§5's resolution sentence kept an 'over RI' read
set for the window case whose RI<->attempt binding exists
only post-close — v8 printed ONE determination with TWO
read sets; the stale one was round-7's kill formulation)
-> §5 rewritten to EXACTLY §1.3's read set
(journal.history() + tip_revision() :168) for the window;
the spine join keyed on RI applies ONLY to CLOSED
attempts; the stale formulation deleted (round-9: ONE
determination, ONE read set).
N-R3-1 [R3] (W-UNK named RetryBlockedPendingResolution — no §5/
§7.0 definition; matrix named an unlabeled class) -> §5
defined it in v9. [v9 LANDED — round-9 CD-R2-1/F-R2-1
PROVED the installed class collides with S0 (two-site,
un-encoded); v10 DELETES it: routing (1)-(4) leaves no
residual case needing a distinct class. Round-8's
minimum closure was 'define OR delete the class'; v9
chose define and paid for it; v10 completes the same
disjunction via the other arm. Retained as history.]
N-R3-2 [R3] (§10 IM-4(b) claimed pairing 'survives ledger-host
restarts' on today's digest-only carriers — the same
unreadable-input class v8 kills elsewhere) -> row rewritten:
survival ONLY once the threading LANDS; PersistedOperation-
Record holds the one-way digest alone (§3.2); pre-IM-4(b)
pairing is by-construction + §11 session-bounded.
N-R3-3 [R3] (reconciliation transitions cited :63-67 — the arm
at :68 excluded) -> :63-68.
N-R3-4 [R3] (§16's code fence never closed — §17 rendered
inside §16's block) -> fence closed before ## 17; the
durable claim is the INVARIANT (even marker count,
final depth 0, §17 outside §16, zero headings inside
any open fence — re-run mechanically by each audit
round). v9's row printed a per-tree NUMBER ('56' after
correcting '54') which appending §14 blocks outdated to
58 the same round — round-10 CD-R3-1/F-R3-3 caught the
deictic; numbers are now never printed as tree facts
(v10's own amendment re-anchored the trap it claimed
designed away — same self-infection class, one level
down; this sentence is the structural closure).
N-R3-5 [R3] (= F-R3-1: lineage 'THIRD consecutive' miscount) ->
corrected to SECOND with the caught-by-whom note.
N-R3-6 [R3] (= F-R3-3: §0 'IM-1/IM-2 only' stale census) ->
§0 now defers to §10's register (IM-1..IM-6).
N-R3-7 [R3] (W-PAIRN referenced §6.2, never defined §17) ->
witness defined (paired-evolve-without-publish grants
nothing; walk skips unpaired). [v9 LANDED the row;
round-9 CD-R3-2/F-R3-1 proved that headline object
non-constructible — v10 deleted W-PAIRN, merged into
W-NOPAIR; this row retained as history per in-place
discipline — round-10 F-R3-2: the mark was owed here.]
ADVERSARIAL-3947b22b:
F-R3-1 [R3] (= N-R3-5) -> same correction.
F-R3-2 [R3] (= N-R2-1 second-leg: two sites credit §10 for a
law printed in §9) -> same re-home; cites resolve.
F-R3-3 [R3] (= N-R3-6) -> same.
F-R3-4 [R3] (dangling 'allowed §19' — the contract has no §19;
bare §N convention means THIS document) -> IM-4(c)
sentence now references §10's own register row; bare §19
deleted.
PASSED (round-8 registers, both units): the v8 law core held at
fixed-point quality — all 13 round-7 residuals landing-verified
claim-by-claim with 0 substantive probe mismatches (33/33 +
64-anchor sweeps); round-7's defect class (repair route reading
unpersisted values) CLOSED on the governing text: re-drive
inputs provably readable (§3.1 PRECEDENCE + 'All reconstructible
via journal.history()' + sealed-RI §5 codec pins every step-4/5
input — change set :331, digest over canonical_bytes :216,
new_state §3.3, authority §2.1); IM-6 staged WITHOUT collision
with §3.1/§3.2 (checkpoint and close write the SAME four values;
all exist at publish-Ok); scope refusal MECHANICALLY MINIMAL
while pending (tip==X + expected_base==tip + X unsealable => the
'ALL refused' set is exactly the mechanically-empty set — no
legitimate operation lost; availability cost NAMED: 'TERMINAL
for the session', session-end escape sound, orphan-loss stated
price); session-end fresh-PB trace closed (X unreachable, never
silently re-paired); A8 X/Y/Z executors all refused at ≥4
printed sites; fabricated-quadruple detectable via §3.2 digest;
grammar §1.0 byte-identical, token-identical to CLS; E-1 15/15;
predicate byte-identity incl. indent CONFIRMED landed; report-
order single-home CONFIRMED; quadruple naming CONFIRMED; §14
round-7 block 13/13 IDs verbatim CONFIRMED; landing-commit trap
CONFIRMED closed (no self-print; tree list verified against git
objects incl 6b480752 blob equality); epistemic firewall re-run
FULL text — no standing manufactured on printed paths.
14a. Disposition — round-7 (retained verbatim from v8;
IDs @c0613dd9)
CONTRACT-DOWN-c0613dd9:
N-R2-1 [R2] (§5 resolution cannot IDENTIFY the attempt it
resolves: the printed join 'over RI' has no RI<->attempt
binding absent the step-6 close — payload_hash is the
POST-close digest of never-emitted values; the read-set
cannot discriminate 5-Ok-unclosed from step-5-refused)
-> §1.3/§5 RECONCILIATION LAW (v8): outcome determination
reads journal.history() + tip_revision() (crates/
publication/src/publication.rs:168 — the only accessor;
decisive because while X is unpaired NO bridge publish
can advance the tip: every base seal needs pairing or PB);
resolution-as-APPLIED-WITH-CLOSE enters compose normally;
APPLIED-WITHOUT-CLOSE puts the SCOPE in
ReconciliationPending (the real DOC carrier state — crates/
durable-operation/src/state_machine.rs:30), refused at S0
ReconciliationPending{scope} until IM-6 (attempt-carrier
CHECKPOINT of (occurrence, completion, published-state) at
step-5 Ok, BEFORE step 6 — the only lawful recovery:
values readable => re-close recomputable) or session end
(§11 fresh-PB world; X unreachable as base; §3.3 + tip
forbid minting X twice). v7's 're-close over the recorded
completion' is WITHDRAWN — it read values no carrier
persists (F-R2-1, below).
N-R2-2 [R2] (§3.1 'new evolve under SAME RI only if attempt#1
produced NO evolve' vs §5 'resolved-NOT_APPLIED retry =
new attempt over same RI' — opposite instructions for
evolved-then-step-5-rejected attempts; fresh-RI escape
legal but unstated) -> §3.1 PRECEDENCE LAW (v8):
retry-after-NOT_APPLIED where attempt#1 left an unpaired
evolve r1 REUSES r1 — attempt#2 issues NO new evolve and
re-drives step 5 over r1's payload (new_state derives
identically from the same sealed head; concurrent tip
advance rejects step 5 again, RI stays NOT_APPLIED);
re-mint never happens; APPLIED replays; the APPLIED-without-
close case is ReconciliationPending, never retry-with-
reuse; fresh RI over the same base is legal and
independent (§3.3 + tip serialization) — now STATED.
N-R3-1 [R3] (§0:121 bare 'scenario_materialization.rs' vs §14's
'EVERY' claim) -> prefixed; §14's own over-reach recorded
(same class as v6's — kept honest).
N-R3-2 [R3] (doubled 'crates/publication/src/' wrap §7.0) ->
unwrapped.
N-R3-3 [R3] ('records records' §8) -> fixed.
N-R3-4 [R3] (stale 'registry' phrasing W-2STEP/W-IMP) ->
walk-standing / paired-walk wording.
ADVERSARIAL-c0613dd9:
F-R2-1 [R2] (re-close route assumes its INPUT: completion id
on NO readable carrier — SourceEvolve fields crates/
lifecycle/src/revision.rs:323-341 carry none; service
stores (PublishedStateId, ContractRevisionRef) only
crates/publication/src/publication.rs:85-89/:153-166;
payload_hash post-close one-way; §14's 'the §11/§5
recovery sentence no longer gestures' FALSE as printed;
§12 DETERMINED + W-UNPAIRED positive arm inherit the hole;
'triple' prints FOUR coordinates) -> v8 CONCLUDES the
route instead of defending it: ReconciliationPending
refusal + IM-6 checkpoint (§1.3/§5/§7.0-S0/§10/§11/§12/
W-UNPAIRED all re-armed consistently); the false §14 row
quoted and corrected here; step-6 record renamed the
SPINE QUADRUPLE (RI, occurrence, completion_id,
published_state_id) at both prints — 'triple' retired.
F-R3-1 [R3] (6-vs-4-space indent breaks the claimed byte
identity; W-FORMULA trim-vs-literal ambiguous) -> both
predicate prints at the SAME 6-space column; W-FORMULA
tests byte equality trim-INCLUSIVE.
F-R3-2 [R3] (the two report-order QUOTATIONS diverged — case/
wording/plural — and each credited the OTHER section as
the rule's home: circular provenance; W-ORDER's
text-equality failed on its own quotations) -> §1.3 block
= THE single printed home of the rule body; every report
site prints ONLY the marker token 'ORDER OF §1.3
REPORT-ORDER LAW'; W-ORDER rewritten: (i) single print
(ii) marker token at every site (iii) no paraphrase
anywhere — no site may credit another home.
F-R3-3 [R3] (= N-R3-2) -> fixed.
F-R3-4 [R3] ('this candidate's landing commit (recorded here)'
— c0613dd9 recorded nowhere; tree list omitted v5/v6) ->
tree list now names 344c750d (v5), 6b480752 (v6 blob,
audited at 7b8e5d8a), c0613dd9 (v7, blob 2acd234c); v8's
landing commit = the next commit modifying THIS file
(git-verifiable; deliberately not self-printed — printing
it would recreate the unverifiable claim).
F-R3-5 [R3] (§4 'unchanged from v2 (§7.0 ledger-first)' false
provenance — law added v3 — and false site — §7.0 prints
no replay step) -> §4 restated: replay law lives at §5
(since v3); §7.0's ledger-first is gate ORDERING only.
F-R3-6 [R3] (census row quoted the doc comment with
capitalized 'THE ONLY' + unlabeled mid-elision) -> quoted
verbatim from crates/result-core/src/identity.rs:191-196.
DEAD (round-7 registers; not re-run): mid-chain
StandingProofAmbiguous vs §5 (adv attack 2 — honest fail-closed);
paired × §3.3 × retry consistency (attack 3); §5
MECHANISM_FAILED stray sweep (attack 5 clean); §14 round-6 ID-
realness 9/9 + equivalence rows; LINEAGE all-true incl. v1
'R1×4/R2×9/R3×9'; probe sweeps 0 substantive mismatches (both
auditors, ~55/74 anchors); v7's landing of ALL nine round-6
residuals verified claim-by-claim (predicate single print, one
pairing criterion, :367/:341, two-sites-two-classes, FEWER/
MORE-THAN-ONE, non-refusal-only MECHANISM_FAILED, honest §14
self-corrections). round-7's defects were the resolution route's
INPUT law, the retry PRECEDENCE, and printed-identity hygiene.
14b. Disposition — round-6 (retained; IDs @7b8e5d8a —
header restored in v9: v8’s restructure had left this register fence homeless; round-8 auditors read it fine — structural only)
CONTRACT-DOWN-7b8e5d8a:
R6-1 [R2] (§14 R5-6 row claimed fixes not landed: ':342' never
printed in §1.3; §0 kept bare basis.rs/scenario_materialization.rs)
-> v7 §1.3 REACHABILITY cites crates/lifecycle/src/
revision.rs:341 for the record basis field (the row's ':342'
was itself an off-by-one; corrected AND actually printed),
§14 (this section) states v6's claim was over-stated, and
EVERY collision-prone bare filename now carries its crate
path (basis.rs, run_families.rs, scenario_materialization.rs,
result-core/identity.rs, durable-operation identity.rs,
publication.rs).
R6-2 [R2] (§5 'MECHANISM_FAILED = step-5 substrate failure' vs
§7.0's closed-set + steps-2/6 law; §14 claimed a §5 edit
that did not land) -> §5 sentence REWRITTEN this pass:
typed step-3/5 rejections are NOT_APPLIED{S7,step-N:variant}
(§7.0 closed set); MECHANISM_FAILED covers NON-refusal
failures only (ledger-host steps 2/6, panics); no '='
collision remains.
R6-3 [R3] (revision.rs:83 is RevisionJournal::open, not
SourceEvolveJournal::open — :367) -> §1.3/§12 cite :367 with
the sibling-note.
R6-4 [R3] ('PRINTED IDENTICALLY' while §1.2 and §1.3 parameter
names differed — literal identity was round-5's bar) -> §1.2
now prints the character-form
standing_established(t, B) := standing_at(B, t);
§7.0's S6 line references that body.
R6-5 [R3] ('0 < or > 1' garble; StandingProofAmbiguous vs
NotASourceStateInHost printed as one-class-two-names) ->
§1.3 walk reprinted: 'FEWER THAN ONE or MORE THAN ONE';
two SITES two NAMED classes (sealed-base grounding refusal
at S0 = NotASourceStateInHost; mid-chain lost pairing =
StandingProofAmbiguous at the walk) — the round-6 audit's
own reading, adopted verbatim.
R6-6 [R3] (crash-profile 5-Ok/6-unclosed window: resolution
EXIT back into pairing un-lawed) -> folded into the
F-R2-1 closure below (single criterion + resolution-as-
APPLIED re-closes step-6 as the named repair route;
resolution-as-NOT_APPLIED leaves r unpaired = phantom
excluded — the §11/§5 recovery sentence no longer gestures).
[v7 CLAIM FALSE AS PRINTED per round-7 F-R2-1 — corrected
in v8's RECONCILIATION LAW; retained line as history.]
ADVERSARIAL-7b8e5d8a:
F-R2-1 [R2] (pairing criterion TRIPLE-printed — 'completion
exists' / 'step-6 closed record' / 'evolve-without-publish
= unpaired' — diverging in the crash window; no printed
repair route) -> §1.3 PAIRING now ONE criterion
(step-6 attempt-spine close joined on occurrence, §3.2),
printed once, with a repair route §5 resolution-as-APPLIED
re-runs step-6 (idempotent bookkeeping over the recorded
completion — NOT a re-publish); resolution-as-NOT_APPLIED
keeps r unpaired (phantom law intact); W-UNPAIRED pins the
window. [v7 CLAIM AS WRONGLY PRINTED — round-7 N-R2-1/
F-R2-1 proved the route read values NO carrier persists;
v8 WITHDRAWS it and installs §5 ReconciliationPending +
IM-6 (see round-7 section above). Retained as history.]
F-R2-2 [R2] (ComposerModeUnavailable {designation} unpinned for
multi-Add sets — report-order law applied to S6 only) ->
§1.2/§1.3 both now print the SAME selection rule (first
Add-class target in ascending canonical_json order), and
the order law itself is a SINGLE quoted rule (see F-R3-2).
F-R2-3 [R2] (= CD R6-2, same clash from the other side) -> same
§5 rewrite.
F-R3-1 [R3] (= CD R6-3) -> same :367 fix.
F-R3-2 [R3] (report-order law double-printed in two unlinked
wordings; W-FORMULA pinned only standing_established) ->
§1.3 REPORT-ORDER LAW printed as ONE rule quoted by both
sites; witness W-ORDER (text-equality, edit-one-must-edit-
other) added.
F-R3-3 [R3] (= CD R6-1) -> §14 correction + full path prefixing
landed this pass.
FAILED/DEAD attacks (round-6 registers; v7 does not re-run):
same-RI re-publish after lost close (§5 UNKNOWN gate + §3.1
cardinality); fresh-RI re-mint of X (§3.3 head+1 + tip
serialization :136-144); phantom-paired collision (paired-only
domain; corruption fail-closed); seed re-consult/precedence
variants (case order pinned); cross-lane laundering (S0 host-
ground + engine private host :1063 — no reachable input);
cross-branch (chain closure); closed rejection sets EXACT vs
both enums; RI codec determinism; §14 ID realness (v6 round:
13/13); E-1 15/15; token oracle; MECHANISM_FAILED reachability
nuance (§5 rewrite made it exact); OBSERVATIONS-not-filed noted:
§3.1 step-4 content ambiguity is non-public (content is opaque
generic C; no public coordinate derives from it) — watch at
C3-B; §3.2 DurableOperationId 'derived via digest law' wording
pinned below (§12): operation id := DurableOperationId is
DOC-minted for the operation spine; the RI->operation binding
is the §3.2 payload-hash spine; public attempt coordinate =
DurableAttemptId (no re-derivation law needed — corrected to
say exactly this).
15. A1..A8 — falsifiable claims (round-14 targets)
A1 WHAT: NO — §1 (§10 fields, ONE standing_at predicate — seed
branch + paired-record chain — typed composer + FORM S mode
refusal, lie gates, host-grounded bases).
A2 WHO: NO — §2.1 RM-21 mirror (existing, decidable, documented sole
route) + §2.2 non-vacuous I-1/I-2/I-3'.
A3 WHEN: NO — §3.1 order+cardinality, §5 exposure, §7.0 sequence.
A4 IDENTITY: NO — §5 codec with the §5 origin-leaf Display law
(round-3 N-2 closed), §3.3 function, §3.2 home, §8 table,
machine result §7.2.
A5 FAILURE: NO — §5 classes + §4 refusal classes (M/classes) +
reachability; no fake durability.
A6 CONC/RETRY/IDEM: NO — §3.1 cardinality, §4 ordering+M refusal,
§5 replay/resolution.
A7 PUBLIC: NO — §7.1+§7.2 named hosts, §7.0 first-refusal.
A8 DIVERGENCE: round-2/3/4 closures stand (round-5's own pass
re-verified the round-4 list); round-5 constructions — dual-
printed predicate bodies (R5-1 both registers: v6 prints ONE
body, §1.2 == §1.3 text, W-FORMULA), phantom-record picker
(R5-1[adv]: walk domain PAIRED-ONLY + uniqueness lawed +
StandingProofAmbiguous fail-closed), PB type-space double-
anchor (R5-2: PB := journal origin ContractRevisionRef —
same space as chain states; S0 host-ground gate), seed-vs-
record precedence at PB==new_state (case order pinned),
FORM S enumeration order (canonical_json ascending),
refusal site (S0 for unsealable bases, S6 for predicate
false), composer mode absence (Add refused until IM-4(c)) —
are closed by v6 (round-6 verified R1×0 from BOTH fresh
auditors); round-6 constructions — pairing criterion triple-
print (F-R2-1: ONE step-6-spine criterion), unpinned multi-
Add refusal naming (F-R2-2: report-order rule at every site,
W-ORDER), §5-vs-§7.0 class-collision sentence (F-R2-3: §5
rewritten to non-refusal-only), one-class-two-names (R6-5:
two sites two classes), predicate line form (R6-4) — were
closed by v7, and round-7 VERIFIED every one landed (0 probe
mismatches [down], landing-verified [adv]); round-7
constructions — resolution route assuming an input NO carrier
persists (N-R2-1/F-R2-1: v8 WITHDRAWS re-close-over-recorded-
completion, installs §5 ReconciliationPending scope refusal
at S0 + IM-6 checkpoint as the ONLY named recovery; no
executor may fabricate a completion id), cardinality-vs-retry
contradiction (N-R2-2: §3.1 evolve-REUSE precedence printed;
re-mint never happens; fresh-RI independence now STATED),
byte-identity indent (F-R3-1: both prints same column,
W-FORMULA trim-inclusive), circular report-order home
(F-R3-2: SINGLE home + marker tokens, W-ORDER rewritten),
quadruple misnamed 'triple' (renamed at every print), §14
over-reach/landing hygiene (F-R3-4/5/6, N-R3-1..4) — were
closed by v8, and round-8 VERIFIED every one landed (0
substantive probe mismatches, both units, 13/13 §14 IDs).
round-8's own constructions — §5 keeping a SECOND 'over RI'
read set beside §1.3's corrected one (N-R2-2: v9 deletes it;
ONE determination ONE read set, spine join closed-attempts
only), section-bookkeeping crediting §10 for IM-6 printed in
§9 (N-R2-1/F-R3-2: v9 re-homes IM-6 INTO §10's register;
§9's row points at the home; §11's cite resolves), streak
miscount (N-R3-5/F-R3-1: SECOND not THIRD — caught by the
doc's own registers), IM-4(b) survival overstated on digest-
only carriers (N-R3-2: survival only post-landing), W-UNK
class named-before-defined (N-R3-1: §5 now defines the
resolution-gate refusal), dangling §19 (F-R3-4), stale §0
census (N-R3-6/F-R3-3), W-PAIRN undefined (N-R3-7), §16
fence (N-R3-4), :68 range (N-R3-3) — were closed by v9, and
round-9 VERIFIED every landing truthful (13/13, 0 probe
mismatches). round-9's own constructions — v9's N-R3-1
closure installing a SECOND public refusal class colliding
with S0 (CD-R2-1/F-R2-1: v10 DELETES the class — routing
(1)-(4) of the unified determination covers every unresolved
prior attempt; at most ONE public refusal coordinate per
input, printed as the governing sentence; determinism by
removal), vacuous W-PAIRN headline (F-R3-1/CD-R3-2: merged
into W-NOPAIR both-directions), '(parity 54)' false numeric
(F-R3-2/CD-R3-1: 56 re-counted by grep), N-R3-7 register
misquote (F-R3-3) — were closed by v10, and round-10
VERIFIED: deletion complete, four routes exhaustive,
collision input determinate by removal, R2 = 0 BOTH UNITS
for the first time in the campaign. round-10's own
survivors — W-NOPAIR (a)-exclusion inverted against route
(3) (CD-R3-2/F-R3-1: v11 rewrites the clause; the record-
level exclusion is separated from the pairing-level one;
sync-atomicity stated as the only transient exclusion);
deictic fence number re-anchored by v10's own amendment
(CD-R3-1/F-R3-3: number -> invariant, never re-numbered);
N-R3-7 stale 'witness defined' unbracketed (F-R3-2:
in-place mark added) — were closed by
v11, and round-11 VERIFIED all five landed truthfully, law
positions byte-identical, 30 fresh attacks against the
three-state separation FAILED or honest. v11's OWN prose
then re-committed the closure-text class a fifth version
running — fabricated 'verified printed' coordinate
(CD-R2-1/F-R3-1 [R2]: v12 PRINTS it at §7.0's walk-hit law
site — prose-claim becomes law-fact; the print AMENDED the
arm's encoding sentence — refusal class and gate ownership
preserved [round-12 CD-R3-1 corrected v12's 'unchanged
since v10' provenance overstatement in v13's lineage]),
SIXTH-vs-FIFTH off-by-one inside the register-
derivation sentence (CD-R3-1/F-R3-2: enumeration adopted,
FIFTH at round-10, no post-round counts printed as facts),
propagated 44 vs mechanical 43-names/41-heads (CD-R3-2/
F-R3-3: split stated to prevent slips), (2)/(3) route
mis-quote (CD-R3-3: marked in place; §17 wording already
correct), unpinned E-5 'candidate-only' (F-R3-4: pinned in v12 as
candidate + carrier [that pin's own 'zero code paths' scope
word was later outdated by the sanctioned ML-wire fix — v14
re-scopes the claim to cited anchors; see §16 E-5]) — were
closed
by v12, and round-12 VERIFIED the cure landed (coordinate
at §7.0's arm; law bodies byte-identical v10->v11->v12
programmatic OUTSIDE the single amended arm sentence).
round-12's own constructions — the new gate pin left
executing-vs-owning gate semantics UNSPECIFIED, forking
A-profile corrupted-ancestry inputs between two compliant
executors (F-R2-1 [R2]; latent since v10's loose 'same-
named propagated' prose, ACTIVATED by the cure's
explicitness; v13 prints the GATE-SEMANTICS law — gate :=
OWNING gate of the refusal class, never sequence member-
ship — + W-GATESEM; the two units' divergent readings
REGISTERED and closed by removing the under-specification,
not by arbitration) — and lineage selling v12's own
sanctioned encoding amendment as 'unchanged since v10'
plus a class-in-payload misdescription of §7.1's class-less
NOT_APPLIED shape (CD-R3-1 [R3]: amendment stated plainly
above; payload sentence corrected at the arm) — are closed
by v13, and round-13 VERIFIED: GATE-SEMANTICS kills the walk
fork in every profile (single payload; A-enumeration
unmutated); provenance retraction git-diff-true; streak
SEVEN re-derived from all fourteen verdict lines by both
units independently; law-diff confinement programmatic.
round-13's own constructions — the gate law left the OTHER
§1.3-defined refusal IndependentIntroductionBlocked with no
owning gate (F-R2-1 [R2]: name prints in §7.0's S6 firewall
paragraph, fires where A never runs S6, exclusion clause
denies S1, sibling CMU pinned 'at S1'; α/β payload fork on
W-IBLOCK; fix-site-becomes-fork-site a third round running)
— are closed by v14: IB OWNERSHIP PIN (owner = S1 by its
DEFINING introduction-side law; coordinate s1:independent-
introduction-blocked; every profile RUNS S1 so the coordinate
is in-sequence everywhere) + the OWNERSHIP TOTALITY RULE
(every printed refusal class mapped to its defining-law home;
mention-site never decides ownership — the durable end of
per-class whack-a-mole) + W-IBLOCK re-pinned. F-R3-1 (v13
commit-message self-assault carried two stale v12 numerics;
document itself clean) NAMED RESIDUAL per bounded closure —
commit messages are immutable; the re-count-at-new-blob
lesson is recorded in lineage. CD-R3-1 (§14 STANDING
both-units over-credit + CD-only count in shared scope) ->
attribution corrected IN PLACE with the dispute named;
transcription rows may carry only what every named source
literally verified. E-5 scope word corrected (v13's 'zero
code paths' outdated by the sanctioned ML-wire fix in an
UNCITED file; claim re-scoped to the sixteen CITED files,
unchanged since 03ce2b05). §12 freedom list non-semantic by
item nature. SUBMITTED FOR FALSIFICATION (round-14 target).
16. Exit criteria
E-1 brief 15 bullets (05:9-23), TEXT-keyed map:
input candidate/change-set contract -> §1.1/§1.2 (O/S/S');
target source/basis/base selection -> §1.1;
independent SourceAuthority -> §2.1/§2.2;
author/principal roles -> §2.2;
applicable validation/admission gates w/o universal pipeline ->
§7.0 (profile sets over a fixed sequence; no invented validator);
candidate -> source-authoring transition -> §3.1 step 3 (record)
with §2.3 bind at step 5;
source evolution/publication outcome classes -> §5;
stale-base/concurrency behavior -> §4;
no implicit LWW -> §4;
replay/idempotency -> §3.1 cardinality + §5;
outcome-unknown and resolution-before-retry -> §5;
predecessor/history preservation -> §8/§4;
relationship with SourceEvolveJournal, publication machinery,
ScenarioMaterializationEngine -> §9;
how Scenario remains one producer -> §6.5/§9/§1.2 FORM S;
public/machine result surface -> §7.1/§7.2.
E-2 forbidden-token oracle CLEAN in meaning-changing positions.
E-3 six collapses: refusal + enforcement + witness (§6/§17 matrix).
E-4 A1..A8 submitted, not self-certified (§15).
E-5 every code claim probe-verified with ranges (CLAIM ABOUT
THE CITED EVIDENCE ANCHORS, re-checked by git diff
--name-only at round-open: all SIXTEEN crate files this
contract cites as evidence anchors are UNCHANGED since
03ce2b05, so the carried probe sweep is their evidence
base. v14 correction [the F-R3-4 lesson applied to v13's
own overreach]: v13 claimed 'zero code paths' over
03ce2b05..HEAD; the ML-wire merge-attrition fix (commit
4683b0c2) changed the analysis crate's provider-wire module
— NOT one of the sixteen anchors (this E-5 line deliberately
names no crates/ path for it, so the cited-anchor set and
the git-diff check stay mechanically separable: anchor set =
regex over crates/….rs mentions; changed set = git diff;
intersection = empty, verified at round-open). The claim is
scoped to CITED ANCHORS, not 'zero code paths anywhere'; a
scope word must not outlive the diff it describes)
this section's §0 carries (round-2/round-3 lesson: ranges and
reachability are claims — all re-probed incl. the ledger
private-map/empty-bundle sites cited in §0/§9).
E-6 §14 cites ONLY finding IDs present in the named audit files.
E-7 no surface-grammar/elaboration change is required or claimed;
no multi-op non-scenario producer is silently assumed (§1.2
scope statement).
E-8 CHAIN TEST (round-3 R1-1/N-1 + round-5 closure): public-on-
public incorporation (profile B over a base that IS a prior
public profile-A APPLIED's paired new_state in the SAME
BRIDGE-JOURNAL) resolves through §1.3's walk + §7.0 S6 with NO
lane-private structure and NO phantom/foreign record read
(paired-domain + S0 host-ground); a base outside the host is
unsealable at S0. W-CHAIN + W-PHANTOM + W-XHOST pin it;
W-2STEP pins re-introduction refusal; W-FORMULA pins the
single printed predicate.
17. Witness matrix
W-HAP APPLIED A / B happy paths (B via §1.3 standing_at walk pos
on the sealed ancestry)
W-SEAL missing §10 field / >1 standalone op neg InputShapeInvalid
W-LIE declared NEW over resolving designation / declared EXISTING
over absent neg ClassificationMismatch /
ExistingArtifactAbsent
W-AUTH authority field names absent declaration / using-field
disagreement neg AuthorityDeclarationMissing /
AuthorityDisagreement
W-INDE self-incident authority (I-1 code / I-2 / I-3' target==
authority name) neg AuthorityIndependenceRejected
W-PAIR authorizer != resolved authority neg bridge refusal (pre+post IM-1b)
W-NOPAIR BOTH non-collapse directions of candidate!=source:
(a) published state with NO PAIRED evolve record —
grants nothing; NOT impossible: it is the crash-
profile ROUTINE — §5 route (3)'s published-unclosed
window is exactly state (a), handled by Reconcilia-
tionPending/§11; only the SYNC profile excludes it
transiently (§5 steps 5-6 atomic there);
(b) journal evolve record with NO publish — walk
skips per §1.3's pairing law; a published state with
NO evolve RECORD at all IS mechanically excluded by
§3.1's step-3-before-step-5 order (v10's row
conflated that exclusion with (a) — round-10 CD-R3-2/
F-R3-1 inverted-clause fix). Both directions refuse
at their independent §3.1/§1.3 homes; no new law
smuggled (PAIRED-iff prints once, §1.3). (round-9
merge of the vacuous W-PAIRN headline; §6.2 names
W-NOPAIR alone)
W-OBS / W-RO / W-ST collapse carriers at seal neg named refusals §6.1/.3/.4
W-SCN FORM S input not from change_set() output / proposal
consumed without re-resolution neg §1.2/§6.5
W-SESS session label as authority designation neg AuthorityDeclarationMissing path
W-S1 stale base REQUIRE_EXPECTED_HEAD neg ExpectedBaseMismatch
W-S2 branch coexistence reconstructible pos journal.history()
W-XACT EXACT_BASE_ALLOWED / REQUIRE_DESCENDANT pre-IM-1(a) neg SubstrateClassUnsupported
W-M class M neg ReconciliationClassUnsupported
W-INS profile B, standing_at(B,t) FALSE (never introduced/ neg ExistingArtifactStanding
present on the chain, or removed at/after B) Unestablished
W-SEED profile B, t declared in the sealed program, NO evolve pos seed branch (X==PB):
record touches t (round-4 R1 paradigm; W-HAP-B fires) S6 passes for pure-
program targets
W-INDUSE profile B over INDEPENDENT-introduced standing pos USE passes (N-3 drift
(legitimate use — must NOT refuse) corrected; §1.3 mode-
independent observation)
W-2STEP profile-A re-introduction of a walk-standing target neg ClassificationMismatch
(two-step attack; lie gate, never silent A) (§1.2; E3 firewall)
W-IBLOCK sealed INDEPENDENT mode on a NEW declaration neg {gate:S1, s1:independent-
(introduction-side law; owner pinned round-13 F-R2-1 — introduction-blocked} in
NOT S6 despite the class name printing in §7.0's S6 EVERY profile (owner from
paragraph; defining law is introduction-side => S1) defining law, not mention
site; §7.0 ownership
totality rule)
W-CHAIN public profile-A APPLIED then profile B over the pos closure reflexive: t
resulting base B1 (= A's new_state), same host introduced AT B1 is true
AT B1 (§1.3 X==r.new_
state); NO lane-private
(chain-break + R2-1 inclusiveness closure) structure (E-8); host-
invisible base => §11
fail-closed
W-READD Remove then re-ADD same designation (round-4 R2-2; pos classifies A, NEW
round-5 R5-6[adv] mint-site) binding identity :=
derived (designation,
introducing PAIRED
record new_state)
W-RPL replay APPLIED RI pos original coords, 0 new evolve
W-CARD two evolves under one RI / retry-after-unpaired neg cardinality law; history()
exposes divergence
W-UNK crash-profile unresolved prior attempt: determination one route per outcome
routes to §3.1 replay/reuse OR to S0's single (1)-(4) §5; the ONLY
s0:reconciliation-pending refusal (round-9 R2: NO public refusal for the
second public refusal class exists — deleted) case is S0's; sync
profile never issues
UNKNOWN pos
W-GATE simultaneous S2+S4 failures pos first-refusal S2
W-TIME three roles recorded at three seams (values may
coincide) pos §5/§8
W-CODEC same sealed inputs -> same RI; leaf renderings fixed pos §5 (A8 defense)
W-REV new_revision == §3.3 function for every sealed input pos
W-DAG 3+ states incl. branch -> predecessor/base_sets
reconstructible pos
W-IMP impact presence laws per §7.1 over paired-walk recs pos
W-MACH machine_run applications array carries the variant pos §7.2
W-C12 no C1 execution host row for incorporation; §13 holds pos probe
W-FORMULA §1.2's and §1.3's OBSERVATION lines are one body pos text-equality witness
(round-5 R5-1 dual-print closure) (single definition;
edit-one-must-edit-other)
W-PHANTOM unpaired evolve r1 + paired r2 sharing new_state X phantom EXCLUDED from
(round-5 R5-1[adv] retry collision) walk domain; walk at X
uses paired r2 only;
0/>1 candidates =>
StandingProofAmbiguous
W-PBSEED sealed base == bridge-journal origin PB, program-decl t pos seed at X==PB;
W-SEED fires THROUGH
§1.3's own OBSERVATION
(R5-2 down: v5 needed
the §1.2 disjunct)
W-XHOST scenario-engine journal (different host instance) state S0 NotASourceStateIn
never readable by the public walk (round-5 R5-2[adv]) Host — base unsealable;
no silent-A path exists
W-ORD FORM S mixed standing set, two executors identical failed_
(round-5 R5-3[down]) coordinate (ascending
canonical_json order)
W-LEDGER ledger-host fault at compose step 2/6 MECHANISM_FAILED
(round-5 R5-4[adv]) (never NOT_APPLIED)
W-GATESEM A-profile op, mid-chain pairing corruption (declared-
NEW over legally-sealed base; classifier's walk fails) BOTH profiles report
(round-12 F-R2-1 constructed input) {gate:S6, s6:standing-
proof-ambiguous} — gate
= OWNING law, not
executing sequence
W-SITE base neither PB nor a paired new_state refusal at S0, not S6
(round-5 R5-4[down]) (W-SITE pins the site)
W-ORDER REPORT-ORDER LAW printed once (§1.3 home; test i) + marker-token equality:
every report site carries the exact marker token; no paraphrase nowhere (iii);
paraphrase of the body exists (ii/iii — F-R3-2) single home, no circular
credit
W-UNPAIRED 5-Ok/6-unclosed window (crash profile): scope in ReconciliationPending{scope}
ReconciliationPending; EVERY incorporation over it at S0 (v8; F-R2-1: NO
refused incl. base-X sealing; NO re-close recomputes re-close from unreadable
from unreadable completion values; §3.3+tip forbid completion); resolution-as-
minting X twice; session end => fresh PB world, X NOT_APPLIED => phantom stays
unreachable as base (rounds 6-7) excluded + §3.1 evolve-reuse
retry; IM-6 = recovery
FormaSL — Situated Result Contract
Status: STABLE / NORMATIVE DESIGN — CB-L2
Authority: DOWNSTREAM NORMATIVE DESIGN, subordinate to FORMASL-INTENT.md, FORMAL-WORLD-MODEL.md, SEMANTIC-INVARIANTS.md, SEMANTIC-CONTINUITY.md, ARCHITECTURE.md and LANGUAGE-DEFINITION-FOUNDATIONS.md
Bundle: CB-L2 — SITUATED RESULT CONTRACT
Date: 2026-08-21
Role: define the language-wide semantic interface for computed/judged results, interpretation basis, dependence/provenance, completeness, assurance and communication continuity without imposing one universal result ontology, physical result ADT or runtime status model.
1. Scope
This contract closes the CB-L2 obligations:
A1 — Situated semantic standing and epistemic state
A3 — Scope/context/frame/temporal role/historical basis
A4 — Provenance/dependence/reasoning artifact/accountability
A10 — Result/failure/unresolved/closure/completion/gas
A12 — Communication/adoption lifecycle interface
C6 — Language-wide result/failure/unresolved/completion composition interface
It defines what downstream operations must be able to interpret and preserve.
It does not select:
- one universal
SemanticResultontological superclass; - one closed result enum;
- one provenance algebra;
- one proof/certificate representation;
- final MATCH/ANALYZE/INFERENCE/PROJECT result semantics;
- final governance/lifecycle transition semantics;
- a concrete IR/AST/runtime/storage representation;
.fspengine/provider architecture;- implementation.
2. Governing non-collapses
Result != Claim
Result != Truth
Result != Assessment
Result != Observation
Result != Decision
Payload != Standing
SemanticResultInterpretation != SemanticCompleteness
SemanticCompleteness != RunTermination
SemanticCompleteness != AssuranceArtifact
SemanticResult != ExecutionReceipt
Provenance != Derivation
Provenance != Support
Provenance != Causation
Provenance != RuntimeTrace
UNKNOWN != FALSE
UNOBSERVED != NONEXISTENT
HIDDEN != NONEXISTENT
UNRESOLVED != EMPTY
INCONCLUSIVE != FALSE
NO_PROOF != NOT_ENTAILED
OUT_OF_GAS != FIXPOINT
OUT_OF_GAS != FALSE
OUT_OF_GAS != EMPTY
OUT_OF_GAS != NO_PROOF
RUN_FAILURE != NEGATIVE_SEMANTIC_RESULT
Producer != Issuer
Executor != Authority
ExecutionOccurrence != SemanticResultIdentity
NECESSARY DISTINGUISHABILITY != MANDATORY ONTOLOGICAL BOX
3. Open dimensional result architecture
FormaSL adopts an open dimensional situated-result contract.
A result-producing semantic contract owns its payload and operation-specific standing, while every consumer-visible result must make all materially relevant cross-operation dimensions reconstructible.
Conceptually:
PRODUCER-OWNED PAYLOAD + STANDING
|
+-- INTERPRETATION BASIS
+-- TYPED DEPENDENCE
+-- SEMANTIC COMPLETENESS
+-- ASSURANCE / REASONING ARTIFACT LINKS, IF PRESENT
+-- ACCOUNTABILITY / PRODUCTION LINKS, IF MATERIAL
Communication/adoption occurrences and concrete run termination are related semantic/operational information but are not scalar fields that redefine result standing.
SHARED RESULT INTERFACE
!= ONE UNIVERSAL RESULT KIND
!= ONE PHYSICAL RESULT ADT
4. Result Contract
Every semantic producer intended to compose within H1 declares a ResultContract sufficient to determine:
StandingContract
PayloadContract
BasisObligations
DependenceObligations
CompletenessContract
PartialResultPolicy
AdmittedSemanticOutcomeVocabulary
AssuranceArtifactPolicy
The notation is abstract. It does not prescribe a concrete record or runtime type.
4.1 Standing Contract
A StandingContract states what a producer output is semantically entitled to mean.
Possible distinct standings include, without forming a closed taxonomy:
QueryAnswer
AnalyticalValue
SemanticConsequence
ApplicabilityJudgment
ValidationFinding
ConformanceJudgment
HypotheticalResult
Operation-specific standings are owned by their semantic producers.
Every standing exported for heterogeneous composition has a language-level contract identity/kind under the CB-L1 declaration/semantic-kind infrastructure.
SameLabel != SameStandingContract
PhysicalPayloadType != SemanticStanding
A runtime/provider may instantiate a declared standing contract; it may not create a new standing meaning from a string, enum variant or provider-local convention.
5. Payload, standing and conditional result identity
A payload is the producer-specific semantic content of a result. Standing says what that payload means under the producer contract.
Payload != Standing
Standing != Claim
Standing != Truth
Standing != Decision
Computation alone does not create an issuer or attributable assertion.
5.1 Conditional result identity
A transient result value is not required to become an independently identified semantic entity merely because it exists.
When a result or result fragment becomes a target of:
higher-order reference
accountability
communication
support/evidence
revision/history
assurance artifact
its contract must provide or reference sufficient semantic identity/addressing to designate the intended target.
ResultContentEquality -/-> ResultIdentity
ResultDigest != SemanticResultIdentity
ExecutionIdentity != SemanticResultIdentity
CB-L2 does not impose one universal result-identity calculus.
6. Producing contract historical basis
Every composable result preserves or references an immutable basis sufficient to identify the exact producing ResultContract and semantic revision used to interpret at least:
standing
payload contract
basis obligations
dependence obligations
completion criterion
partial-result policy
outcome vocabulary
assurance policy
ResultContractUpgrade -/-> RetroactiveResultReinterpretation
Compatibility/equivalence between Result Contract revisions is explicit; it is not inferred from a reused name.
7. Interpretation Basis Contract
A result must preserve or reference every semantic basis component that remains material to interpreting its standing and payload.
The basis is an open composition of typed basis roles, not an untyped metadata bag.
H1 must be able to distinguish, where applicable:
SemanticSource / Version Basis
Theory / Rule Basis
Validation / Constraint Basis
Governing Policy / Contract Basis
Scope / Context / Jurisdiction
Frame / Perspective
Valid-Time Basis
Recording / Transaction-Time Basis
Knowledge / Observation-Time Basis
Decision-Time Basis
Hypothesis / Assumption Basis
Closure Regime
Reference-Resolution Basis
Producing Result Contract Revision
Not every result requires every basis role.
NOT-APPLICABLE != UNKNOWN
Preservation by stable historical reference is valid. A mutable latest locator is not sufficient if later retargeting could alter interpretation.
7.1 Temporal-role separation
ValidTime
!= RecordingTime
!= KnowledgeTime
!= ObservationTime
!= DecisionTime
!= VersionLineage
Coincidence of values does not identify semantic roles.
7.2 Governing basis vs specific dependency
A policy/theory/contract may define the general interpretation regime while also being a specific material dependency of one result.
GoverningBasis
!= ResultSpecificDependency
The same semantic artifact may participate in both roles without those roles becoming equivalent.
8. Typed Dependence Contract
Material dependence must be reconstructible with the role under which the source matters to the result.
CB-L2 defines an open dependency-role family with required capability to distinguish at least:
Origin / Source Lineage
Derivation Premise
Support / Evidence
Interpretation Dependency
Hypothetical Dependency
Normative Dependency
Representation / Transformation Lineage
Causal Dependency
Operational / Runtime Trace Link
This is not a closed enum or universal ontology. Future semantic contracts may introduce new dependency roles through language semantic authority.
One source artifact may participate under multiple dependency roles. Those roles remain distinguishable when material.
8.1 Result-fragment granularity
A dependency may target the entire result or a result fragment/item whose dependence materially differs from other output fragments.
Fragment addressing must be stable under the producer’s declared result equivalence/order semantics.
Incidental:
iteration index
memory position
serialization order
planner-dependent row number
cannot designate a semantic fragment unless the order/index itself belongs to the semantic payload contract.
8.2 Causal introduction authority
CB-L2 preserves the ability to represent causal dependence but does not grant every producer authority to introduce it.
Precedes(x,r) -/-> CausalDependency(r,x)
Provenance(r,x) -/-> CausalDependency(r,x)
A causal-dependence relation may be introduced only under an explicit causal semantic contract owned by the applicable later subject.
8.3 Anti-self-grounding
Semantic cycles are allowed by the metagraph, but representation cycles do not create assurance or grounding.
DependencyCycle -/-> Grounding
SupportCycle -/-> Proof
CircularProvenance -/-> IndependentEvidence
A standing that requires externally authorized premises/evidence must satisfy that requirement independently of merely circular mutual reference.
9. Provenance and runtime trace
Semantic/declarative provenance records how result content depends on semantic inputs, transformations or lineage under the producing contract.
DeclarativeProvenance != RuntimeTrace
Semiring provenance, witness provenance, lineage graphs or another operation-specific mechanism may realize this contract. CB-L2 selects no universal provenance algebra.
Semantically equivalent realization/optimization changes must not silently redefine declarative provenance.
Representation/publication lineage also remains distinguishable from support/provenance of the underlying semantic assertion/result when both are material.
10. Semantic Completeness Contract
Semantic completeness is a result-level semantic standing relative to a producer-defined completion criterion and interpretation basis.
It is not a runtime termination status.
The H1 interface admits the following abstract roles:
CompleteUnder(Criterion, Basis)
IncompleteUnder(Criterion, Basis, GapOrReason)
CompletenessUndetermined(Criterion, Basis, Reason)
This notation does not mandate one enum.
10.1 CompleteUnder introduction authority
CompleteUnder(C,B) may be introduced only when the producing contract identifies:
completion criterion C
interpretation basis B
introduction authority / trusted semantic boundary
accepted completion-evidence or attestation class
Allowed evidence classes are operation-specific and may include, for example:
STRUCTURAL / CHECKER-DERIVED
CERTIFICATE + VALIDATOR
TRUSTED-PRODUCER ATTESTATION
DERIVED FROM COMPLETE SUBRESULTS UNDER A NAMED COMPOSITION LAW
RuntimeSaysComplete -/-> CompleteUnder(C,B)
DeclaredCompleteBit != CompletionEvidence
unless the Completion Contract explicitly authorizes that trusted attestation class.
A stronger required evidence class may not be discharged by a weaker class without an explicit bridge.
10.2 Partial-result policy
An incomplete computation does not universally possess a meaningful partial semantic result.
IncompleteRun -/-> SemanticallyDefinedPartialResult
Each producing contract declares whether incomplete work can expose a result artifact and what standing that artifact has.
Examples may include a known subset, lower bound, interval or no semantic artifact at all. These are operation-specific semantics.
10.3 Completeness undetermined
CompletenessUndetermined means a semantic result exists but available evidence/basis cannot establish whether its declared completion criterion has been satisfied.
CompletenessUndetermined != InconclusiveJudgment
11. Run termination boundary
A concrete execution occurrence has a separate run-termination interface.
Possible P3 outcomes may include:
NormalTermination
BudgetExhausted / OutOfGas
ExecutionFailure
Cancellation / Timeout
ExternalDependencyFailure
The exact runtime taxonomy is deliberately P3-owned.
CB-L2 closes only:
RunTermination != SemanticCompleteness
RunTermination != SemanticStanding
If an interrupted run yields an operation-defined partial semantic artifact, the artifact has its own IncompleteUnder(...) standing and a link to the execution termination occurrence.
If no meaningful partial result is defined, the execution may terminate without producing a semantic result artifact.
OUT_OF_GAS != FIXPOINT
OUT_OF_GAS != FALSE
OUT_OF_GAS != EMPTY
OUT_OF_GAS != NO_PROOF
12. Semantic absence and negative-standing distinctions
CB-L2 requires distinguishability where represented; it does not require one N-valued logic.
12.1 Negative / false under an operation contract
A producer may establish its declared negative standing only under the basis and rules of that semantic contract.
12.2 Empty
EMPTY describes zero members in a collection-shaped payload.
A complete empty query result means no payload members were found under that query/basis. It does not by default establish external-world nonexistence.
12.3 Unknown
UNKNOWN is an epistemic standing: the available semantic basis does not determine the requested content/standing.
12.4 Unobserved
UNOBSERVED means no relevant observation is available under the declared observational basis.
UNOBSERVED -/-> NONOCCURRENCE
12.5 Hidden
HIDDEN means information is unavailable to an observer under visibility/disclosure conditions.
HIDDEN -/-> NONEXISTENT
An explicit disclosure/security projection may intentionally coarsen observer-visible distinctions, including hidden vs nonexistent, if revealing the distinction is itself prohibited. Such behavior is an explicit RESTRICT / DISCARD-EXPLICIT policy boundary, not semantic equality.
12.6 Nonexistent
NONEXISTENT may be established only under a semantic contract with sufficient scope/closure/authority to make that negative claim. Absence from graph membership or result payload is insufficient by default.
12.7 Not applicable
NOT_APPLICABLE is a completed contract-specific judgment that the target lies outside the judgment’s applicable domain under the declared basis.
12.8 Unresolved
UNRESOLVED means a material semantic prerequisite required by the operation has no resolution under that operation’s semantic contract.
SemanticUnresolved != CB-L1 LanguageNameResolutionFailure
12.9 Inconclusive
INCONCLUSIVE is an operation-specific judgment standing in which the judgment process completed under its basis but neither its affirmative nor negative judgment is established.
Inconclusive != Unknown
Inconclusive != Unresolved
Inconclusive != InterruptedRun
Unknown or unresolved information may contribute to an inconclusive judgment without becoming identical to it.
12.10 No qualifying proof artifact
Absence of a qualifying proof/derivation artifact is primarily an assurance/reasoning-artifact availability outcome.
NoProofArtifact -/-> False
NoProofArtifact -/-> NotEntailed
A proof-search contract may derive formal non-entailment from no proof only when the relevant theory/search/basis provides the required completeness/closure theorem.
13. Conflict continuity
Conflict is semantic information.
For every material conflict on which a result depends, the producing operation must either:
PRESERVE the conflict in the result/basis/dependence
or perform an explicitly defined semantic transformation such as:
reconcile
select
adjudicate
aggregate-under-declared-policy
compute-a-conflict-robust/certain-result
while preserving the transformation’s basis, authority and dependence.
Conflict -/-> Failure by default
Conflict -/-> Unknown by default
Conflict -/-> ArbitraryWinner
MultipleClaims -/-> OneTruth
An operation may produce a stronger result invariant across declared conflicting alternatives without selecting a winner, but the standing must identify/reconstruct the relevant conflict/repair/closure contract.
14. Reasoning and Assurance Artifact Contract
A result may reference one or more reasoning/assurance artifacts. Every materially relied-upon attachment preserves or references as applicable:
artifact identity/reference
target result/judgment/claim schema
artifact class
claimed guarantee
checker / validator / kernel
trusted base / assumptions
Relevant artifact classes remain distinct:
Witness
Derivation
Proof / ProofObject
Certificate
OperationalTrace
Provenance / Justification
Explanation
Report
14.1 Promotion discipline
Trace -> Derivation
ONLY through explicit reconstruction to the intended inference rules
Derivation -> Proof
ONLY through the intended checker/kernel
Witness -> Certificate
ONLY under an explicit claim schema + validator
Provenance -> Proof
NO by default
Explanation / Report -> FormalGuarantee
NO by default
CB-L2 does not choose a proof assistant, certificate format or universal proof architecture.
15. Accountability and production roles
No universal producer field is semantically sufficient.
Where materially relevant, the result ecosystem preserves distinctions among:
ProducingSemanticOperation
Invocation / ExecutionOccurrence
Executor / Engine
Agent requesting execution
Issuer of any later Claim
Communication sender / receiver
Producer != Issuer
Executor != Authority
ExecutionOccurrence != ResultIdentity
A denotational semantic result need not invent an agent or issuer when no such standing exists.
16. Execution receipt boundary
An ExecutionReceipt is an operational/accountability artifact associated with a concrete run.
It may bind such information as:
execution occurrence
realization/provider/runtime identity
engine version
input/snapshot/context references
resource/budget state
output/result reference or digest
run termination information
trace/evidence references
But:
ExecutionReceipt != SemanticResult
ExecutionReceipt != SemanticProvenanceByDefault
ExecutionReceipt != Proof
ExecutionReceipt != Truth
Receipt authenticity/integrity can establish only the claim schema licensed by its own verifier/trust contract, for example that a particular runtime attests to a particular execution occurrence and output digest.
AuthenticReceipt != CorrectSemanticResult
unless an explicit stronger semantic-assurance contract provides that bridge.
17. Communication and adoption interface
Communication/adoption is modeled as multiply instantiable semantic relations/occurrences around carried semantic material, not as one scalar state.
H1 must permit distinct roles such as:
Issue / Assert
Transmit / Publish
Receive
Accept
Use
Retransmit
Reassert / Adopt-as-own-assertion
17.1 Transport continuity
Transmit/receive/retransmit do not by themselves change the carried semantic item’s:
original issuer, if any
standing contract
content identity
interpretation basis
assurance class
when those remain material.
17.2 Accept / use
Acceptance and use establish their own agent/item/basis relations or occurrences. They do not automatically create a new Claim.
17.3 Reassert / adopt
Reasserting/adopting material as one’s own attributable assertion is an explicit category-changing transition owned by B2/CB-L4.
It may create a new Claim token with a new issuer while preserving relevant dependence/history on the source material.
Retransmit != Reassert
Accept != Reassert
Use != Reassert
CB-L2 closes the continuity/interface requirements; it does not preempt the complete lifecycle transition calculus.
18. Input acceptance and result composition
CB-L2 distinguishes concrete-result admissibility from contract-level direct composability.
18.1 Concrete-result admissibility
InputAccepts(Result r, RequiredInputContract R)
means r satisfies every semantic requirement the consumer is entitled to rely on under R, including as applicable:
accepted StandingContract
payload/input contract
required Interpretation Basis
required Dependence-role guarantees
actual SemanticCompleteness / partiality standing
required AssuranceArtifact guarantees
disclosure/restriction conditions
InputAccepts != CategoryPromotion
InputAccepts != PhysicalTypeCompatibility
18.2 Direct contract composability
DirectlyComposable(ProvidedResultContract P, RequiredInputContract R)
means every producer outcome that can flow across the unconditional direct edge is accepted by R under the declared composition rules.
Thus:
P may emit Complete OR Incomplete
R requires Complete
implies the raw direct edge is not directly composable merely because some executions of P happen to complete.
An explicit branch/refinement/transformation may narrow a producer result contract before the consumer edge if that construct itself has defined semantics and produces sufficient guarantees.
PotentiallyAcceptableInstance -/-> DirectlyComposableContracts
18.3 Non-collapse and law budget
DirectlyComposable != InputAccepts
DirectlyComposable != ResultContractEquality
DirectlyComposable != TypeSubtyping by default
DirectlyComposable != PhysicalTypeCompatibility
No universal transitivity law is granted for DirectlyComposable or InputAccepts. A particular contract family may prove such a law under stated premises.
A consumer may ignore extra semantic information it does not require, but that does not mutate or erase the source result. Producing a restricted view is a separate explicit transformation governed by Semantic Continuity.
19. Historical composition basis
When a composition edge is materially relevant to interpretation, accountability, replay or verification, the system preserves or references enough information to reconstruct the exact agreement under which consumption occurred.
This includes as applicable:
provided Result Contract identity/revision
required Input Contract identity/revision
actual result standing/completeness relevant to InputAccepts
compatibility/admissibility basis or evidence
explicit narrowing/adapter contract if one mediated the edge
LaterInputContractRevision
-/-> RetroactiveReinterpretationByNameAlone
A later contract may explicitly assess/migrate compatibility, but cannot rewrite historical composition basis silently.
20. Anti-laundering composition laws
Ordinary composition may not silently map:
UNKNOWN -> FALSE
UNOBSERVED -> NONEXISTENT
HIDDEN -> NONEXISTENT
UNRESOLVED -> EMPTY
INCONCLUSIVE -> FALSE
NO_PROOF -> NOT_ENTAILED
INCOMPLETE -> COMPLETE
OUT_OF_GAS -> NO_PROOF
RUN_FAILURE -> NEGATIVE_SEMANTIC_RESULT
CONFLICT -> ARBITRARY WINNER
An explicit semantic transformation may change a category only when its contract authorizes the transition and preserves the basis/dependence required to interpret it.
20.1 Incomplete-input propagation
If a consumer output materially depends on an incomplete result, then either:
- the consumer contract explicitly establishes why its own completion criterion does not require the missing portion; or
- downstream completeness remains conditional/incomplete.
CompleteConsumerOutput
requires
NoUnaccountedMaterialIncompleteDependency
21. Disclosure and representation transformations
Result transformations obey Semantic Continuity:
PRESERVE
TRANSFORM
DERIVE
RESTRICT
DISCARD-EXPLICIT
NOT-APPLICABLE
There is no implicit DROP.
Examples:
- security/disclosure may intentionally hide whether unavailable material is hidden or nonexistent for a particular observer;
- specialized representation may preserve standing/basis by reference while changing physical form;
- a report may summarize a result but cannot inherit a stronger proof/certificate guarantee unless the required assurance link survives.
ACCIDENTALLY-LOST = DEFECT
22. Surface / DX commitment
CB-L2 does not require authors to manually plumb all result metadata.
SIMPLE SURFACE != SIMPLIFIED SEMANTICS
PROGRESSIVE DISCLOSURE != SEMANTIC ERASURE
When producer/consumer contracts compose unambiguously, basis/dependence/completeness information may be carried automatically by the language/toolchain.
The surface must become explicit when semantic choice is material, including:
partial/incomplete consumption
standing incompatibility
basis ambiguity
category-changing transition
strong assurance requirement
historical contract mismatch
communication reassertion/adoption
disclosure restriction
Final syntax remains open.
23. V1 disposition
CB-L2 preserves/generalizes V1-observed useful distinctions:
EvaluationContext != ExecutionSpec
ApplicabilityOutcome != ConformanceStatus != ExecutionStatus
CanonicalResult != ExecutionEvidence != ExecutionReceipt
OutOfGas remains visible
context/time basis remains reconstructible
It replaces/refines V1 weaknesses:
- flat
basis_claimsevidence -> typed dependence roles; - implicit candidate-result -> Claim persistence -> explicit assertion/adoption transition;
- result/history identity cannot collapse into ClaimId-keyed snapshots;
- projection/result lineage cannot be silently lost;
- run status cannot define semantic completeness.
CB-L2 V1 CAPABILITY REGRESSION = NONE FOUND
24. Formalization routing
CB-L2 semantic closure does not require immediate mechanization.
The highest-value exact formal predicates depend on later producer-specific contracts:
StandingContract semantics
CompletionCriterion semantics
MaterialDependency relations
MaterialConflict relations
query/result equivalence + fragment selectors
proof-search completeness / entailment
communication/adoption transitions
run/receipt realization contracts
whole-language composition semantics
A universal generic formal Result model now would either freeze a rejected ontology/representation or prove shadow propositions.
Therefore:
FORMALIZATION_REQUIRED_FOR_CB_L2_SEMANTIC_CLOSURE = NO
CB_L2_FORMALIZATION_CONTRACT_READY = NO
MECHANIZATION_AUTHORIZED = NO
Downstream P5/P9 must retain and classify the FO-L2 formalization/acceptance obligations recorded by the CB-L2 formalization-routing evidence, especially:
- result anti-promotion;
- Result Contract non-retroactivity;
- semantic completeness vs run termination;
- completion evidence introduction;
- no completion laundering;
- absence/outcome non-laundering;
- no-proof completeness bridge;
- dependency-role preservation;
- causal introduction authority;
- conflict preservation;
- assurance-artifact promotion discipline;
- receipt claim-scope discipline;
- communication non-reassertion;
- fragment-address stability;
- anti-self-grounding.
25. Composition surface exported downstream
CB-L2 exports to later bundles:
INPUT / OUTPUT STANDING CONTRACTS
PAYLOAD CONTRACTS
INTERPRETATION BASIS
OPEN TYPED DEPENDENCE ROLES
SEMANTIC COMPLETENESS CONTRACT
PARTIAL RESULT POLICY
ABSENCE / JUDGMENT DISTINCTIONS
ASSURANCE ARTIFACT POLICY
ACCOUNTABILITY / RECEIPT BOUNDARY
COMMUNICATION CONTINUITY
INPUT ACCEPTANCE
DIRECT CONTRACT COMPOSABILITY
HISTORICAL COMPOSITION BASIS
ANTI-LAUNDERING LAWS
CONFLICT CONTINUITY
CB-L3 and CB-L4 must instantiate these interfaces for their operation-specific semantics; they may not redefine the cross-operation meaning.
26. What remains open
This contract intentionally leaves open:
- exact payload/result standings for query, analysis, inference and specialized projection — CB-L3;
- exact validation/conformance/admission/authorization/decision result contracts and category transitions — CB-L4 constrained by existing governance authorities;
- exact hypothesis/promotion/revision/action/effect/observation lifecycle — CB-L4;
- exact causal calculus — CB-L4 or another explicit owner;
- exact provenance algebra for each operation;
- exact proof/certificate architecture;
- exact communication syntax/carrier;
- exact runtime termination/receipt representation — P3;
- exact result/input ADTs/IR — P3/implementation;
- final integrated language composition/continuity — CB-L5/P2B.
These are downstream subjects, not permission to invent the CB-L2 distinctions locally.
27. Closure evidence
The CB-L2 evidence campaign established:
DISCOVERY / V1 / THEORY EVIDENCE = SUFFICIENT
FIRST CRITICAL COMPOSITION ATTACK = MATERIAL FINDINGS REPAIRED
SECOND COMPOSITION RE-AUDIT = MATERIAL FINDINGS REPAIRED
FORMATIVE SURFACE / DX = PASS
SEMANTIC CONTINUITY SC-D1..SC-D11 = PASS
ACCIDENTALLY-LOST = NONE FOUND
V1 CAPABILITY REGRESSION = NONE FOUND
FORMALIZATION ROUTING = PASS / MECHANIZATION DEFERRED
FINAL SUFFICIENCY A1/A3/A4/A10/A12/C6 = PASS
CB-L2 BLOCKING UNKNOWN = NONE FOUND
28. Terminal bundle gate
CB-L2 SITUATED RESULT CONTRACT = PASS
CB-L2 STATUS = STABLE / TERMINAL FOR BUNDLE SCOPE
This does not imply:
LANGUAGE_SEMANTIC_CLOSURE = PASS
LANGUAGE_DEFINITION_CLOSURE = PASS
P2B = AUTHORIZED
EXECUTABLE_SEMANTIC_INTERFACE_CONTRACT = CLOSED
P3 = AUTHORIZED
IMPLEMENTATION = AUTHORIZED
The next conservative P2A subject is:
CB-L3 — COMPUTATIONAL REGIME BOUNDARIES
which must consume this contract without reopening it absent a material trigger.
FormaSL — Executable Semantic Interface Contract
Status: STABLE
Authority: NORMATIVE DOWNSTREAM DESIGN CONTRACT — CB-L5 / P2B
Acceptance horizon: V2-WHOLE-LANGUAGE-H1
Parent progression owner: WHOLE-LANGUAGE-ROADMAP.md
Parent project-state owner: ../FORMASL.md
Depends on: ../foundations/FORMASL-INTENT.md, ../foundations/FORMAL-WORLD-MODEL.md, ../foundations/SEMANTIC-INVARIANTS.md, ../foundations/SEMANTIC-CONTINUITY.md, ARCHITECTURE.md, LANGUAGE-DEFINITION-FOUNDATIONS.md, SITUATED-RESULT-CONTRACT.md, COMPUTATIONAL-REGIME-BOUNDARIES.md, SEMANTIC-LIFECYCLE-TRANSITIONS.md
Date: 2026-08-22
Role: close CB-L5 — INTEGRATED COMPOSITION / SEMANTIC CONTINUITY, close P2B C2/C5, and freeze the complete semantic interface that P3 executable-language architecture must preserve without choosing P3 representation, planner, runtime, provider, storage or implementation technology.
1. Jurisdiction
This contract owns one terminal P2B question:
How do the locally closed H1 language semantics compose as one language definition, and what complete semantic information must cross into P3 so executable architecture can realize that language without inventing meaning?
It closes:
C2 — HETEROGENEOUS SEMANTIC COMPOSITION
C5 — WHOLE-LANGUAGE SEMANTIC CONTINUITY
P2B — INTEGRATED LANGUAGE-DEFINITION AUDIT
EXECUTABLE SEMANTIC INTERFACE CONTRACT
It does not close:
final concrete surface grammar
AST / IR representation
planner / runtime DAG representation
.fsp grammar or provider-binding representation
runtime task/event architecture
provider protocol
physical cache / memoization
stream transport
transaction / isolation mechanism
source-history storage
proof/certificate representation
implementation technology
Therefore:
EXECUTABLE SEMANTIC INTERFACE CONTRACT
!= EXECUTABLE LANGUAGE ARCHITECTURE
!= IMPLEMENTATION / CONFORMANCE CONTRACT
!= RUNTIME MODEL
P3 is free to choose executable representations only inside the constraints below.
2. Governing whole-language laws
The local bundle contracts remain authoritative for their semantic jurisdictions. This contract does not reinterpret them for composition convenience.
At the integrated boundary preserve at least:
Claim != Truth != Assessment != Observation
Computation != Assertion
GraphMembership != Truth
Producer != Issuer
Executor != Authority
Validation != Conformance != Admission != Authorization
Decision != Execution
ExecutionSuccess != ExternalEffectOccurred
Occurrence != Effect
Effect != Observation
Observation != Truth
Assumption != Claim
Hypothetical != Baseline
Inheritance != Subtyping
WellTyped != Conformant != Admissible != Authorized
SemanticType != StorageType != RustType
Identity != Identifier != Representation
Provenance != Derivation != Support != Causation != RuntimeTrace
OUT_OF_GAS != FIXPOINT != FALSE != EMPTY != NO_PROOF
RuntimeOutput != AuthoritativeSourceUpdate
StorageWrite != SemanticAuthority
SemanticCompleteness != RunTermination
InputAccepts != PremiseAdmissible
The integrated contract adds:
DeclaredSemanticContract
!= BoundSemanticApplication
!= RuntimeRun
!= ResultArtifact
DataDependence
!= SemanticOrder
!= SourceTextOrder
!= RuntimeSchedule
ResultAvailable
!= CompositionComplete
SemanticAuthorityRequirement
!= RealizationRequirement
RealizationRequirement
!= .fsp Binding
!= ProviderIdentity
ProviderOutput
!= SituatedResult
ProgramStatus
!= CompositeSemanticOutcomeStructure
No compatibility relation above silently entails another.
3. Whole-language program roles
H1 distinguishes, as interface roles where material:
AuthoritativeSourceProgram / AuthoritativeSourceState
AdmittedResolvedProgram
ExplicitSemanticProgram
DeclaredSemanticContract
BoundSemanticApplication
SemanticApplicationReference / Locus
CompositionContract
RuntimeRun / ExecutionInstance
SituatedResult / LifecycleOutcome
These are semantic/interface roles, not a mandatory universal object hierarchy.
NecessaryDistinguishability
!= MandatoryOntologicalBox
A concrete implementation may share carriers while preserving the distinctions and correspondence relations required here.
4. Declared semantic contract
A DeclaredSemanticContract is a resolved language-semantic contract whose exact identity/revision determines meaning for one capability/transition/composition role.
Examples include, without defining one closed taxonomy:
QueryContract
AnalysisContract
ReasoningContract
TransformationContract
Validation / Governance contract
Claim / assertion transition contract
Hypothesis / ScenarioContract
SourceEvolution contract
Action / ExecutionRequest contract
ObservationContract
CompositionContract
Historical application/result interpretation preserves or references the exact contract revision materially used.
MutableContractName -/-> HistoricalContractRetarget
5. BoundSemanticApplication
A BoundSemanticApplication is a program-level application of an exact semantic contract revision to declared static/source bindings plus explicit dynamic semantic input requirements.
It is not a runtime execution occurrence.
A material application determines/references as applicable:
source correspondence / source construct locus
semantic contract identity + exact revision
semantic stage / transition category
StaticSemanticSignature
bound static/source inputs
required dynamic semantic inputs / binding rules
required input StandingContract / PayloadContract / completeness
specialized admission relations
promised output StandingContract / PayloadContract / ResultContract
Interpretation Basis requirements
material typed Dependence roles
semantic completeness / partiality policy
negative / empty / unknown / unresolved / failure distinctions
category-changing target effect if any
authority / jurisdiction requirements if any
semantic data-dependence relations
semantic order / co-realization constraints
outcome routing relation
provider-neutral RealizationRequirement if any
continuity / loss obligations
No mandatory record shape is selected.
6. Semantic application reference / locus
Where historical/accountability reference is material, the ExplicitSemanticProgram supplies a stable semantic application reference/locus sufficient to reconstruct:
which exact semantic contract revision was applied
which source construct/application site declared it
which static/source bindings belong to it
which dynamic semantic input slots/binding rules belong to it
which composition/order/routing relations apply
which completion/lifecycle/realization obligations apply
SemanticApplicationReference != RuntimeRunIdentity
SemanticApplicationReference != ResultArtifactIdentity
A single semantic application may be realized zero, one or multiple times according to its contract and the later executable architecture.
7. Complete ExplicitSemanticProgram contract
The CB-L1 ExplicitSemanticProgram role is enriched for H1 so P3 receives all semantic coordinates needed for realization.
For every material source construct/application, the program makes explicit or reconstructible the applicable dimensions below.
7.1 Static/source coordinates
source correspondence / span / construct identity
source-state revision
module/interface revision
BindingIdentity
DeclarationIdentity
BindingCategory
DeclarationKind
SemanticReferentIdentity / SemanticKind
TypeIdentity / TypeContractRevision
semantic reference/designation relations
resolution basis
inter-declaration dependencies
7.2 Semantic contract coordinates
semantic contract identity + exact revision
contract category/regime/transition class
StaticSemanticSignature
required semantic inputs
promised output/result contracts
Interpretation Basis requirements
material typed Dependence roles
semantic completeness / partiality policy
negative / empty / unknown / unresolved / failure distinctions
assurance requirements where material
7.3 Lifecycle/effect coordinates
Where applicable:
category-changing introduction relation
authority/admissibility requirement
source-authority effect
semantic occurrence identity/replay policy
semantic order / co-realization / completion coupling
historical time-role requirements
7.4 Composition coordinates
input/output slot mapping
joint input contract
semantic data/result dependence
semantic order
outcome routing
CompositeCompletionContract
LifecycleInteractionSummary where material
nested CompositionContract applications
continuity/loss dispositions
7.5 Realization-boundary coordinates
provider-neutral RealizationRequirement
semantic accuracy/equivalence/completion constraints
required external trust/acquisition boundary when material
allowed runtime-derived semantic inputs
forbidden runtime semantic invention
source / realization / run / storage authority boundary
7.6 Continuity coordinates
For every material transformation/composition boundary:
PRESERVE
TRANSFORM
DERIVE
RESTRICT
DISCARD-EXPLICIT
NOT-APPLICABLE
No implicit DROP.
8. StaticSemanticSignature
Every executable/composable semantic contract referenced by the ExplicitSemanticProgram supplies/references a complete static semantic signature adequate for CB-L1 formation/type/interface checking.
The signature determines as applicable:
input semantic type / kind / standing requirements
output payload / standing / result contract
formation constraints
contract parameters / bounds
category-changing target kind / standing
required authority/admissibility kinds
StaticSemanticSignature
!= RuntimeABI
!= StorageSchema
!= RustType
P3 may not invent operation-specific typing/formation rules omitted from the semantic contract.
9. Heterogeneous direct composition law
A consumer receiving concrete result/artifact assignment A may consume it only when all applicable independent gates pass.
Conceptually:
STATIC FORMATION / TYPE / KIND
+
InputAssignmentAccepts(A, RequiredInputContract)
+
applicable specialized semantic admission
+
applicable governance / transition authority condition
+
applicable outcome-routing condition
For one input this may reduce to CB-L2 InputAccepts plus specialized gates.
For multiple inputs, acceptance is joint unless the input contract explicitly declares decomposition valid.
Joint acceptance may constrain:
frame / scope compatibility
source / historical basis
completeness combination
conflict policy
correlation / dependence
cardinality / order
semantic type relationships
Therefore:
PairwiseInputAccepts -/-> JointInputAssignmentAccepts
WellTyped -/-> InputAccepts
InputAccepts -/-> PremiseAdmissible
PremiseAdmissible -/-> GovernanceAdmission
GovernanceAdmission -/-> Authorization
Authorization -/-> Execution
DirectlyComposable(ProvidedContract, RequiredContract) may prove an unconditional CB-L2 contract-level data edge but cannot bypass consumer-specific admission/authority relations.
10. Data dependence, semantic order and scheduling
The whole language distinguishes:
DATA / RESULT DEPENDENCE
SEMANTIC INTRODUCTION / EXECUTION ORDER
SOURCE TEXT ORDER
RUNTIME SCHEDULING ORDER
10.1 Data/result dependence
A consumer semantically depends on a particular result/artifact/standing/basis.
This need not imply a fresh producer execution if an admissible existing result can satisfy the demand.
10.2 Semantic order
Semantic order exists only when meaning/authority/standing/history/completion requires a prior stage/transition to occur or become established first.
Examples include:
T1 grants authority; T2 consumes that authority
HypothesisContextInstance exists before stages evaluated under it
Decision exists before a request consuming it
source subtransition T2 consumes standing introduced by T1
10.3 Source text order
SourceTextOrder -/-> SemanticOrder by default
Text order becomes semantic only under an explicit language/construct contract.
10.4 Runtime schedule
RuntimeSchedule != SemanticOrder
P3 may reorder/fuse/parallelize only if all semantic dependencies, orders, authority/currentness constraints, lifecycle interactions, completion contracts and histories remain preserved.
11. Ordinary composition well-foundedness
H1 ordinary inter-application composition is finite/well-founded.
OrdinaryCompositionCycle
requires
ExplicitIterationOrRecursionContract
This restriction applies to orchestration/composition recursion, not to cyclic semantic graphs or the recursion already owned by CB-L3 Query/Reasoning.
An explicit iteration/recursion contract owns as applicable:
seed / initial semantic state
step relation
input/result standing
completion/fixpoint/equality criterion
partial/incomplete semantics
failure/unresolved semantics
budget/divergence interface
category-changing/effect interactions
No runtime loop may silently become the semantic meaning of recursive composition.
12. Outcome routing
H1 has no universal truthiness/failure routing policy.
EMPTY
FALSE
DENIED
UNKNOWN
UNRESOLVED
INCONCLUSIVE
INCOMPLETE
OUT_OF_GAS
RUN / MECHANISM FAILURE
remain typed/distinguishable where material.
A direct data edge requires a concrete artifact satisfying the consumer contract. Absence of such an artifact does not by itself define whole-program failure or rollback.
A material conditional/routing construct determines behavior for its declared guard/outcome domain, including unknown/unresolved and mechanism-no-result cases where applicable.
UnknownGuard -/-> FalseBranch
MechanismFailure -/-> FalseBranch
RuntimeFailure -/-> SemanticNegativeResult
Allowed explicit policies include, by contract:
route valid negative semantic judgment
surface composite UNRESOLVED / INCOMPLETE
invoke recovery/refinement/retry branch
consume explicitly admissible incomplete result
branch on empty without treating empty as failure
The language need not invent a winner/branch where its semantic basis does not determine one.
13. Incremental / streaming consumption
Transport streaming is not semantic permission to consume partial results.
StreamingTransport -/-> IncrementalSemanticConsumption
A producer exposes partial/incremental artifacts only when its ResultContract gives them semantic standing/evolution.
A consumer may process them before finalization only under an explicit IncrementalConsumptionContract or equivalent relation covering as applicable:
valid partial/prefix input classes
completeness standing of each increment
revision/retraction semantics
increment ordering/version relation
consumer admissibility
when downstream results may be emitted
whether irreversible/category-changing transitions may fire
impact of later revision/incompleteness
finalization criterion
Default direct composition consumes a result satisfying the required final/completeness contract.
A planner cannot trigger an irreversible transition on a prefix merely because the provider happens to stream it.
14. Dynamic semantic binding
A later application may depend on an identity/basis introduced only by a prior stage.
The semantic program represents the binding derivation rule before P3, for example:
Q2.source_basis := SourceState introduced by T1
Request.decision_basis := Decision introduced by D1
Scenario.input := Result produced by A1
The exact runtime-produced identity may be unknown statically; its semantic derivation slot/rule is not.
Dynamic binding declares cardinality/selection semantics adequate to reject incidental selection, for example conceptually:
EXACTLY-ONE
ZERO-OR-ONE
ALL / COLLECTION
EXPLICIT SELECTOR / REDUCTION CONTRACT
Exact syntax/taxonomy is open.
IncidentalIterationOrder -/-> SemanticSelection
RuntimeResolveCurrentAlias -/-> ExplicitDynamicBasisBinding
Ambiguity remains explicit until an authorized selector/reduction contract resolves it.
15. Semantically material ambient state
Any environment/runtime value that can materially change semantic result, standing, basis, authority, completeness or source effect is explicit/reconstructible as:
semantic input
Interpretation Basis dependency
semantic contract parameter
lifecycle/governance basis
Examples where material:
wall clock / now
current/latest source/model alias
current principal
locale / timezone / unit default
randomness/seed policy
external semantic state
Mechanism-only state may remain hidden only if it cannot alter promised semantic observations.
SemanticallyMaterialAmbientState -/-> HiddenRuntimeDependency
16. Basis-binding time and long-running evaluation
When the exact semantic basis is bound at invocation/evaluation time, the semantic contract owns the binding rule and the resulting history preserves the exact basis and materially relevant binding time.
Distinguish as applicable:
source declaration time
application definition time
basis-binding/sealing time
Decision time
request time
execution-attempt time
runtime run start/end
observation/acquisition time
result recording/materialization time
source-incorporation time
RunStartTime -/-> BasisBindingTime by default
RecordingTime -/-> BasisBindingTime
Long-running evaluation over mutable sources/models declares a semantic basis policy such as frozen/snapshot, explicitly live/evolving, or version/window sequence semantics. Exact names/taxonomy remain open.
SourceChangedDuringRun -/-> SilentRetarget
The result preserves the material basis/window/history used.
17. Concurrency / interaction safety
Absence of semantic order does not prove semantic independence.
Potentially interacting category-changing/source/authority transitions require an explicit relation such as:
semantic order
co-realization/coupling
non-interference / commutativity contract
shared snapshot/isolation basis
fork/conflict semantics
NoOrder -/-> Independent
RuntimeIsolationLevel -/-> SemanticVisibilityPolicy
RuntimeSchedule -/-> ConflictResolution
Pure independent computations may be parallelized freely when their semantic contracts establish no material shared mutable/dynamic semantic dependency.
18. CompositeCompletionContract
Every composed program/block has an explicit/reconstructible CompositeCompletionContract.
It determines as applicable:
required terminal results/standings
required lifecycle transitions/introductions
allowed alternative terminal outcomes
whether incomplete/unresolved outputs may be terminal
which semantic/run failure classes prevent completion
which branches are optional vs required
which semantic results/lifecycle outcomes are exported
Every reachable material stage/branch has a completion role:
REQUIRED-FOR-COMPLETION
CONDITIONAL under explicit semantic condition
OPTIONAL/NON-BLOCKING under explicit composition contract
H1 has no detached/background semantic work by default.
ReachableMaterialStageWithoutCompletionRole = ILL-FORMED
CompositeSemanticCompletion != RuntimeTermination
ResultAvailable != CompositionComplete
There is no requirement for one scalar terminal result/status.
19. Semantic outcome and run/mechanism outcome
Preserve separate channels:
SEMANTIC RESULT / JUDGMENT OUTCOME
!=
RUN / MECHANISM OUTCOME
Mechanism outcomes include, for example:
provider unavailable
network timeout
process crash
missing binding
cancellation
resource/budget failure
Semantic outcomes include, for example:
empty QueryAnswer
ConformanceJudgment = violated
AdmissionJudgment = denied
SemanticCompleteness = incomplete
Reasoning completion under its declared criterion
A mechanism outcome becomes semantic only through an explicit mapping admitted by the semantic/realization contract.
A CLI/runtime aggregate status is a report over the semantic outcome structure, not a replacement for it.
20. Failure, rollback and compensation
A later stage/composite/run failure does not retroactively erase semantic history that was already introduced.
CompositeFailure
-/-> UndoPriorClaim
-/-> UndoPriorDecision
-/-> UndoPriorSourceEvolution
-/-> UndoPriorExecutionOccurrence
-/-> UndoExternalEffect
StorageRollback / RuntimeTransactionRollback
-/-> SemanticRetraction / UndoOccurrence / UndoExternalEffect
If a composition requires constitutively coupled all-or-nothing semantic introduction, that coupling is explicit in the semantic contract. P3 must select a mechanism capable of honoring it or report the application not realizable/ready under that binding.
Compensation/retraction/revision is a new explicit semantic action/transition preserving history.
21. Co-realized source/lifecycle transitions
One surface/source authoring action may realize multiple distinct semantic transitions.
Example:
source construct declaring a new Claim
may co-realize
ASSERT + SOURCE-EVOLVE
The ExplicitSemanticProgram preserves:
shared source correspondence
individual transition/application identities
individual introduction rules
authority/admissibility requirements
standing/source effects
semantic order/coupling relation
individual/coupled completion semantics
OneSourceConstruct != OneSemanticStage
AtomicCoRealization != SemanticIdentity
22. Named / reusable composition
H1 supports named/reusable composition through ordinary program/module declaration plus an explicit semantic CompositionContract.
The contract has stable identity/revision and exposes/references as applicable:
input StaticSemanticSignature / required input contracts
exported SituatedResult contract(s)
exported lifecycle outcome/target-standing contract(s)
CompositeCompletionContract
LifecycleInteractionSummary
authority/admissibility requirements
RealizationRequirements
whole-interface continuity/assurance guarantees
source correspondence
CompositionContract != BodyImplementation
Historical applications/results retain the exact CompositionContract revision used.
A CompositionContract may itself be applied by another composition, supporting hierarchical/nested programs.
23. Composition implementation compatibility
A body/implementation satisfies a CompositionContract only if every externally relied-upon semantic guarantee is preserved.
A replacement may not silently alter:
input standing/type/basis requirements
exported standing/payload/completeness
failure/unresolved surface
LifecycleInteractionSummary
authority/admissibility requirements
semantic order/coupling guarantees
RealizationRequirements
continuity/assurance guarantees
SameVisiblePayload -/-> CompositionCompatibility
Module/interface replacement under CB-L1 must preserve the complete CompositionContract, not only nominal output type.
24. LifecycleInteractionSummary
A named/reusable/opaque CompositionContract exposes a LifecycleInteractionSummary for every externally material interaction affecting safe composition.
It may summarize as applicable:
Claim/standing introductions
Decision/governance interactions
source-authority/source-evolution transitions
external Action requests / execution-capability interactions
Observation acquisitions
semantic target/source scopes touched
authority/admissibility requirements
semantic ordering/co-realization/isolation constraints
RealizationRequirements
Interaction modality is explicit conceptually:
REQUIRED-FOR-SUCCESS/COMPLETION
CONDITIONAL under an explicit semantic condition
POSSIBLE/OPTIONAL and non-blocking under the completion contract
Exact labels/representation are open.
This summary is not a causal/world-effect claim.
LifecycleInteractionSummary
!= EffectOf
!= ExternalEffectOccurred
25. Nested abstraction
Nested interaction summaries compose conservatively.
An outer composition cannot hide an externally material inner:
SourceEvolution
external Action request
Claim/Decision/Observation introduction
material authority requirement
completion obligation
unless an explicit higher-level semantic contract validly transforms/couples the interaction without erasing required history.
Pure internal stages may remain abstracted if external result/provenance/assurance/completion guarantees remain sufficient.
Category-changing semantic occurrences do not become private implementation details merely because their payload is not exported.
26. Workflow disposition
The historical V1 Workflow product capability is preserved and generalized through semantic composition contracts:
named reusable orchestration
heterogeneous stages
branching / typed outcome routing
semantic ordering
parallelizable independent work
composition completion
result/lifecycle exports
process/accountability history
H1 does not require WORKFLOW as a distinct universal semantic family.
V1 WORKFLOW CAPABILITY
= PRESERVE + GENERALIZE
V1 WORKFLOW AS MANDATORY SEMANTIC FAMILY
= REPLACE / NOT REQUIRED FOR H1
A future workflow surface keyword may exist as syntax sugar/product UX without gaining an independent semantic jurisdiction.
27. Semantic validity, realization satisfaction and execution readiness
Distinguish:
SemanticallyAdmittedProgram/Application
!= RealizationCapabilitiesSatisfied
!= ExecutionReady
!= RuntimeStarted
!= RuntimeSuccess
A semantically valid program may be not realizable/ready under the current .fsp/environment.
Missing provider/model/action/observation/source-authoring capability is normally a realization/readiness outcome, not semantic falsehood, type invalidity or governance denial.
28. RealizationRequirement
Every semantic application requiring realization declares/references a provider-neutral RealizationRequirement.
It may include, where material:
required capability class
exact semantic contract/model/operator revision
exact vs approximate envelope
required determinism/nondeterminism semantics
completion guarantee class
assurance/certification requirement
external acquisition/trust boundary
required dynamic-input provision contract
RealizationRequirement
!= .fsp Binding
!= ProviderIdentity
!= SemanticAuthorityRequirement
Semantic authority and realization mechanism requirements remain independently reconstructible.
A capable provider cannot create semantic authority merely by being bound.
29. Runtime-derived semantic inputs
A BoundSemanticApplication may require values not known until evaluation/run time, such as:
observation acquired under an ObservationContract
execution receipt
external response
identity introduced by a prior transition
run policy/budget input when semantically exposed
The semantic contract fixes what input is required, what standing/basis it must have and how it is bound.
P3/runtime supplies a concrete value through an admitted realization path.
DynamicValueUnavailableAtCompileTime
!= SemanticMeaningDeferredToRuntime
30. Provider/runtime result bridge
Provider/runtime output is raw realization evidence until admitted by an explicit semantic verification/interpretation bridge selected/closed downstream under this contract.
ProviderOutput != ValidSituatedResult
ProviderLabel != StandingIntroductionAuthority
ProviderSuccess != SourceEvolutionAuthority
The bridge verifies/reconstructs as applicable:
output shape/type correspondence
semantic contract/model revision match
Interpretation Basis
standing/result-contract satisfaction
completion/accuracy/assurance guarantees
source/application/run/result correspondence
identity/provenance requirements
external attestation/trust boundary
Bridge failure does not fabricate a semantic negative result.
RunOutput
-> verification/interpretation bridge
-> SituatedResult / LifecycleOutcome
31. Reuse, caching, memoization and fusion
Distinguish:
REFERENCE-EXISTING-RESULT
EVALUATE-APPLICATION
A cached/existing result may satisfy a requested evaluation only when a contractually admitted ReuseAdmissible/equivalence relation covers every dimension material to downstream semantics.
Consider at least:
identity
standing
issuer/authority
source/model/theory/contract basis
time/frame/scope/currentness
hypothetical dependence
observation acquisition requirements
conflict
provenance/derivation/support
completeness
assurance
lifecycle occurrence/history
stochastic/reproducibility semantics
CacheHit -/-> ReuseAdmissible
PayloadEquality -/-> ResultEquivalence
EqualVisibleRows -/-> EqualWitnessHistory
If result/run/history identity is materially observable, P3 cannot fuse it away.
32. Retry / replay / re-execution
For lifecycle/effectful applications, preserve enough semantic request/occurrence intent to distinguish:
retry/delivery of the same semantic request
replay/rehydration of prior result/receipt
new semantic request / intentional re-execution
DeliveryRetry -/-> NewSemanticOccurrence
RuntimeTimeout -/-> SafeToReExecute
A new actual re-execution is a new ExecutionAttempt/occurrence where the CB-L4 contract makes it so.
Concrete idempotency/retry mechanism is P3/P6 territory.
33. Authority/currentness time-of-check
For authority/currentness-sensitive applications, the semantic contract fixes/references the applicable time/basis rule.
Different contracts may require, for example:
AuthorizationAtDecisionTime
AuthorizationAtRequestTime
AuthorizationAtExecutionAttemptTime
AuthorizationThroughoutInterval
No equivalence is assumed.
P3ConvenientCheckTime -/-> SemanticAuthorityTime
Historical outcomes retain the basis/time actually used.
34. Source base and source evolution
A source transition bound to expected base state(s) has that basis as a semantic precondition.
BaseMismatch -/-> AutomaticRebase
BaseMismatch -/-> AutomaticMerge
Rebase/merge is an explicit semantic source transformation/evolution with its own authority, basis, conflict/history and completion contract.
A target SourceState introduced by a transition may become the exact basis of later applications through explicit dynamic binding; P3 may not substitute mutable current/latest.
Source inclusion preserves the artifact’s semantic standing unless a separate category-changing transition is also explicitly/co-realized.
35. Source -> runtime -> source loop
The complete H1 semantic interface supports:
AUTHORITATIVE .fsl SOURCE
-> resolution / formation / type / interface
-> ExplicitSemanticProgram
-> Query / Analysis / Reasoning / Transformation
-> validation / admission / authorization judgments
-> Decision
-> ExecutionRequest
-> P3 realization/runtime attempt
-> result / receipt / actuality/effect position
-> Observation
-> explicit ASSERT / ADOPT / ASSERT-BASED-ON if intended
-> explicit source-authoring / source-evolution / incorporation
-> NEW AUTHORITATIVE SOURCE STATE
No edge implies:
result -> Claim
Decision -> execution
effect -> Observation
Observation -> Claim
runtime output -> source authority
source inclusion -> truth/standing promotion
Each category-changing edge is owned by CB-L4.
36. Source/application/run/result correspondence
For every materially executable semantic outcome, preserve/reconstruct a correspondence chain equivalent to:
source construct(s)
-> resolved/static declaration basis
-> ExplicitSemanticProgram semantic application reference
-> exact semantic contract revision + bound semantic basis
-> P3 realization binding / executable-plan correspondence
-> runtime run/provider evidence where a run occurred
-> semantic verification/interpretation bridge
-> SituatedResult / LifecycleOutcome
Not every link requires a distinct runtime object. The information needed to establish the required correspondence must survive.
This prevents:
ProviderOutput == SemanticResult
RunIdentity == ApplicationIdentity
StorageRecord == SourceDeclaration
PlannerNode == SemanticStage
37. Composition history / accountability
A terminal result/output need not inline every internal stage/transition history.
Material history may be preserved directly or by reference to:
CompositionContract revision
semantic application references
SituatedResult dependencies
lifecycle occurrence references
source-state history
run/receipt references where operational accountability is material
PRESERVED-BY-REFERENCE != ACCIDENTALLY-LOST
TerminalResult / GreenStatus -/-> CompleteProcessHistory
This is the integrated repair for V1 SD-03.
38. Diagnostics / source correspondence
Every material semantic application, transition and composition edge remains traceable to source construct(s) sufficient for diagnostics/accountability.
Diagnostics distinguish the applicable gate/failure class rather than collapsing to generic type/runtime failure:
static formation / kind / type
result/input contract incompatibility
joint-input incompatibility
premise inadmissibility
governance inadmissibility / unauthorized transition
outcome-routing mismatch
completion / partiality mismatch
ambiguous dynamic binding
source-base mismatch
realization requirement unsatisfied
runtime/mechanism failure
provider semantic-bridge failure
No Rust/storage/provider type is semantic merely because it appears in implementation diagnostics.
39. Whole-language Semantic Continuity contract
Every material transformation/composition/lowering boundary evaluates applicable dimensions:
SC-D1 identity
SC-D2 attribution / authority
SC-D3 time
SC-D4 scope / context / frame
SC-D5 epistemic / semantic standing
SC-D6 conflict
SC-D7 normative basis
SC-D8 provenance / dependence
SC-D9 representation
SC-D10 accountability
SC-D11 completion
Allowed dispositions:
PRESERVE
TRANSFORM
DERIVE
RESTRICT
DISCARD-EXPLICIT
NOT-APPLICABLE
UNKNOWN at a material implementation/lowering boundary is not a conformance pass.
ACCIDENTALLY-LOST = DEFECT
Omission from a view/output is not nonexistence unless the semantic contract actually establishes that conclusion.
40. P3 lowering / optimization obligations
P3 may introduce executable representations, plans, fusion, scheduling, caching, batching and provider-specific lowering only if they preserve this contract.
P3 may not silently:
remove a semantic stage whose standing/history is externally material
fuse away category-changing transition identity/history
replace semantic order with incidental schedule
change typed outcome routing
change source/model/theory/contract basis
replace exact with approximate semantics outside contract
promote standing
change source-authority effect
turn materialization into source evolution
collapse lifecycle outcomes into one status
collapse semantic/run completion
invent currentness/freshness semantics
select among ambiguous dynamic bindings by physical order
RuntimeOutputAgreementOnOneFixture is not sufficient evidence of semantic-preserving lowering.
P3/P5 must define the actual correspondence/conformance evidence class.
41. P3 mandatory return-to-P2 triggers
P3 must return to P2/reopen the applicable semantic owner if executable design discovers a need to decide any material language-semantic issue not fixed here, including:
new semantic input or hidden ambient dependency
new semantic standing/category
new category-changing introduction relation
new compatibility/admissibility rule
new semantic authority/widening rule
new default outcome-routing rule
new semantic-order / visibility / currentness rule
new completion/partiality meaning
new semantic loss/discard not already authorized
new source-evolution meaning
new provider/result standing bridge rule
new cache/reuse semantic equivalence assumption
new externally material lifecycle interaction hidden by current interface
new semantic distinction required for the P0 horizon
P3 may not resolve any such gap by choosing the easiest IR/runtime/provider representation.
P3 SEMANTIC INVENTION
= RETURN TO P2
42. Class E handoff
This contract does not architecturally close P1 Class E. It supplies the semantic inputs that P3 must consume.
E1 — Source -> explicit semantic representation
P2B handoff: complete ExplicitSemanticProgram semantic coordinates and source correspondence.
P3 owner: concrete executable semantic representation.
E2 — IR / lowering correspondence
P2B handoff: exact preservation/loss/correspondence obligations.
P3 owner: intermediate representation(s), lowering relations and validation/correspondence mechanism.
E3 — .fsp realization capability model
P2B handoff: provider-neutral RealizationRequirement and source/realization authority boundary.
P3 owner: .fsp grammar/capability/binding model.
E4 — Planner / executable-plan contract
P2B handoff: semantic data dependencies, order, routing, completion, lifecycle interactions, incremental-consumption and reuse/fusion constraints.
P3 owner: executable plan/planner architecture.
E5 — Runtime contract
P2B handoff: run/application/result separation, dynamic-input meaning, mechanism/semantic outcome separation, gas/completion and semantic non-invention constraints.
P3 owner: runtime/run-state/task architecture.
E6 — Engine/provider capability interface
P2B handoff: provider guarantee boundary, RealizationRequirements and semantic verification/interpretation bridge obligations.
P3 owner: engine/provider interface/adapters/protocol.
E7 — Runtime/external-result reconstruction, observation and source incorporation
P2B handoff: semantic result reconstruction, actuality/effect/observation distinctions and explicit runtime-result -> source-authoring/evolution boundary.
P3 owner: concrete external/runtime integration architecture.
P2B HANDOFF E1..E7 = CLOSED / SUFFICIENT
P3 ARCHITECTURAL E1..E7 = OPEN / AUTHORIZED NEXT
43. V1 capability/regression disposition
The integrated H1 contract preserves material V1 language capabilities while refusing V1 decomposition as FormaSL authority.
43.1 Workflow
V1 named/multi-stage workflow capability = PRESERVE + GENERALIZE
V1 Workflow as mandatory semantic family = REPLACE / NOT REQUIRED FOR H1
43.2 SD-01 occurrence history
Repeated semantic lifecycle occurrences retain distinguishable identity/history; no ClaimId-keyed mutable snapshot substitutes occurrence history.
SD-01 REGRESSION = NOT PRESENT
43.3 SD-02 Projection lineage
CB-L3 semantic transformation + CB-L2 typed dependence + this contract require materially relevant representation lineage to survive downstream composition/runtime reconstruction.
SD-02 REGRESSION = NOT PRESENT
43.4 SD-03 Workflow/process history
Terminal result/program status does not replace process/accountability history; it may be preserved by reference.
SD-03 REGRESSION = NOT PRESENT
44. Canonical integrated positive witnesses
A conforming P3 architecture must be able to realize, without semantic invention, witnesses including:
W-L5-01 — heterogeneous computation
QueryAnswer
-> Analysis
-> Reasoning
with InputAccepts/PremiseAdmissible distinctions preserved.
W-L5-02 — governed action loop
computed result
-> validation/conformance
-> admission/authorization judgment
-> Decision
-> ExecutionRequest
-> runtime attempt
-> Observation
without Decision->Execution or success->effect/observation collapse.
W-L5-03 — explicit assertion after computation/observation
SemanticConsequence or Observation
-> ASSERT-BASED-ON
-> new Claim
with producer/support/issuer roles preserved.
W-L5-04 — hypothetical evaluation with target-specific exit
ScenarioContract
-> HypothesisContextInstance
-> computation
-> HypotheticalResult
-> explicit Claim/Decision/source proposal transition under independent target authority
with hypothetical dependence retained and no generic PROMOTE.
W-L5-05 — runtime result to source evolution
run/provider evidence
-> semantic bridge
-> SituatedResult/Observation
-> explicit source-authoring/evolution
-> new AuthoritativeSourceState
without runtime-output/source-authority collapse.
W-L5-06 — named reusable composition
A public CompositionContract may hide pure internal details while exposing all externally material lifecycle, authority, completion, realization and history obligations.
W-L5-07 — result available before composition complete
A consumer may explicitly depend on result availability while another consumer waits for full CompositionCompletion; neither is inferred from the other.
W-L5-08 — dynamic post-transition basis
A later application binds exactly to a SourceState/Decision/result introduced by a predecessor rather than mutable current/latest.
45. Canonical integrated negative witnesses
A conforming design rejects or preserves as non-conclusions at least:
N-L5-01 payload/type fits but InputAssignmentAccepts fails
N-L5-02 InputAccepts passes but PremiseAdmissible fails
N-L5-03 UNKNOWN/UNRESOLVED routing silently selects false branch
N-L5-04 incomplete prefix feeds irreversible consumer without explicit incremental contract
N-L5-05 Decision occurrence lacks required normative effectiveness
N-L5-06 provider labels Prediction output as Claim
N-L5-07 missing realization capability treated as semantic invalidity
N-L5-08 source expected-base mismatch silently rebases/merges
N-L5-09 unordered interacting source transitions resolved by scheduler order
N-L5-10 mutable source/model changes silently retarget frozen application basis
N-L5-11 payload-identical stale cache result reused across materially different basis
N-L5-12 uncertain external retry creates accidental duplicate semantic occurrence
N-L5-13 later stage failure erases prior Claim/source transition/effect
N-L5-14 aggregate green status while required Observation/completion remains unresolved
N-L5-15 opaque composition adds hidden source evolution/external action
N-L5-16 payload-equal results with different material provenance/identity are fused
N-L5-17 runtime DB rollback is treated as external effect/history undo
N-L5-18 hypothetical authority authorizes baseline source evolution
N-L5-19 current view omission is treated as historical/conflict erasure
N-L5-20 run identity is reused as application/result identity
N-L5-21 final output replaces complete process/accountability history
46. Formalization routing
P2B semantic closure does not authorize immediate mechanization.
The transient routing ledger ../CB-L5-FORMALIZATION-DECISION.md records at least:
FO-L5-01 composition admission-layer non-collapse
FO-L5-02 composition standing anti-promotion
FO-L5-03 typed outcome-routing distinction preservation
FO-L5-04 composite completion / run-termination non-collapse
FO-L5-05 semantic history non-rollback
FO-L5-06 opaque-composition consumer-guarantee preservation
FO-L5-07 semantic-order / runtime-schedule preservation
FO-L5-08 provider semantic non-invention
FO-L5-09 source/application/plan/run/result correspondence preservation
FO-L5-10 dynamic basis-binding non-retroactivity
FO-L5-11 reuse/fusion semantic-equivalence gate
FO-L5-12 explicit incremental-consumption safety
FO-L5-13 application/run/result identity distinguishability
FO-L5-14 composition-history reconstructibility
Several exact formal predicates require P3’s official representation bridges. A proof over an invented pre-P3 shadow model would not discharge the normative obligations.
IMMEDIATE MECHANIZATION AUTHORIZED = NO
P5 must classify/discharge these rows under the Whole-Language Roadmap formalization-obligation coverage gate.
47. Protected open questions after P2B
The following remain open without weakening this H1 interface:
final concrete grammar / keyword spellings
exact AST / IR / Fcore structure
exact lowering/correspondence representation
exact .fsp grammar and capability binding model
planner/executable-plan representation
runtime task/run/event representation
provider registry / protocol / adapter shape
cache/memoization implementation
stream transport
transaction/isolation mechanics
source-history physical storage
result/receipt physical carrier
proof/certificate format
exact content-equivalence calculus
exact delegation/authority calculus beyond closed boundaries
exact causal calculus beyond closed boundaries
exact source-history algebra beyond closed continuity requirements
exact provenance algebra beyond required typed distinguishability
exact observation carrier/schema
non-H1 reasoning extensions
These questions cannot be answered in P3 by changing the semantic meaning fixed here.
48. Reopen conditions
Reopen this contract or an applicable upstream owner on material evidence such as:
semantic counterexample
ownerless material inter-bundle relation
P0 capability/regression gap
Semantic Continuity ACCIDENTALLY-LOST
blocking UNKNOWN required for H1 interpretation
P3 implementation impossibility without changing meaning
P3 need for a new semantic default/standing/transition/admission rule
inability to preserve source/application/run/result correspondence
formal inconsistency against an applicable closed obligation
material DX impossibility showing the contract cannot be surfaced without hidden semantics
Implementation convenience, prettier IR, faster runtime or provider API shape are not reopen triggers by themselves.
49. P2B terminal contract
For V2-WHOLE-LANGUAGE-H1, this contract establishes:
C2 HETEROGENEOUS SEMANTIC COMPOSITION = PASS
C5 WHOLE-LANGUAGE SEMANTIC CONTINUITY = PASS
INTEGRATED_COMPOSITION_AUDIT = PASS
WHOLE_LANGUAGE_CONTINUITY_AT_DEFINITION = PASS
INTER_BUNDLE_OWNERLESS_INTERFACE = NONE
P2B EXECUTABLE SEMANTIC HANDOFF FOR E1..E7 = CLOSED / SUFFICIENT
DESIGN_BLOCKING_UNKNOWN_FOR_P3 = NONE FOUND
EXECUTABLE_SEMANTIC_INTERFACE_CONTRACT = CLOSED
After project-state synchronization, P2B may set:
LANGUAGE_SEMANTIC_CLOSURE = PASS
LANGUAGE_DEFINITION_CLOSURE = PASS
P2B = PASS
These statuses mean that within H1, P3 no longer needs to invent language semantics.
They do not mean:
SEMANTICALLY_WHOLE = PASS
LINGUISTICALLY_WHOLE = PASS
EXECUTABLY_WHOLE = PASS
USABLY_WHOLE = PASS
FORMASL_LANGUAGE_COMPLETE = YES
EXECUTABLE_LANGUAGE_ARCHITECTURE = PASS
IMPLEMENTATION_READINESS = PASS
IMPLEMENTATION CODE AUTHORIZED = YES
Only later Whole-Language Roadmap gates can establish those claims.
50. Next authorized phase
Once FORMASL.md and the transient closure ledger are synchronized to this contract:
P2A = PASS
P2B = PASS
P3 — EXECUTABLE LANGUAGE ARCHITECTURE CLOSURE = AUTHORIZED NEXT
P3 must consume this file as the semantic boundary it may realize but may not redefine.
51. BLOCK-B ratified amendment — shared semantic execution path
Ratified: BLOCK-B-PRODUCTION-CLOSURE-v0.1 owner decision (2026-09-24); permanent law owned here. The P2B/P3 boundary law of §§1–50 stands; this section freezes the single execution path every admitted application family must realize.
51.1 One path
ApplicationInvocation
→ BoundApplicationInvocation (exact application ref, typed arguments,
exact EvaluationBasis / sealed inputs, closure, source locus)
→ Generic Semantic Executor
→ existing native family engine (Query=QEC, Analysis, Transformation
T1/T2, Reasoning, Validation, Governance, Revision/Publication,
Composition, Scenario context algebra)
→ native typed result
→ typed result/dataflow environment
No family may implement a private binder or duplicate engine to join the
run surface. No hidden contextual parameter (no $scenario-style
ambient). The public invocation route is the same sealed typed route as
the internal carrier: typed arguments and exact basis are exposed, not
re-derived downstream.
51.2 Result/dataflow preservation contract
Every carried result preserves, when material:
native standing
exact producer identity
payload contract
interpretation basis
context
provenance / dependence
completion category
Semantic distinctions may not flatten into String, bool, or
positional order across this boundary. Completion classes
(SemanticCompletion / BasisCompletion / CompositionCompletion /
ScenarioEvolutionCompletion / MechanismTermination / RuntimeTermination /
Reachability / PublicationCompletion) stay distinguishable end-to-end;
RuntimeTermination -/-> SemanticCompletion.
51.3 Order classes
SemanticOrder != DataDependence != SourceTextOrder != RuntimeSchedule
An order statement produces SemanticOrder coordinates; encoding it
as DataDependence (or reverse-deriving schedule from source order)
violates this contract. Branches not executed report NOT_REACHED
(reachability), never FAILED/UNRESOLVED.
51.4 Run-owned occurrence authority
Contextual projections into native engines may mint run-owned representation occurrences (with mandatory sidecar) for material that exists only in the requesting context. Such occurrences never become semantic identity of the source material and never survive into persistence as authority.
FormaSL — Architecture Baseline
Status: STABLE
Authority: NORMATIVE DESIGN
Date: 2026-08-18
Parent: ../FORMASL.md
Depends on: FormaSL Intent, Formal World Model, Semantic Invariants, Semantic Continuity, and closed FormaSL semantic decisions
Role: define the stable architectural boundaries and the selected logical metagraph representation that downstream contracts, formalization and implementation must preserve.
1. Governing separation
DECLARED SEMANTIC CONTRACT
!= REALIZATION
!= RUN / EXECUTION INSTANCE
!= STORAGE REPRESENTATION
FormaSL is graph/metagraph-native at the logical semantic level. This does not require physical graph storage.
FORMASL LOGICAL MODEL = GRAPH / METAGRAPH NATIVE
GRAPH SEMANTICS != PHYSICAL GRAPH STORAGE
A backend may use relational tables, key/value layouts, indexes, tensors, native graph structures or other encodings only if the required semantic distinctions remain preservable and reconstructible.
Architecture is not code authority. A closed architecture decision enables the next contract stage; it does not directly authorize Agda or Rust.
2. Concrete logical metagraph representation
FormaSL uses a typed role-incidence metagraph as its concrete logical representation.
2.1 Relation unity and typed role participation
NARY RELATION
= ONE SEMANTIC RELATION INSTANCE
+ CONTRACT-GOVERNED ROLE BINDINGS
Required capabilities:
- N-ary semantic relations remain unified relation instances;
- participant roles have semantic identity under the applicable relation/role contract;
- relations and other semantic items may participate in higher-order structure through typed semantic reference;
- recursive and cyclic reference structure is permitted when the applicable contract permits it;
- conflicting semantic positions can coexist;
- semantic qualifications remain typed/reconstructible when relevant;
- views/projections do not equate omission with nonexistence.
A role binding is a structural participation locus, not a universal first-class semantic entity.
StructuralBindingKey != SemanticIdentity
SourceDeclarationCount != SemanticMultiplicity
PhysicalBindingRecordCount != SemanticMultiplicity
SerializationOrder != SemanticOrder
The applicable relation/role contract determines participant admissibility and, when semantically relevant:
- cardinality;
- duplicate/repetition semantics;
- multiplicity;
- ordering;
- slot/key semantics;
- binding-local qualification and its locus.
The graph core does not impose universal set, bag or sequence semantics.
2.2 Participation correlation and conditional identity
When multiple fragments contribute potentially overlapping role-binding information to the same semantic relation instance, the applicable relation/role contract must determine enough participation-correlation semantics for the required observables. A result may establish coalescence, preserve distinct role-level participations/occupancies, or remain explicitly unresolved.
Composition MUST NOT infer participation correlation from source declaration count, physical binding identity, structural equality, qualification equality, serialization order or incidental source order.
ParticipationCorrelation != Contribution/ProvenanceCorrelation
SemanticCoalescence != ProvenanceCoalescence
ParticipationCorrelation != QualificationReconciliation
Role bindings are not semantically identified by default.
ParticipationDistinguishability != MandatoryParticipationIdentity
StructuralBindingKey != SemanticParticipationIdentity
PhysicalBindingRecord != SemanticParticipation
QualificationTuple != SemanticParticipationIdentity by default
StructuralOrderPosition != SemanticParticipationIdentity by default
StructuralSlotKey != SemanticParticipationIdentity by default
When the applicable semantic contract makes a specific participation a semantic target, or requires identity continuity for that participation across transformation, composition or history, that participation becomes semantically referable under that contract.
ReferableParticipation != StructuralBindingRecord
ParticipationIdentity != BindingKey
ParticipationToBindingCorrespondence != MandatoryOneToOneMapping
HigherOrderReference != ParticipationIdentityCreation
RoleOccupancyCoalescence != SemanticParticipationIdentityMerge
A later correlation judgment does not retroactively merge already-established participation identities. Any merge, split, succession or individualization of semantic participation belongs to an explicit later semantic contract.
2.3 No universal structural direction
No universal input/output/lateral orientation belongs to the logical metagraph.
Semantic asymmetry is expressed through relation/role contracts. DTMG-like orientation may later exist as an operational view or realization mechanism, but it is not the ontology of every relation.
GLOBAL INPUT/OUTPUT/LATERAL ORIENTATION = NOT CORE
DTMG OPERATIONAL ORIENTATION = DEFERRED BY PROCESS
3. Semantic references and identity
A semantic reference is a resolved typed designation of a semantic referent.
SourceDesignator != SemanticReference
Identifier != SemanticIdentity
ReferenceToken != Referent
ReferenceContinuity != IdentifierContinuity
Names, paths, URIs, storage keys and source tokens may participate in reference resolution, but none establishes semantic identity by itself.
Resolution occurs under an explicit or reconstructible resolution basis. A resolved semantic graph may not silently guess unresolved, ambiguous or kind-incompatible references.
3.1 Language resolution is not situated identity content
LanguageReferenceResolution != SituatedCoReferenceJudgment
LanguageCoDesignation != SituatedIdentityContent
Language/module resolution determines which FormaSL semantic referent a designator denotes under the applicable resolution contract.
A Claim, assessment, derivation or other situated judgment that two referents denote the same domain entity does not by itself modify language reference resolution, base semantic identity or ordinary modular-composition identity.
Claim(A, SameEntity(x, y))
-/-> SemanticIdentity(x) = SemanticIdentity(y)
SituatedCoReference
-/-> ConstitutiveSameTargetCorrespondence
-/-> BaseCompositionMerge
Semantic content under interpretation cannot bootstrap itself implicitly into the authority that grounds its own references.
3.2 Same-target correspondence is not identity reconciliation
A same-target correspondence for ordinary composition is distinct from a general mapping.
ConstitutiveSameTargetCorrespondence
!= GeneralReferenceMapping
!= OntologyMapping
!= TranslationCorrespondence
!= VersionCorrespondence
!= Similarity
!= SituatedIdentityInformation
A same-target correspondence recognizes that references designate an already-shared semantic referent. It does not create identity between already-distinct semantic referents.
SameTargetReferenceCorrespondence
!= SemanticReferentIdentityReconciliation
If distinct referent identities are later reconciled, that occurs under an explicit identity/co-reference contract, not ordinary reference resolution.
3.3 Resolution is basis-relative
SameDesignatorAcrossBases -/-> SameReferent
SameTargetUnder(B1) -/-> SameTargetUnder(B2)
DifferentResolutionAcrossBases -/-> ProvenSemanticNonIdentity
ResolutionBasis != ContextFrame
ResolutionBasis != OntologyScope
ResolutionBasis != RelationContract
Cross-basis co-designation requires an explicit/reconstructible same-target correspondence sufficient for the material references. The architecture does not require one universal global equivalence calculus for resolution bases.
A change of resolution basis or external registry does not retroactively retarget previously interpreted references.
ResolutionBasisChange -/-> RetroactiveReferenceRetargeting
3.4 Identity boundaries
SemanticIdentity != StructuralEquality
SemanticIdentity != RepresentationIdentity
SemanticIdentity != StorageIdentity
SemanticIdentity != MemoryAddress
Structurally equal semantic items remain distinct unless semantic identity/co-reference is established under the applicable contract.
4. Interpretation and dependency continuity
Preserving the same referent does not by itself preserve the same interpreted meaning.
When meaning, applicability or verifiability materially depends on a relation/role contract, resolution basis, context/frame, normative basis, hypothetical basis or another explicit interpretation dependency, that dependency must remain preserved or reconstructible.
ReferentIdentityContinuity != InterpretationDependencyContinuity
SameReferent -/-> SameInterpretedMeaning
InterpretationDependency != SemanticIdentity
NecessaryInterpretationDependency != UniversalAttachment
The architecture does not require every item to carry every possible context. It requires preservation only of dependencies materially required by the applicable semantic contract and downstream use.
Material dependence preserves semantic role, not merely dependency identity.
DependencyIdentity != DependencyRole
InterpretationDependency != EvidentialSupport
InterpretationDependency != ContractualGuarantee
EvidentialSupport != Provenance
DerivationPremise != Provenance
ApplicabilityBasis != EvidentialSupport
RoleCoincidenceInOneCase != UniversalRoleIdentity
The architecture does not impose a closed universal dependency-role taxonomy.
5. Judgment, admissibility, authority and closure boundaries
5.1 Issuance is not premise admissibility
LegitimateIssuance != PremiseAdmissibility
AdmissibleFor(O1) -/-> AdmissibleFor(O2)
A legitimately established/issued judgment is not universally admissible as a premise. Premise admissibility is governed by the consuming operation/policy boundary.
Accepting a derived judgment as a premise does not silently adopt all contracts or premises from which it was derived.
5.2 Judgment jurisdiction is not normative authority
JudgmentJurisdiction means the contractually established ability of a basis/source to support a particular judgment within scope.
JudgmentJurisdiction != NormativeAuthority by default
JudgmentJurisdiction != DelegationPower
ObjectLevelContent -/-> GoverningContractAuthority
SelfDeclarationOfAuthority -/-> GoverningAuthority
The producer or executor of a basis/judgment is not automatically its authority.
5.3 Scope and basis state are historically meaningful
ScopeIdentity != ScopeSemanticState
ScopeLocator != ScopeSemanticState
SameScopeReferent -/-> SameScopeState
HistoricalEvaluationBasis != CurrentEvaluationBasis
BasisLocator != BasisSemanticState
BasisRevision -/-> RetroactiveJudgmentReinterpretation
A material dependency on a basis must preserve/reconstruct the semantic state actually used, not merely a mutable locator.
5.4 Authority does not widen through composition
AuthorityPreservation != AuthorityTransport
AuthorityTransport != AuthorityWidening
PairwiseJudgmentJurisdiction -/-> JointJudgmentJurisdiction
JointSupport != JointAuthority
Delegation != TransitiveDelegation by default
Copying or retaining an authority-bearing basis does not make it applicable to a new result unless an applicable contract authorizes that transport.
Delegation, where later admitted, conveys only the jurisdiction established by its governing contract and does not imply redelegation/transitivity by default. Revocation does not erase legitimate historical issuance.
5.5 Multiple admissible judgments preserve plurality
MultipleAdmissibleJudgments != UniqueWinner
MultipleAdmissiblePremises -/-> ValidConclusion
Multiple admissible judgments may conflict without implicit adjudication. Multiple admissible premises establish a conclusion only through an applicable derivation/operation rule.
5.6 Completion is not closure; information closure is not world closure
CompletionRequirement != ClosureGuarantee
ClosureGuarantee != CompletionJudgment
EndOfAvailableInput != SemanticClosure
CompleteUnderScope != GloballyComplete
InformationDomainClosure != IndependentRealityClosure
Whether an operation requires completion belongs to its contract. Requiring completion does not establish closure.
Closure is relative to the applicable scope/obligation and must be established by an explicit/reconstructible source, operation, view/snapshot or runtime guarantee with jurisdiction for that scope/obligation.
A situated Claim or assessment that a scope is complete remains semantic content and does not become a contractual closure guarantee merely by existing.
Dataset exhaustiveness, record absence, observation absence or Claim absence do not silently become entity nonexistence, event nonoccurrence or proposition falsity.
6. Modular metagraph composition
Base modular composition is information-conservative with respect to semantic distinctions, contract-scoped meanings, dependency roles and material interpretation/jurisdiction dependencies still required by the applicable contracts.
Composition must:
- preserve semantic items and material interpretation dependencies;
- preserve the semantic role of material dependencies;
- apply only eligible constitutive same-target correspondences;
- never use same-target correspondence to create referent identity;
- never convert general mappings, Claims or assessments into same-target bridges implicitly;
- never merge by spelling, path, storage key or structural equality alone;
- preserve higher-order references;
- preserve contract-scoped meaning without implicitly adopting, conjoining, satisfying, migrating or replacing contracts;
- separate legitimate issuance from premise admissibility;
- preserve incompatible admissible judgments without selecting a winner;
- combine premises only under an applicable derivation/operation rule;
- perform cross-contract participation correlation only under an explicit operation-scoped correlation basis;
- preserve authority jurisdiction without implicit transport/widening;
- preserve unresolved reference/correlation obligations when completion is not established;
- distinguish unresolved/incomplete from incompatible/ill-formed;
- preserve conflict;
- preserve ontology distinctions;
- preserve view/restriction semantics without turning omission into nonexistence or scope-relative completion into global completion.
Composition != Reconciliation
Composition != Promotion
Composition != Revision
Composition != Assertion
Composition != OntologyIdentityMerge
Composition != ParticipationIdentityMerge
IncidentalSourceOrder != SemanticPrecedence
Unresolved != Invalid
Incomplete != IllFormed
6.1 Contract preservation is not contract adoption
ContractPreservation != ContractSatisfaction
ContractPreservation != ContractAdoption
ContractPreservation != ContractConjunction
ContractPreservation != ContractMigration
InformationPreservation != JudgmentMonotonicity
Preserving the meaning of source items does not mean all input contracts become satisfied/adopted/conjoined by the result, and does not require monotonicity of all derived judgments as the information basis grows.
6.2 Cross-contract participation correlation
Same relation identity alone does not authorize cross-contract correlation.
SameRelationReferent -/-> SameApplicableContract
SharedRelationIdentity -/-> AutomaticContractCompatibility
ContractCompatibility != ContractIdentity
ContractCompatibility != ContractAdoption
ContractCompatibility != ContractConjunction
ContractCompatibility != ContractMigration
RoleCorrespondence != RoleIdentity
Cross-contract correlation requires an explicit operation-scoped correlation basis describing authorized correspondence, scope and preservation obligations.
CorrelationBasis != SourceContractIdentity
CorrelationBasis != ResultGoverningContract
Successful correlation does not make the correlation basis the governing contract of source items or result.
6.3 Staging coherence
When alternative staging orders are valid under the same completion contract, closure guarantees, resolution bases, correlation correspondences, admissibility rules, materially relevant scope states and semantic inputs, incidental parenthesization/load order may not change required semantic observables.
Intermediate stages must not prematurely coalesce identity, widen authority or erase information required for later resolution/correlation.
There is no universal graph-merge algebra such as set union, bag addition, structural deduplication or last-write-wins.
7. Representation semantic-kind boundary
The metagraph preserves semantic kind and jurisdiction without requiring one universal semantic-artifact root.
SemanticTypeContract != OntologicalCategory
RelationContract != OntologicalRelationCategory
RoleContract != OntologicalRole
RelationalContent != Claim
RelationalContent != OntologicalGround
OntologyMembership != GraphMembership
OntologyMembership != Truth
OntologyMapping != SemanticIdentity
Ontological commitments may be explicitly scoped. FormaSL does not require one privileged hidden global ontology.
OntologyScope != ContextFrame
OntologyScope != TypeEnvironment
OntologyScope != Graph/View Scope
NamedReferent != ExistentialWitness != Variable
OntologyAxiom != InferenceRule != ValidationConstraint != GovernancePolicy
Derivation != Proof/Certificate != Provenance != ExecutionTrace
A shared physical carrier is allowed only if required semantic kind remains recoverable without hidden oracle.
This section closes a semantic-kind/jurisdiction boundary, not a full ontology calculus.
8. Membership, content and epistemic stance
GraphMembership != Truth
GraphMembership != Assertion
Representation != Actuality
Content != StanceTowardContent
Semantic relation/content may appear in the graph as hypothetical content, derived result, observation target, assessment target or other referable structure without thereby becoming true or asserted.
A Claim is a first-class situated attributable assertion token, not a universal carrier.
Claim != Truth
Claim != Observation
Claim != Assessment
Claim != Assumption
Claim != DerivedSemanticResult
Claim != CommunicationOccurrence
Conflicting Claims/positions are legitimate semantic information.
9. Preservation and observability
Unqualified lossless, equivalent or semantics-preserving claims are invalid architectural guarantees.
Such guarantees are relative to an applicable observation profile derived from:
FormaSL invariants
+ applicable semantic/type/operation contract
+ explicit consumer guarantee
SemanticIdentity != ObservationalEquivalence
LogicalEquivalence != SemanticIdentity
ResultEquivalence != ProvenanceEquivalence
EquivalentNow != EquivalentUnderExtension
ObservationalEquivalence != ContextualSubstitutability
Refinement != Equivalence
A representational transformation is lossless for a profile only when every required distinction is preserved directly, by stable reference, or by guaranteed reconstruction from surviving information.
Hidden or undocumented state does not count as preservation.
A current observation profile is not implicit authority to erase semantic distinctions that remain guaranteed by applicable contracts.
10. Source, realization, runtime and storage
10.1 .fsl authoritative source plane
.fsl = semantic meaning + authoritative source data
Compiled artifacts, indexes, caches, materializations and runtime residues are derived and do not retroactively define source meaning.
SourceModuleTopology != SemanticGraphTopology
FilesystemPath != SemanticIdentity
SourceChange != SemanticRevision
Runtime output does not automatically become authoritative source state.
RuntimeOutput != AuthoritativeSourceUpdate
StorageWrite != SemanticAuthority
Authoritative evolution passes through an explicit, category-appropriate source-authoring/incorporation transition. Recording information into authoritative source does not make its content true or its issuer competent.
10.2 .fsp realization plane
.fsl = meaning
.fsp = realization
storage/runtime = implementation
A realization may select substrate, backend, capabilities, planner, code generation, placement and resource policy. It may not silently redefine the .fsl semantic contract.
SEMANTIC REQUIREMENT -> REALIZATION SATISFACTION
REALIZATION CHOICE -/-> SEMANTIC REDEFINITION
10.3 Static weaving
S = semantic contract derived from .fsl
R = resolveRealization(S, .fsp)
X = executable binding of S with R
SemanticContract(X) remains S
Static weaving is realization resolution, not semantic rewriting.
10.4 Runtime boundary
RUNTIME MAY EVALUATE DEFINED SEMANTICS AGAINST DYNAMIC STATE
RUNTIME MUST NOT INVENT UNRESOLVED LANGUAGE MEANING
11. Semantic operations and transitions
Operations act over the same semantic domain but need not collapse into one GraphRewrite, one universal result carrier or the historical V1 family decomposition.
Every operation boundary is a Semantic Continuity boundary.
OperationMeaning != ExecutionPlan
Composition != Promotion
ExecutionOrder != LogicalDerivation
ExecutionOrder != Causation
ExecutionOrder != Authority
Dependency != Provenance
Dependency != Trace
Dependency != Causation
Architecturally distinct transitions include:
COMPUTE
!= ASSERT
!= SOURCE-INCORPORATE / AUTHOR
!= MATERIALIZE
!= EXECUTE
!= EFFECT
!= OBSERVE
Consequently:
Computation != SemanticMutation
Materialization != SemanticPromotion
Persistence != Assertion
Decision != Execution
ExecutionSuccess != ExternalEffectOccurred
Occurrence != Effect
Effect != Observation
Observation != Truth
There is no universal semantic commit(anything) transition. Category-changing transitions are explicit and category-appropriate.
12. Type architecture
SemanticType != StorageType
SemanticType != RustType
TypeIdentity != RepresentationEquality
TypeIdentity != TypeContractEquivalence
Protected capabilities:
POLYMORPHISM = REQUIRED CAPABILITY
INHERITANCE / TYPED SPECIALIZATION = REQUIRED CAPABILITY
INHERITANCE != SUBTYPING
SUBTYPING = SAFE SEMANTIC SUBSTITUTABILITY
CONVERSION != SUBTYPING
Also:
LANGUAGE / META-LEVEL FORMATION
!= SEMANTIC TYPE-CONTRACT JUDGMENT
!= SITUATED DOMAIN CLASSIFICATION
WellTyped != Conformant
WellTyped != Admissible
WellTyped != Authorized
A situated classification Claim does not silently mutate the compiler/type-contract environment; a type-contract judgment does not establish external-world truth.
13. Runtime resources and gas
ExecutionState != SemanticState
Gas is an explicit deterministic budget of logical computational work that makes potentially open semantic computation finite and auditable while keeping exhaustion distinct from semantic conclusion.
OUT_OF_GAS != FIXPOINT
OUT_OF_GAS != FALSE
OUT_OF_GAS != EMPTY
OUT_OF_GAS != NO_PROOF
Changing gas does not redefine the semantic operation. When incompleteness is materially relevant, downstream dependence on partiality must remain reconstructible.
The exact metering unit, points, weights and planner interaction remain downstream design subjects.
14. Architectural negative space
Unless higher authority changes, the architecture forbids silent collapses including:
NO Claim-as-universal-primitive
NO GraphMembership -> Truth
NO Computation -> Claim auto-promotion
NO Materialization -> Assertion
NO StorageWrite -> SemanticAuthority
NO Executor -> Issuer/Authority
NO Conformance -> Admission
NO Admission -> Authorization
NO Authorization -> Execution
NO Hypothesis -> Claim/baseline mutation
NO ReferenceToOccurrence -> actuality
NO ExecutionSuccess -> external effect
NO Observation -> truth
NO Inheritance -> Subtyping by definition
NO StructuralSimilarity -> Substitutability
NO Provenance = Derivation = Causation = Trace
NO universal first-class incidence identity
NO universal set/bag/sequence role semantics
NO universal graph-merge algebra
NO situated identity Claim -> language same-target bridge
NO generic mapping -> semantic identity
NO same-target correspondence -> identity reconciliation
NO dependency identity -> dependency role collapse
NO legitimate issuance -> universal premise admissibility
NO multiple admissible judgments -> implicit winner
NO multiple admissible premises -> conclusion without derivation rule
NO joint support -> joint authority
NO participation coalescence -> provenance erasure
NO participation correlation -> participation identity merge
NO completion requirement -> closure guarantee
NO end of available input -> semantic closure
NO information-domain closure -> independent-reality closure
NO authority preservation -> authority widening
NO pairwise jurisdiction -> joint/transitive jurisdiction
NO basis revision -> retroactive judgment reinterpretation
NO judgment jurisdiction -> delegation/redelegation power
NO contract preservation -> satisfaction/adoption/conjunction/migration
NO fixed V1 family decomposition
NO System F<: requirement
NO event-sourcing requirement
NO universal occurrence log
NO universal semantic-artifact carrier
NO physical graph-storage requirement
NO static-weaving semantic rewrite
NO accidental source/materialization authority split
15. V1 capability/mechanism disposition
V1 remains evidence, not architecture authority.
| V1 capability / mechanism | current FormaSL disposition |
|---|---|
| N-ary relations | PRESERVE CAPABILITY |
| typed participant roles | PRESERVE CAPABILITY |
| higher-order / meta-relation capability | PRESERVE CAPABILITY |
| recursive / cyclic structure | PRESERVE CAPABILITY |
| semantic composition potential | PRESERVE AND GENERALIZE |
| Claim distinct from recording occurrence | PRESERVE DISTINCTION |
| recording multiplicity | PRESERVE WHEN SEMANTICALLY RELEVANT |
| projection lineage | GENERALIZE UNDER SEMANTIC CONTINUITY |
| workflow/process history | GENERALIZE; result is not history by default |
| universal DTMG input/output/lateral orientation | REJECT AS UNIVERSAL CORE |
| DTMG operational orientation | DEFERRED BY PROCESS |
| CRF as universal routing mechanism | NOT PROMOTED |
| SSMC as current FormaSL semantic requirement | NOT PROMOTED |
| FTMG as mandatory snapshot semantics | NOT PROMOTED |
| mandatory fold/unfold morphisms | NOT PROMOTED |
| V1 physical/runtime representation | EVIDENCE ONLY |
The V1 discontinuities SD-01/SD-02/SD-03 remain future regression witnesses for recording multiplicity, projection lineage and process-history preservation.
16. Deferred design subjects
The architecture intentionally leaves downstream mechanisms open, including:
- exact semantic-content identity/equivalence;
- reference identifier/resolution syntax and module/import mechanism;
- cross-basis reference compatibility algorithm;
- recursive/self-grounding reference regimes, if ever admitted;
- context/frame/scope carrier and algebra;
- dependency-role carrier/taxonomy;
- semantic-closure declaration/authority/inference calculus;
- trust/reliance/premise-admissibility calculus;
- derivation/inference/conflict-adjudication calculi;
- authority/judgment-jurisdiction/delegation/revocation calculi;
- governing-contract activation/meta-authority mechanism;
- relation/role contract syntax and full binding discipline;
- contract versioning/migration/refinement/compatibility;
- correlation-basis representation/authorization;
- participation identity/equivalence/merge/split/succession calculus;
- exact unresolved/incomplete result carrier;
- temporal and uncertainty algebras;
- observation and assessment carriers;
- revision algebra;
- validation/policy languages beyond the boundaries above;
- operation/family decomposition and query algebra;
- concrete result/dependency/provenance representation;
.fslsource-authoring/delta mechanism;.fspgrammar and capability binding;- compiled artifact/Fcore structure;
- snapshot/view physical implementation;
- gas metering model;
- planner contracts;
- type calculus, dispatch and erasure strategy;
- proof/certificate architecture;
- storage/index/persistence/replication/federation;
- surface syntax details not already semantically fixed.
These are DEFERRED BY PROCESS unless a later subject demonstrates a real blocker.
17. Contract-first downstream handoff
Code is never the contract.
FormalizationContract = explicit normative mechanization obligations
Agda = mechanization of an already-closed FormalizationContract
ImplementationContract = explicit implementation/conformance obligations
Rust = implementation of an already-closed ImplementationContract
The semantic metagraph formalization contract is closed in SEMANTIC-METAGRAPH-FORMALIZATION-CONTRACT.md.
It specifies, at minimum:
- formalization scope;
- one Core Theory and abstract carriers/judgments that may be chosen without semantic invention;
- assumption and semantic-introduction-rule law budgets;
- formation/well-formedness;
- relation-instance/role-binding obligations;
- participation-correlation and conditional referability obligations;
- reference-resolution/co-reference/basis-relative continuity obligations;
- interpretation/dependency-role continuity and operational role adequacy;
- modular composition and staging coherence;
- scope-relative closure and authority/jurisdiction non-collapses;
- establishment/issuance versus admissibility and premise-composition boundaries;
- semantic-kind and epistemic-stance boundaries;
- preservation/observability obligations and mandatory observation floor;
- proof-shape, anti-vacuity, genericity, shadow-model and self-grounding discipline;
- positive, negative and hostile cross-basis/cross-contract/multi-authority witnesses;
- V1 regression witnesses;
- deliberately abstract parameters;
- prohibited holes/postulates for material obligations;
- the formalization sufficiency gate.
The consolidated contract gate has passed:
FORMALIZATION CONTRACT = PASS - CONSOLIDATED + DETERMINACY AUDITED
Agda remediation may proceed under that contract. This does not mean the current formalization is already sufficient or complete.
Likewise, Rust/FIOP requires a closed implementation/conformance contract after sufficient formalization.
DESIGN / ARCHITECTURE PASS
-> NORMATIVE DOCUMENTATION SYNCHRONIZATION
-> FORMALIZATION CONTRACT
-> FORMALIZATION CONTRACT PASS
-> AGDA, when required
-> SUFFICIENT FORMALIZATION
-> IMPLEMENTATION / CONFORMANCE CONTRACT
-> IMPLEMENTATION CONTRACT PASS
-> RUST / FIOP
-> VERIFICATION
18. Gate and current transition
MACRO_ARCHITECTURE_BASELINE = PASS
GRAPH_NATIVE_COMMITMENT = PASS
FSL_FSP_SEPARATION = PASS
STATIC_WEAVING_AS_REALIZATION_RESOLUTION = PASS
RUNTIME_STATE_BOUNDARY = PASS
OPERATION_COMPOSITION_CONTRACT = PASS
GRAPH_CORE_MINIMUM_REQUIREMENTS = PASS
TYPE_ARCHITECTURE = PASS
GAS_ARCHITECTURAL_ROLE = PASS
SEMANTIC_METAGRAPH_REPRESENTATION = PASS
STRUCTURAL_ROLE_BINDING_CONTRACT = PASS
REFERENCE_CONTINUITY_CONTRACT = PASS
MODULAR_METAGRAPH_COMPOSITION = PASS
PARTICIPATION_CORRELATION_CONTRACT = PASS
INTERPRETATION_BASIS_CONTINUITY = PASS
SEMANTIC_CLOSURE_AUTHORITY = PASS
CONTRACT_SCOPED_COMPOSITION = PASS
DEPENDENCY_ROLE_CONTINUITY = PASS
ISSUANCE_ADMISSIBILITY_BOUNDARY = PASS
AUTHORITY_PLURALITY_BOUNDARY = PASS
PREMISE_COMPOSITION_BOUNDARY = PASS
DYNAMIC_JURISDICTION_BOUNDARY = PASS
AUTHORITY_SCOPE_CONTINUITY = PASS
AUTHORITY_TRANSPORT_BOUNDARY = PASS
BASIS_SEMANTIC_HISTORY_CONTINUITY = PASS
AUTHORITY_GROUNDING = PASS
INFORMATION_VS_WORLD_CLOSURE = PASS
DELEGATION_REVOCATION_BOUNDARY = PASS
META_AUTHORITY_BOUNDARY = PASS
REPRESENTATION_SEMANTIC_KIND_BOUNDARY = PASS
DESIGN_BLOCKING_UNKNOWN_AT_MACRO_LEVEL = NONE FOUND
DESIGN_BLOCKING_UNKNOWN_FOR_METAGRAPH = NONE FOUND
SEMANTIC_METAGRAPH_FORMALIZATION_CONTRACT = PASS
The SEMANTIC METAGRAPH REPRESENTATION design subject remains closed. Its selected logical representation is the typed role-incidence metagraph defined above.
Architecture expansion for this subject stops here. Absent a material reopen trigger, do not add further metagraph architecture gates. The single downstream owner is SEMANTIC-METAGRAPH-FORMALIZATION-CONTRACT.md.
SEMANTIC_METAGRAPH_FORMALIZATION = REMEDIATION REQUIRED
CORE_THEORY_IMPLEMENTED = PASS - SOURCE EXISTS; FULL CLAIM ALIGNMENT REVALIDATION REQUIRED
SUFFICIENT FORMALIZATION = NOT PASS
FORMALIZATION_BLOCKING_UNKNOWN = NOT YET REASSESSED AGAINST CONSOLIDATED CONTRACT
CURRENT STAGE = FORMALIZATION REMEDIATION
FORMALIZATION CONTRACT = PASS - CONSOLIDATED + DETERMINACY AUDITED
FORMALIZATION CONTRACT OWNER = SEMANTIC-METAGRAPH-FORMALIZATION-CONTRACT.md
RUST CODE AUTHORIZED = NO
NEXT GATE = SUFFICIENT FORMALIZATION = PASS
NEXT STAGE AFTER THAT GATE = IMPLEMENTATION / CONFORMANCE CONTRACT
FormaSL — Language Definition Foundations
Status: STABLE
Authority: NORMATIVE DESIGN — CB-L1 LANGUAGE / THEORY / REFERENCE / TYPE
Parent: ../FORMASL.md
Roadmap: WHOLE-LANGUAGE-ROADMAP.md
Acceptance horizon: V2-WHOLE-LANGUAGE-H1
Date: 2026-08-22
Purpose: define the stable FormaSL language-definition infrastructure for program/module structure, declaration and theory artifacts, binding/reference resolution, static type/formation semantics and elaboration boundaries before operation-specific semantic families are closed.
1. Jurisdiction
This document owns the STABLE decisions closed by:
CB-L1 — LANGUAGE / THEORY / REFERENCE / TYPE
covering P1 obligations:
A2 semantic identity / reference / higher-order designation
A7 typed role-incidence metagraph relation/participation integration
A8 type / formation system kernel
A11 semantic kind / theory / rule / constraint / policy jurisdiction
B1 semantic construction / theory definition
C1 program / modules / imports / binding / resolution / linking
C4 elaboration and phase semantics
It consumes without reopening:
- the typed role-incidence Semantic Metagraph;
- the semantic-reference / co-reference boundary;
- the protected type capability contract;
- Semantic Continuity;
.fslsource authority and.fsprealization separation;- current governance/effect/observation STABLE semantics.
This document does not define:
- query, graph-analysis, reasoning or projection semantics;
- result/standing/provenance algebra beyond interfaces required here;
- governance/lifecycle operator decomposition;
- concrete surface grammar;
- AST, scope graph, symbol-table or checker implementation;
- concrete explicit-semantic-program representation;
.fsp, planner, runtime or storage architecture;- proof-assistant representation.
2. Governing separations
The language-definition layer preserves:
SourceUnit != LanguageModule
LanguageModule != SemanticTheory
LanguageModule != PackageVersion
LanguageModule != MetagraphSubgraph
BindingIdentity != DeclarationIdentity != SemanticReferentIdentity
BindingCategory != DeclarationKind != SemanticKind
ResolvedBinding != SituatedCoReferenceJudgment
LanguageScope != SemanticScope / Context / Frame / Jurisdiction
ModuleInterface != ModuleImplementation
InterfaceView != DeclarationIdentity
InterfaceCompatibility != TheorySatisfaction
InterfaceCompatibility != SemanticConformance
InterfaceCompatibility != Truth
TypeIdentity
!= TypeContractRevision
!= TypeContractEquivalence
!= Subtyping
!= Inheritance / Specialization
ParsedOrEditingSource
!= AdmittedResolvedProgram
!= ExplicitSemanticProgram
SourceModuleCompatibility != ExecutableLinkCompatibility
SharedDefineSurface != SharedDeclarationKind != SharedSemanticKind
RuntimeBehavioralAgreement != ElaborationSemanticEquivalence
These distinctions are semantic/language jurisdictions. They do not imply one physical data structure per distinction.
NECESSARY DISTINGUISHABILITY
!= MANDATORY ONTOLOGICAL BOX
3. Program and module model
3.1 Source Unit
A SourceUnit is an authoring/transport representation containing source text or equivalent authored FormaSL program material.
Filename, path, serialization or source-unit identity does not create semantic identity.
3.2 Language Module
A LanguageModule is a language-level unit of:
binding
visibility
import/export
interface contract
source-level composition
resolution basis
A module may be represented by one or more source units. The mapping is not semantically fixed by H1.
3.3 Package / version
A package/version unit groups modules/source for distribution and reproducibility. It may participate in a frozen resolution/version basis.
PackageMembership -/-> SemanticIdentity
PackagePublisher -/-> SemanticAuthority
3.4 Metagraph region
A module may declare or reference semantic objects represented in the metagraph, but:
LanguageModule != MetagraphSubgraph
ModuleMembership != GraphMembership
GraphMembership != Truth
4. Binding, declaration and semantic referent identity
4.1 BindingIdentity
Identity of a name-bearing binding/export/import/local designation within a language resolution basis.
4.2 DeclarationIdentity
Identity of a declaration introduced by the language definition.
4.3 SemanticReferentIdentity
Identity of a semantic referent designated/introduced by a declaration when that declaration has such a semantic referent.
4.4 Alias / re-export law
A pure alias or re-export may create a new binding/designator/interface view while preserving the declaration and semantic referent it designates.
NewBinding -/-> NewDeclaration
NewBinding -/-> NewSemanticReferent
AliasOrReExport -/-> KindChangingTransition
Creating a new declaration/referent/type identity requires an explicit declaration/evolution construct governed by its owner.
4.5 Cross-revision identity
SameQualifiedNameAcrossRevisions
-/-> SameDeclarationIdentity
Historical resolution uses the declaration identity fixed by its basis. Positive declaration/referent succession across source revisions belongs to the explicit evolution/revision semantics closed later by CB-L4.
5. Binding category, declaration kind and semantic kind
The language uses shared binding/resolution infrastructure without collapsing semantic jurisdictions.
5.1 BindingCategory
A language-resolution category sufficient to govern name lookup/reference behavior, conceptually including roles such as:
module binding
local binder
role binding
declaration binding
This is not a required closed implementation enum.
5.2 DeclarationKind
Language-definition category of a declaration.
H1 must distinguish at least the materially different declaration jurisdictions needed for:
type
relation / role contract
theory / ontology
rule
validation constraint
governance policy
named semantic content
named operation/computation
The concrete taxonomy may be extensible through the language-admission discipline.
5.3 SemanticKind
Semantic jurisdiction of the artifact denoted/introduced by a declaration, when such a semantic kind is material.
DeclarationKind -/-> UniversalSemanticKind
A named operation can have a language declaration kind without becoming a domain ontological kind by compiler fiat.
5.4 Kind-indexed references
Resolution/checking may require an expected binding/declaration/semantic target contract. A textually valid name that resolves to the wrong kind does not become admissible merely because the spelling matches.
5.5 H1 productive relation / role contract authoring
The relation / role contract declaration jurisdiction is productive in H1. It is not satisfied merely by admitting a declaration-kind tag.
The source language must be able to declare or resolve enough contract content to realize the already-closed typed role-incidence metagraph without leaving material participation semantics to P3, a provider, runtime or storage.
Conceptually, an H1 relation contract establishes or resolves at least:
RelationDeclarationIdentity
RelationContractRevision / Basis
RoleContractSet
ApplicableStatic / FormationDependencies
For each role whose distinction is material, the contract establishes or resolves:
RoleSemanticIdentity under the relation contract
ParticipantAdmissibilityContract
RoleSpecialization / Refinement relation when explicitly used
Participation / OccurrenceGuarantees when material
BindingLocalQualificationContract / Locus when material
Preserve:
RoleName != RoleSemanticIdentity
RelationContract != OntologicalRelationCategory
RoleContract != OntologicalRole
RoleContract != ValidationConstraint
RelationDeclaration != RelationInstance
RelationSpecialization != Subtyping by default
RoleSpecialization != Subtyping by default
ParticipationDistinguishability != MandatoryParticipationIdentity
Participant admissibility may consume the shared type/static kernel, but:
SemanticTypeContract
!= OntologicalCategory
!= SituatedClassification
The participant-admissibility contract must be able to range over the semantic references/kinds already admitted by H1 when the applicable relation requires them. It may therefore admit higher-order semantic referents, including relations or conditionally referable participations, under their type/reference contracts. It must not be artificially restricted to a storage-level entity class or primitive value category.
Recursive/cyclic semantic participation remains possible through the already-closed reference/formation discipline when the applicable contracts permit it. Recursive semantic structure does not authorize recursive/unbounded name resolution or storage recursion as semantic authority.
5.5.1 Participation / occurrence guarantees
When semantically relevant to the relation, source-authorized contract information must be sufficient to determine the applicable semantics of:
cardinality / occurrence bounds
duplicate / repetition
multiplicity
ordering
slot / key semantics
This is a capability requirement, not a universal requirement that every relation spell every dimension explicitly.
A declaration-kind-owned default is admissible only when its semantic meaning is fixed by the language contract. P3, runtime, provider, serialization or storage may not invent a default.
NoAuthoredClause
-/-> ImplementationChoosesSetBagSequenceOrCardinality
The language therefore does not impose one universal set, bag, sequence, unique-player or one-player-per-role semantics on the graph core.
A cardinality/occurrence guarantee must determine or reference the semantic counting basis relevant to the bound. In particular, it must be reconstructible whether the bound ranges over semantic participations/occupancies after the applicable correlation semantics or another explicitly defined semantic unit.
CardinalityCountUnit
!= SourceDeclarationCount
!= PhysicalBindingRecordCount
!= SerializationEntryCount
If unresolved participation correlation can change the count relevant to a cardinality judgment, the language may preserve the cardinality result as unresolved or use another contract-defined conservative/result rule; it may not choose an arbitrary physical count.
If later surface syntax provides shorthands such as required or unique, those forms must elaborate to an explicit relation/role occurrence guarantee under this contract rather than creating a second hidden cardinality semantics.
5.5.2 Qualification locus
Where binding-local qualification is admitted, the applicable contract/basis must make reconstructible enough to determine:
admissible qualification kind / type
which participation/binding is qualified
its semantic locus / jurisdiction
This does not create one universal metadata bag and does not make every qualification part of relation identity.
5.5.3 Participation correlation
When composition may observe potentially overlapping participation contributions, the applicable relation/role contract or frozen basis must determine enough correlation semantics to distinguish, where material:
coalesced occupancy / participation
preserved distinct participation
explicitly unresolved correlation
No universal correlation calculus is required by H1.
Correlation may not be inferred merely from:
source count
physical binding identity
structural equality
qualification equality
serialization order
storage order
Distinguishing multiple participations/occupancies for cardinality, ordering, qualification or other observables does not create universal participation identity. A participation becomes a semantic target/identity-bearing referent only under the applicable contract described by the closed architecture.
5.5.4 Static/interface visibility
Every material relation/role guarantee that a client or subtype is entitled to rely on participates in the declaration-kind-owned static contract and is available, directly or by stable reference, to:
- module/interface compatibility;
- kind-specific static compatibility;
- subtyping/substitutability where applicable;
- elaboration/source correspondence.
Hidden provider/runtime knowledge cannot discharge a source-level relation/role guarantee.
5.5.5 Jurisdiction of superficially similar constraints
A syntactically or conceptually similar condition does not automatically have the same semantic standing.
ConstitutiveRoleOccurrenceGuarantee
!= ValidationConstraint
!= Ontology / Theory CardinalityAxiom
A relation/role occurrence bound belongs here only when the author declares what participation the relation contract itself permits/requires. A validation requirement remains owned by validation semantics. A theory/ontology axiom remains interpreted under its theory/formalism basis.
The same program may explicitly relate/reuse these artifacts without collapsing them.
6. Basis-relative language resolution
Resolution is a language judgment, not a world-identity oracle.
Conceptually:
Resolve(Basis, Designator, ExpectedTargetContract)
= Unique(ResolvedBinding, BasisEvidence)
| Ambiguous(Candidates, BasisEvidence)
| Unresolved(Reason, BasisEvidence)
The representation of this relation is open.
6.1 Resolution basis
The basis preserves/references enough to reconstruct:
- module/interface revisions;
- imports/aliases/visibility;
- interface views/ascriptions;
- expected target contract;
- declaration identities consulted;
- language-defined scope/priority path.
A mutable latest locator is insufficient.
BasisChange -/-> RetroactiveRetargeting
6.2 Resolution outcomes
At minimum diagnostics must be able to distinguish relevant failure classes such as:
NoCandidate
KindMismatch
AliasCycleWithoutGroundTarget
InvalidImportOrVisibility
AmbiguousCandidateSet
These are language-definition outcomes, not semantic FALSE or runtime failure.
6.3 Grounded finite resolution
H1 language binding resolution over one frozen basis must have a finite operational realization.
An alias cycle with no grounded declaration target does not resolve successfully and may not select an arbitrary representative.
AliasCycle != RecursiveSemanticDefinition
AliasCycle != RecursiveModuleGroup
Recursive semantic structure in the metagraph does not imply recursive/unbounded name resolution.
7. Declarative resolution specificity
Implementation order has no semantic priority.
ImportOrder
HashIterationOrder
FilesystemOrder
LoadOrder
InternalIdOrder
!= ResolutionPriority
H1 uses these declarative rules.
7.1 Explicit qualification
Explicit qualification restricts resolution to the declared module/interface path/basis subject to visibility/kind checks.
7.2 Lexical locality
For local bindings in nested lexical scopes, the nearest enclosing admissible lexical binding dominates more distant lexical scopes.
7.3 Current module versus imported bindings
A declaration/explicit alias introduced in the current module scope is more specific than a binding reachable only through an unqualified import edge.
7.4 Competing imports
Same-specificity candidates reachable through different imports are unordered by import position.
one maximal candidate -> Unique
multiple maximal candidates -> Ambiguous
no maximal admissible candidate -> Unresolved
The author can qualify, alias, hide or restrict explicitly.
7.5 Expected target contract participates in admissibility
Wrong-kind bindings do not become semantically acceptable merely because they are lexically closer. Concrete namespace rules may refine candidate visibility, but all outcomes remain language-defined/reconstructible.
8. Module interface and interface view
8.1 Interface contract
A module has a static interface contract, whether authored explicitly, inferred or synthesized.
For each exported binding the interface exposes enough information, where applicable, to reconstruct:
exported designator
BindingCategory
DeclarationKind
binding/declaration identity contract
semantic referent/kind contract where applicable
static declaration/signature contract
TypeIdentity / TypeContractRevision
relation/role contract revision and material static guarantees where applicable
type exposure mode
visibility
required static dependencies
version/basis identity
8.2 InterfaceView
An InterfaceView is the client-visible static contract selected/ascribed at an import/export boundary.
Same DeclarationIdentity -/-> Same InterfaceView
Same TypeIdentity -/-> Same TypeExposureView
A view is a language contract role; it need not be a first-class ontological object or runtime record.
8.3 Module compatibility
Use the source-level judgments:
ModuleProvidesInterface(Module, Interface)
InterfaceCompatible(Required, ProvidedView)
Compatibility is directional and consumer-guarantee preserving:
every required binding/static guarantee the client may rely on must be supplied by a unique compatible provided binding under the applicable kind-specific static relation.
Extra provided exports do not become client requirements merely because they exist.
InterfaceCompatibility
!= TheorySatisfaction
!= SemanticConformance
!= Admission
!= Truth
8.4 Kind-owned compatibility
For each required export r, a compatible provider p must satisfy conceptually:
BindingCategoryCompatible(r,p)
AND DeclarationKindCompatible(r,p)
AND KindSpecificStaticContractCompatible(r,p)
The declaration-kind owner defines the kind-specific compatibility relation. The module system may not invent that relation.
8.5 Source module vs executable linking
SourceModuleCompatibility != ExecutableLinkCompatibility
P3 executable architecture must preserve/correspond to this source-level contract.
9. Theory and ontology artifacts
9.1 TheoryArtifact
A TheoryArtifact is a referable intensional semantic artifact organizing declarations, sentences/premises, rules, constraints or other semantic content under an identified theory/formalism basis.
TheoryArtifact != LanguageModule
TheoryArtifact != Package
TheoryArtifact != Claim
TheoryArtifact != Truth
An ontology is an intensional theory-like semantic artifact under an ontology/theory contract. It is not a top-level operator by default.
9.2 Theory basis / formalism
Each theory identifies/resolves the formalism/theory-language contract under which its contents are interpreted sufficiently for the operations that consume it.
No universal logic is required.
SharedMetagraphCarrier
!= SharedLogic
!= SharedTheorySatisfactionRelation
The vocabulary/signature relevant to current H1 theory use must remain distinguishable and reconstructible from the theory’s admitted declarations/references plus its formalism basis where required by a consuming theory relation or operation.
NecessarySignatureDistinguishability
!= MandatoryFirstClassSignatureArtifact
H1 does not require a standalone institution-style signature object merely because a theory may be described abstractly as sentences over a signature. A future theory relation that needs a stronger explicit signature-morphism contract must establish that requirement through its own material trigger/owner.
9.3 Theory adoption / membership
A theory can adopt items under its own intensional basis, conceptually:
TheoryAdopts(Theory, Item, Basis)
or an equivalent kind-owned relation.
TheoryAdopts(T,S)
-/-> Truth(S)
-/-> Claim(S)
-/-> GlobalAcceptance(S)
Theory membership does not erase the original declaration/semantic kind of an item.
9.4 Theory composition / mapping
Preserve:
ModuleImport
!= TheoryInclusion
!= TheoryExtension
!= TheoryMapping
!= TheoryInterpretation
!= TheoryRefinement
A theory relation/mapping is an explicit semantic relation under its contract.
TheoryMapping != NameAlias
TheoryMapping != SemanticReferentIdentity
A mapping is not assumed conservative, satisfaction-preserving or equivalent unless the theory-specific contract establishes that property.
Different theories may resolve different formalism bases and remain connected by explicit theory relations without requiring one universal logic or one universal heterogeneous-theory calculus.
9.5 Reasoning boundary
CB-L1 defines theory artifact construction/reference/integration, not consequence.
WellFormedTheory
!= ConsistentTheory by default
!= SatisfiedTheory
!= EntailingAnyConclusion
Reasoning/consequence belongs to CB-L3.
10. H1 static type kernel
The static type architecture is a shared kernel extended by declaration/operation owners in later bundles.
CB-L1 STATIC KERNEL
+ KIND/OPERATION-SPECIFIC STATIC RULES
= COMPLETE P2 STATIC SEMANTICS
10.1 Required H1 capabilities
H1 requires:
- stable semantic type identity;
- named type references;
- parameterized type declarations;
- bounded type parameters;
- explicit inheritance / typed specialization;
- separately checked subtyping/substitutability;
- abstract/opaque type exposure;
- transparent distinct types;
- aliases/co-designation;
- module/interface export of type contracts;
- type-contract revision/basis.
10.2 Not required by H1
H1 does not currently require as universal mechanisms:
dependent/value-indexed types
refinement types
higher-rank polymorphism
higher-kinded type parameters
impredicative polymorphism
equirecursive types
universal structural subtyping
universal nominal subtyping
Agda’s dependent metalanguage does not establish dependent types in the FormaSL object language.
11. Core type roles and judgments
At the contract level, the static kernel provides roles equivalent to:
TypeIdentity
TypeContractRevision
TypeParameter
TypeConstructorIdentity / arity contract
TypeExpression
StaticGuarantee relation/family
StaticEnvironment
and judgments equivalent to:
WellFormedType(Env, Type)
WellFormedTypeDeclaration(Env, Decl)
WellFormedModuleInterface(Env, Interface)
TypeEquivalent(Env, T1, T2)
Subtype(Env, S, T)
TypeArgumentSatisfiesBound(Env, A, Bound)
WellFormedDeclaration(Env, Declaration)
Concrete notation, data structures and algorithms remain open.
11.1 Minimum type-expression capability
The language supports at least named type references, type variables and application of declared parameterized type constructors.
Later bundles may introduce result/row/collection or operation-specific type constructors without reopening the kernel when they obey these contracts.
12. Parametric polymorphism
H1 adopts declaration-level parametric polymorphism with explicit type parameters and optional bounds.
A type parameter is a static binder, not a domain individual.
Instantiation requires:
well-formed type argument
+ satisfaction of every declared bound
Subtype-style bounds consume the Subtype judgment.
H1 does not require arbitrary higher-rank polymorphic values.
13. Type identity, aliases and exposure
Preserve:
TypeIdentity
!= TypeContractRevision
!= TypeContractEquivalence
!= Subtyping
!= Inheritance
13.1 Abstract / opaque type view
Exposes type identity + selected guarantees while hiding selected definition/equality information from the client.
13.2 Transparent distinct type
Has a distinct TypeIdentity while exposing selected definition/representation/contract information.
Transparency does not create alias identity.
13.3 Type alias / co-designation
No new TypeIdentity is created; the binding designates an existing TypeIdentity under the alias contract.
13.4 Revision
Preserving a TypeIdentity across revisions does not imply compatibility of TypeContractRevision values.
Historical type judgments remain basis-relative.
14. Inheritance / specialization
Inheritance is explicit typed specialization:
Specializes(Child, Parent, Contract)
It may govern inherited/reused declaration structure/refinement under the applicable kind.
Specializes(S,T) -/-> Subtype(S,T)
Specializes(S,T) -/-> TypeIdentity(S)=TypeIdentity(T)
Strict specialization cycles are invalid for H1 unless the source explicitly uses another relation such as equivalence/alias to express the intended semantics.
Semantic graph cycles remain allowed independently.
15. Subtyping / safe substitutability
Subtype(S,T) means an admissible S may be used where T is required without violating any static consumer guarantee the consumer of T is entitled to rely on.
Each participating declaration/type kind exposes the static guarantee relation it owns.
Conceptually:
Subtype(S,T)
requires
for every required static guarantee g of T,
S discharges g under the applicable static guarantee relation.
Subtyping may arise only through language-authorized rules such as:
accepted explicit subtype declaration
reflexivity
transitivity
explicit kind-specific derived rule
It does not arise from:
inheritance alone
structural similarity alone
shared representation
graph membership
module import
situated domain classification
Before implementation authorization every H1 subtype-introducing rule must have a checkable acceptance mechanism fixed by the downstream contract.
An unchecked written S <: T is not semantic authority merely because it appears in source.
16. Generic type constructors and variance
A type-constructor application is well formed only when:
- the constructor resolves uniquely;
- arity matches;
- arguments are well formed;
- bounds are satisfied;
- no kind/reference ambiguity remains.
H1 has no implicit generic subtype propagation.
S <: T
-/-> F<S> <: F<T>
unless F’s declaration/static contract explicitly admits a sound variance/subtype propagation rule.
This conservative default is part of H1 semantics.
17. Recursive declarations versus recursive types
The metagraph may contain recursive/cyclic semantic structures.
That does not imply equirecursive type equality.
Named declarations may mutually reference predeclared identities/interfaces when an explicit formation rule permits it.
A pure alias cycle without grounded identity remains invalid resolution.
18. Static phase jurisdiction
The logical language-definition stages are:
SOURCE / AUTHORING REPRESENTATION
-> STRUCTURAL / SYNTACTIC FORMATION
-> LANGUAGE RESOLUTION / BINDING
-> STATIC FORMATION + TYPE / INTERFACE JUDGMENTS
-> ADMITTED RESOLVED PROGRAM
-> ELABORATION
-> EXPLICIT SEMANTIC PROGRAM
These are semantic/language jurisdictions, not mandatory compiler passes.
Static judgments may consume:
- source declarations;
- imported interfaces/views;
- declared semantic/type contracts;
- compile/elaboration-time derived information explicitly authorized by the language.
They may not silently depend on ordinary runtime state, current world truth, dynamic observations or provider/runtime behavior.
WellTyped != SituatedClassification
A dynamic semantic classification must use an explicit dynamic judgment/operation rather than changing static typing by stealth.
19. Elaboration contract
19.1 Domain
Elaborate : AdmittedResolvedProgram -> ExplicitSemanticProgram
Raw/incomplete/ambiguous/invalid source remains representable for diagnostics/tooling but does not receive executable semantic meaning through invented defaults.
19.2 Prohibitions
Elaboration may not:
- choose among ambiguous references;
- invent binding/declaration/semantic kind;
- invent relation/role occurrence, multiplicity, ordering, qualification-locus or participation-correlation semantics;
- repair unresolved imports/references;
- use runtime observation/world truth as static authority;
- introduce category transitions absent from the language semantics.
19.3 Coherence
If multiple target representations are admitted:
Elaborate(P,T1) AND Elaborate(P,T2)
-> SemanticEquivalent_H1(T1,T2)
under the language semantic observation/correspondence horizon.
SemanticCoherenceRequired
!= UniqueTargetRepresentationRequired
Runtime agreement under one current realization does not establish elaboration equivalence.
20. Explicit Semantic Program contract
ExplicitSemanticProgram is an abstract P2 contract role, not a frozen IR.
For every admitted source construct it makes explicit or reconstructible at least:
module/interface basis
BindingIdentity
DeclarationIdentity
BindingCategory
DeclarationKind
SemanticReferentIdentity / SemanticKind where applicable
TypeIdentity / TypeContractRevision / relevant static contract
relation/role contract revision and material participation guarantees where applicable
semantic reference/designation relation
source correspondence
resolution/version basis
inter-declaration static dependencies
construct/category identity needed by its semantic owner
It must not leave unresolved language-definition decisions for P3.
It does not determine:
storage
.fsp provider binding
planner strategy
runtime state
machine representation
number of later IRs
Later P2 bundles enrich operation/result forms; P2B freezes the complete executable semantic interface before P3.
21. DEFINE surface disposition
FormaSL preserves/generalizes the V1 ergonomic idea of a coherent declaration family while rejecting one universal semantic definition kind.
Conceptually:
DEFINE-LIKE AUTHORING FORM
-> DeclarationKind-specific semantics
-> optional SemanticKind-governed artifact as defined by that declaration contract
SharedSurfaceKeyword
!= SharedDeclarationKind
!= SharedSemanticKind
The exact keyword/grammar remains open.
22. DX constraints from the formative probe
Any eventual surface must preserve at least these usability properties:
- common module/declaration authoring remains concise;
- declaration kinds such as type/theory/rule/constraint/policy are explicit enough to diagnose wrong-kind references;
- relation/role contracts expose materially different role participation semantics without forcing one universal constraint bag;
- alias identity versus distinct type creation is lexically/structurally unambiguous;
- interface exposure may be explicit where abstraction matters but need not impose ceremony on every trivial module;
- ambiguous imports are diagnosed, not resolved by order;
- diagnostics distinguish unknown, ambiguous, wrong-kind, alias-cycle, interface incompatibility and static-vs-dynamic typing mistakes;
- source/package paths do not silently carry semantic identity.
No exact tokens are frozen by this section.
23. Semantic Continuity obligations
Across source/module/resolution/type/elaboration boundaries, when material:
- identity is preserved directly or by stable reference;
- module/interface/type/relation-contract revision basis remains reconstructible;
- role semantic identity and material participation guarantees survive by value or stable reference;
- participation multiplicity/order/slot and qualification locus survive when made semantically material by the applicable contract;
- unresolved participation correlation remains unresolved rather than being silently coalesced or split by representation;
- language visibility remains distinct from semantic applicability;
- source/module authorship does not become semantic issuer/authority;
- theory membership/import does not become truth/Claim;
- interface opacity is explicit information restriction, not identity erasure;
- static source/resolution/type dependencies remain reconstructible for diagnostics/accountability;
- unique/ambiguous/unresolved/ill-formed/type-incompatible outcomes remain distinct from FALSE/runtime failure;
- representation changes do not define semantic meaning.
The CB-L1 continuity audit found no current-horizon ACCIDENTALLY-LOST dimension after the bounded relation/role authoring hardening.
24. V1 disposition owned by this contract
CB-L1 adopts these V1 evidence dispositions:
imports / QualifiedRef = PRESERVE + GENERALIZE
module structure = PRESERVE + GENERALIZE
`define <kind>` DX = PRESERVE + GENERALIZE
named typed relation roles = PRESERVE + GENERALIZE into relation/role contracts
role cardinality capability = PRESERVE + GENERALIZE when constitutive participation semantics
`required` / `unique` surface = CAPABILITY PRESERVED; exact derived syntax not frozen
generic V1 constraint bag = DROP WITH JUSTIFICATION; split by semantic jurisdiction
V1 `subSchema` bridge = REPLACE by explicit Specializes + separately checked Subtype
V1 `disjoint` bucket = REPLACE / RELOCATE by theory/ontology or competent constraint owner
V1 arbitrary invariant bucket = REFINE / RELOCATE by static/validation/runtime jurisdiction
bounded generics = PRESERVE + GENERALIZE capability
System-F<:-style mechanism = EVIDENCE, NOT FROZEN
CheckedProgram != CoreProgram = PRESERVE + GENERALIZE jurisdiction
category-specific ref paths = PRESERVE + GENERALIZE into kind-indexed resolution
source spans / diagnostics = PRESERVE capability
structural vs nominal checks = PRESERVE distinction, mechanism open
No V1 ADT, CoreTerm, symbol table, namespace layout or package-ID implementation is normative here.
25. Downstream interface
To CB-L2 — Situated Result Contract
CB-L2 consumes:
- the binding/declaration/type/kind model;
- module/interface basis;
- type-kernel extension interface;
- source/elaboration correspondence;
- the requirement that result/type declarations preserve basis/identity/dependence.
CB-L2 owns result standing, provenance/dependence and completion algebra.
To CB-L3 — Computational Regime Boundaries
CB-L3 consumes:
- named/kinded operation/theory/rule declarations;
- shared type/static kernel;
- kind-owned compatibility extension point;
- theory artifact basis;
- module/reference resolution.
CB-L3 owns MATCH/ANALYZE/INFERENCE/PROJECT semantics and their operation-specific typing rules.
To CB-L4 — Lifecycle / Governance / Dynamics
CB-L4 consumes:
- binding/declaration/referent identity;
- kinded policy/constraint/Claim/revision declarations;
- module/type basis;
- negative rule that path reuse does not imply identity continuity.
CB-L4 owns positive source/referent succession/evolution semantics and lifecycle category transitions.
To CB-L5/P2B
CB-L5 audits that all later kind/operation-specific rules compose with this language-definition kernel and freezes the whole-language executable semantic interface.
26. Formalization routing
No CB-L1 mechanization is authorized by this document.
Formalization is deferred until the exact relation/calculus needed for a material theorem is formally determined.
High-risk downstream obligations include:
alias/declaration identity non-creation
resolution groundedness/cycle/uniqueness or equivalent acceptance property
interface consumer-guarantee preservation
type identity/equality/subtyping safety
relation/role contract guarantee preservation across elaboration and interfaces
historical resolution non-retroactivity with CB-L4
whole-language elaboration semantic coherence with P2B/P3
Attempting to prove arbitrary carrier-ID distinctions or a simplified symbol table would not discharge these normative claims.
SEMANTIC CLOSURE != FORMALIZATION
MECHANIZATION AUTHORIZED = NO
27. Protected open questions after CB-L1
The following remain intentionally open without blocking this contract:
- exact concrete grammar/tokens;
- exact relation/role declaration tokens and clause grammar;
- concrete notation for material occurrence/multiplicity/order/slot guarantees;
- whether declaration-kind-owned defaults are surfaced explicitly or by a concise source form, provided their semantics are language-defined;
- explicit vs inferred interface syntax;
- scope graph versus another resolver representation;
- physical namespace/symbol-table data structures;
- exact checker algorithm;
- bidirectional versus constraint-based implementation;
- operation/result-specific type constructors and typing rules;
- richer dependent/refinement/higher-rank/higher-kinded type extensions outside H1;
- richer module functors/generative module instances outside H1;
- package manager/registry/lockfile mechanism;
- exact ExplicitSemanticProgram representation;
- richer standalone theory-signature/morphism authoring if a future material workload requires it;
- universal heterogeneous-theory calculus beyond current H1;
- query/reasoning/analysis/projection semantics;
- lifecycle/governance positive evolution relations;
- P2B global composition closure;
- all P3 executable IR/realization/planner/runtime structures.
Any future extension must preserve the stable distinctions here or provide a material reopen trigger.
28. Acceptance gate
CB-L1 was closed after:
- authority/P0/P1 coverage;
- V1 design/formalization/implementation evidence;
- primary theory on modules, resolution, phase distinction, elaboration, type systems and theory structuring;
- two destructive composition rounds plus bounded hardening;
- static type/module kernel closure;
- formative surface/DX probes;
- Semantic Continuity audit;
- V1 regression audit;
- selective-formalization determinacy review;
- final sufficiency audit.
A later H1 functional-sufficiency review on 2026-08-22 admitted one bounded FUNCTIONAL DEPTH GAP: the architecture already assigned material participation semantics to relation / role contract, while CB-L1 only guaranteed the declaration jurisdiction and generic static extension point. ../TYPE-THEORY-ONTOLOGY-AUTHORING-CAPABILITY-ADEQUACY-REVIEW-1.md records the evidence, counterevidence and targeted terminal re-audit. Section 5.5 closes that authoring-depth gap without reopening the Semantic Metagraph, type topology or theory/ontology topology.
The same review tested type and theory/ontology authoring. No additional material H1 functional gap was demonstrated. Institutions/DOL evidence established the importance of signature/vocabulary distinguishability, but current H1 can reconstruct the required vocabulary through formalism basis plus admitted declarations/references; Section 9.2 records that boundary without introducing a mandatory standalone signature artifact.
Current result:
CB_L1_AUTHORITY_COVERAGE = PASS
CB_L1_RELATION_ROLE_AUTHORING = PASS AFTER TARGETED HARDENING
CB_L1_TYPE_AUTHORING = PASS FOR CURRENT H1
CB_L1_THEORY_ONTOLOGY_AUTHORING = PASS FOR CURRENT H1
CB_L1_COMPOSITION_ATTACK = PASS AFTER TARGETED TERMINAL REAUDIT
CB_L1_SURFACE_DX = PASS AT CONTRACT LEVEL; EXACT SYNTAX OPEN
CB_L1_TYPE_SURFACE_DX = PASS
CB_L1_SEMANTIC_CONTINUITY = PASS AFTER TARGETED TERMINAL REAUDIT
CB_L1_V1_REGRESSION = PASS AFTER RELATION/ROLE CAPABILITY RESTORATION
CB_L1_BLOCKING_UNKNOWN = NONE
CB_L1_FORMALIZATION_REQUIRED_NOW = NO
CB_L1_SUBJECT_SUFFICIENT = YES
CB_L1 = STABLE / TERMINAL FOR CURRENT H1 SCOPE
This closes only CB-L1 and the bounded current-H1 authoring sufficiency question.
LANGUAGE_SEMANTIC_CLOSURE = NOT PASS
LANGUAGE_DEFINITION_CLOSURE = NOT PASS
P2B = NOT YET AUTHORIZED
P3 = NOT AUTHORIZED
IMPLEMENTATION CODE = NOT AUTHORIZED
FormaSL — Reactive Activation Contract (RAC)
Status: STABLE
Authority: NORMATIVE ARCHITECTURAL DECISION CONTRACT — reactive execution boundary
Ratification: owner dispatch 2026-09-30 — “RAC-01 autorizado conceitualmente com as emendas A1/A2” (see §12)
Parent: ../FORMASL.md
Depends on: ../foundations/FORMASL-INTENT.md, ../foundations/FORMAL-WORLD-MODEL.md, ../foundations/SEMANTIC-INVARIANTS.md, ../foundations/SEMANTIC-CONTINUITY.md, EFFECT-OBSERVATION-CLAIM.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md (§13), P5AR-C-REPRESENTATION-IMPLEMENTATION-CONTRACTS.md (§CHG), COMPUTATIONAL-REGIME-BOUNDARIES.md, SEMANTIC-LIFECYCLE-TRANSITIONS.md, SITUATED-RESULT-CONTRACT.md
Role: freeze the reactive activation boundary — reactivity over complete, basis-sealed evaluations only — without opening incremental/streaming semantic consumption (FO-L5-12 / FO-P3-14), without new concrete syntax, and without a second event engine.
1. Core decision
The normative core of this contract:
FormaSL reactive execution schedules new, basis-sealed evaluations in
response to recoverably detected changes in material dependencies.
Reactive activation does not itself introduce semantic standing,
establish semantic causation, consume incomplete semantic results, or
authorize category-changing effects. Each activated evaluation executes
under the existing semantic contracts and produces only the
result/lifecycle standings those contracts already authorize.
The admitted shape:
change
→ affected
→ activation gate
→ NEW sealed EvaluationInstance
→ ordinary FormaSL evaluation
→ complete/material result
→ downstream change notification
→ (loop)
The rejected shape:
event → magic callback → arbitrary side effect
Reactivity is therefore a runtime/architectural capability, not a language extension at this stage. The semantic content of any activated evaluation is exactly what the existing contracts already authorize; the reactive layer adds scheduling, not standing.
2. What reactive activation is
Conceptually, an ActivationEngine:
- receives ChangeNotifications from heterogeneous ChangeSources;
- computes the AffectedSet by intersecting changed coordinates with registered dependencies (pure operational invalidation);
- applies an ActivationGate (activation policy, admission, current basis, availability, completion conditions);
- seals a NEW
EvaluationInstancefor each activation (never mutates a running evaluation — P3-O-20); - the sealed evaluation runs as an ordinary evaluation and completes under the existing completion contracts;
- its completed material result may itself become a downstream ChangeNotification (propagation).
ChangeSources include, without being limited to:
watch streams / state commits
observation acquisition (post-bridge)
external adapters (post-verification)
source publication
runtime results (completed evaluations)
timers (as declared reevaluation policy, never as premise)
manual invocation
The model is two-phase:
Phase 1 — invalidation (operational, no execution):
Change → Dependency Index → AffectedSet
Phase 2 — activation (gated):
AffectedSet + activation policy + basis + admission
+ availability + completion conditions → Activation
Activation candidates arise from invalidation and from declared reevaluation policies (e.g. periodic/timer-driven reevaluation). In every case the gate applies; a timer tick with no changed coordinates produces no AffectedSet entry — it can only become a candidate through a declared policy.
3. What reactive activation is not
ReactiveReevaluation -/-> IncrementalSemanticConsumption (FO-L5-12 stays closed)
ReactiveReevaluation -/-> StreamingSemanticConsumption (EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT §13)
Activation -/-> SemanticCausation
ChangeNotification -/-> Standing
ReactiveFeedback -/-> RecursiveComposition
ActivationEngine -/-> UniversalEventEngine / WorkflowEngine
Result -/-> Effect (automatic conversion prohibited)
A consumer never begins producing from a producer’s unfinished prefix. Every activated evaluation consumes only established, completed material. Long-lived runtimes are sequences of finite evaluations, not an infinite evaluation.
4. Definitions
ChangeSource any origin that may emit a ChangeNotification
ChangeNotification mechanism data about detected change; carries
recovery coordinates; has no standing
ChangedCoordinates(Δ) the coordinates material to the change
DependencyIndex registry of Dependencies(E) per application/evaluation
AffectedSet(Δ) evaluations/applications whose dependencies intersect Δ
ActivationGate policy gate between AffectedSet and Activation
Activation decision to seal a new EvaluationInstance
MaterialDependency a dependency that is semantically material to an
evaluation's result (static or dynamic, §6)
RecoveryRegime the declared regime by which an activation source
supports restart: LevelSensitive or OccurrenceSensitive
(or a declared hybrid)
InternalDerivedConsequence an intermediate derivation inside an evaluation's
fixpoint; never an operational coordinate
CompletedMaterialResult a completed, exported result under its declared
result/data-dependence interface
5. Laws
| Lei | Regra |
|---|---|
| RAC-L01 | ReactiveReevaluation != IncrementalSemanticConsumption |
| RAC-L02 | Activation != SemanticCausation |
| RAC-L03 | ChangeNotification != Event != Claim != Observation != Effect; a notification gains no standing |
| RAC-L04 | Affected != Activated |
| RAC-L05 | DataDependence -> ActivationCandidate — never execution order, never mandatory execution |
| RAC-L06 | Trigger != Premise — a wakeup may provoke evaluation without contributing a fact to the semantic world |
| RAC-L07 | mechanical time does not create temporal standing; material time enters only through the temporal interface |
| RAC-L08 | coalescing only when the consumption profile admits reevaluation against current state; occurrence identity is not erased when material |
| RAC-L09 | ReactiveFeedback != RecursiveComposition; LongLivedRuntime != InfiniteSemanticEvaluation |
| RAC-L10 | activation/index state is reconstructible; recovery uses occurrence replay when occurrence-sensitive, state resync when level-sensitive, per declared contract |
| RAC-L11 | InternalDerivedConsequence -/-> IndependentChangeAuthority; a CompletedMaterialResult may be a downstream dependency/change coordinate only through its declared result/data-dependence interface |
RAC-L01 — Reactive reevaluation is not incremental semantic consumption
Each activation re-executes a complete evaluation over a fresh sealed basis.
No consumer ever consumes a partial/incomplete semantic result. FO-L5-12
(CHG-1) remains UNSUPPORTED / ABSENT-FROM-VOCABULARY, enforced by
conformance (chg_absence); EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT §13
(StreamingTransport -/-> IncrementalSemanticConsumption) is untouched.
RAC-L02 — Activation is not semantic causation
That a change made an evaluation a candidate, or that an evaluation ran
after another, establishes no causal or authority relation. Causal standing
continues to require CausalBasisRef under the existing dependence contracts;
temporal precedence is not semantic dependence (INV-TIME-02).
RAC-L03 — ChangeNotification has no standing
ChangeNotification/ChangeSet are mechanism data. They are not Events,
Claims, Observations, Effects or Results, and never enter a world as facts.
Semantic standing continues to be introduced only by the existing routes:
claim lifecycle transitions, ObservationBridge (OBG-5), and the carrier
disciplines of EFFECT-OBSERVATION-CLAIM.
RAC-L04 — Affected is not Activated
Invalidation only names candidates. An affected application may be
inactive, out of scope, disabled, waiting on another dependency, or already
covered by an admissible equivalent evaluation. Only the ActivationGate
activates. Duplicate affected-set entries may coalesce at the gate (RAC-L08).
RAC-L05 — DataDependence yields candidacy, not order
The existing distinction DataDependence != SemanticOrder != SourceTextOrder
!= RuntimeSchedule (compose) is preserved and extended operationally:
a data dependence from producer P to consumer C makes C an activation
candidate when P's completed result changes. It never implies that C must
run, must run now, or runs after P in any authority sense.
RAC-L06 — Trigger is not premise
A wakeup, watch ping or wake event may provoke reevaluation while its
content contributes nothing to the semantic world (the K5 law generalized:
ExternalEffect never updates CurrentObserved; only ExplicitObservation
sustains the observed). Level-triggered consumers re-read current state.
RAC-L07 — Mechanical time creates no temporal standing
A timer tick is a trigger under a declared reevaluation policy, never a
premise and never a coordinate of change. Material time continues to enter
only through the temporal interface (formasl-time: ClockReading, guards,
TemporalStanding {Holds, Fails, Incommensurable}; carrier timestamps such
as observed_at/recorded_at). A reading is never standing.
RAC-L08 — Coalescing respects consumption profile
Repeated notifications for the same coordinates may coalesce into one
reevaluation against the latest basis only when the application's
consumption profile is declarative re-derivation (level-sensitive).
When occurrences are material (occurrence-sensitive), coalescing must not
erase occurrence identity; each occurrence remains separately addressable.
This behavior is derived from the consumption profile where possible; it is
not a public surface enumeration at this stage.
RAC-L09 — Feedback across time is not recursion; longevity is not infinity
Evaluation A1 → world change → Evaluation B1 → world change → Evaluation A2
are distinct evaluations at distinct times; no composition invocation cycle
A → B → C → A is introduced, and OrdinaryCompositionCycle continues to
require ExplicitIterationOrRecursionContract. A runtime may serve for
months, but each observable unit remains Activation → EvaluationInstance →
completion — finite.
RAC-L10 — Restart safety requires recoverable activation basis
The dependency index and activation metadata are caches, reconstructible;
they are not authority over world state. Recovery is regime-declared:
LevelSensitive → resync: re-read current basis/state, reconcile
(missed notifications need not be enumerated)
OccurrenceSensitive → durable occurrence identity + replayable position
+ ack/progress; lost occurrences are recoverable
by replay, never reconstructed from current state
Hybrid (declared) → cursor replay + periodic authoritative resync;
a cursor alone is not authority over world state
There is no universal cursor field. Durable change lives in the existing
substrate feeds (storage watch streams with distinct
occurrence/delivery/acknowledgement; FormaFS change feed ordinals; the
append-only lifecycle history); the reactive layer consumes them, never
replaces them.
RAC-L11 — Internal derived consequences are not change authorities
InternalDerivedConsequence -/-> IndependentChangeAuthority. An intermediate
derivation inside a fixpoint never becomes an operational event or
independent invalidation coordinate. A CompletedMaterialResult may
establish a downstream invalidation coordinate only through its declared
result/data-dependence interface (compose DataDependence; result
contracts). This closes propagation Δ → A → completed result → B without
turning A's interior into a semantic stream.
6. Dependency coordinate model
Coordinates are material change addresses. The index operates over three logical classes (the implementation may compress them, the semantics may not):
C1 Input / basis coordinates
admitted observations, source state revisions, application state,
policy/model revisions, established occurrences, claim lifecycle
transitions
C2 Result coordinates
completed application/result identities, exported relation/result
channels — reachable only via the result/data-dependence interface
(RAC-L11)
C3 Dynamic concrete dependencies
state key + version + basis (StateReadSet), exact revision refs,
concrete subjects/resources when material
Dependency extraction is two-level:
Static semantic dependency from program/plan: predicates, types, channels
(DataDependence {producer_step, consumer_step};
declared result channels)
Dynamic concrete dependency from each evaluation: StateReadSet
{key, version, basis, presence}
The affected relation:
Dependencies(E) = StaticSemanticDeps(E) ∪ DynamicConcreteDeps(E)
Affected(E, Δ) iff Dependencies(E) ∩ ChangedCoordinates(Δ) ≠ ∅
Category rules:
- Changed coordinates live in C1/C2/C3; internal fixpoint intermediates are not coordinates (RAC-L11).
- Storage keys are not semantic coordinates: a storage-key change must be projected to semantic coordinates by the source’s declared interface before it can affect statically registered semantic dependencies (and vice versa, concrete key-level invalidation uses C3).
- A single admitted input change may legitimately propagate through completed results (C2) and cascade: Δ → A → completed result → B. Each hop is a complete evaluation; the cascade is scheduling, not one running computation.
7. Recovery coordinates on notifications
Abstract obligation (no universal cursor field is frozen):
ChangeNotification must preserve/refer to enough recovery coordinates
for its activation source's declared recovery regime.
Always present:
source identity
basis/revision
changed coordinates
When the source's declared regime requires:
occurrence identity
source position/cursor
sequence/watermark
Level-sensitive sources may satisfy this with state coordinates alone; occurrence-sensitive sources must carry occurrence identity and position. The substrate feeds already distinguish occurrence from delivery from acknowledgement, and FormaFS already provides monotonic ordinals and cursors; RAC consumes these disciplines rather than inventing a new one.
8. Effects remain outside the automatism
The reactive layer never converts a result into an effect. The chain remains:
RiskDetected
→ Decision (e.g. DecideBlock)
→ AuthorizationDecision
→ ExecutionRequest
→ effectuation (GovernedExecutor / carrier discipline)
The ActivationEngine may activate the application that requests execution; it cannot authorize, execute, or mint effect standing. External effect feedback re-enters only through the epistemic boundary: transport receipt → verification/acquisition → bridge → ObservationRecord → optional claim (OBG-1..5; DecodeEvidenceBridge; OneTimeEffectPermit keyed by EffectKey{case_key, external_occurrence}; ExternalStateReadback where state standing is required). “Signature valid” still does not establish business truth.
9. Non-openings
RAC-01 explicitly does not reopen:
FO-L5-12 incremental / streaming semantic consumption (CHG-1, stays UNSUPPORTED)
FO-P3-14 runtime/JIT semantic-fragment generation (CHG-2, stays CH)
concrete FormaSL syntax
reasoning semantics
universal event sourcing
universal event store
universal durable queue
universal cursor protocol
universal workflow engine
and does not introduce any surface form:
on Event { ... }
trigger ...
subscribe ...
Stream<Result>
IncrementalResult
The composition cycle contract is untouched
(OrdinaryCompositionCycle requires ExplicitIterationOrRecursionContract).
Reactive feedback across time consists of distinct evaluations, not
composition recursion (RAC-L09).
10. Relationship to existing artifacts
Verified precursors this contract builds on (all inspected, not assumed):
crates/runtime/src/runtime.rs EvaluationInstance sealed over plan +
EvaluationSemanticClosure + dynamic
basis; rebind materializes a NEW
instance; no rebind-in-place (P3-O-20)
crates/application-state/src/read_set.rs StateDependency {key, version, basis},
StateReadResult {present} (contract §26;
versions prevent ABA)
crates/application-state/src/projector.rs
StateTransitionOccurrence
{reference, affected_keys},
StateTransitionOrdinal(u64)
crates/compose/src/compose.rs DataDependence != SemanticOrder !=
SourceTextOrder != RuntimeSchedule;
DataDependence {producer_step,
consumer_step}
crates/storage (watch_stream) occurrence / delivery / acknowledgement
distinct identities; duplicate delivery
never duplicates occurrence
crates/formafs-core (change.rs) FormaFsChange feed, monotonic ordinal,
FormaFsCursor
crates/lifecycle (history.rs) append-only history chain; replay does
not create occurrences
crates/time (formasl-time) ClockReading + domain, guard predicates,
TemporalStanding; a reading is never
standing
crates/mrs-terminal DecodeEvidenceBridge,
OneTimeEffectPermit (EffectKey),
ExternalStateReadback {observed_at}
crates/action (action.rs) ActionJournal carriers; EffectRecord
requires CausalBasisRef;
ObservationRecord only via
ObservationBridge (OBG-5)
docs/applications/forma-kubernetes/... K5 law: ExternalEffect never updates
reconciliation-k5.md CurrentObserved; only
ExplicitObservation sustains the
observed
Consistency obligations inherited: INV-TIME-01 (temporal roles remain
distinct), INV-TIME-02 (temporal precedence is not semantic dependence),
INV-TIME-03 (revision does not erase prior occurrence); the
Record-vs-Standing discipline of EFFECT-OBSERVATION-CLAIM.md; the
anti-commitments of FORMASL-INTENT.md (no required event store, no OCCUR
operator, no event-sourced runtime) — RAC adds an operational capability on
top of existing carriers; it does not promote notifications, cursors or
indices to semantic authority.
11. What this contract does not specify
Deferred, in order:
RAC-02 Dependency, Invalidation & Recovery Contract
StaticDependencyCoordinate / DynamicDependencyCoordinate /
ResultDependencyCoordinate binding; ChangedCoordinates vocabulary;
Affected(E, Δ) operational definition; dependency registration and
invalidation mechanics; staleness; coalescing eligibility rules;
level-sensitive recovery protocol; occurrence-sensitive recovery
protocol; restart / lost notification / duplicate notification /
out-of-order notification / resync obligations.
Dependency and recovery are specified together (owner amendment).
then RAC-03 dependency extraction wiring
RAC-04 invalidation engine
RAC-05 activation gate + propagation
RAC-06 external ingress (adapters / observation / watches)
RAC-07 external effect feedback (requests / effectuation /
observation loop)
RAC-08 reliability (coalescing, occurrence identity, lost wakeup,
resync, retry, backpressure)
then scheduler / continuous host design
RAC-01 itself introduces no code obligations; the CHG-1/CHG-2 absence checks continue to hold unchanged.
12. Amendment record
A1 (owner, 2026-09-30) Origin vs reactive result. The earlier draft rule
"derived atoms are not change coordinates" was
replaced: derived results that are completed and
exported may legitimately propagate (a completed
InferFraud result is exactly DecideBlock's
dependency). Frozen as RAC-L11 with the three-class
coordinate model (§6).
A2 (owner, 2026-09-30) Recovery is not universally cursor-based. Level-
sensitive consumers recover by resync (read current
state, reconcile — missed notifications need not be
enumerated); occurrence-sensitive consumers require
durable occurrence identity and replayable position;
hybrids are declared, not universal. Cursor became a
conditional recovery coordinate (§7), not a
mandatory ChangeSet field. Frozen as RAC-L10.
FormaSL — Dependency, Invalidation & Recovery Contract (RAC-02)
Status: STABLE
Authority: NORMATIVE ARCHITECTURAL DECISION CONTRACT — dependency/invalidation/recovery for reactive activation
Ratification: owner dispatch 2026-09-30 — “vamos fechar todos os documentos; nada de micro tarefas” (single-pass closure of the RAC documentation front)
Parent: REACTIVE-ACTIVATION-CONTRACT.md (RAC-01)
Depends on: REACTIVE-ACTIVATION-CONTRACT.md (laws RAC-L01..L11), ../foundations/SEMANTIC-INVARIANTS.md (INV-TIME-01..03), EFFECT-OBSERVATION-CLAIM.md, EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md (§13), P5AR-C-REPRESENTATION-IMPLEMENTATION-CONTRACTS.md (§CHG), SITUATED-RESULT-CONTRACT.md
Role: bind the RAC-01 coordinate model to concrete coordinate kinds, define the operational Affected(E, Δ) relation, dependency registration/invalidation mechanics, staleness and coalescing eligibility, and the two declared recovery regimes — together (dependency and recovery are born together, per owner amendment). Closes the RAC documentation front; implementation (RAC-03..08 wiring, scheduler/host) is out of scope here.
1. Position relative to RAC-01
RAC-01 froze the reactive boundary (what reactive activation is and is not). This contract specifies the machinery RAC-01 named but did not define:
RAC-01 §6 three coordinate classes -> §2 closed coordinate vocabulary
RAC-01 §6 Affected(E, Δ) -> §4-§5 operational definition
RAC-01 §2 Dependency Index -> §6 registration & invalidation
RAC-01 §5 RAC-L08 coalescing -> §7 eligibility + mechanics
RAC-01 §7 recovery coordinates -> §8 the two recovery regimes
(named but unspecified) -> §9 failure-mode obligations
Every law of RAC-01 (RAC-L01..L11) is inherited unchanged. This contract adds no new standing, no new syntax, no public surface, and reopens nothing in the RAC-01 non-openings list (FO-L5-12/CHG-1 and FO-P3-14/CHG-2 remain closed).
2. Coordinate vocabulary (closed set)
Coordinates are the only addresses over which invalidation operates. The vocabulary is closed: only the kinds below may enter the Dependency Index. A coordinate of unknown kind is rejected fail-closed.
C1 Input / basis coordinates
C1.claim ClaimLifecycleCoordinate { claim_ref, standing_class }
— emitted by claim lifecycle transitions
(assert / adopt / retract / supersede; lifecycle HistoryChain)
C1.obs ObservationCoordinate { observation_record_ref }
— emitted by post-bridge observation admission only (OBG-5)
C1.occ EstablishedOccurrenceCoordinate { occurrence_id }
— emitted by carrier minting (ActionJournal):
AdapterReceipt, ExecutionRecord, EffectRecord (with
CausalBasisRef), ExecutionRequest/Attempt/Receipt
C1.src SourceRevisionCoordinate { source_ref, revision }
— emitted by source publication
C1.policy PolicyModelRevisionCoordinate { policy_ref, revision }
— emitted by contract/policy/model revision (basis changes)
C2 Result coordinates
C2.result ResultCoordinate { application, result_channel,
result_identity }
— emitted ONLY by a completed evaluation publishing its
exported result through its declared result/data-dependence
interface (compose DataDependence.channel); the index MUST
NOT synthesize C2 coordinates from anything else (RAC-L11)
C3 Dynamic concrete dependencies
C3.state StateKeyCoordinate { key, version, basis, presence }
— emitted by application-state commits; mirrors the
StateReadSet entry shape (contract §26; versions prevent ABA)
C3.rev RevisionCoordinate { contract_revision_ref }
Binding rules:
R2-OB-01 Closed vocabulary. Only declared coordinate kinds enter the
index; unknown kinds fail closed.
R2-OB-02 Declared emitters only. A coordinate is admissible only from its
declared emitter class. No coordinate is synthesized from
internal fixpoint state, intermediate derivations, or unparsed
payloads (RAC-L11).
R2-OB-03 C2 exists only where declared. A ResultCoordinate is admissible
only if a DataDependence {producer_step, consumer_step, channel}
(or equivalent declared result channel) names it.
R2-OB-04 Projection is declared, never inferred. A storage key projects to
semantic coordinates only through the source's declared projection
interface. An undeclared key remains C3-only and can never affect
statically registered C1/C2 dependencies.
R2-OB-05 One change, both vocabularies. A single admitted change may emit
coordinates in more than one class (e.g. an application-state
commit emits C3 keys and, if a projection is declared, the
corresponding C1/C2 coordinates). Emission is per declared
interface, not per heuristic.
3. Change notification shape
A ChangeNotification carries (RAC-01 §7, now bound):
source identity which declared emitter class / source instance
basis/revision the revision the change was admitted under
(amendment A2: mandatory whenever the source
has an admitted revision — in particular the
C2/CompletedResult emission MUST carry the
sealed evaluation's basis; policy-only
triggers legitimately carry none, since no
admitted revision changed)
changed coordinates Δ ⊆ coordinate vocabulary (§2), possibly empty
recovery coordinates per the source's declared RecoveryRegime (§8):
occurrence identity, source position/cursor,
sequence/watermark — only when required
R2-OB-06 Empty Δ is legal. A policy-only trigger (timer, declared
periodic reevaluation) produces a notification with Δ = ∅.
It creates no coordinate, no invalidation, and no standing
(RAC-L07); it can only become an activation candidate through
a declared policy at the gate.
R2-OB-07 Notification idempotency. When a source provides a monotonic
position (ordinal/cursor/watermark), applying Δ is idempotent by
max-position per coordinate WITHIN THAT SOURCE (position
streams are per-source — amendment A4): a notification older
than the last applied one for the same coordinate from the
same source is discarded (out-of-order tolerance). Sources
without monotonic position rely on coordinate
equality dedup; they MUST then declare a recovery regime that
does not depend on ordering (§8).
4. Dependencies(E)
For a sealed evaluation E (or registered application):
Dependencies(E) = StaticSemanticDeps(E) ∪ DynamicConcreteDeps(E)
R2-OB-08 Static extraction. StaticSemanticDeps(E) is extracted at plan
admission / evaluation sealing from the plan/compose graph:
consumer steps depend on producer steps through declared channels
(DataDependence), mapped onto C1/C2 coordinates per the declared
interfaces. No static dependency is inferred from source text
order or runtime schedule (compose distinction preserved).
R2-OB-09 Dynamic registration. DynamicConcreteDeps(E) is accumulated from
E's StateReadSet at evaluation completion: {key, version, basis,
presence} per entry. Dynamic dependencies register retroactively
after the run that read them; they never require pre-declaration.
R2-OB-10 Absence is a dependency. A read that validated absence
(presence = false at version v) registers a dependency on that
key being absent at ≥ v; any later appearance/change of the key
invalidates E. Absence is not the absence of a dependency.
5. Affected(E, Δ) — operational definition
Affected(E, Δ) iff ∃ d ∈ Dependencies(E), c ∈ Δ : match(d, c)
Match semantics per class:
C3.state exact key; affected only if changed version > recorded version
(same-or-older version ⇒ stale notification, discarded per
R2-OB-07; this is the ABA guard of contract §26); basis recorded
for audit, not for matching (state keys are basis-scoped by the
storage plane's scope discipline)
C1.claim SUBJECT-level on claim_ref: any lifecycle transition on the
claim (assert / adopt / retract / supersede) affects every
consumer depending on that claim, whatever standing the
dependency recorded; standing_class is PAYLOAD of the
transition, never part of the matching identity
(amendment A1, audit RAC-IMPL-AUDIT-807e530a)
C1.src SUBJECT-level on source_ref: a new published revision
invalidates dependencies recorded at older revisions
(amendment A1)
C1.policy SUBJECT-level on policy_ref: a new admitted revision
invalidates dependencies recorded at older revisions —
this is what makes R2-OB-12 deliverable (amendment A1)
C1.obs exact coordinate identity
C3.rev exact coordinate identity
C2.result exact (application, result_channel) match; result_identity
participates for occurrence-of-result sensitivity where declared
subsumption only through declared projection interfaces (R2-OB-04).
No prefix, glob, or structural inference. Fail closed.
Amendment A1 (audit RAC-IMPL-AUDIT-807e530a, owner repair dispatch 2026-09-30). The original §5 text (“C1.* exact coordinate identity; standing_class participates for C1.claim”) was internally inconsistent: exact identity cannot deliver the claim-lifecycle parenthetical (a retraction carries a different standing than the recorded dependency) nor R2-OB-12 (a policy delta arrives at a NEW revision than the recorded basis dependency). Matching for C1.claim / C1.src / C1.policy is therefore SUBJECT-level; revision and standing class are transition payload. Verified empirically by probes P1–P3 in the audit and killed by regression tests after repair.
R2-OB-11 Affected is monotone under coordinate set union and is computed
without executing anything: invalidation is pure operational
bookkeeping (Phase 1 of RAC-01 §2).
R2-OB-12 Basis staleness is a coordinate. If E's sealed basis was
superseded by a policy/contract revision, the emitted
C1.policy coordinate matches E's basis dependency and E becomes
affected independently of any data change.
6. Registration & invalidation mechanics
R2-OB-13 Index shape. The Dependency Index maps coordinate → set of
affected identities (EvaluationInstanceId / application
identity). Static deps register at admission/seal; dynamic deps
register at completion (R2-OB-09).
R2-OB-14 The index is a cache (RAC-L10). It is reconstructible from:
(a) durable registration records (which applications exist, which
recovery regime, which reevaluation policies — §8), (b) static
re-extraction from admitted plans, (c) dynamic deps recomputed at
the next evaluation. Recovery MUST NOT depend on index survival.
Durable truth of change lives only in the substrate feeds:
storage watch streams (occurrence/delivery/acknowledgement as
distinct identities), FormaFS change feed with monotonic ordinal
(FormaFsCursor), and the append-only lifecycle HistoryChain
(in-place rewrite forbidden, INV-TIME-03/FP-25).
R2-OB-15 Durable registrations. The set of registered applications with
their declared recovery regimes and reevaluation policies is the
recovery input and MUST be durable/reconstructible. Losing it
loses the system's reactive identity; losing the index does not.
7. Coalescing eligibility and mechanics (RAC-L08 operationalized)
The consumption profile is derived, not declared as a public enum:
R2-OB-16 Profile derivation. An application is OCCURRENCE-SENSITIVE iff
its Dependencies(E) contain at least one C1.occ (or C2.result
with per-occurrence sensitivity declared). Otherwise it is
LEVEL-SENSITIVE. The derivation is internal machinery; no public
surface enumeration is introduced at this stage.
R2-OB-17 Level-sensitive coalescing. Pending notifications coalesce on
key (application identity, material subject/basis scope);
execution evaluates against the LATEST current basis/state, never
against the queued notification snapshot. "Payment 123 changed"
three times ⇒ one reevaluation.
R2-OB-18 Occurrence-sensitive processing. No coalescing across distinct
occurrence identities. Each occurrence is processed idempotently:
duplicate delivery never duplicates the occurrence (watch-stream
discipline) and per-occurrence effects remain keyed
(EffectKey {case_key, external_occurrence}; StorageIdempotencyKey
where durable idempotency is required). "Trade T1, T2, T3" stays
three processings.
8. Recovery regimes (RAC-L10 operationalized)
RestartSafety requires RecoverableActivationBasis. The regime is declared
per application (durable registration, R2-OB-15) and is honored by the
source’s recovery coordinates (RAC-01 §7).
R2-OB-19 LEVEL-SENSITIVE recovery = resync. On restart (or lost
notification): discard index and queues; re-read CURRENT
basis/state; reconcile (re-evaluate per declared policy or defer
to the next trigger). Missed notifications are NOT enumerated;
none of events 5..9 need to be replayed to learn desired=10,
observed=9.
R2-OB-20 OCCURRENCE-SENSITIVE recovery = durable occurrence recovery.
Requires per (source, consumer): a durable replayable position
and an ack/progress watermark. Delivery is at-least-once;
unacked occurrences are redelivered after restart; per-occurrence
processing is idempotent (R2-OB-18). Reading "current state" is
NOT a substitute: lost T2 cannot be reconstructed from state.
R2-OB-21 Ordinal gaps fail closed. In an occurrence feed, a detected gap
in source positions means a lost wakeup: request resync from the
source; never silently skip an ordinal.
R2-OB-22 Hybrid is declared, not universal. A source/application may
declare cursor replay + periodic authoritative resync. A cursor
alone is never authority over world state; the periodic resync
bounds the damage of any cursor divergence.
R2-OB-23 Cross-source order is not assumed. Occurrences from different
sources are concurrent by default (INV-TIME-02); only declared
dependency (CausalBasisRef) creates order. Within one source,
processing follows source ordinal order.
9. Failure-mode obligations
R2-OB-24 Restart → §8 per regime; index rebuilt, not restored.
R2-OB-25 Lost notification → level: next resync/resnapshot catches up
(R2-OB-19); occurrence: gap detection ⇒
resync (R2-OB-21); hybrid: periodic resync
bounds divergence (R2-OB-22).
R2-OB-26 Duplicate → level: coalescing (R2-OB-17); occurrence:
occurrence-identity idempotency (R2-OB-18).
R2-OB-27 Out-of-order → max-position idempotency where positions
exist (R2-OB-07); buffering-until-contiguous
or gap-resync for occurrence feeds; never
silent skip.
R2-OB-28 Stale candidate → the ActivationGate re-validates exact
versions/basis at activation time (pull
check on the read-set discipline of
contract §26) and evaluates against latest;
a notification's snapshot is never the
evaluation's premise.
10. Non-openings (inherited, restated for closure)
FO-L5-12 (CHG-1) and FO-P3-14 (CHG-2) remain closed and absence-checked.
No concrete syntax, no on/trigger/subscribe, no Stream<Result> /
IncrementalResult, no universal event store / durable queue / cursor
protocol / workflow engine. The profile derivation (R2-OB-16) is internal;
no public ActivationMode enum is introduced at this stage. Ordinary
composition cycles remain governed by
OrdinaryCompositionCycle requires ExplicitIterationOrRecursionContract.
11. Relationship to verified artifacts
All cited precursors were inspected in code, not assumed:
crates/compose/src/compose.rs DataDependence {producer_step,
consumer_step, channel} — "Exact
declared channel text for this
carrier"; the four-way order
distinction in the module header
crates/application-state/src/read_set.rs StateDependency {key, version,
basis}; StateReadResult {..,
present}; "read set carries
versions to prevent ABA;
dependency validation checks exact
versions and basis" (§26)
crates/application-state/src/projector.rs
StateTransitionOccurrence
{reference, affected_keys};
StateTransitionOrdinal(u64)
crates/storage/src/watch_stream.rs occurrence / delivery /
acknowledgement distinct;
"duplicate delivery never
duplicates the occurrence";
conflicting payload re-recording
rejected
crates/storage/src/commit.rs StorageJournalAppend;
StorageIdempotencyKey;
ExpectedCondition::GlobalAtRevision
crates/formafs-core/src/change.rs FormaFsCursor(u64) — "a monotonic
change ordinal"; FormaFsChange feed
crates/lifecycle/src/history.rs HistoryChain append-only;
in-place rewrite forbidden
(INV-TIME-03/FP-25);
replay_occurrence takes occurrence
identity as input (FO-L4-07,
replay non-creation)
crates/runtime/src/runtime.rs EvaluationInstance sealing;
rebind ⇒ NEW instance (P3-O-20)
crates/time (formasl-time) ClockReading/domain; guards;
TemporalStanding; reading is never
standing (RAC-L07)
crates/mrs-terminal EffectKey {case_key,
external_occurrence};
DecodeEvidenceBridge;
ExternalStateReadback
12. What this contract does not specify
The RAC documentation front is closed with RAC-01 + RAC-02. What remains is implementation, not documents, and follows the RAC-01 §11 ordering:
RAC-03 dependency extraction wiring (R2-OB-08/09 into admission/seal paths)
RAC-04 invalidation engine (index, match, R2-OB-11..15)
RAC-05 activation gate + propagation (gate pull-check R2-OB-28; C2 emission)
RAC-06 external ingress binding (adapters / observation / watches →
ChangeNotification with regime-correct recovery coordinates)
RAC-07 external effect feedback (request/effectuation/observation loop,
epistemic boundary untouched)
RAC-08 reliability (R2-OB-24..28 protocols, bounded queues, backpressure)
then scheduler / continuous host design — a design task that only makes
sense after the above exist; deliberately not written now.
RAC-02 introduces no code obligations of its own; the CHG-1/CHG-2 absence checks continue to hold unchanged.
13. Amendment record
A1 (audit RAC-IMPL-AUDIT-807e530a, owner repair dispatch 2026-09-30)
§5 matching for C1.claim / C1.src / C1.policy changed from exact
coordinate identity to SUBJECT-level (claim_ref / source_ref /
policy_ref); revision and standing class are transition payload.
Original rule was internally inconsistent: it could not deliver the
claim-lifecycle parenthetical nor R2-OB-12. Empirically confirmed
by audit probes P1–P3; regression tests added after repair.
A2 (same dispatch) §3 basis/revision obligation clarified: mandatory
whenever the source has an admitted revision (C2/CompletedResult
MUST carry the sealed evaluation's basis; enforced by the
ChangeNotification constructor since the repair); policy-only
triggers carry none.
A3 (same dispatch) §6 index lifecycle: evaluations must be retired by
the host (engine.retire_evaluation) — the index is a cache (R2-OB-14)
and evaluation consumers accumulate otherwise.
A4 (audit RAC-IMPL-AUDIT-ROUND2-4e8b5dc8, campaign
CAMPAIGN-REACTIVE-INGRESS-v0.1 RI-01, owner dispatch 2026-10-07)
Two scoping laws from the round-2 findings, both effective at the
machinery since this campaign's RI-01:
(a) R2-OB-07 POSITION STREAMS ARE PER-SOURCE. Max-position
idempotency keys the last applied position by
(notification.source, coordinate identity), not by identity
alone: state keys are opaque per-scope bytes (§26), so the same
key text in two sources is two independent position streams.
Identity-only tracking silently STALE-DROPPED a fresh delta from
one source against another source's higher position — the
under-invalidation direction (audit probe Q1/Q2). Positionless
dedup is unchanged: coordinate-CONTENT equality is
source-independent by construction, since content-identical
coordinates invalidate identically.
(b) §3 COMPLETION BASIS IS VERIFIED, NEVER TRUSTED. The engine
records the ActivationOrder basis at begin_evaluation and
complete_evaluation fails closed (BasisMismatch) when the
completion basis differs (audit probe Q4). A2's mandatory-basis
rule bound what the C2 emission must CARRY; A4 binds what the
engine will ACCEPT.
INDEX SCOPING NOTE (same findings, disposition = document): the §5
index matches C3.state dependencies by key only across state
spaces, so a delta on the same key text from an unrelated scope can
invalidate a consumer that never read that scope. This is the
OVER-invalidation direction (safe; a spurious candidate is gated,
not executed) and is accepted at v0.1. Per-scope matching keys
would require carrying the source/space identity in the dependency
coordinate — a successor decision, not a defect.
FormaSL — Agent Provider Realization Contract (MP)
Status: STABLE
Authority: DOWNSTREAM PROVIDER REALIZATION CONTRACT — multi-provider SDK realization of the agent provider seam
Ratification: owner dispatch 2026-09-30 — “AUTHORIZED IN PRINCIPLE / R2 CEILING”, conditioned on W0 materializing four binding corrections and six closed decisions (verbatim in §12)
Parent: ../FORMASL.md
Depends on: ARCHITECTURE.md, docs/forma-agent-harness-synthesis-package/HARNESS-CONTRACT.md (E7 provider seam, IC-6.1..6.6), docs/forma-agent-correspondence-remediation-v0.1/CAMPAIGN-STATE.md (CR-01..CR-05 correspondence laws)
Role: freeze how external LLM providers are realized behind the existing CognitiveProvider seam (crates/harness-cognitive/src/cognitive.rs), admit an external SDK (genai) as a permitted realization mechanism, and freeze credentials, correspondence, configuration and failure laws — WITHOUT changing the seam’s semantics, the harness authority limits, the authored JSON-in-text model protocol, or any normative/trust boundary.
1. Core decision
A provider realization is a REALIZATION-PLAN mechanism. A different
realization may change transport, wire dialect, backend and cost without
redefining any semantic contract. The typed exposure boundary of the
agent provider is the CognitiveProvider seam — the trait, the
ProviderExchange, the conformance under the CognitiveOutputContract and
the ProviderExchangeObserved durable carrier — never a particular
network stack. A realization may own its HTTP/TLS stack entirely
(external SDK included). Implementation is a realization of this
contract; it is never a retroactive source of seam meaning.
Gate-2 and Gate-3 — previously named only in code comments
(crates/forma-agent/src/provider.rs) — are MATERIALIZED here as law:
- Gate-2 (exposure/transport): exactly one provider exchange per
cognitive round crosses the seam; it enters as
ProviderExchange(Payload{raw_class, raw_payload}or typedUnavailable(MechanismOutcome)) and is recorded durably asProviderExchangeObserved{request_digest, response_digest}. No hidden retry. Failure is typed mechanism outcome, never a semantic conclusion (IC-6.4). A realization may use its own network stack; the seam remains the single typed boundary. - Gate-3 (credentials): credentials enter a realization ONLY through
formasl-trustresolution (explicit, env-var-named, snapshot-resolved, fail-closed on unmapped/inline references). No realization, and no SDK beneath it, may consult ambient environment for credentials, invent a secret, or make a secret durable (record/log/error bytes carry digests and host identities only).
The rejected shape:
SDK → its own env-var fallback / its own retry / its own tool-calling
semantics → seam meaning silently redefined by the vendor library
2. What changes and what cannot change
Changed by this contract:
- A new product crate
crates/forma-agent-provider-sdkis admitted as the ONLY workspace unit that depends on the external SDKgenai(pinned) and realizesCognitiveProviderfor additional wire dialects (OpenAI-compatible, Anthropic native in v0.1). - New
--provider sdk:<kind>values on the forma-agent CLI. - A non-secret provider profile file, loaded ONLY when
--profile <path>is explicitly passed (no default-file discovery in v0.1). - One additive durable carrier in
harness-record:EntryPayload::RealizationBound(§6).
Frozen (changing any of these is R3 / hard-stop, §10):
- the
CognitiveProvidertrait andProviderExchangesemantics; - conformance (
conform,CognitiveOutputContract) semantics; - the authored JSON-in-text model protocol
(
answer / need_evidence / proposal / final); - governance/exposure enforcement and the governed floor as sole writer;
- all existing realizations (
loopback, hand-rolledopenai) — the hand-rolled path stays the differential anchor and is NOT replaced by the SDK path even after the SDK path is verified; coexistence is part of this campaign’s witness (DC-MP-7).
3. Binding corrections (frozen implementation decisions)
These corrections were set by the owner dispatch and are BINDING:
DC-MP-1 (SDK dependency and client injection). The dependency line is
genai = { version = "=0.6.5", default-features = false, features = ["rustls-tls"] }. Our own reqwest::Client is injected via
ClientBuilder::with_reqwest(reqwest::Client) (the 0.6.5 method name).
The client is built with ClientBuilder::no_proxy(), connect_timeout()
and timeout() set explicitly, TLS backend rustls only.
DC-MP-2 (codec generalization). encode_exchange(content) is
preserved byte-identical (always emits raw_class = "openai/v1") and a
new encode_exchange_with_class(raw_class, content) is introduced; the
original delegates to the general one. OpenAI-compatible realizations
emit openai/v1; the Anthropic realization emits anthropic/v1. The
JSON protocol fields and their semantics are identical across classes.
DC-MP-3 (realization identity carrier). The durable carrier is
RealizationBound { provider_kind: String, model: String, endpoint_identity: String } where endpoint_identity is the SHA-256
hex digest of the canonical endpoint string
scheme://host:effective_port/base_path — effective_port is the
explicit port, else the scheme default (http=80, https=443); base_path
is normalized (empty → /; otherwise starts with /, no trailing
slash); userinfo, query and fragment are REJECTED (fail-closed), not
stripped. Host bytes are recorded only through the digest (and may be
additionally echoed as host-only text; never userinfo).
DC-MP-4 (request correspondence under an SDK). request_digest
MUST be computed over the adapter-owned canonical logical envelope — the
deterministic serialization of exactly the material request fields
(model, system, user) the adapter hands the SDK — BEFORE conversion to
any SDK type. The SDK’s internal serialization order, serde behavior or
wire framing is never part of the correspondence identity. The envelope
must be constructible and digestible without any network or SDK type.
DC-MP-5 (TLS gate scoping). The mandatory TLS gate
(cargo tree -i openssl empty) runs over the new crate’s dependency
closure. The workspace-wide cargo tree -i openssl is recorded as an
observation while it remains empty, and must never be attributed to this
crate a foreign crate’s future OpenSSL dependency.
DC-MP-6 (default-free model). For sdk:<kind> realizations the
model is REQUIRED in the profile. There is no silent model default on
the SDK path (the hand-rolled path’s "gpt-4o-mini" fallback stays as
is — it is frozen legacy behavior).
4. Realization requirements (any realization, any dialect)
- One exchange per round; typed failure only; no hidden retry.
- Provider output enters ONLY as
ProviderExchange::Payload{raw_class, raw_payload}carrying the codec envelope (answer, optionaltool_proposal); conformance proves shape only; candidates carry no standing. - Exposure is request-scoped and rendered from the authored app
(
ExposureSurface/TOOL_NAME_MAPPING); enforcement stays post-hoc through governance. - Credentials only per Gate-3 (§1); for credentialless servers the
profile explicitly declares no
credential-env, and no Authorization material of any kind is emitted. - Errors and logs are scrubbed: no secret material, no Authorization header bytes; endpoint host and response body prefix (≤300 chars) are the maximum diagnostic payload.
5. Credential law (operational)
Resolution order is fixed:
profile.provider.<kind>.credential-env --names--> env var
→ formasl-trust EnvironmentCredentialSource::snapshot([that one key])
→ resolve BEFORE any network contact
→ Resolved → AuthData for the SDK request (memory only)
→ Unresolved → typed Unavailable(ProviderFailure), zero connections
absent credential-env (declared credentialless) → no auth material
The adapter’s target resolver ALWAYS supplies target + auth for every request, so the SDK’s own default env-var resolution is never consulted. Witness MP-OB-05 plants a foreign sentinel env var and proves it never crosses.
6. Correspondence and durability carriers
- Per exchange:
ProviderExchangeObserved{request_digest, response_digest}whererequest_digest= SHA-256 over the canonical logical envelope (DC-MP-4) andresponse_digest= SHA-256 over the raw response content text observed. This is evidence, not a store. - Per session start (sdk realizations):
EntryPayload::RealizationBound{ provider_kind, model, endpoint_identity }per DC-MP-3. - Resume compatibility: the resolved profile realization identity MUST
equal the record’s
RealizationBound; mismatch is a typed rejection naming both identities (never a silent continuation under a foreign realization).
7. Failure mapping (frozen table)
| Condition | Outcome |
|---|---|
| credential resolution fails (before network) | ProviderFailure |
| connection refused / DNS / unreachable | NetworkFailure |
client timeout() elapsed | TimedOut |
| HTTP status ≥ 400 | ProviderFailure |
| response body non-JSON / missing expected content shape | ProviderFailure |
| target/profile resolution defect (misconfig) | ProviderFailure |
| cancelled | Cancelled |
Every row above is a typed MechanismOutcome inside
ProviderExchange::Unavailable and maps (existing law) to the E4 attempt
reasons — never to a semantic conclusion.
8. Obligations and witnesses
| ID | Obligation | Witness |
|---|---|---|
| MP-OB-01 | genai named only in forma-agent-provider-sdk (+ forma-agent feature wiring) | static grep gate test |
| MP-OB-02 | pinned dependency line per DC-MP-1 | Cargo.toml assertion test |
| MP-OB-03 | reqwest client: no_proxy + explicit timeouts + rustls only | source gate + MP-OB-15 |
| MP-OB-04 | credential resolved BEFORE network; missing → typed failure, zero connections | stub negative counting connections |
| MP-OB-05 | all auth via formasl-trust; SDK default env resolution never consulted | foreign-sentinel-env test |
| MP-OB-06 | scrub law: no secret in record bytes / logs / errors | sentinel grep over record + stderr |
| MP-OB-07 | canonical logical envelope digest per DC-MP-4; stable across constructions | digest-stability test + source gate |
| MP-OB-08 | encode_exchange byte-identical legacy; encode_exchange_with_class generalization per DC-MP-2 | golden equality test |
| MP-OB-09 | admitted_class per realization; cross-class payload → typed WrongPayloadClass | conformance negative test |
| MP-OB-10 | RealizationBound additive carrier recorded at session start (sdk path) | record roundtrip test |
| MP-OB-11 | resume/realization mismatch → typed rejection naming both | negative test |
| MP-OB-12 | legacy loopback and openai realizations behaviorally unchanged | digest-pinned differential + full legacy suite green |
| MP-OB-13 | failure table §7 exact; one connection per exchange | stub 401/500/non-JSON/timeout tests asserting outcome + connection count |
| MP-OB-14 | profile: explicit --profile only, fail-closed unknown fields, versioned example file | parser negatives + example-parses test |
| MP-OB-15 | TLS gate on the new crate closure: cargo tree -i openssl empty | gate script recorded in evidence |
| MP-OB-16 | kill -9 during an sdk exchange → resume: lock stolen, serials distinct, no duplicate accepted effect | subprocess kill witness |
| MP-OB-17 | provider-substitution battery: loopback / hand-rolled-openai-stub / sdk-openai-stub yield equivalent loop terminals for identical model content | three-realization test |
| MP-OB-18 | offline CI: every network-touching test #[ignore]; offline suite green | full cargo nextest run --workspace --profile ci |
9. Stage map (FIOP; R0–R2, no owner round-trips)
W0 this contract + branch-local ACTIVE-WP (this commit; no code)
W1 profile parser + RealizationBound + --profile + resume gate
W2 adapter crate + openai-compatible realization + differential vs
hand-rolled over an in-process stub + typed failure negatives
W3 anthropic native realization (anthropic/v1) + loop admitted_class
extension + differential/negatives over anthropic stub
W4 credentials end-to-end (trust → AuthData; MP-OB-04/05/06 witnesses)
W5 adversarial (kill -9, substitution battery, TLS gate) + full
workspace gates + REAL ollama reaccreditation (manual, #[ignore];
executed only if a server is live, otherwise recorded NOT EXECUTED
with the exact reason)
Terminality: the campaign is NOT terminal while any MP-OB row lacks its witness or any W-stage deliverable is open (Terminal completeness rule).
10. R3 / hard-stop conditions
Stop and return to the owner (no repair improvisation) if implementation demonstrates that any of the following is necessary:
- changing
CognitiveProvider/ProviderExchange/conformance semantics; - harness authority changes beyond the additive
RealizationBoundcarrier; - the SDK needing credentials outside formasl-trust resolution, or needing a wire protocol other than the authored JSON-in-text envelope;
- editing
ARCHITECTURE.mdor any normative foundation; - hidden retry, streaming, or native tool-calling entering v0.1 scope.
11. Non-collapses preserved
Realization != Semantic contract (plan-level substitution law)
ProviderRequest != CompletionRequest (IC-6.2)
ProviderOutput -/-> SemanticStanding (candidates carry no standing)
RecordedOccurrence != Truth (digests are evidence, not store)
CredentialReference != SecretMaterial (Gate-3 non-collapse)
Attempt != Commit (E4 law unchanged)
12. Ratification record (owner verbatim, 2026-09-30)
Dispatch: “CAMPAIGN-FORMA-AGENT-MULTIPROVIDER-v0.1 — AUTHORIZED IN
PRINCIPLE / R2 CEILING”, conditioned on W0 materializing: (1) the exact
0.6.5 API (with_reqwest, feature rustls-tls, pinned dep line); (2)
the W3 codec correction (DC-MP-2); (3) the realization identity carrier
upgrade (DC-MP-3); (4) the canonical logical envelope for
request_digest (DC-MP-4). Closed decisions: (a) contract-downstream
not architecture-edit; (b) --provider sdk:<kind> with the hand-rolled
path intact and coexisting as differential anchor; (c) explicit
--profile with no implicit default discovery, example file versioned
in the new crate, fail-closed unknown fields; (d) provider-sdk default
ON, network tests #[ignore]; (e) v0.1 dialects = OpenAI-compatible +
native Anthropic; (f) session_root default stays /tmp with profile
override. Operational: no time-window estimate in the dispatch; WP size
is delimited by cohesion and terminality. PUSH NOT AUTHORIZED. Landing
owner-gated.
13. Four-NO (closure)
substitute a cheaper mechanism for the contracted one? NO — every
MP-OB-01..18 witness executed against the real mechanism: the SDK
realization drives the REAL loop, the REAL product binary (kill/resume
via the CLI), the REAL trust resolution, and a REAL model exchange
(ollama/qwen2.5-coder:7b) with authored completion; stubs exist only
as in-test transport fixtures where a deterministic oracle is required.
weaken any frozen semantic of §2? NO — the seam
(CognitiveProvider/ProviderExchange/conformance), the authored
JSON-in-text protocol, the completion law and governance are untouched;
the codec generalization (DC-MP-2) is byte-identical for the legacy
class (golden witness); loopback and hand-rolled openai coexist
unchanged (substitution battery + legacy suite green).
touch a forbidden surface (§10)? NO — no
ARCHITECTURE.md edit (the contract is downstream, as dispatched); no
harness-authority change beyond the additive RealizationBound carrier;
the SDK never resolves credentials or env on its own (ModelSpec::Target
bypass + sentinel witness); no hidden retry/streaming/native
tool-calling entered v0.1.
claim unverified evidence? NO — every gate
count in the ledger comes from executed nextest/clippy/tree runs in
this branch's commits; the workspace gate is recorded in the closure
commit; the TLS observation (str0m/openssl, foreign) is labeled an
observation, not an adapter property.
FormaSL — Remediation Phase 6 Realization / Provider Boundary Alignment — CONTRACT
Status: STABLE / AUTHORIZED — owner-ratified 2026-09-11 (OD-P6-01..OD-P6-07 RATIFIED)
Kind: CAMPAIGN CONTRACT (normative for Phase-6 execution)
Date: 2026-09-11
Ratified baseline: master @ bfde8f18 (predecessor terminal); materialized at local master ahead of origin
Predecessor state: PHASE_5_COMPLETE; CB_L5_* VERIFIED
Owner decisions in force: OD-AN-01 (CLOSED R3), OD-SC-01 (campaign topology), OD-P6-01..07 (RATIFIED — see OD-P6-PHASE-6-OWNER-DECISION-SURFACE.md)
Risk ceiling: R2 (any R3 ambiguity stops for owner decision via MATERIAL_CONTRACT_FAILURE)
This document is the STABLE campaign contract promoted from the
REMEDIATION-PHASE-6-REALIZATION-PROVIDER-BOUNDARY-ALIGNMENT-CANDIDATE.md
candidate upon PROJECT_OWNER ratification of OD-P6-01..07. It authorizes
implementation of RM-17 (first WP) and, serially upon terminality, RM-18,
RM-19, RM-20. Exclusions and authority claims of the candidate carry over
unchanged unless this contract states otherwise.
1. Jurisdiction
PHASE 6 = REALIZATION / PROVIDER BOUNDARY ALIGNMENT
Physical implementation of the separation between:
DeclaredSemanticContract
RealizationRequirement
RealizationCapability
ProviderCapabilityEvidence
RealizationBinding
Provider
ProviderExecution / ProviderEvidence
SemanticConformanceBridge
SituatedResult
without creating a second semantic authority in the realization plane. No leakage into planner/runtime product work, public CLI/API completion, or publication.
2. Governing authority set
docs/foundations/FORMASL-INTENT.md
docs/foundations/FORMAL-WORLD-MODEL.md
docs/foundations/SEMANTIC-INVARIANTS.md
docs/foundations/SEMANTIC-CONTINUITY.md
docs/design/ARCHITECTURE.md
docs/design/COMPUTATIONAL-REGIME-BOUNDARIES.md
docs/design/ANALYSIS-CAPABILITY-CONTRACT.md (ACC, esp. §§5, 11–16)
docs/design/ANALYSIS-REALIZATION-PROFILES.md (ARCS, esp. §§1, 9–15)
docs/design/EXECUTABLE-SEMANTIC-INTERFACE-CONTRACT.md (ESIC, esp. §§27–30)
docs/design/EXECUTABLE-LANGUAGE-ARCHITECTURE.md (ELA, esp. §§8, 11–12)
docs/design/EXECUTABLE-CORRESPONDENCE-LEDGER.md
docs/design/IMPLEMENTATION-CONFORMANCE-CONTRACT.md
docs/design/REMEDIATION-CANDIDATE-PRODUCT-SUPPORT-AMENDMENT.md (esp. §4 OD-03)
docs/design/REMEDIATION-PHASE-3-H1-COMPUTATIONAL-REGIME-CLOSURE-CONTRACT.md
docs/design/REMEDIATION-PHASE-4-CB-L4-SEMANTIC-LIFECYCLE-GOVERNANCE-DYNAMICS-H1-CLOSURE-CONTRACT.md
docs/design/REMEDIATION-PHASE-5-CB-L5-INTEGRATED-COMPOSITION-H1-CLOSURE-CONTRACT.md
docs/design/OD-AN-01-ANALYSIS-ML-REALIZATION-ARCHITECTURE.md (CLOSED R3 — not re-arbitrated)
Historical/attack material (V1 evidence, SRA audits, archived prompts) is evidence only and outranks nothing above.
3. What authority already determines (no semantic invention needed)
Carried over from candidate §3. Every determination there is confirmed by
owner ratification: boundary-type separations (ESIC §28; ELA §8; ACC §13),
capability assertion/evidence/verification/currentness distinction
(ELA §8.4), conformance envelopes EXACT / APPROXIMATE / STOCHASTIC
(ARCS §13; ACC §12), late binding over a closed candidate set with universal
satisfaction (ARCS §10; ELA §8.8), retry-as-new-attempt and restart-as-new-
occurrence (ARCS §11; ACC §15; ELA §11), mid-run migration requiring an
explicit state-correspondence/checkpoint contract (ARCS §12; ACC §15),
FrameworkDefault != AnalysisSemantics with the enumerated explicit
semantic parameters (ARCS §14; ACC §5), bridge verification before admission
(ESIC §30), provider evidence/execution/success channel separations
(ESIC §30; OD-04), same-meaning-across-conforming-providers
(ARCS §1; ACC §14), FormaGraph = future native provider direction with
explicit-admission-only projections (OD-AN-01 §2), and reference-kernels =
reference-provider/oracle with assurance-only harness (OD-AN-01 §1).
4. Baseline implementation audit (observed at bfde8f18)
Carried over from candidate §4 (role map and collapses C-1..C-8). Verified again at materialization; no code changed by this contract. Collapse dispositions:
C-1 Reference kernels physically inside the semantic crate -> RM-18
C-2 String-typed capability/constraint/joint vocabulary -> RM-17
C-3 Caller-constructible ProviderEvidence + unverified bridge -> RM-17
C-4 Duplicate unrelated `ProviderCandidate` (analysis vs realization) -> RM-17/RM-18 alignment
C-5 Missing capability assertion/evidence/currentness carriers -> RM-17
C-6 Missing generic conformance-envelope carriers at the boundary -> RM-17/RM-19
C-7 Missing checkpoint/state-correspondence contract -> RM-19
C-8 No provider-boundary hostile/differential conformance suite -> RM-18/RM-19
5. Campaign topology (RATIFIED — OD-P6-02)
PHASE 6 = REALIZATION / PROVIDER BOUNDARY ALIGNMENT
RM-17 Generic Provider / Realization Contract Boundary
↓
RM-18 Analysis + ML Reference Provider Extraction (OD-AN-01 physical)
↓
RM-19 Provider Conformance / Substitution / Failure / Retry
↓
RM-20 Cross-Capability Realization Integration + Phase-6 Closure
↓
PHASE_6_COMPLETE
Serial execution; one active WP at a time (FIOP §1). The decomposition is executive and does not alter normative architecture. The topology falsification record of candidate §5.1 stands: six attempted attacks all rejected.
5.1 RM-17 — Generic Provider / Realization Contract Boundary
Closes the generic executable provider boundary required by ESIC §§28–30, ELA §§8, 11 and ACC §13:
RealizationRequirement (provider-neutral; typed capability vocabulary
replaces String constraints)
RealizationCapability + ProviderCapabilityAssertion + ProviderCapabilityEvidence
+ ProviderCapabilityVerificationState + CurrentnessBasis (ELA §8.4)
conformance envelopes: EXACT / APPROXIMATE(tolerance) / STOCHASTIC(distribution/reproducibility)
RealizationBinding / RealizationBindingGroup (typed joint obligations;
no pairwise->joint laundering)
late binding over a closed candidate set (preserved law)
provider request / result / evidence carriers that FAIL CLOSED on construction
semantic bridge that VERIFIES before bridging (output shape, contract/model
revision, standing/result-contract satisfaction, completion/accuracy
guarantees — ESIC §30 list) and never mints standing from provider success
provider substitution / fallback / failure classes that cannot weaken
declared guarantees
WRITE (indicative): crates/realization, crates/provider,
crates/conformance/tests/phase6_rm17_*.rs, evidence matrix.
CONDITIONAL: narrow construction/provenance hardening of carriers consumed by
the bridge (predecessor-crate pattern per trust-boundary discipline).
FORBIDDEN: any provider technology adapter; planner/runtime product work;
CLI/API changes; Analysis kernel extraction (RM-18).
5.2 RM-18 — Analysis + ML Reference Provider Extraction (OD-AN-01 physical)
Executes the CLOSED-R3 OD-AN-01 decision physically:
formasl-analysis keeps: semantic contracts, basis/interpretation,
targets/visibility, identity, conformance
relations, producer-bound AnalysisResult/
Prediction minting, conform_provider as the
SEMANTIC-side conformance gate
NEW reference-provider crate receives: structural kernels, ML kernels
(name per repo convention, (GraphSAGE/GD/losses), metrics; a provider
e.g. formasl-analysis- adapter presenting them through the RM-17
reference) boundary; deterministic CPU oracle role
conformance harness gains: known-answer fixtures, hostile fixtures,
provider-vs-reference differential checks
Extraction invariants: REFERENCE PROVIDER != TEST HARNESS; REFERENCE PROVIDER != PRODUCTION ENGINE; SEMANTIC CONTRACT != NUMERICAL KERNEL; the
semantic crate must not import provider-specific types; engine route and
reference route must both satisfy the same conformance relation; no Analysis
semantics change (kernel moves are physical; any behavioral difference =
defect).
Kernel classification (per candidate §5.3): PageRank/weak-components/
label-propagation/Jaccard/clustering/motif-conductance/metrics = pure
realization mechanism → move. GraphSAGE/losses/GD = realization mechanism
with semantically material parameters (all remain declared in the contract;
the kernels move, the semantics do not) → move. AnalysisContract,
ConformanceRelation, GuaranteeClass, CompletionChannel,
AnalyticalAdjacencyBasis, learning-visibility contracts = semantically
normative → stay.
WRITE: new crate + workspace membership, crates/analysis (remove kernel
modules, keep contracts), crates/conformance/tests/phase6_rm18_*.rs,
evidence matrix.
FORBIDDEN: FormaGraph implementation beyond OD-P6-04 ceiling; production
engine; framework adapters; semantic parameter defaults.
5.3 RM-19 — Provider Conformance / Substitution / Failure / Retry
Closes the dynamic realization semantics of ARCS §§10–13 and ACC §15 on top of RM-17/18:
EXACT / APPROXIMATE / STOCHASTIC conformance judgments at the boundary
pre-execution substitution (same frozen requirement; any conforming candidate)
attempt-level retry with deterministic arbitration (existing RetryPolicy
exercised at the boundary)
fallback WITHOUT silent guarantee weakening (declared envelope monotone)
distinct ExecutionAttempt identities per retry (existing law, now bridged)
training restart = distinct TrainingOccurrence (existing identity, now bridged)
capability currentness / validity windows (ELA §8.4)
checkpoint / state-correspondence contract for mid-run migration
(model parameters, optimizer state, randomness/sampling state, progress,
encoding — absent correspondence: restart/new attempt, never silent resume)
provider failure stays mechanism-channel (existing law, exercised against
hostile fixtures)
WRITE: crates/provider, crates/runtime (only where the checkpoint
contract touches attempt carriers), crates/conformance/tests/phase6_rm19_*.rs.
FORBIDDEN: scheduler product; distributed runtime; performance campaign.
5.4 RM-20 — Cross-Capability Realization Integration + Phase-6 Closure
Proves the generic invariant across H1 families without provider semantics leaking upward:
semantic application
-> provider-neutral realization requirement
-> binding
-> provider execution/evidence
-> semantic conformance bridge
-> situated semantic result
Required realization paths exercised across at least: Query, Reasoning, Transformation, Analysis/ML (reference provider post-RM-18), Validation, Governance, Scenario, Revision, Action/ExecutionRequest, Observation acquisition, Composition — each crossing the SAME boundary types, with per-family hostile discriminators. Closure gate: campaign four-NO audit plus the FP-P6 table of §8 all rejected with executable evidence.
FORBIDDEN: PUBLIC_RUN_FULL_H1; public CLI/facade completion; machine
schema successor; release/reaccreditation.
6. Required separations and their current state
Carried over from candidate §6. Three separations are NOT YET correct at the carrier level and are owned by RM-17:
ProviderCapabilityAssertion != ProviderCapabilityEvidence (carriers absent)
ProviderOutput != SituatedResult (bridge unverified)
The remaining rows are correct in law and are hardened/enforced at carrier level by RM-17 or exercised by RM-19/RM-20.
7. FormaGraph boundary (RATIFIED — OD-P6-04: ceiling B / default A)
Default: prepare and prove the generic provider boundary required by a future FormaGraph; do not implement FormaGraph as a production engine. Ceiling B: a minimal FormaGraph/reference-provider implementation MAY be introduced only if executable evidence demonstrates that it is genuinely necessary to close an in-scope Phase-6 realization/conformance obligation; the executor may choose B on that demonstrated trigger without returning to the owner, provided the work remains R0–R2 and strictly minimal.
Not authorized: full production FormaGraph; performance campaign; broad graph-algorithm catalog; distributed graph engine; new Analysis semantics.
Preserved: FormaSL semantic graph model = typed role-incidence / metagraph-native; petgraph-like mechanism != FormaSL semantic model; projections admitted explicitly only.
8. ML provider boundary (RATIFIED — OD-P6-05)
Production ML is supplied by external/interchangeable conforming providers (Burn, Candle, PyTorch, ONNX Runtime, specialized graph-ML engines, remote managed execution, future providers). No framework is normative (ARCS §15). Zero framework adapters are required for Phase-6 closure; one optional conforming-provider adapter as evidence is permitted, never required. The current CPU GraphSAGE path becomes the reference provider/oracle (RM-18); it never defines ML-in-FormaSL.
FrameworkDefault != AnalysisSemantics: self-loops, normalization,
sampling, role aggregation, negative sampling, loss semantics, optimizer
semantics, precision, missing/conflict handling, randomness/seed,
completion/convergence remain explicit contract coordinates (ACC §5;
ARCS §14).
9. Destructive preflight — FP-P6-01..16 rejection design
Carried over from candidate §9; every attack must be rejected in principle by the campaign, each with its enforcing WP:
| ID | Attack | Rejecting invariant (authority) | Enforced by |
|---|---|---|---|
| FP-P6-01 | provider self-description → capability evidence | ELA §8.4: assertion != evidence | RM-17 |
| FP-P6-02 | provider name → semantic contract identity | ESIC §28; FP-08 revision-exact binding | RM-17 |
| FP-P6-03 | provider success → semantic result | ESIC §30; two-channel outcomes | RM-17/19 |
| FP-P6-04 | provider output shape → standing | ESIC §30: bridge verifies standing/result-contract | RM-17 |
| FP-P6-05 | fallback → silent guarantee weakening | ARCS §13/§17 envelope monotonicity | RM-19 |
| FP-P6-06 | retry → same ExecutionAttempt identity | ARCS §11; ACC §15 | RM-19 |
| FP-P6-07 | training restart → same TrainingOccurrence | ARCS §11; ACC §15 | RM-19 |
| FP-P6-08 | same tensor dimension → embedding coordinate comparability | ACC §10 | RM-18/19 |
| FP-P6-09 | framework default → semantic parameter | ARCS §14; ACC §5 | RM-18 |
| FP-P6-10 | binary graph projection → original metagraph semantics | OD-AN-01 §2 | RM-17/18 |
| FP-P6-11 | harness implementation → public capability support claim | OD-AN-01; amendment §3 | RM-18/20 |
| FP-P6-12 | reference implementation → mandatory production engine | OD-AN-01; ARCS §15 | RM-18 |
| FP-P6-13 | pairwise provider satisfaction → joint realization satisfaction | ELA §8.7; FO-P3-11 | RM-17 |
| FP-P6-14 | current/latest provider/resource → exact revision realization | FP-08; ELA §8.8 | RM-17 |
| FP-P6-15 | provider evidence → Observation | OD-04; ESIC §30 | RM-17/20 |
| FP-P6-16 | provider/runtime result → source authority | OD-04; FORMASL.md §1 | RM-17/20 |
Closure condition: each row ends DISCRIMINATING EXECUTABLE PASS or AUTHORITY-BACKED NOT-APPLICABLE at RM-20.
10. Explicit exclusions (RATIFIED — OD-P6-06)
PUBLIC_RUN_FULL_H1
full public planner/runtime orchestration
public CLI routing for all H1 families / public API/facade completion
machine schema successor / historical machine schema revision-0 mutation
release packaging/distribution closure / release reaccreditation
release/tag/publication
full production FormaGraph implementation
mandatory Burn/Candle/PyTorch/ONNX integrations
performance optimization campaign
A small provider adapter or reference provider needed to prove the boundary is in scope; a production provider ecosystem is not.
11. Authority-sufficiency gate (Q1–Q7)
Carried over from candidate §11; all seven answers YES. No semantic invention is required anywhere in RM-17..RM-20; every normative determination cited above is owned by listed STABLE authority.
12. Terminal state meaning
PHASE_6_COMPLETE implies:
generic provider/realization boundary closed (typed, fail-closed, bridge-verified)
OD-AN-01 physically implemented (reference provider extracted; harness differential)
conformance/substitution/retry/migration semantics closed with hostile evidence
cross-capability realization witnesses green; FP-P6-01..16 rejected
It does NOT imply:
PUBLIC_RUN_FULL_H1 / CLI-PRODUCT-COMPLETE / MACHINE_SCHEMA_SUCCESSOR
FORMAGRAPH-IMPLEMENTED / PRODUCTION-ML-PROVIDERS-INTEGRATED
RELEASE-READY / PUBLICATION-AUTHORIZED
13. Authorization state
PHASE_6_CONTRACT = MATERIALIZED / STABLE (this document)
PHASE_6_IMPLEMENTATION = AUTHORIZED (RM-17 first; RM-18/19/20 serial)
PHASE_6_RISK_CEILING = R2
RM-17 = AUTHORIZED — NOT_STARTED at materialization
ACTIVE_WP = RM-17 upon WP start
PUSH / PUBLICATION = NOT_AUTHORIZED (owner pushes after terminal reports)
Git policy (RATIFIED — OD-P6-07): local commits authorized; push not authorized; force push forbidden; tags/releases not authorized.
Inter-WP continuity: the executor may proceed serially from RM-17 to RM-18/19/20 without new micro-authorization provided the previous WP is terminal, authority remains sufficient, work remains R0–R2, and no material R3 ambiguity appears (any R3 ambiguity → MATERIAL_CONTRACT_FAILURE → PROJECT_OWNER).
On successful Phase-6 closure: PHASE_7 = NOT AUTOMATICALLY AUTHORIZED; PUBLIC_RUN_FULL_H1 = NOT_CLAIMED; MACHINE_SCHEMA_SUCCESSOR = NOT_STARTED unless separately authorized; PUBLICATION = NOT_AUTHORIZED.
Projects, packages and the release store
FormaSL project commands organize sources into packages (authored in a
forma.toml manifest), optionally grouped into a workspace with one
governing domain. This chapter covers the project-mode workflow: manifests,
the lock lifecycle, project check/inspect/run/realize, formasl test, package sealing and verification, and source re-introduction.
forma.toml — the package manifest
Every package declares a manifest at its root:
format = 1
[package]
reference = "example.app" # PackageReference: [A-Za-z0-9][A-Za-z0-9._/-]*
version = "0.1.0" # VersionLabel: [A-Za-z0-9][A-Za-z0-9._+-]*
source-roots = ["src"] # production sources (required, non-empty)
test-source-roots = ["tests"] # test sources (explicit; may be empty)
default-target = "main"
[targets.main] # named RootSets only
roots = ["example::app"]
# [workspace]
# members = ["packages/member"] # only at the governing domain root
Dependencies are exact: alias = { package = "example.lib", version = "1.0.0" }
or alias = { package = "example.lib", workspace = true } for a workspace
member. Test-only dependencies use the same shape under
[test-dependencies]; they are admitted only inside test worlds and never
authorize a production import.
Active package and workspace members
Discovery starts at the current directory (or an explicit
--manifest-path) and resolves both the active package and the
governing ResolutionDomain. Inside a workspace member, commands still
find the ancestor domain; the active package stays the member:
- the subject of
check/run/realizeis the active package’sdefault-target(or the explicit--target/--rootselection); check --packagechecks the whole active package (package completeness), not the default world;formasl testandpackage sealoperate on the active package;- the domain lock and release store live at the domain root.
--manifest-path PATH selects the manifest at exactly that path; a missing
file fails (--manifest-path is never reinterpreted as an upward walk).
The lock: forma.lock
The domain lock (<domain-root>/forma.lock) records the exact selected
package/provider graph: package entries, sealed release ids, dependency
edges, the language semantic basis and the stdlib provider digest. It never
embeds source bytes or target-specific closures.
- Normal mode (no
--locked): after a complete exact resolution and validation succeeds, the resolver atomically replacesforma.lockwith the canonical solution. A partial or failed solution never becomes the lock. --locked: requires an existing valid lock, validates the current intent against it, and never mutates it. Any mismatch is a typedLOCK_OUT_OF_DATE(or integrity) diagnostic. A present-but-malformed lock is a schema/integrity failure, never silently treated as “lock missing”.--offline: exact local artifacts only; there is no fallback to names, versions, siblings or newest artifacts (v0.1 has no network).--frozen: exactly--locked + --offline(mutually exclusive with the individual flags).
Project flags combine with any of the four verbs in project mode, e.g.
formasl check --locked --root example::app.
Project-mode commands
With no explicit .fsl operands, the four verbs run in project mode over
the resolved domain:
formasl check [--manifest-path PATH] [--target NAME] [--root MODULE[@sel]] [--package]
formasl inspect [--manifest-path PATH] --view VIEW [--target NAME] [--root MODULE[@sel]]
formasl run [--manifest-path PATH] --gas N [--app NAME] [--target NAME] [--root MODULE[@sel]]
formasl realize [--manifest-path PATH] --for PLAN.fsp [--target NAME] [--root MODULE[@sel]]
Mode separation is strict: explicit .fsl operands cannot be combined with
project flags.
Tests: formasl test
formasl test FILTER... --receipt PATH discovers *.test.toml suites
recursively under the active package’s test source roots, builds the
test world (production solution + the package’s test overlay), and executes
each case against the sealed subject. Receipts are written atomically and
embed the production resolution digest, the test overlay digest, per-case
world evidence and exact machine outcomes. Exit classes: 0 pass, 1
mismatch, 2 invalid test/filter, 3 infrastructure failure. A filter is a
case-sensitive substring of the fully-qualified case id; zero matches is an
invalid test (receipt still written, exit 2).
Sealing and verifying releases
formasl package seal [--manifest-path PATH] [--locked|--offline|--frozen]
formasl package verify <sealed-release-dir>
formasl package source-rebind --reference <urn> --path <path>
formasl package source-new --path <path>
package seal freezes the active package’s exact production solution,
verifies it, re-checks the sealed bytes through real formasl::check,
runs the package’s required *.test.toml cases against the sealed
subject, commits the source ledger, and atomically publishes the release
into the domain store
(<domain-root>/target/forma/releases/<release-id>/). One
(package, version) coordinate binds at most one release id inside the
store; a second seal of different bytes under the same coordinate fails
with a typed conflict, while re-sealing identical bytes is idempotent.
package verify re-verifies a sealed release directory (read-only): the
release id is re-derived from the canonical core, every source digest is
checked, and each module identity is rediscovered from the sealed bytes.
--store and --ledger are not part of the v0.1 grammar: the release
store is ResolutionDomain-derived and the ledger is package-owned.
Supplying either is a typed usage error.
Inspecting the resolution: deps and explain
formasl deps # every selected provider + dependency edge
formasl explain <reference> # why one package is here (who requires it)
Both operate on the same governed resolution as check/run (normal mode
refreshes forma.lock; --locked/--frozen validate without mutating).
Output is deterministic text in canonical order; explain addresses a
package by its exact reference — there is no name search.
Remote packages: fetch and publish
formasl publish <release-dir> # verify + print the metadata document
formasl fetch <registry-base> # resolve metadata, transfer, verify, install
publish never touches the network (seal != publish): it verifies the
sealed artifact fail-closed and emits the registry metadata document; the
operator transports artifact + metadata to the registry. fetch reads the
metadata document, transfers the artifact separately, verifies every byte
against its digest before admitting it into the local release store, and
the ordinary resolver consumes it from there. The v0.1 transport is
plaintext HTTP/1.1 (no TLS, no redirects, no auth) or plain filesystem
locations; see Support and limitations.
Source re-introduction: source-rebind / source-new
The per-package ledger (<package>/.forma/source-ledger.json) tracks every
source path with immutable, monotone revisions. When a path returns after a
removal, an explicit decision is required:
package source-rebind --reference <urn> --path <path>preserves the named source reference and reactivates it at the path;package source-new --path <path>deliberately mints a fresh reference for a path whose previous entries are inactive; the old reference is never reused.
A path that is still actively bound fails closed; rebinding onto a path occupied by a different active reference also fails closed — deactivate or rebind that reference explicitly first.
Exit codes
Project commands follow the frozen taxonomy: 0 success; 1 product/semantic rejection; 2 invalid authored project/package/spec/selection or usage error; 3 driver I/O. See Errors and exits.
Support and limitations
FormaSL deliberately distinguishes source admission from runtime effect.
formasl check may accept a form whose current run bridge is deliberately
bounded, provider-dependent, or unsupported. The table below is the current
product boundary.
Public operations
| Operation | Implemented result | It does not imply |
|---|---|---|
check | accepted checked program or typed diagnostics | truth of a claim, source acquisition, or an external action |
inspect | summary or structured checked items | runtime execution |
run | typed application outcomes plus an aggregate status | persistence or provider invocation unless the outcome explicitly records it |
realize | plan binding or typed rejection | execution of a bound capability |
test | executed *.test.toml suite with an aggregate TestReceipt | production authorization of the tested claims; the receipt is evidence, not trust |
package seal / package verify | sealed release directory with re-derived id and verified digests, or a typed rejection | deployment, publication to a remote, or execution of the sealed capability |
analyze | the declared analysis application’s typed outcome (same engine as run) | contract/operator coordinates supplied from flags — they stay authored in source |
serve | one resolved project hosted over loopback HTTP with byte-identical machine envelopes | external network exposure, authentication, multi-application hosting, hot reload, or durable host-side operation state (owned by the execution plane) |
All source modules and realization plans are caller-supplied. Imports resolve against the supplied source set; FormaSL does not discover sibling files, download modules, or read an import from the filesystem implicitly.
Project mode (a forma.toml package with its forma.lock and release store)
binds these same four verbs to the resolved domain instead of explicit
operands; see Projects, packages and the release store. The
semantics of check/inspect/run/realize are identical in both modes;
project mode adds exact dependency resolution, the lock lifecycle, sealing,
and the test system.
Application-family support
| Surface family | Current run behavior | Important boundary |
|---|---|---|
match | runs the engine-backed query bridge (pattern conjunction, filters, optional, exists/not exists, alternatives, path traversal, COUNT/SUM/MIN/MAX aggregates, grouping, having, projection, ordering, slicing, graph views) | aggregates reduce over exact typed reducer-domain contracts; path completes under its reuse/selector contracts; an unadmissible clause fails closed with its owner’s typed outcome — never silently skipped, never laundered as complete |
infer | runs R1, R2, and R3 reasoning with a caller-supplied gas budget; rule using targets are formation-checked by resolved kind | a bounded run may return OUT_OF_GAS; R3 completion is reported under its goal/witness policy (COMPLETE_UNDER_GOALS, WITNESS_BUDGET_EXHAUSTED), not as unqualified truth; an ungoverned using target rejects with RULE_WIRE_REJECTION |
analyze | returns a typed analysis outcome | an operator can require an external provider or contract coordinates; formasl analyze is a thin facade over run --app and adds no coordinates of its own |
transform | executes authored rules productively through the native T1 kernel (TRANSFORM_EXECUTED) | exact-content coalescence keeps every source origin reconstructible as a dependence edge; a rule-less declaration is recognized as contract-only; the outcome is never evidence that an external target was materialized |
validate | returns a typed validation outcome | an evaluated result is not a global conformance certificate |
admit, authorize, decide | return typed governance outcomes, including denied/recorded results | they do not grant a real-world permission or execute a decision externally |
scenario, revise | instantiate the contracted scenario surface (with/assume/mask/substitute/introduce local/transition with a typed step judgment/embedded local application) as typed local outcomes | they seal their own hypothetical context; the baseline world is never mutated and never sees scenario content |
evolve source | returns a prepared source-evolution result | preparation is not publication or source replacement |
execution_request | records a typed REQUESTED result | recording is not dispatch or completion of work |
observe | reports NOT_ACQUIRED in the present bridge | no observation is acquired from an external system |
composition | returns a structured composition outcome | it is not an implicit orchestrator for external providers |
incorporate | runs the productive incorporation route over the promoted contract (S0–S7 gates over the real journal/publication carriers) or a typed gate refusal | APPLIED mints a successor source revision through the governed route; a gate refusal (NOT_APPLIED with its owning gate) is an executed gate sequence, not silent skipping, and never bypasses the authority mirror |
A selected run reports the worst aggregate status in this order:
REJECTED > RESOURCE_EXHAUSTED > UNSUPPORTED > COMPLETE. A completed
member therefore cannot hide a rejected, exhausted, or unsupported selected
member.
Material runtime limits by family
- Queries.
matchadmits pattern, path, optional, existence, alternatives, filtering, aggregate, grouping, selection, ordering, limiting, and graph-view clauses, and the current engine evaluates all of them. The aggregate operators are spelled exactlyCOUNT,SUM,MIN,MAX(uppercase) and are resolved against the exact language/operator basis, never inferred from a content name.SUMfolds only under an exact closed commutative-monoid reducer domain andMIN/MAXonly under an exact determining-order contract; an empty global group yieldsCOUNT0 and the typed additive zero forSUM, whileMIN/MAXleave their alias undefined without deleting the group.pathexecutes the full contract pipeline (endpoint correlation, role-exact steps, reuse policies, admissible family, selector, postfilter) and binds a structured path value distinct from any reference or display string. A source can still be accepted while a specific clause inside it fails closed under its owner’s typed outcome; the run outcome makes that visible, it never hides it. - Reasoning and rule authority. The
usingposition of aruleis a typed basis coordinate. On the public run path: atheory/ontologytarget is the reasoning authority; arelationtarget is a content/dependency coordinate that joins the executable chain through admitted rule heads or the application’s goal set; acontenttarget is a named basis coordinate under the selected authority; any other resolved kind rejects withRULE_WIRE_REJECTION. Goals never introduce reasoning authority and a foreign rule head never admits a foreign theory.checkadmits the source shape; executability is decided on the run path. - Transformations. Authored rules execute productively through the native T1 kernel over the accredited query matcher. Collision coalesces ONLY exact-content targets and preserves every source origin as a material dependence edge; coverage asserts no global preservation claim the source did not declare. A construct shape outside the productive route fails closed with its typed class; a rule-less declaration is recognized as contract-only (nothing to run), never laundered into a completion.
- Scenarios. The contracted surface instantiates as one hypothetical
context:
with,assume,mask,substitute, local introduction, hypothetical transition (a typed step judgment; a successor context is introduced only when the step’s precondition holds), and embedded local applications executed through the shared executor. Everything the scenario seals stays in its context; the baseline world is untouched. - Source evolution. An
evolve sourcerun creates a prepared candidate with aPreparedOnlyauthority guard. It never publishes, replaces, or persists a source unit. - Requests and observations.
execution_requestrecords a request with aRecordedOnlyeffectuation guard; request != attempt != execution. The bareobserverun route carries no acquisition session and therefore reportsNotAcquiredrather than inventing an observation; real acquisition runs ONLY through the productive P1 session (adapter family + source identity + guarantee scope, provider receipts at the cap, bridge admitted under the declaration’s own authority). An observed record is admissible evidence under its cap — never truth, and never an authorized action. - External execution plane (C1). The programmatic
formasl::execution_planesurface implements the ratified External Execution Plane contract: stable operation references, attempt occurrences only when the invocation actually began, independent authorization-standing and operational-outcome axes, reconcile-before-retry, and durable save/reopen with fail-closed integrity. Its ceiling is explicit: the plane performs real exposures only through a caller-sealed transport under the reference profile (one logical exposure, no automatic retry or redirect following). The wired native reference is loopback HTTP (127.0.0.1), so every conformance witness in this repository runs against controlled fixtures — aControlledFixtureEffectis never claimed as aProductionVendorEffect, and no receipt certifies external side effects beyond the bound capability’s declared guarantee scope. There the plane has no dedicated CLI dispatch verb — the application host (formasl serve) exposes the C-lanes only through the ordinaryrunoperation over the same executor, and the plane itself is not an orchestrator, not a scheduler, and not a payment/business layer. Further declared ceilings on the durable trust boundary: snapshot decode re-derives and coherence-checks every stored verdict and relation, but it cannot distinguish a hostile storage layer that rewrote an evidence item whose coordinates match the host attempt exactly (admission provenance is not carried by the v6 snapshot format); an admitted idempotency declaration’s key DOMAIN is enforced while its declared WINDOW is recorded, not clock-enforced (the reference route has no provider-side first-contact oracle); and the bound reference adapter offers no provider cancel channel, soCANCEL_ACKNOWLEDGEDremains a representable-but-unproduced class on this route. On the same boundary, decode validates control-event STRUCTURE — the append-order sequence (a cancellation can never be followed by a belated authority; the history begins with exactly one intent fact) and refuses erased-projection rewrites — but NOT cross-event tick values, because the clock is an explicitly non-persisted runtime component (§20 DB1/DB2): a legitimate post-reopen append on a fresh clock instance lawfully samples a lower tick, and rejecting that would make honestly-produced durable state permanently unreadable. The hostile-history space spans BOTH tamper directions, and both can reach the WRITE path, not merely a false readable record: (a) DELETION — deleting CONTROL facts (cancellation, intent, authorization event) while coherently re-plumbing the projection can re-arm the route (the surviving history is byte-identical to a never-cancelled one); deleting DISPATCHED ATTEMPTS fails closed against the minter-cardinality law (serials mint from 0 and the journal never removes, so the attempt set must equal the journal counter) — UNLESS the hostile layer also rewinds the journal counter. Deleting a SUFFIX with counter rewind survives reopening byte-identically to a shorter honest history — and when only the journal counter is rewound (the operation’s own generation kept), the erased route’s settled payload can be re-exposed a SECOND time under a legitimately-shaped owner retry authorization, whose prior=None the drained membership makes legal. And deleting a route’s ENTIRE plane-minted attempt chain together with rewinding both the journal counter and the operation’s generation re-arms it byte-identically to a fresh never-dispatched acceptance: the §12e gate reads the (rewound) counter, so that route then dispatches WITHOUT any retry authorization — pinned as measured behavior (mutation_full_chain_rewind_rearms_without_retry_authorization), not claimed as refused; (b) INSERTION — the paired fabrication of anAuthorityIssuedfact AND the matchingauthorityfield, with coordinates crafted from the readable operation, can re-arm a route the owner NEVER authorized (no decode law distinguishes the complete pair from a legitimate belated owner-attach, because the live route produces exactly the same durable bytes; the HALF-forgery — field without event — is refused by the pairing law), a fully coherent cross-operation re-point of a dispatched attempt (carrier edge + membership + question coordinate + receiver counter) survives as the same provenance ceiling (the global minter cardinality is unchanged; a HALF- rewire is refused by membership/carrier coherence), and a forgedCancelRequestedfact on a route that carries attempts contaminates accountability only (outcomes re-derive from the ledger; a settled attempt stays settled; a CR on an attempt-less route is now refused by the family law). Control events carry no admission provenance in v6; closing this space needs owner-signed control-fact provenance, which the contract places outside C1 decode scope — C4/real-transport accreditation keeps it under observation; the durable fence epoch is cross-checked for monotonic coherence at reopen (no missing fence, no rolled-back fence, no same-token/foreign-holder re-adoption), and a superseded but still-durable last publication remains readable by design — the stale-worker EXCLUSION law is enforced on the write path, and reopen alone does not identify the current writer. The §16 P2 classeslease-conflict,stale-fence, andpermit-ineligibleare mechanically representable but have no reachable producer on the reference route, which omits queue/lease machinery and mints its single-use exposure permit inside the same call it exposes (the permit-mismatch arms are structural defense for future multi-call routes), by §20 mechanism freedom; §12a I2 legs (b)–(d) are likewise future carriers —NotAdmittedhonestly covers every state without an admitted basis, and nothing settles replay without a represented admitted basis. Of the §17 T1 named roles, all are individually produced and durable on the reference route (request, intent-recorded, dispatch-authorization, occurrence, recording, transport-evidence, receipt, reconciliation- resolution, cancel-request, per-attempt retry-authorization) except one honest residual: the CANCEL-ACK time cannot exist without the declared-unproducedCANCEL_ACKNOWLEDGEDchannel. The RECONCILIATION-OPEN moment is durable with its own semantics per path (stage-7 law): the timeout/lost-ack admission samples its first-transition act asuncertainty_opened_at(refinement never overwrites — one open, one time), the dispatch-formed open coincides with the attempt’s own recording act (§6 AL runtime-controlled single-act formation, structurally evidenced), the cancel-race open carries theCancelRequestedevent time, and the late-observed discovery coincides with its recording act. - Compositions. The bridge can form supported stage/order/coupling
coordinates. It is not an external scheduler, and body forms without an
authorized public carrier — for example
case— fail typed rather than being ignored.
Claims, providers, and persistence
An asserted claim is source-authored information with an author/provenance field. Checking or matching it does not make the proposition true in the world. Likewise, a named realization binding only establishes that a checked plan matches a checked application under the implemented binder; it is not a network call, credential, deployment, observation, or durable write.
File-mode check/run do not persist anything: if an integration needs
persistence, it must own its own storage boundary and preserve the source,
revision, requested operation, and canonical machine result it records. In
project mode, persistence has explicit, owned surfaces — the forma.lock
domain lock, the package source ledger, and sealed release directories — each
with its own integrity checks. Sealing a package verifies and records the
sealed bytes; it still does not deploy, publish remotely, or execute anything.
Semantic memory (harness-internal)
The agent harness carries a Forma-native semantic memory: every cognitive
round’s context is the projection of a journaled, typed
SemanticContextEvaluation over the session journal, with standing-aware
current/history tiers, Zero/One/Many honesty, and derivation provenance
(see docs/book/src/autoridades/semantic-memory-v0.1/README.md). Its limits, as implemented:
- Not a public surface. Memory queries are an internal capability of
the agent harness (
crates/forma-agent+harness-*); theformaslCLI exposes no memory verb, and no service endpoint or.fslmemory query syntax exists. Integrations reach it through the harness crates, not through the toolchain contract. - No continuous scheduler. Currentness is decided by the reactive dependency machinery drained synchronously at cognitive round heads. Nothing invalidates between rounds, and no daemon, subscription, or cross-process notification is implied.
- Bounded context is not minimal context. The projection is bounded by the evaluation’s route and disclosure policy; it is not a guarantee of the smallest possible context for a need.
- Engine cost limits remain. The memory paths tested (round-1 recall, directed standing queries) complete within the verified envelope by semantic work reduction — the general fixpoint (F06) cost of the language is unchanged, and broad-need discovery legitimately retains corpus-wide cost.
- The semantic codec is an independent boundary. Memory accuracy is not natural-language accuracy: a codec defect surfaces as a codec failure, never as a memory discovery failure, and no NL memory query surface exists.
Tests and sealed packages
formasl test builds the test world from the production solution plus the
package’s test overlay, executes each *.test.toml case against the sealed
subject, and writes an atomic receipt embedding the resolution digests and
per-case outcomes. A passing receipt is reproducible evidence about bytes; it
is not a transferable certificate of semantic correctness.
formasl package seal re-checks the sealed source bytes through the real
public check, runs the package’s required test cases, and publishes the
release into the domain store. package verify re-derives the release id and
digests read-only. A second seal of different bytes under the same
(package, version) coordinate fails typed; identical bytes re-seal
idempotently.
Machine-schema limits
Use --schema-revision 1 for new machine consumers. Revision 0 is frozen and
fails closed if a run outcome belongs to a family it cannot represent (including
several current application families and R3-carrying reasoning outcomes); the
CLI then exits with the driver class (3) and reports the projection refusal
instead of fabricating a document. Revision 1 is a structured projection, not a
guarantee that an external system performed an effect.
Demos and the executable world
The repository’s demos/ tree carries remediated domain models (grid,
ownership/control, blast radius, trade compliance), the commerce and payments
realization campaigns, and the demos/executable-world/ situated witness
programs built over stdlib/sources/std/world/space.fsl. Demos are evidence
artifacts with pinned manifests; they are not part of the toolchain contract
and are not shipped with the CLI. Their presence does not extend any run-family
boundary documented above.
What is intentionally absent
The current CLI has no implicit package-download verb: packages are acquired
only as exact coordinates through formasl fetch (explicit registry base) or
the local release store — there is no name, version or popularity search
anywhere. The CLI does not select a default gas
budget. It does not execute a capability merely because a plan names it. It
does not turn an unsupported incorporation form into a synthetic result.
Remote packages (v0.1 registry boundary)
formasl fetch and formasl publish are the v0.1 distribution surface. The
minimum mechanism is deliberate:
registry = metadata index + immutable artifact store (no registry server in v0.1)
transport = plaintext HTTP/1.1 (no TLS) or filesystem locations
redirects = never followed (a relocation is never silently adopted)
auth = none; credentials never imply trust
publish = verifies the sealed artifact and prints the metadata document
only; moving artifact + metadata into a registry is an
operator action (seal != publish)
admission = every fetched byte is digest-verified before it enters the
local release store; cached copies re-verify on every fetch
(CacheHit != IntegrityProof)
resolution = fetched releases enter the ordinary E2 resolver through the
release store; there is no second, remote resolver
Plaintext transport makes remote fetch tamper-evident (changed bytes are rejected by digest verification) but not private. TLS, authentication and a registry server are future contracts; they are not silently assumed.
The separate fdoc binary (crates/fdoc) is the documentary-orchestration
tool — source admission over the frozen basis, editor sessions, publication
carriers, and preservation assessment. It is a campaign/product line of its
own with its own authority boundary: it never mints trust, and its strong
standings are introduced only through externally premised routes. It is not a
verb of the formasl CLI and adds no execution route to it.
For exact command applicability and exit codes see Toolchain and CLI. For typed diagnostics and recovery see Errors and exits.
Errors and exits
FormaSL errors are typed diagnostics or typed application outcomes. Do not use a substring of a text-rendered message as a programmatic contract; request JSON revision 1 or use the Rust facade when an integration needs structured fields.
First distinction: usage, rejection, driver, outcome
| Situation | Typical exit | What to do |
|---|---|---|
| unknown verb, missing required option, invalid option value | 2 | correct the command line; no source program has been evaluated |
| source parses/checks/rejects | 1 | read the diagnostic code and locus, then repair the source set |
| source/plan cannot be read or a projection cannot be made | 3 | repair the path, encoding, permissions, or requested schema revision |
| selected application is unsupported | 4 | choose a supported operation or keep the boundary explicit; do not simulate a result |
| reasoning budget exhausted | 5 | inspect the outcome, then choose and record a larger budget if appropriate |
run can also return a rejected aggregate with exit 1. An exit code is only
the top-level category: inspect the output’s per-application outcome and its
diagnostics before deciding how to recover.
Diagnostic classes
The facade classifies diagnostics as:
normative_rejection— a source/program invariant was violated;product_binding— an input set, import, or product-level binding is incoherent;driver— input/output, command, or external driver boundary failure;internal— an implementation invariant failure that should be reported with a minimal reproducer.
Common codes include:
| Code | Meaning | Recovery |
|---|---|---|
UNEXPECTED_TOKEN | lexer or parser could not admit the token in that position | start from a small accepted module; check quotes, braces, commas, and reserved words |
MALFORMED_RANGE | a bounded range has its lower bound above its upper bound | use an ordered range such as 0..1 or an open upper bound such as 0..* |
INVALID_UNBOUNDED_PATH_FORMATION | a path body declares an unbounded repeat (for example repeat 1..*) | give the path a finite upper bound so the route is checkable |
UNRESOLVED_REFERENCE | a name did not resolve in the current checked source set | declare it earlier, use a valid import, and pass every imported .fsl input |
AGGREGATE_GROUP_CORRELATION_REQUIRED | a rule-aggregate by ?key compatibility shorthand has zero DISTINCT exact-source candidate roles over the whole semantic rule | author the explicit correlation (by Source.role as ?key or by Source.role); a binder bound only by a different relation is not a source candidate |
AMBIGUOUS_AGGREGATE_GROUP_CORRELATION | the shorthand by ?key is positively bound by more than one DISTINCT role of the exact aggregate source | author by Source.role as ?key per intended component; correlation is never decided by spelling, order, type, or first match |
AGGREGATE_GROUP_BINDER_COLLISION | a MemberDerived output binder is introduced by more than one component, or collides with the aggregate result binder | use distinct output binders (as ?v), distinct from the aggregate’s result variable |
IMPORT_CYCLE | provided modules form an import cycle | break the cycle; imports must be acyclic |
DUPLICATE_SOURCE_REFERENCE | two SourceInput values use the same reference | give each supplied source a unique reference |
DUPLICATE_MODULE_NAME | two inputs declare the same module name | give modules distinct names or pass only the intended revision |
EMPTY_SOURCE_SET | the facade was called without source inputs | supply at least one complete module |
UNKNOWN_APPLICATION | --app or a facade selection names no checked application | use inspect --view applications and select the exact name |
RULE_WIRE_REJECTION | a rule’s using target resolves to a declaration kind with no defined rule-basis semantics (only theory/ontology authority and relation/content dependency coordinates are admissible) | re-point the rule at a theory, ontology, relation, or content basis; the source may parse, but it is not executable on the public reasoning path |
PROJECT_MODE_CONFLICT | explicit .fsl operands were combined with project flags, or a project-only flag was supplied to a command that rejects it | choose one mode: either explicit file operands or project flags, never both |
PORTABLE_PATH_INVALID | a package source-rebind/source-new --path value violates the portable-path grammar | use a package-relative path per the frozen release-contract grammar |
DRIVER_IO | the CLI cannot read an input path | correct the path or file permissions; keep .fsl and .fsp inputs explicit |
The parser’s source locus identifies the actual source span. Preserve it with a reproducer rather than replacing a rejected source with a dummy default.
Current surface-shape recovery
Several UNEXPECTED_TOKEN diagnostics are best repaired by checking the actual
header shape, rather than changing names at random:
| Intent | Implemented spelling | Frequent non-working sketch |
|---|---|---|
| selective module import | import Q { Name as Local } | import Q::{Name} or import Q::* |
| import a claim | import claim Q as local_claim | claim import Q … |
| constraint parameters | constraint Name using Basis($x: Type) { … } | constraint Name($x: Type) using Basis { … } |
| revision application | revise Name($x: Type) using Basis { … } | adding from $base to revise |
| source evolution | evolve source Name(…) using Basis from $base { by: $editor … } | omitting the required by: header |
| realization binding | bind capability to external "reference" | using $variable, ?witness, or a .fsl pure call as a realization value |
For a source import failure, pass the full import closure as explicit .fsl
operands. For a realization failure, retain exactly one .fsp --for plan and
check that every target it names exists in the checked program. See the
Language guide for the broader surface reference.
Intentional command-line failures
run has no hidden gas default:
formasl run examples/hello.fsl
realize has no hidden plan default:
formasl realize examples/hello.fsl
Both are command-line usage failures (exit 2). The recovery is to add the
required --gas N or exactly one --for PLAN.fsp; do not reinterpret a
missing argument as an empty resource budget or empty realization.
Machine-output failures
A JSON projection can fail closed when a frozen schema revision cannot represent
the observed run result. Use --schema-revision 1 for a new machine consumer.
That is not a conversion of the underlying semantic result; it selects the
current successor representation.
Reporting a defect
When a result looks inconsistent, report:
- the exact CLI command or facade request;
- every supplied
.fsland.fspsource (or a minimal redacted reproducer); - the exit status, diagnostic codes, and requested schema revision;
- whether a realization plan was supplied; and
- the expected typed outcome versus the actual one.
This separates an invalid command, rejected input, finite gas budget, and an implementation defect without guessing from prose alone. See Toolchain and CLI for the complete exit table.
Toolchain and CLI
Installed tools
The checked-in Rust toolchain pin is Rust 1.98.0. Cargo uses the workspace
lockfile and the CLI package is formasl-cli, whose executable is named
formasl.
cargo build -p formasl-cli --locked
./target/debug/formasl --version
./target/debug/formasl --help
Use the debug path while developing, or build the same binary with
cargo build --release -p formasl-cli --locked and use
./target/release/formasl. The command-line interface has four source verbs —
check, inspect, run, and realize — plus the analysis facade analyze,
the application host verb serve (see Serving a FormaSL
application), and the project verbs test and package
(seal/verify/source-rebind/source-new), documented in
Projects, packages and the release store.
The ordinary user workflow needs Rust and Cargo. The repository’s Agda
formalization is a separate toolchain: formal/toolchain.env pins Agda 2.8.0
and Agda stdlib 2.4. It is not required to check or run a .fsl file.
Command forms
File mode (explicit .fsl operands):
formasl check SOURCE.fsl... [--format text|json] [--schema-revision 0|1]
formasl inspect SOURCE.fsl... --view VIEW [--format text|json] [--schema-revision 0|1]
formasl run SOURCE.fsl... --gas N [--app NAME] [--for PLAN.fsp]
[--format text|json] [--schema-revision 0|1]
formasl realize SOURCE.fsl... --for PLAN.fsp [--format text|json]
[--schema-revision 0|1]
formasl analyze SOURCE.fsl... --app NAME --gas N [--format text|json]
[--schema-revision 0|1]
Project mode (zero .fsl operands; resolved from forma.toml/forma.lock):
formasl check [--manifest-path PATH] [--target NAME] [--root MODULE[@sel]] [--package]
[--locked | --offline | --frozen]
formasl inspect [--manifest-path PATH] --view VIEW [--target NAME] [--root MODULE[@sel]]
formasl run [--manifest-path PATH] --gas N [--app NAME] [--target NAME] [--root MODULE[@sel]]
formasl realize [--manifest-path PATH] --for PLAN.fsp [--target NAME] [--root MODULE[@sel]]
formasl test FILTER... --receipt PATH [--manifest-path PATH] [--locked|--offline|--frozen]
formasl package seal [--manifest-path PATH] [--locked|--offline|--frozen]
formasl package verify <sealed-release-dir>
formasl package source-rebind --reference <urn> --path <path>
formasl package source-new --path <path>
The project-mode forms are specified in Projects, packages and the release store.
All .fsl source operands are explicit. When a module imports another module,
pass both sources on the same command line; the CLI does not resolve an import
by searching the directory. realize requires exactly one .fsp plan. run
may receive a plan with --for so that the same checked binding is carried
into the run.
Option applicability
| Option | Applies to | Meaning |
|---|---|---|
| `–format text | json` | file-mode verbs |
| `–schema-revision 0 | 1` | JSON rendering |
--view | inspect only | one of summary, declarations, claims, applications, or subtypes |
--gas N | run, analyze (both required) | unsigned resource budget for applicable reasoning work |
--app NAME | run, analyze | select one exact application or composition name |
--for PLAN.fsp | run, realize | realization plan; mandatory for realize |
--manifest-path PATH | project mode | select the package manifest at exactly that path |
--target NAME / --root M[@sel] | project mode | override the default subject/root selection |
--package | check only | check the whole active package (completeness), not the default target |
--locked / --offline / --frozen | project mode | lock-fidelity and offline resolution discipline |
--port N | serve only | loopback port for the application host (default: OS-assigned) |
Options do not silently fall through to another verb. For example, --gas on
check, --view on run, and project flags on serve are usage errors. Explicit .fsl operands and
project flags are mutually exclusive (PROJECT_MODE_CONFLICT, exit 2); test
operands are case filters, never file operands. --store and --ledger are
not part of the v0.1 contract and always reject. The human-readable renderer is
called text.
inspect does report a composition count in its summary, but compositions
is not an inspect-view selector. The valid selectors are the five names in the
table above:
$ formasl inspect examples/hello.fsl --view compositions
usage: unknown view `compositions`
Inputs, source sets, and selectors
Every source operand is an explicitly named UTF-8 .fsl unit. A single
operand may not satisfy an import merely because the imported file sits beside
it; provide the complete import closure as additional operands. For example:
./target/debug/formasl check \
examples/F06-dag-composition-realization/artifact-model.fsl \
examples/F06-dag-composition-realization/canonical.fsl
The driver captures each supplied file once and retains the caller’s exact path string as the operational source reference. It does not normalize that path into a module identity, select a “latest” revision, or fetch/import missing modules.
--app NAME selects one checked application or composition by exact name.
Without it, run selects all run-addressable applications and compositions in
the checked program. Use inspect --view applications to obtain application
names; a composition is selected by its declared name even though the current
inspect view has no separate compositions selector.
realize needs exactly one --for PLAN.fsp. run may take one --for plan
as an optional binding input. The plan is admitted before the selected
application runs; a successful binding is not an instruction to invoke the
named external capability.
--schema-revision is valid only together with --format json; a revision
selector with text output is a usage error. The only accepted revisions are
0 and 1. help and version take no source operands or operation options.
Text and JSON results
Text output is for an interactive terminal. JSON output is the machine surface:
./target/debug/formasl check examples/hello.fsl --format json --schema-revision 1
The machine output is a canonical formasl.machine envelope with an operation,
subject, outcome, schema version, and schema revision. Revision 0 remains
available for the frozen projection but fails closed — with the driver exit
class (3) and a projection-refusal diagnostic — when a run outcome belongs to
a family it cannot represent. A JSON consumer should request revision 1
deliberately and validate the returned envelope rather than parsing text
output.
Exit behavior
| Exit | Meaning |
|---|---|
0 | accepted check/inspect/realize result, a run aggregate of COMPLETE, a passing test suite, or a completed package operation |
1 | semantic/product rejection, including a rejected run aggregate or a test mismatch |
2 | invalid command, operand, option, option combination, option value, or invalid test/filter |
3 | driver failure such as source/plan I/O, UTF-8/input handling, receipt write failure, or a failed machine projection |
4 | a selected run aggregate is UNSUPPORTED |
5 | a selected run aggregate is RESOURCE_EXHAUSTED |
In the CLI vocabulary, exit 0 is a completed public operation, exit 1 is a rejection, exit 2 is a usage error, exit 3 is a driver error, exit 4 is unsupported execution, and exit 5 is resource exhaustion.
The aggregate precedence is REJECTED > RESOURCE_EXHAUSTED > UNSUPPORTED
COMPLETE. Read the output diagnostic or structured application result; an exit value is a coarse category, not a replacement for it.
A deliberate option error is useful for checking the installed binary:
$ formasl check examples/hello.fsl --format pretty
usage: --format must be text or json
It must exit with status 2; use --format text instead.
Runtime selection and realization
run evaluates every selected application unless --app NAME selects a single
one. It requires --gas N even when the selected application ultimately does
not consume gas, because the command boundary does not invent a default budget.
For an R1/R2/R3 inference, insufficient gas is an outcome, not a successful
partial answer.
realize validates a plan against the checked program and reports bindings.
The plan must identify existing application targets and valid requirements.
Successful binding does not perform the external action named by a plan.
See Getting started for known-good local commands, Errors and exits for recovery, and Support and limitations for the semantic boundary.
FormaSL language guide
This is a reference for the implemented FormaSL surface, not a claim that every admitted construct has a complete evaluator, provider, or persistence route. The implementation keeps three boundaries separate:
| Question | Public operation | What a positive result means |
|---|---|---|
| Is the source admitted and elaborated? | formasl check | The supplied source set passed the current source and semantic gateway. |
| What checked structure was retained? | formasl inspect | The requested checked projection was produced; inspection does not execute an application. |
| What did a selected bridge do? | formasl run --gas N | One of the implemented family routes produced a typed outcome under that budget. |
A parsed form is therefore neither an external fact, a provider invocation, nor a durable mutation by itself. This guide labels source forms and records the runtime boundary for each family instead of deleting syntax whose execution route is intentionally bounded.
Fences labelled formasl-syntax and formasl-realization are complete
parser-admission witnesses for the source and realization planes. They are
executably parsed by the documentation gate, but are not presented as a promise
that every referenced contract resolves or every family has a productive runtime
bridge. Ordinary formasl fences are complete facade-checked examples.
Source and realization units
There are two concrete-language planes:
- A
.fslsource unit contains exactly onemodule. - A
.fsprealization unit contains exactly onerealization. It is a plan for bindings and requirements, not another semantic module.
The CLI checks the .fsl operands supplied on one command line as one explicit
source set. It does not search neighbouring directories to satisfy imports.
For example, the composition example requires both
examples/F06-dag-composition-realization/artifact-model.fsl and
examples/F06-dag-composition-realization/canonical.fsl on the command line.
Modules, imports, exports, and interfaces
The current parser accepts the following module-level forms. Q denotes a
qualified reference and Name a local identifier.
module Q { … }
import Q
import Q { Name, Name as LocalName }
import claim Q as local_claim
export { Q, Q as PublicName }
interface PublicInterface {
expose Q
expose Q as PublicName
}
import Q { … } is the selective-import spelling; do not invent a ::* or
::{…} spelling. Imports are resolved only against the explicit source set
provided to check, inspect, run, or realize.
module module_surface {
import other_module { Entity as ImportedEntity, Contract }
import claim other_module::foreign_claim as imported_claim
export { ImportedEntity as PublicEntity }
interface Public {
expose ImportedEntity as PublicEntity
expose Contract
}
}
Names, terms, expressions, and layout
- A bare identifier cannot contain
-; use"team-a"when the value is a hyphenated string. Reserved words such ascase,fact,base,view,app, and application-family keywords are not safe bare declaration names. Escape an identifier with backticks only where the grammar permits it. $nameis a lexical variable in claims, fields, and application parameters.?nameis a witness variable in patterns and rules._is an anonymous wildcard in atom/pattern positions.- A canonical relation or rule atom uses a parenthesized named-role map:
Rel(role: value, other: ?w). It is not a record literal and it is not a brace role map. - Expression positions accept literals, lexical variables, qualified
references, member access, lists, typed records, pure calls, unary
notand-, and the implemented binary operators. A witness variable is accepted only in a bound-expression position. - A hard line break or
;terminates a clause. Two clauses on one line require;; braces delimit modules and structured bodies.
The current declaration form is kind-led. In particular, content is a real
declaration kind; historical fact and base spellings are not aliases for
it.
Declarations and relation contracts
The frontend implements these kind-led declaration families:
// types and nominal structure
type Name<Param <: Bound> [specializes Parent] [ { field: value … } ]
alias type Name<…> = Target<…>
distinct type Name<…> = Target<…> [ { field: value … } ]
opaque type Name<…> [ { field: value … } ]
subtype Child <: Parent
// semantic declarations
relation Name<…> [using Q] { role … }
theory Name [using Q] { use Q | statement Name using Q { … } | adopt Q [under Q] }
ontology Name [using Q] { … }
rule Name using Q(?w: Type, …) { … }
constraint Name using Q($x: Type, …) { … }
policy Name using Q { … }
hypothesis Name($x: Type, …) using Q [ { … } ]
action Name($x: Type, …) [-> Result] using Q [ { … } ]
content Name [: Type] [using Q] [ { field: value … } ]
type … specializes … and subtype … <: … are distinct authored forms. A
subtype Child <: Parent must name an already admitted compatible type; it is
not a shorthand that creates the type declaration.
A relation has named roles. Each role uses one of the two current admissibility forms:
role name: Type [using Q] [ { role-contract-clause … } ]
role name accepts Q [using Q] [ { role-contract-clause … } ]
Within a role contract, current clauses include:
occurs 1 | 0..1 | 1..* counting Q
multiplicity: Q
ordering: Q
slot: Q
qualify: Q
correlation: Q
field_name: expression
A finite range with its lower bound greater than its upper bound rejects as
MALFORMED_RANGE. These clauses are source and checked contracts; their
presence does not assert an external store is enforcing the relation.
module declaration_surface {
type Entity
type Asset specializes Entity
alias type EntityAlias = Entity
distinct type AssetKey = Entity
opaque type Token
subtype Asset <: Entity
relation Owns {
role owner: Entity
role asset accepts Entity
}
content Basis
theory Base {}
ontology Catalog using Base {
use Base
statement entry using Base { note: "catalogue" }
adopt Base under Base
}
policy Gate using Basis {
clause allow {
where true
note: "policy"
}
}
constraint Valid using Basis($asset: Asset) {}
hypothesis Candidate($asset: Asset) using Basis {}
action Record($asset: Asset) using Basis {}
}
The following complete source is checked by the documentation gate and shows the basic type/relation/assertion path used by the larger examples:
module language_core {
type Person
type Topic
relation Mentions {
role speaker: Person
role subject: Topic
}
assert claim first_mention : Mentions(speaker: "sam", subject: "formasl") {
by : $guide
}
}
Claims and lifecycle records
Claims are relation occurrences with an authored lifecycle. The current surface
is not claim import; the import form leads with import:
import claim Q as local_claim
assert claim name : Relation(role: value, …) { by: expression … }
adopt claim existing_claim as local_name { by: expression … }
retract claim local_name { by: expression … }
supersede claim old_name with new_name { by: expression … }
The standard contract-field vocabulary includes by, for, under,
based_on, valid_at, recorded_at, scope, frame, and support. The
assertion body must include its by attribution. supersede records a
lifecycle edge; it does not delete the old occurrence and it does not, by
itself, calculate a unique “current” claim.
module claim_surface {
type Artifact
type Position
relation States {
role subject: Artifact
role position: Position
}
assert claim open_v1 : States(subject: $release, position: $open) {
by : $registry
valid_at : $t1
recorded_at : $t2
}
adopt claim open_v1 as accepted_open {
by : $reviewer
based_on : $review_basis
}
retract claim accepted_open {
by : $reviewer
based_on : $later_evidence
}
assert claim open_v2 : States(subject: $release, position: $open) {
by : $registry
based_on : $correction
}
supersede claim open_v1 with open_v2 {
by : $registry
based_on : $correction
}
}
For a checked lifecycle and conflict example, use
examples/F07-claim-lifecycle-conflict-time/canonical.fsl.
Query applications
A match application names a query over relation occurrences; it does not
match a type declaration. Its using Q header is optional (all other
application families require using Q):
match Name($parameter: Type, …) [using Q] [-> Result] {
query-clause …
}
A pattern witness begins with ? and uses a relation role map. Every referenced
relation and role must be declared. The complete query-clause surface and its
current execution boundary are described next.
module language_query {
type Name
relation Greets {
role greeter: Name
role greeted: Name
}
assert claim greeting : Greets(greeter: "world", greeted: "formasl") {
by : $guide
}
match FindGreetings() {
pattern ?greeting: Greets(greeter: ?who)
}
}
Query clauses, paths, and execution boundary
The following are current source clauses. Aggregate operators are spelled
exactly COUNT, SUM, MIN, MAX (uppercase) and resolve against the exact
language/operator basis — a content named Count is not an aggregate operator:
pattern ?occurrence: Relation(role: ?value, …)
path ?path from ?from to ?to { step Relation from role to role … }
where bound_expression
optional { query-match-item … }
exists { query-match-item … }
not exists { query-match-item … }
alternative [using Q] { branch { query-match-item … } branch { … } }
select expression [as alias], …
distinct expression, …
aggregate COUNT(expression) [by expression, …] [as ?aggregate]
group by expression, …
having bound_expression
order by expression [asc|desc], …
any N | offset N | limit N | top N by expression … ties Q
view graph Name { include bound_expression | field: expression … }
A path body also admits repeat min..max [as ?group] { … }, alternative set|multiset|using Q { branch { … } … }, each ?item in ?group where …,
summarize Q(expression) as ?summary, reuse: Q, and selector: Q. The
source grammar can read repeat 1..*, but the check boundary rejects an
unbounded path with INVALID_UNBOUNDED_PATH_FORMATION; use a finite upper bound
when the intent is a checkable bounded path.
module query_surface {
type Artifact
relation DependsOn {
role dependent: Artifact
role prerequisite: Artifact
}
content QueryContract
match QueryClauseMatrix($g: Artifact) using QueryContract {
pattern ?edge: DependsOn(dependent: ?x, prerequisite: ?y)
where ?x == $g
optional {
pattern ?next: DependsOn(dependent: ?y, prerequisite: ?z)
}
exists {
pattern ?exists: DependsOn(dependent: ?x, prerequisite: ?y)
}
not exists {
pattern ?missing: DependsOn(dependent: ?z, prerequisite: ?x)
}
alternative {
branch { pattern ?left: DependsOn(dependent: ?x, prerequisite: ?y) }
branch { pattern ?right: DependsOn(dependent: ?y, prerequisite: ?z) }
}
group by ?x
having ?x == $g
select ?x as dependent
distinct ?x
aggregate COUNT(?edge) by ?x as ?n
order by ?x desc
any 3
offset 1
limit 10
top 5 by ?x desc ties QueryContract
view graph DependencyView {
include ?x
}
}
match BoundedPaths() {
pattern ?edge: DependsOn(dependent: ?x, prerequisite: ?y)
path ?p from ?x to ?y {
step DependsOn from dependent to prerequisite
step ?w: DependsOn from dependent to prerequisite
repeat 1..3 as ?group {
step DependsOn from dependent to prerequisite
alternative set {
branch { step DependsOn from dependent to prerequisite }
branch { step DependsOn from dependent to prerequisite }
}
}
alternative multiset {
branch { step DependsOn from dependent to prerequisite }
branch { step DependsOn from dependent to prerequisite }
}
each ?step in ?group where ?step == ?x
summarize COUNT(?step) as ?summary
reuse: ReusePolicy
selector: SelectorContract
}
}
}
The implemented query engine (formasl_query::evaluate, routed through the
public run bridge) evaluates the full admitted match clause surface: pattern
conjunctions, where/having filters, optional, exists/not exists,
alternative branches, path traversal, COUNT/SUM/MIN/MAX aggregates
(each with its as witness), group by, select, distinct, order by,
any, offset, limit, top … ties, and view graph clauses.
- Aggregates are spelled exactly
COUNT,SUM,MIN,MAX(uppercase) and resolve against the exact language/operator basis, never inferred from a content name.SUMfolds only under an exact closed commutative-monoid reducer domain andMIN/MAXonly under an exact determining-order contract; a nonvalue among fold inputs is a typed rejection, never a silent skip. On an empty global groupCOUNTyields 0 andSUMthe typed additive zero, whileMIN/MAXleave their alias undefined without deleting the group. pathexecutes its contract pipeline — endpoint correlation, role-exact steps, reuse policy, admissible family, selector, post-filter — and binds a structured path/path-group value distinct from any reference or display string. The public machine projection renders it only under schema revision 1; revision 0 fails closed on such values rather than laundering them. An unboundedrepeatis rejected at check time withINVALID_UNBOUNDED_PATH_FORMATION.
Treat a match result as the result of this engine boundary: a clause that
cannot complete under its owner’s contract fails closed with its typed
outcome — never a silent skip, never a laundered COMPLETE.
For checked query fixtures, see
examples/F04-query-semantics/basic.fsl
and examples/F04-query-semantics/advanced.fsl.
Rules and bounded inference
A rule must lead with a declared using basis. Rule variables are witness
variables (?x), not lexical $x variables. A derived-head witness must be
range-restricted by the body; every variable in a naf atom must already be
positively bound in the same rule.
rule Name using Relation(?x: Type, …) {
when Relation(role: ?x, …)
naf Relation(role: ?x, …)
where bound_expression
exists ?w
aggregate ?n = AggregateQ(?value) by ?key
derive [positive|negative] Relation(role: expression, …)
}
infer Name($parameter: Type, …) using Basis {
theory: Q
goal Relation(role: ?w, …)
// or: goal: Q
}
Inside a rule body, the aggregate clause’s by group components admit
exactly three forms (OD-RC-R2-AGG-03):
aggregate ?n = COUNT(Source) by Source.role // member-derived
aggregate ?n = COUNT(Source) by Source.role as ?g // seeded or member-derived output
aggregate ?n = COUNT(Source) by ?key // compatibility shorthand
by Source.rolegroups by the source member’s role value; no same-named binder is synthesized.by Source.role as ?gcorrelates the member role with?g: when?gis positively bound elsewhere in the rule body the component is seeded (outer value → group), otherwise?gis an explicit output binder available after group selection.by ?keyis compatibility shorthand: the binder must be positively bound by exactly one DISTINCT role of the exact aggregate source over the whole rule; zero candidates reject withAGGREGATE_GROUP_CORRELATION_REQUIRED, more than one withAMBIGUOUS_AGGREGATE_GROUP_CORRELATION. Correlation by spelling, source order, or first match never decides.
Inside a rule body, the aggregate clause’s operator name is a declared
aggregate basis (for example a content), distinct from the uppercase
language operators used in match aggregates.
module reasoning_surface {
type Node
relation Edge {
role from: Node
role to: Node
}
relation Reach {
role from: Node
role to: Node
}
rule Seed using Edge(?x: Node) {
when Edge(from: ?a, to: ?b)
derive positive Reach(from: ?a, to: ?b)
}
rule Step using Edge(?x: Node) {
when Edge(from: ?a, to: ?b)
when Reach(from: ?b, to: ?c)
naf Edge(from: ?c, to: ?a)
derive positive Reach(from: ?a, to: ?c)
}
rule ExistentialReach using Reach(?x: Node) {
when Edge(from: ?a, to: ?b)
exists ?w
derive positive Reach(from: ?a, to: ?w)
}
content Basis
infer Reachability() using Basis {
goal Reach(from: ?from, to: ?to)
}
}
The implemented inference route covers the positive R1 closure path, the R2
route (including its admitted stratified-negation/expression subset), and the
R3 warded-existential route. It is bounded by --gas: a nonconverged route is
not a successful result. R1/R2 report FIXPOINT_REACHED or OUT_OF_GAS; R3
can report COMPLETE_UNDER_GOALS or WITNESS_BUDGET_EXHAUSTED; none stands
for an unbounded proof.
Rule using basis semantics (spatiality closure). The using position of
a rule is an exact-contract reference; formation — not resolution — owns its
basis semantics. On the public run path, the resolved declaration kind fixes
the disposition:
using target resolves to | Disposition on the public run path |
|---|---|
theory / ontology | Reasoning authority — the rule participates in an application only under that exact authority. |
relation | Content/dependency coordinate — the rule joins the application-relative executable chain when the relation is reachable through admitted rule heads or named by the application’s goal set. |
content | Named basis coordinate under the application’s selected authority — never independently authority-bearing. |
any other kind (rule, constraint, policy, hypothesis, action, type, …) | Typed formation rejection RULE_WIRE_REJECTION — no kind without defined rule-basis semantics is silently relation-like. |
The resulting conservation laws: goals never introduce reasoning authority, a
foreign rule head never admits a foreign theory, and content dependency is not
theory authority. Selection and reachability use exact resolved declaration
identities — never display names, module labels, or source ordering. check
admits the source shape; executability is decided on the run path.
The end-to-end witnesses are in
examples/F05-reasoning-completion/canonical.fsl.
A count of zero over a same-stratum derived relation is not a substitute for
negation-as-failure.
Application declarations and execution routes
All application signatures use named lexical parameters, optionally with a
depends Q dependency annotation, and may declare -> Result:
Name($x: Type, depends Q $y: Type) [-> Result]
match is the sole application family without a mandatory using Q. The
implemented headers are:
match Signature { match-clause … }
infer Signature using Q { infer-item … }
analyze Signature using Q [ { field: expression … } ]
transform Signature using Q { transform-item … }
validate|admit|authorize|decide Signature using Q [ { field: expression … } ]
revise Signature using Q [ { field: expression … } ]
scenario Signature using Q from expression { scenario-statement … }
evolve source Signature using Q from expression {
by: expression
[under: expression]
source-change-statement …
}
execution_request|observe|incorporate Signature using Q [ { field: expression … } ]
composition Signature [-> Type] { composition-statement … }
In particular, revise does not have a from clause. An evolve source
body requires its by: header; a sketch that omits it is not the implemented
surface.
| Family | What source/check retains | Current run boundary |
|---|---|---|
match | Full query clause surface above | Engine-backed bridge over the complete admitted clause surface: pattern conjunction, filters, optional, existence, alternatives, path traversal, COUNT/SUM/MIN/MAX, grouping, having, projection, ordering, slicing, and graph views; a clause that cannot complete under its owner’s contract fails closed with its typed outcome. |
infer | Rules and R1/R2/R3 goals | Bounded inference with typed closure, goal, witness, or resource outcomes; rule using targets are kind-checked (RULE_WIRE_REJECTION for ungoverned kinds). |
analyze | Analysis declaration and contract | Bundled analysis operators can complete; other operators return a typed provider requirement, not a hidden provider call. |
transform | Rules, contributions, and constructs | Authored rules execute productively through the native T1 kernel; exact-content coalescence keeps every source origin reconstructible as a dependence edge. A rule-less declaration is recognized as contract-only; a construct shape outside the productive route fails closed. |
validate, admit, authorize, decide | Governed application and contract fields | Typed local family result; no external-world mutation is implied. |
scenario | All scenario statements | The contracted surface instantiates as one hypothetical context: with, assume, mask, substitution, local introduction, hypothetical transition (typed step judgment), and embedded local applications; the baseline world is never mutated. |
revise | Revision contract | Typed local revision outcome; no external durable mutation. |
evolve source | Authored changes and authority header | Prepares a candidate only; it never publishes it. |
execution_request | Request and requester designation | Records a request only — no attempt, dispatch, or effect. |
observe | Observation bridge designation | Reports NotAcquired on the bare run route; real acquisition runs only through the P1 session (adapter family, source identity, guarantee scope, receipts at the cap) and stays evidence, never truth. |
incorporate | Incorporation declaration | Reports unsupported on the current run route. |
composition | Stages, order, and coupling declaration | Uses the composition kernel for supported stage/order/coupling coordinates; unsupported statement kinds fail typed. |
There is no separate formasl analyze CLI verb. Select an analysis application
through formasl run --app Name --gas N. run never converts REJECTED,
UNSUPPORTED, or RESOURCE_EXHAUSTED into a successful no-op.
Complete checked application witnesses
The reference templates above are intentionally compact. The following complete
modules are part of the executable documentation corpus and prove the public
check path for representative inference, lifecycle, transformation, and
governed-application forms.
module language_inference {
type Node
relation Edge {
role from: Node
role to: Node
}
relation Reach {
role from: Node
role to: Node
}
rule Seed using Edge(?x: Node) {
when Edge(from: ?from, to: ?to)
derive positive Reach(from: ?from, to: ?to)
}
assert claim edge_ab : Edge(from: "a", to: "b") {
by : $guide
}
infer Reachability() using Edge {
goal Reach(from: ?from, to: ?to)
}
}
module language_lifecycle {
type Artifact
relation Tracks {
role artifact: Artifact
}
assert claim first : Tracks(artifact: $release) {
by : $registry
}
adopt claim first as reviewed {
by : $reviewer
}
retract claim reviewed {
by : $reviewer
}
assert claim corrected : Tracks(artifact: $release) {
by : $registry
}
supersede claim first with corrected {
by : $registry
}
}
module language_transform {
type Device
type Value
relation Reading {
role device: Device
role value: Value
}
relation Normalized {
role device: Device
role value: Value
}
transform Normalize($d: Device) using Reading {
rule normalize {
match {
pattern ?r: Reading(device: ?device, value: ?value)
}
per match
construct Normalized as $normalized {
role device: ?device
role value: ?value
}
}
}
}
module language_governance {
type Agent
content ValidationPolicy
content AdmissionPolicy
content AuthorizationPolicy
content DecisionPolicy
validate ValidateAgent($agent: Agent) using ValidationPolicy {}
admit AdmitAgent($agent: Agent) using AdmissionPolicy {}
authorize AuthorizeAgent($agent: Agent) using AuthorizationPolicy {}
decide DecideAgent($agent: Agent) using DecisionPolicy {}
}
Transformation
A transformation has a mandatory match block, a contribution mode, and one or
more construct blocks. The admitted modes are per match,
per distinct_key by expression, …, and per group by expression, ….
A transform source can describe meaningful lineage and target construction even
though the present runtime returns DeclarationRecognized: the missing T1
world includes a materialized query basis, query-contract admission, target
constructors, coverage records, and collision/coverage/loss policy.
module transformation_surface {
type Sensor
type Device
type Value
relation ReportedReading {
role sensor: Sensor
role device: Device
role value: Value
}
relation NormalizedReading {
role device: Device
role value: Value
}
transform Normalize($d: Device) using ReportedReading {
rule normalize {
match {
pattern ?r: ReportedReading(device: ?device, value: ?value)
}
per match
construct NormalizedReading as $normalized {
role device: ?device
role value: ?value
}
}
}
}
The checked transformation witness is
examples/F08-transformation-lineage-dependence/canonical.fsl.
Its run result is intentionally not evidence that a new external target was
materialized.
Scenarios and source evolution
A scenario and a source evolution have different bodies and different runtime limits:
scenario Name($base: Type) using Basis from $base {
with field: expression
assume expression
mask expression under Q
substitute expression with expression under Q
introduce local Name: Type using Q { field: expression … }
transition hypothetical using Q { field: expression … }
let $result = Application(arg: expression, …)
}
evolve source Name($base: Type) using Basis from $base {
by: expression
[under: expression]
add binding expression
remove binding expression
replace binding expression with expression
relocate binding expression to expression
incorporate expression [as expression]
attach metadata expression to expression
}
The scenario parser preserves all listed statements, and the public runtime
instantiates the contracted surface: with, assume, mask, substitute,
introduce local, transition hypothetical (a typed step judgment; a
successor context is introduced only when the step’s precondition holds), and
embedded local applications (let $result = App(...)), which execute through
the shared executor and are carried on the outcome record. Everything a
scenario seals lives in its own hypothetical context; the baseline world is
never mutated and never sees scenario content. evolve source prepares a
candidate and stops before any publication or external state change.
module scenario_evolution_surface {
type State
content ScenarioBasis
content EvolutionBasis
scenario WhatIf($base: State) using ScenarioBasis from $base {
with discount: $d
assume $assumption
mask $old under ScenarioBasis
substitute $old with $new under ScenarioBasis
introduce local temporary: State using ScenarioBasis { note: "local" }
transition hypothetical using ScenarioBasis { note: "transition" }
let $result = Find(base: $base)
}
evolve source Migrate($db: State) using EvolutionBasis from $db {
by : $editor
under : $policy
add binding $new
remove binding $old
replace binding $x with $y
relocate binding $z to $location
incorporate $external as $merged
attach metadata $metadata to $z
}
}
This small scenario is a complete checked source and is the productive boundary for the current bridge:
module language_scenario {
type World
content ScenarioBasis
scenario SupplierOutage($base: World) using ScenarioBasis from $base {
assume $supplier_outage
}
}
Composition
A top-level composition is selected by run like an application. Its source
body can carry local invocation, staged invocation, ordering, coupling, case
branches, a returned expression, and an explicit unresolved marker. The core
composition form used by the current composer is:
composition Name($input: Type, …) [-> Result] {
let $value = Application(arg: expression, …)
stage stage_name = Application(arg: expression, …) [as $result]
order earlier before later
couple { stage_a, stage_b, … } using CouplingContract
case expression { outcome($binding) => statement-or-block … }
return expression
unresolved expression
}
module composition_surface {
type Artifact
relation DependsOn {
role dependent: Artifact
role prerequisite: Artifact
}
content Coupling
match FindDependencies($g: Artifact) {
pattern ?d: DependsOn(dependent: ?dependent, prerequisite: ?prerequisite)
}
composition Pipeline($g: Artifact) {
stage dependencies = FindDependencies(g: $g) as $deps
stage review = FindDependencies(g: $g) as $review
order dependencies before review
couple { dependencies, review } using Coupling
}
}
The multi-module checked witness is
examples/F06-dag-composition-realization/artifact-model.fsl
with
examples/F06-dag-composition-realization/canonical.fsl.
Pass both .fsl files, not only the importing file, to the CLI.
Realization (.fsp)
A realization is in a separate .fsp unit. It names a target and declares
binding/requirement preferences; it does not contain a module declaration and
it does not accept $ or ? values in realization-value positions.
realization Plan {
app ApplicationName {
bind slot to external "adapter/reference"
require slot: Capability
limit slot: value
prefer slot: value
budget slot: value
}
stage CompositionName#stage_name { … }
composition Name { … }
module Name { … }
source Name { … }
capability Name { … }
group GroupName {
member app ApplicationName
require slot: value
}
}
bind uses to; require, limit, prefer, and budget use :. A
realization value is a literal, qualified reference, external "…", list, or
typed record. A .fsl pure call and either variable class reject in that
position.
realization LocalReference {
app CandidateBasis {
require capability: Engine
bind capability to external "reference/formasl-r1"
}
app ValidateTransfer {
require capability: Engine
bind capability to external "reference/governance-library"
}
}
For the complete source/plan pair see
examples/RP01-bank-transfer/program.fsl
and examples/RP01-bank-transfer/local.fsp.
Use formasl realize program.fsl --for local.fsp and keep all required source
modules on the command line.
Authoring workflow
- Start with a complete
.fslmodule or.fsprealization, never a bare clause pasted into an unrelated plane. - Declare types, relations, and content bases before the claims, rules, and
applications that name them. Supply every imported
.fslmodule explicitly. - Run
formasl checkafter each structural change; use its typed diagnostic code and locus rather than treating a parse failure as an execution failure. - Run
formasl inspect --view declarations,claims,applications, orsubtypesto inspect what check retained. - Run only the intended item with
formasl run --app NAME --gas N. TreatREJECTED,RESOURCE_EXHAUSTED, andUNSUPPORTEDas different outcomes. - Use
formasl realizeonly with exactly one.fspplan via--for; a realization plan is a binding artifact, not an instruction to create an external resource.
For invocation and output details, see the Toolchain reference. For the maintained per-family boundary, see Support and limitations.
Applications on Forma: the reconstructed modules and products
Beyond the language and the platform components, the workspace ships an
application layer: 65 catalogued application modules and 24 complete
applications, all authored as .fsl semantic declarations. This layer is
the repository’s worked demonstration of Forma used as an application
language — real domains (banking, commerce, ERP, healthcare, ITSM,
infrastructure, defense), executable, with evidence that their refusals and
their reuse claims are load-bearing.
Status (retired 2026-10-16). The application layer described on this page —
application-kit/andapplication-products/— was removed from the live tree by owner decision; the unarchiveddemos/corpus is the repository’s live demonstration surface. This page documents the layer as delivered at the pre-removal master revision8f4efbc6. The retirement is carried by the bounded Application Layer Retirement State Amendment.
application-kit/pilot/ = the module kit: sealed K0 (56 modules) +
catalog (65 entries) + fixtures + witnesses
application-products/ = 24 reconstructed applications, each =
sealed modules + explicit composition +
an irreducible product-local delta
They were reconstructed, not sketched: a census of a frozen corpus of rich demo applications produced candidate module dossiers; the modules were implemented family by family under a gate ladder whose G17 law requires evidence to detect semantic mutations of load-bearing gates; the sealed core was re-accredited (56/56) and each application was then rebuilt on it, closed only after deletion and substitution attacks proved every claimed reuse edge. The full methodology is narrated in the documentation package:
| Document | What it covers |
|---|---|
| Package entry | what the layer is, operating state, boundaries |
| How it was built | census → K0 map → gated modules → seal → reconstruction → canonical waves |
| Module anatomy | package manifest, header contract, relations/rules, suite kinds, witnesses |
| Product anatomy | imports + delta, worlds, the eleven PRODUCT_CLOSED conditions |
| Getting started | verify the gates, run suites, read receipts (executed transcripts) |
| Tutorial | author a module end-to-end and attack your own rule |
| Inventory | all 56 + 9 + 1 modules and all 24 products, with purposes and origins |
| Definitions | K0, delta, witness, G17, load-bearing edge, and friends |
A taste of the operating surface — one command runs a product’s evidence:
$ cd application-products/stripe && formasl test
suite pass
stripe-negative::WebhookReplaySuppressedByDurableReceipt: pass
stripe-negative::ShapeOnlySubstituteNeverCompletes: pass
stripe-positive::JourneyIntentConfirmedWebhookBalance: pass
…
That single line — a negative case named “ShapeOnlySubstitute…Never Completes” passing — is the layer in miniature: the application does not merely compute the happy path; it refuses, provably and continuously, the structurally-similar-but-wrong inputs its domain is full of.
Everything in the layer runs through the same formasl CLI documented in
this guide (Toolchain and CLI); the catalog and the module
set are machine-verified at any time by two fail-closed gates (see the
package’s getting-started). Documentation is not semantic authority: the
architecture owner is docs/book/src/autoridades/43-application-modules-architecture.md
and the campaign evidence is Git-resolvable at the pre-cutover master commit
660426b2e056257056c54c73ed8dca429fe44419 (the campaign packages were eliminated with the development
documentation; the book and the live gates carry the current truth).
Getting started
This chapter uses only files already present in the checkout. Start from the repository root after following Installation.
A first source unit
A FormaSL .fsl file contains one module. The shipped
examples/hello.fsl is a minimal, checked program:
module hello {
type Name
relation Greets {
role greeter: Name
role greeted: Name
}
assert claim greeting : Greets(greeter: "world", greeted: "formasl") { by : $doc }
match AllGreets() {
pattern ?g: Greets(greeter: ?who)
}
}
It declares a type and a relation, records one attributable claim, and names a pattern query. The declaration is not a statement that the claim is true in an external world; it is source authority for this program.
Check before you run
check parses, resolves, and elaborates every explicit source argument as one
program. It is the first command to run after changing a source file.
$ formasl check examples/hello.fsl
ACCEPTED module hello
A successful check does not execute an application. Use inspect to see the
curated semantic projections exposed by the product:
$ formasl inspect examples/hello.fsl --view summary
module hello (unit examples/hello.fsl, basis 1)
declarations: 2
claims: 1
applications: 1
--view is mandatory for inspect. The available views are summary,
declarations, claims, applications, and subtypes.
Run an application with a budget
run always requires a gas budget. It never selects an unbounded default.
With no --app selector, the runner selects all applications in the checked
program; use --app for one exact application name.
$ formasl run examples/hello.fsl
usage: run requires --gas (no silent default)
$ formasl run examples/hello.fsl --app AllGreets --gas 1000
query AllGreets -> 1 solution(s) (completion EXHAUSTED_DOMAIN)
The result is a query result over the source-asserted occurrence. It is neither a new assertion in the source nor a write to an external system.
For the current reasoning examples, see
examples/F05-reasoning-completion/canonical.fsl. Its infer applications
exercise positive least-fixpoint reasoning, stratified negation-as-failure, and
the warded-existential R3 route. Gas exhaustion has a distinct result standing;
it is not a negative answer. The precise support boundary is in
Support and limitations.
Request machine JSON deliberately
The default presentation is text. For machine processing, request JSON and
an explicit schema revision. Revision 1 is the current successor machine
vocabulary for all public run-family outcomes.
$ formasl check examples/hello.fsl --format json --schema-revision 1
"schema_revision":1
A check envelope has the same six top-level fields in every machine result:
{
"schema": "formasl.machine",
"schema_version": 1,
"schema_revision": 1,
"operation": "check",
"subject": {
"id": "sha256:b186461740ace98cbb51d3e66db705dd2772c5d1b51b6413d7da5c6e2f321f97",
"sources": [
{
"reference": "examples/hello.fsl",
"revision": 1,
"content_digest": "sha256:d1cb651afb8fd40e6f22f4c7e86d71de77b29a4971caf19d162a959ddec608b9"
}
]
},
"outcome": {
"status": "ACCEPTED",
"diagnostics": []
}
}
--schema-revision applies only to JSON output:
$ formasl check examples/hello.fsl --schema-revision 1
usage: --schema-revision requires --format json
Do not parse text output as a protocol. Use the JSON projection and retain the schema revision with the result.
Bind a realization plan
A realization plan is an .fsp input that binds an already-checked application
or composition stage to explicit capabilities. It does not run those capabilities
or change the .fsl semantics. The repository contains a complete source/plan
pair for this route:
formasl realize examples/RP01-bank-transfer/program.fsl --for examples/RP01-bank-transfer/local.fsp
realize requires exactly one --for <plan.fsp>. run may also receive
--for <plan.fsp> to establish the exact bindings before it evaluates selected
applications. See Toolchain reference for the option matrix and
Programmatic API for the equivalent Rust calls.
Next steps
- Read Mental model for the distinction between claim, consequence, decision, execution request, and observation.
- Read the Language guide before extending the source.
- Read Projects, packages and the release store when your sources become a package with dependencies, tests, or sealed releases.
- Follow the Writing guide for a step-by-step tutorial with runnable witnesses.
- Use Errors and troubleshooting when
check,run, orrealizerejects an input or reports a non-complete standing.
Installation and local build
The implemented distribution path is a source checkout built with Cargo. This repository does not document a public package registry name, a download URL, or a universal platform support matrix. Do not substitute an unverified archive or an arbitrary binary for the checked source path below.
Required toolchain for the CLI
The workspace pins Rust through rust-toolchain.toml:
| Component | Current repository requirement |
|---|---|
| Rust toolchain | 1.98.0 |
| Rust edition | 2024 |
| Cargo | Supplied with the pinned Rust toolchain |
| Formatter and linter components | rustfmt and clippy for repository verification |
| Git | Needed to obtain and update a checkout |
With rustup installed, install the pinned toolchain and components once:
rustup toolchain install 1.98.0 --profile default --component rustfmt --component clippy
Entering a checkout that contains rust-toolchain.toml selects that toolchain.
Confirm the active versions rather than relying on a shell prompt:
rustc --version
cargo --version
Build from a checkout
Obtain the authorized FormaSL source by your normal source-control process, then run these commands from the repository root:
cargo build -p formasl-cli --locked
./target/debug/formasl --version
For an optimized local binary:
cargo build --release -p formasl-cli --locked
./target/release/formasl --version
Cargo normally writes the executable to target/debug/formasl or
target/release/formasl. Add the chosen directory to your own PATH only if
you want shell access to it; the repository does not install a global command
on your behalf.
--locked asks Cargo to use the checkout’s lockfile. The Forma-NeuG Rust
engine is acquired from its own repository at the immutable Git revision in
crates/storage-forma-native/Cargo.toml and Cargo.lock. No sibling checkout
or campaign worktree is required.
For an offline dependency closure, prepare all registry and Git sources while networking is available. Choose an empty directory outside the checkout:
offline_root=/path/to/empty-offline-build
mkdir -p "$offline_root/cargo-home"
cargo vendor --locked --versioned-dirs "$offline_root/vendor" \
> "$offline_root/cargo-home/config.toml"
Keep the whole generated source configuration: its Git source replacements are required alongside the crates.io replacement. With the pinned toolchain already installed, build from the checkout using that isolated Cargo home:
CARGO_HOME="$offline_root/cargo-home" \
CARGO_TARGET_DIR="$offline_root/target" \
CARGO_INCREMENTAL=0 RUSTFLAGS="" \
cargo build --release --locked --offline --target x86_64-unknown-linux-gnu
--offline prevents Cargo acquisition; verification of a network-denied
canonical build additionally runs the command in the repository’s network
sandbox. scripts/t26_build_evidence.py consumes the vendored closure,
including the pinned engine, and produces its integrity-bound build inputs.
The source-bundle assembler carries the generated Cargo source configuration
with those inputs; do not substitute a registry-only configuration.
Verify the local binary
A build proves that Cargo produced an executable; it does not prove that a particular source program is accepted. Run a small product check after building:
./target/debug/formasl check examples/hello.fsl
./target/debug/formasl run examples/hello.fsl --app AllGreets --gas 1000
The corresponding behavior and output are shown in Getting started. The broader repository verification commands are in Verification.
Formal checker toolchain is separate
Running the FormaSL CLI does not require Agda. The repository’s formal checker
has its own pinned inputs in formal/toolchain.env:
| Component | Pinned version |
|---|---|
| Agda | 2.8.0 |
| Agda standard library | 2.4 |
Use the repository’s canonical formal gate only when you are validating the formalization or working under its instructions:
bash scripts/check_agda.sh
Read formal/AGENTS.md before changing files under formal/. Tooling source
or credentials that a local formal environment may use are not part of a
program’s .fsl semantics and must not be copied into application source or
machine output.
Documentation preview
The user guide is an mdBook source directory. If mdbook is installed, render
it without writing a generated book into the source tree:
mdbook build docs/user -d /tmp/formasl-user-book
This rendering check validates Markdown structure and links in the generated book. The executable examples are independently checked by the Rust user-documentation gate.
Signed delivery tooling
The workspace also contains a separate formasl-distribution binary for
verifying and installing a supplied delivery. Its install command takes an
explicit archive, delivery metadata and signature, trusted public-key identity,
authorization inputs, recipient/profile/permission values, target, and prefix.
It does not discover a package or trust root from this guide.
Use that command only when an issuer has supplied those exact materials and has authorized the installation. A source build is the documented route for working with this checkout; an installer binary or a prior receipt does not by itself grant rights, prove a release is current, or create a network service.
Mental model
FormaSL keeps several distinctions that are easy to collapse in an ordinary data model. Keeping them separate makes the result of a check or run interpretable.
Source authority and realization are different planes
.fsl semantic source: vocabulary, claims, applications, compositions
.fsp realization source: explicit bindings for named applications or stages
A realization plan is not a configuration override for a semantic program. The
plan must bind against the exact checked basis selected by the .fsl source; a
revision mismatch or an unknown target is rejected. Binding a plan does not
execute an external provider.
A claim is an attributable assertion, not truth
module mental_model {
type Name
relation Greets {
role greeter: Name
role greeted: Name
}
assert claim greeting : Greets(greeter: "world", greeted: "formasl") { by : $doc }
}
The source says that issuer $doc asserted the Greets occurrence. It does
not establish that the occurrence is true outside the program, and it does not
turn a later query answer into a new claim. Source claims and derived
consequences have different provenance and different uses.
Check, inspect, run, and realize have different jobs
source inputs
│
├── check ───► CheckedProgram or typed diagnostics
│ │
│ ├── inspect ───► curated declarations / claims / applications / subtypes
│ │
│ ├── run ───────► typed application outcomes under explicit gas
│ │
│ └── realize ───► exact FSP bindings or typed diagnostics
│
└── no command here writes an external world or rewrites source claims
- Check accepts or rejects the full explicit source set. It does not prove that every admitted application has a complete reference execution bridge.
- Inspect is a structured projection of a checked program, not an internal debug dump.
- Run evaluates selected applications and preserves their result standing: complete, rejected, resource exhausted, or unsupported are not synonyms.
- Realize validates exact bindings. It is not provider execution, persistence, or a background scheduler.
Vocabulary comes from the standard library, situated in space
The stdlib/sources/std/ tree ships shared vocabulary modules —
std::forma::* and std::world::* (time, space, party, money, observation,
normative, security, and more). They are ordinary .fsl sources with ordinary
admission rules: pass them explicitly, and import selectively.
std::world::space in particular supplies the spatial referents and
qualitative constitutive laws (Place, Region, SpatialContains,
SpatialOverlaps, …) that situated programs use to say where something
holds, not just that it holds. A claim over a spatial relation is still a
claim — an issuer’s assertion with provenance — and a spatial containment
derived by the module’s own rules is still a derived consequence with its own
provenance. Spatiality changes the vocabulary available to your claims and
queries; it does not change the trust boundary between source authority,
derived consequence, and external fact.
The checker rejects incoherent surface input
Formation errors are errors, not repair requests. For example, a role range
whose lower bound exceeds its upper bound is rejected as MALFORMED_RANGE:
module bad_range {
type N
relation R {
role x: N {
occurs 3..1 counting N
}
}
}
The tool does not exchange 3..1, choose a default, or silently remove the
range. See Errors and troubleshooting for how to act on the typed
diagnostic.
Result standing is part of the result
The following pairs must not be treated as interchangeable:
| Distinction | Why it matters |
|---|---|
| Claim vs. truth | A claim carries an issuer; truth is not manufactured by source syntax. |
| Derived consequence vs. source claim | Rule output is computed under a stated reasoning route and does not rewrite source authority. |
FIXPOINT_REACHED vs. OUT_OF_GAS | A bounded run that did not finish is not a negative answer. |
R3 COMPLETE_UNDER_GOALS vs. witness-budget exhaustion | The existential route reports its completion boundary rather than collapsing it into a Boolean. |
| Validation vs. admission vs. authorization vs. decision | They are distinct application families with distinct typed outcomes. |
| Execution request vs. execution effect vs. observation | The reference runner can record a request or report observation standing without claiming an external effect occurred. |
| Realization binding vs. provider invocation | A plan binds exact capabilities; it does not perform outside work. |
| Text presentation vs. machine JSON | JSON is the integration surface; terminal text is not a wire contract. |
The reference runner is deliberately bounded
Some application families are complete within a defined reference route, some are projections or preparation records, and incorporation has no public semantic bridge. The runner reports this distinction in its typed outcome rather than pretending that all admitted syntax has the same operational meaning. Read Support and limitations before treating a result as a domain decision or an external action.
A useful authoring loop
- Write a small, explicit source set.
- Run
formasl checkand repair the specific diagnostic. - Use
inspectto confirm the checked shape. - Run one named application with an explicit gas budget.
- Request revision-1 JSON before integrating program output elsewhere.
- Add an
.fspplan only when you need explicit capability binding.
The Language guide describes the current surface forms; the Toolchain reference gives exact command applicability and exit behavior.
The Minimal Realization Backplane (MRS)
Most applications never touch the backplane directly: you write .fsl
semantics, declare .fsp realization plans, and the toolchain does the rest.
This chapter is for the moment an application must reach outside the
semantic engine — send a command to an external system, or accept an
observation from one — and you need to know what guarantees you are standing
on.
What it is
The Minimal Realization Backplane (MRS) is the socket where realizations
plug in. It provides the minimum mechanism for an application’s external
reach — one honest transport, one explicit clock, typed trust checks, one
effect-adapter boundary, and a terminal acceptance that refuses incomplete
chains. It realizes nothing by itself, carries no domain semantics, and runs
no applications; the engine decides, the .fsp plan binds, the backplane is
the plug.
Full documentation set: docs/mrs/backplane-v0.1/.
The one route to remember
Every external effect in FormaSL crosses the same gates, in the same order:
- Request — your authorized case leaves through one single-exposure transport request to an external system.
- HMAC — any callback is verified over its exact raw bytes.
- Freshness — a separate gate; a valid signature is not a fresh one.
- Readback — the external system’s own state is re-read with a distinct request; a response never proves its own effect.
- Permit — the effect is introduced exactly once; replays cannot mint a second one.
- Observation — what came back re-enters the engine as an admitted observation with a non-fabricable causal basis, never as truth.
If any gate fails, the chain fails closed. There is no retry that could silently duplicate an effect.
What you can run today
# the reference consumer: three domains over a real external fixture
cargo build -p formasl-mrs-fixture --bins
MRS_FIXTURE_BIN=$PWD/target/debug/mrs-fixture ./target/debug/mrs-demo-host
# the adversarial suites
cargo test -p formasl-mrs-fixture
cargo test -p formasl-mrs-terminal
A run prints one line per host execution with the external fixture’s process
id, port, and the terminal EffectRecords (occurrences ext-… minted by the
fixture’s independent ledger). Executed transcripts are in the package’s
TUTORIAL.md.
Boundaries worth knowing
- Controlled fixture, not production vendors: demonstrated effects run against a controlled external fixture; effect on a production vendor is not claimed.
- Ambiguous exposure is surfaced, not hidden: if a request was written but
the response lost, the transport answers
ExposureMayHaveOccurredand refuses to retry. - The permit is mechanism, not authorization: no
.fslapplication currently derives the right to introduce an effect through the backplane; that semantic authority is a known open limitation (the “orphan authority” caveat). - Documentation is not semantic authority: the crates
(
crates/transport,crates/time,crates/trust,crates/effect-adapter,crates/mrs-terminal,crates/e2e-controlled,crates/mrs-fixture) are the executable authority for the mechanism.
Naming note
The stack was renamed by owner decision on 2026-10-02: Minimal Realization Backplane, keeping the acronym MRS, every family key, and the crate names. Older documents saying “Minimal Realization Stack” are historical.
Deploying contracts to a Forma Network
The .fsl you write with this guide’s language rules does not have to
stay on your machine: Forma Network is the deployment and execution
target for contracts — a permissioned blockchain that orders operations
by consensus and executes them with the same real engine this toolchain
runs locally.
What the network adds on top of local execution:
- Consensus-ordered execution — your operation is ordered by a validator committee (Mysticeti) before it runs; every honest node computes the same outcome.
- Immutable, queryable receipts — each execution gets a durable,
content-addressed receipt with typed standings (
Executed{Complete},Rejected,OutOfGas), readable from any validator. - Contract lifecycle — sources are incorporated as immutable revisions (the real checker gates admission), deployed, invoked revision-exactly, and upgraded with historical binding: old receipts stay bound to the revision that executed them, forever.
- Cross-world atomicity — an operation can drive effects in multiple worlds all-or-none (DvP-style), surviving crashes between effects.
- Recovery — validators can be killed and restarted; state, history and identity recover from disk.
The language itself is unchanged: contracts are ordinary .fsl sources
(modules, relations, rules, infer applications). What the network adds
is the operational wrapper — incorporate/deploy/invoke/upgrade — and
the guarantees above.
Where to go
- Tutorial (start here):
docs/book/src/autoridades/network/forma-network-v0.1/TUTORIAL.md— your first contract end to end on a devnet, with real transcripts: incorporate → deploy → invoke → upgrade → atomic DvP. - Examples:
docs/book/src/autoridades/network/forma-network-v0.1/examples/— the devnet basis (three worlds, including two DvP worlds) and the tutorial contract at revisions R1 and R2. - RPC reference:
docs/book/src/autoridades/network/forma-network-v0.1/RPC-API.md. - Running a network:
docs/book/src/autoridades/network/forma-network-v0.1/GETTING-STARTED.md(devnet bootstrap) anddocs/book/src/autoridades/network/forma-network-v0.1/OPERATIONS.md(operations, recovery, monitoring). - How it works:
docs/book/src/autoridades/network/forma-network-v0.1/DEFINITIONS.mdand the SPEC documents in the same directory.
Boundary reminder
Local toolchain disclaimers elsewhere in this book (e.g. “the package
store has no network in v0.1”) are about this toolchain’s store and
APIs. Forma Network is a separate product — its guarantees and scope are
defined by its own contract
(docs/book/src/autoridades/contracts/forma-network-v0.1/CONTRACT.md)
and documented in the directory above.
Native Observability v0.1 — Platform Guide
Status: PERMANENT PRODUCT DOCUMENTATION (OBS-IMPL-01 finalization; contract NC-01..NC-15 frozen at commit 36b79545, Git-resolvable (the campaign package was eliminated with the development documentation; this page and the landed implementation carry the current surface)).
Native Forma observability is the platform’s own inspection machinery: typed, verifiable PROJECTIONS of native carriers — never a second ontology, never semantic authority. Everything a consumer sees is an answer about carriers that exist, with an explicit availability and an explicit reason when the answer is not plainly available.
Architecture and direction of authority
native carriers (action journal, execution plane, state-commit coordinator,
claim lifecycle, observation admission, harness session
records, workspace manifests)
↓ (adapters live IN the core crate; carriers are referenced, never copied)
formasl-observability (projections + non-collapse fences)
↓
one query surface (Observatory)
↓ ↓
formasl observe (CLI) Semantic UI read-side (admitted, rendered)
+ product integrations (supply-network, airspace)
Authority direction: carriers own the facts; the observability core owns the projection vocabulary; consumers own their UX. No consumer mints authority; rendering never mints standing.
The query surface (Observatory)
| Query | Answers |
|---|---|
inspect(subject) | the subject projection (identity class, kind, owning subsystem, basis, standing-as-carried) |
relations(subject) | carried edges with family + endpoints + flags |
fences(subject) | MUST-NOT-COLLAPSE annotations (negative, never edges) |
trace(kind, subject) | six separate families: runtime, execution, dependency, derivation, provenance, causal-effect |
dependencies(subject) | dependency-family visibility |
history(subject, cutoff) | RECORDED-HISTORY-AT-T (later knowledge excluded and counted; semantic-state-at-T = undetermined; complete-world-as-of-t = forbidden) |
topology(static/runtime) | separate projections; never converted into each other |
evidence(subject) | twelve labeled link kinds (native / derivable / manual / absent) |
reactive_path(subject) | ingress observations carried; engine internals honestly PARTIAL with the bridge named |
agent_grounding_recorded(session) | NC-12 grounding from digest-chained session records |
capital_account(module) | NC-13 five-way: source reuse / semantic reuse / semantic composition / runtime sharing / storage sharing — independent answers, ABSENT/NONE first-class |
Every answer is Answer<T> with a 7-state availability: available, partial, ephemeral, derivable, unavailable, undetermined, forbidden — silence is never “complete”, PARTIAL never renders as absence, FORBIDDEN never renders as an error.
The CLI: formasl observe
formasl observe <ledger-file> --digest <sha256> --view subjects
formasl observe <ledger-file> --digest <sha256> --view inspect --key <native-key>
formasl observe <ledger-file> --digest <sha256> --view trace --key <native-key> --trace-kind all|runtime|execution|dependency|derivation|provenance|causal-effect
formasl observe <ledger-file> --digest <sha256> --view history --key <native-key> [--cutoff <ticks>@<domain>]
formasl observe <ledger-file> --digest <sha256> --view evidence --key <native-key>
formasl observe <ledger-file> --digest <sha256> --view topology [--topology-kind static|runtime]
formasl observe <ledger-file> --digest <sha256> --view fences --key <native-key>
Machine-consumable JSON; a corrupted digest fails closed (ledger-corrupted); an unknown key is a typed subject-unknown refusal — never an empty list.
Semantic UI read-side (admitted + rendered)
The read-side adapter (formasl-semantic-ui-observability) consumes the SAME observatory, projects a progressive-disclosure ladder (PRODUCT → WHY → SEMANTICS → RUNTIME/HISTORY → ARCHITECTURE → EVIDENCE), and reaches a REAL ReadViewAdmission through the sole admit_read gate over a natively-resolved declaration subject, then a REAL StructuredRenderer render. No new admission class; I/A/E carrier display stays excluded (R3-OBS-03b, typed limitation rendered); a basis that was never checked fails closed.
Programmatic shape: render_observation_view(sources, source_reference, revision, declaration, &observatory, &subject) → AdmittedRenderedView { admission_id, admission_class, renderer_identity, rendered_text }.
Product integrations (same core, domain-native UX)
- supply-network (enterprise): the governed rn01 flow runs through the production run entry; the execution request is recorded through
run_execution_request_ininto a caller-owned journal, opened into its operation, and dispatched through the real C1 plane; the observatory projects journal + plane and the tower inspects its own chain (witnesscrates/api/tests/supply_network_enterprise.rs). - airspace (materially different): the product owns its adapter (
crates/formasl-product-airspace/src/observability.rs) mapping its real effect ledger into standard event projections; per-callsign command streams over the same queries (witnesstests/observability_consumption.rs).
Agent grounding (NC-12)
Grounding projects REAL harness session records (digest chain VERIFIED first; corruption fails closed): objective, per-round prompt bindings, semantic references, model surfaces, governed attempts with typed outcomes, memory view, skill authority boundary. Laws carried by construction: AgentGrounding != ChainOfThought; reproducible != replayable (digest anchors survive; provider bytes do not → partial + replay-inputs-not-preserved).
Capital five-way (NC-13)
Five independent dimensions with evidence-backed verdicts; sibling evidence never promotes a dimension. The witnessed collapse-kill: source reuse PRESENT while semantic composition ABSENT and runtime sharing ABSENT — simultaneously, from independent evidence.
Durability
Durable promises live in the carriers’ own artifacts: action-journal snapshots decode fail-closed against their digest; harness sessions persist via RecordJournal; the execution-plane snapshot is its own carrier. The observatory itself keeps no store. Governance/in-memory substrates are honestly ephemeral. F12 (persistent DOC adapter) is NOT TRIGGERED.
Performance
Sources enumerate once at builder time; queries are lookups/filtered iterations over registered projections; runtime topology derives from the registered relation set; JSON only at render/export time. No per-inspect journal scans, no per-query topology rebuilds, no universal graph per subject, no duplicated semantic world.
Exclusions (open, never silently resolved)
R3-OBS-03(SUI-half): SUI admission-class coverage for observability views — REGISTERED-OPEN (smallest owner question in campaign record 14 §Q11); the read-side adapter is admission-ready but renders only through the authorized declaration-subject route.R3-OBS-03b: I/A/E carrier display in SUI — EXCLUDED from v0.1, rendered as a typed limitation.F12: NOT TRIGGERED.
Campaign and decision history: Git-resolvable at commit 660426b2e056257056c54c73ed8dca429fe44419 (contract 13; waves 18–20; remediation 22; finalization 23 — campaign package eliminated).
The Forma platform: data and authoring components
Beyond the language itself, the workspace ships five delivered components
with their own documentation packages. Each package follows the same
standard: definitions with code anchors, a getting-started with an executed
transcript, an API reference, and honest scope statements. Documentation is
not semantic authority — the normative owners stay in docs/book/src/SUMMARY.md and
the component contracts.
| Component | What it is | Documentation |
|---|---|---|
| FormaFS kernel | The persistent-resource kernel: durable resources and exact states, versioned namespaces, representations, a changes feed, over a pluggable storage plane (durable provider: Forma-NeuG native engine) | docs/formafs/kernel-v0.1/ |
| FormaLake | The dataset capability over the kernel: nominal dataset identity, immutable versions with a frozen constitutive basis, explicit canonical bindings, ingestion lifecycle, N-ary transformation runs | docs/formalake/core-v0.1/ |
| FDOC 1.0 | Documents whose standing is typed: the .fdoctxt convention, the R1/R2/R3 authoring regimes, deterministic .FDOC packages, the local portal | docs/fdoc/fdoc-1.0/ |
| Forma Sheet | A spreadsheet with stable cell identity, exact decimal calculation, server-computed scenarios and FormaSL connectivity | docs/fsheet/forma-sheet-v0.1/ |
| Semantic UI | The downstream presentation layer: native results become admitted, disclosure-gated, fail-closed views (admission gate, 9 conformance profiles, text/HTML renderers) | docs/semantic-ui/v0.4/ |
How they stack:
Semantic UI (admitted presentation over native results;
e.g. the airspace control panels)
Forma Lake / FSheet / FDoc (capabilities and products)
FormaFS kernel (durable existence)
Storage plane (physical realization; Forma-NeuG native engine)
FormaSL (meaning — this guide)
One command serves the FDOC portal plus four Forma Sheet workbooks
locally: ./demo from the repository root (FDOC on
http://127.0.0.1:8075, sheets on ports 8141–8144).
Programmatic API
The workspace exposes the Rust facade crate as formasl.
Its public operations are deliberately small:
check(CheckRequest)turns explicit source inputs into aCheckOutcome.inspect(&CheckedProgram, InspectRequest)returns a structure-onlyInspectOutcome.run(&CheckedProgram, RunRequest)returns a typedRunOutcome.realize(&CheckedProgram, RealizeRequest)validates and binds an explicit realization plan.
The CheckedProgram carrier is produced by check; callers do not construct
one from fields. Diagnostics remain typed values rather than display strings.
Check a source set
Each source has a caller-chosen reference and revision. Imports resolve only
against the complete sources vector, so add every imported module explicitly.
#![allow(unused)]
fn main() {
use formasl::{
check, CheckOutcome, CheckRequest, CheckedProgram, Diagnostic, SourceInput,
};
fn source(reference: &str, text: &str) -> SourceInput {
SourceInput {
reference: reference.to_owned(),
revision: 1,
text: text.to_owned(),
}
}
fn checked(text: &str) -> Result<CheckedProgram, Vec<Diagnostic>> {
match check(CheckRequest {
sources: vec![source("memory:main.fsl", text)],
}) {
CheckOutcome::Accepted { program } => Ok(program),
CheckOutcome::Rejected { diagnostics } => Err(diagnostics),
}
}
}
CheckOutcome::Rejected is a normal result, not a panic condition. Match the
diagnostic code, class, and optional locus when a caller needs to make a
policy decision.
Inspect without running
Inspection does not evaluate applications. It exposes the checked summary or a selected structural view.
#![allow(unused)]
fn main() {
use formasl::{inspect, InspectRequest, InspectView};
let program = checked(r#"
module api_example {
type Entity
relation Seen { role subject: Entity }
assert claim c1 : Seen(subject: $alice) { by: $source }
}
"#)?;
let summary = inspect(&program, InspectRequest { view: InspectView::Summary });
assert_eq!(summary.items.len(), 1);
}
Available views are Summary, Declarations, Claims, Applications, and
Subtypes. The CLI inspect --view exposes the same five public categories.
Run an application
A run request is explicit about gas, optional application selection, and an
optional realization input. Passing application: None selects every runnable
application; Some(name) selects that exact name.
#![allow(unused)]
fn main() {
use formasl::{run, RunAggregateStatus, RunApplicationOutcome, RunRequest};
let program = checked(r#"
module api_run {
type Entity
relation Seen { role subject: Entity }
assert claim c1 : Seen(subject: $alice) { by: $source }
match Find() { pattern ?s: Seen(subject: ?who) }
}
"#)?;
let outcome = run(
&program,
RunRequest {
application: Some("Find".to_owned()),
gas: 1_000,
realization: None,
},
);
assert_eq!(outcome.aggregate_status, RunAggregateStatus::Complete);
// Match applications route through the engine-backed query bridge and report
// `QueryComplete` (the legacy pattern-only counterbridge was eradicated in
// QEC-FINAL-01 — the bridge is the single productive Match route).
assert!(matches!(
outcome.applications.as_slice(),
[RunApplicationOutcome::QueryComplete(_)]
));
}
gas is required because R1/R2/R3 reasoning consumes it. The runtime reports
ResourceExhausted instead of inventing a result when a reasoning run reaches
the supplied budget. Other application families can declare gas
not-applicable; see Support and limitations.
Realize a checked application
A realization plan is separate .fsp text. The operation binds the plan to
the checked program; it does not invoke an external capability merely because
the plan names one.
#![allow(unused)]
fn main() {
use formasl::{
realize, RealizationInput, RealizeOutcome, RealizeRequest,
};
let program = checked(r#"
module api_realize {
type Entity
relation Seen { role subject: Entity }
assert claim c1 : Seen(subject: $alice) { by: $source }
match Find() { pattern ?s: Seen(subject: ?who) }
}
"#)?;
let plan = RealizationInput {
reference: "memory:plan.fsp".to_owned(),
revision: 1,
text: r#"
realization Local {
app Find {
bind capability to external "example-capability"
}
}
"#
.to_owned(),
};
match realize(&program, RealizeRequest { plan }) {
RealizeOutcome::Bound { bindings } => assert!(!bindings.is_empty()),
RealizeOutcome::Rejected { diagnostics } => return Err(diagnostics),
}
}
If the same plan is intended to constrain a later run, pass an equivalent
RealizationInput in RunRequest::realization. The run outcome then carries
the bindings it admitted; it does not substitute a default plan.
Machine JSON
The facade exposes structured machine projections. Prefer revision 1 for a new integration: revision 0 is frozen and deliberately refuses run outcomes whose families it cannot represent. Do not treat the text renderer as a machine protocol.
#![allow(unused)]
fn main() {
use formasl::{machine_run_rev1, program_subject};
let (_program_identity, subject) = program_subject(&program);
let document = machine_run_rev1(&outcome, subject)?;
// `document` is the facade's canonical JsonValue carrier.
}
Every machine document is an envelope. A schematic successful run projection has this shape (the identities and outcomes are produced by the facade, not caller-supplied defaults):
{
"schema": "formasl.machine",
"schema_version": 1,
"schema_revision": 1,
"operation": "run",
"subject": {},
"outcome": {
"aggregate_status": "COMPLETE",
"applications": [],
"diagnostics": []
}
}
The CLI’s --format json --schema-revision 1 uses the same projection family.
Select the revision explicitly in an integration and validate both the envelope
and the operation-specific outcome; do not infer success only from a process
exit code.
Boundary of this API
The facade is the implemented product boundary, not a claim that every parsed surface form has a complete external effect. It does not expose a persistence transaction, a network provider, or an implicit source loader. In particular:
checkreports source/product diagnostics; it does not certify a claim true.runreports typed per-application outcomes and aggregate precedence.realizebinds an explicit plan; it does not itself call a bound provider.- canonical projections fail closed when a requested frozen revision lacks a representation for the observed result.
For current family-by-family execution support, use Support and limitations. For CLI option and exit semantics, use Toolchain and CLI.
FormaSL User Guide
FormaSL is a language and reference product for checking, inspecting, and running semantic programs. This guide describes the public surface implemented by the current Rust workspace. It is deliberately narrower than a language roadmap: when a construct is admitted but its reference execution bridge has a limit, the limit is stated here rather than inferred away.
$ formasl --version
formasl 0.1.0
What is available now
The formasl command works on explicit .fsl source inputs and offers four
operations (plus project-mode test and package, see
Projects):
| Operation | Purpose | Required inputs |
|---|---|---|
check | Admit, resolve, and elaborate a source set into a checked program. | One or more .fsl files. |
inspect | Project a checked program into a curated view. | .fsl files and --view. |
run | Evaluate selected applications over a checked program. | .fsl files and explicit --gas; --app is optional. |
realize | Bind one explicit .fsp realization plan to exact checked-program bases. | .fsl files and exactly one --for <plan.fsp>. |
analyze | Run one declared analysis application (thin facade over run). | .fsl files, --app NAME, and --gas. |
serve | Host one resolved project as a long-lived application over loopback HTTP. | A project directory (uses forma.lock; see Serving). |
The public Rust facade provides the same operations—check, inspect, run,
and realize—as synchronous functions. Its support class is PREVIEW: it is
not a stable SDK, a network protocol, or a persistence protocol. See
Programmatic API before embedding it in another product.
Text output is for people. JSON output is a canonical formasl.machine machine
projection. Integrations should request JSON explicitly and select
--schema-revision 1 when they need the successor schema that represents the
current run-family outcomes.
Product boundaries in one page
- A
.fslsource unit declares semantic vocabulary, claims, applications, and compositions. It is not a live database or an implicit network request. - A
.fspsource unit is a realization plan. It binds named application or stage requirements to explicit capabilities; it does not alter the meaning of the.fslprogram and does not invoke a provider by itself. assert claimrecords an attributable source assertion. It is not a proof of truth, and a result produced byrunis not an authoritative source update.- The reference runner supports query, R1/R2/R3 reasoning, validation, governance, scenario, revision, source-evolution preparation, execution-request recording, observation standing, analysis routing, transformation projection, and composition. These families have distinct boundaries; for example, transformation evaluation is not covered and incorporation is reported as unsupported. Read Support and limitations before relying on a result family.
Reading routes
Authoring a program
Integrating the engine
Diagnosing a rejection or a non-complete run
How this guide stays tied to the product
The repository test crates/cli/tests/user_docs_gate.rs admits every
formasl source block in this guide, parses the marked full-surface reference
blocks in the language guide, executes documented CLI examples, resolves links
and referenced example paths, and parses the JSON examples. That gate is useful
evidence that the examples match the checked checkout; it is not a claim that
every possible program has been verified or that an execution result has
external authority.
Serving a FormaSL application
This page documents the Block D application host: loading a resolved project as a long-lived application and invoking typed operations over loopback HTTP. The host is a new access shape over the same engines the CLI uses — it is not a second runtime, and transport outcomes never rewrite semantic outcomes.
What serve does
formasl serve <project-dir> loads exactly ONE resolved application
world per process:
discover project → resolve dependencies (frozen) → exact closure →
checked program → bind loopback HTTP → READY
Resolution is always frozen (--locked + --offline semantics): the
host validates forma.lock and never mutates it. A missing or stale lock
is a typed startup failure — the host never refreshes resolution. An
invalid project, an unresolvable dependency, or a rejected source set
each fail startup with exit 3; a partially loaded server is never
started.
The world is frozen for the process lifetime: no hot reload, no multi-application hosting. Application identity reported by the host derives from the project contract (package reference, version label, resolution digest) — never from the port, PID, or filesystem path.
$ formasl serve
usage: serve requires a project directory
Operations
The public operation set is closed: check, inspect, run, health.
POST /op/<name> carries the operation; unknown names are typed protocol
rejections, never fallbacks.
| Operation | Body | Notes |
|---|---|---|
check | (empty) | Machine envelope of the loaded world’s check. |
inspect | {"view": "summary"} | View is required; same five views as the CLI. |
run | {"gas": 1000, "application": "Name"} | Gas is mandatory; application is optional exactly as --app. |
health | — (GET /health) | Readiness only; claims nothing about providers or future success. |
Semantic outcomes ride HTTP 200 in the machine envelope
(formasl.machine, schema revision 1). A transport success never launders
a semantic rejection, and a semantic rejection never becomes a transport
error:
HTTP 200 + outcome.aggregate_status = "REJECTED" ← possible and normal
HTTP 413 TRANSPORT_BODY_TOO_LARGE ← infrastructure, not semantics
HTTP 400 GAS_REQUIRED ← protocol rejection, not engine output
Gas is a semantic budget inside the run; request timeouts and client
disconnects are infrastructure events and never become OUT_OF_GAS, nor
does gas exhaustion ever look like a network failure.
CLI and host agree byte-for-byte
Under the same project, lock, and operational source coordinates, the
host’s check and run envelopes are byte-identical to the CLI’s
--format json --schema-revision 1 output. There is one engine; the host
is another door into it. The analyze verb follows the same rule: it is
a thin facade over run --app, and every contract/operator coordinate
stays authored in the source, never in CLI flags.
$ formasl analyze examples/hello.fsl
usage: analyze requires --app NAME (the declared analyze application)
Limits of this version
- One application per process; one project per process.
- Loopback only (
127.0.0.1); a non-loopback bind is not offered in this version — put a reverse proxy in front if you need external access, and treat its authentication as an access boundary, not as FormaSL governance authorization. - Bounded by operational limits: 4 MiB request bodies, 8 concurrently executing requests, 64 concurrently served connections. These are infrastructure policy; they do not redefine gas or the language.
- A duplicate
Content-Lengthheader (conflicting or identical values) is a typed400 TRANSPORT_MALFORMEDtransport rejection: it is a request-smuggling shape, never a lenient last-value-wins parse. - A
Transfer-Encodingheader (includingchunked) is a typed transport rejection naming the cause. The host never silently ignores it and never reports the resulting short body as a protocol or semantic outcome. Expect: 100-continueis tolerated: the host sends no interim100and produces the final response once the client sends its body. Clients that wait for an interim response before sending will see the delay, not a rejection.- Every connection read is bounded by a 30-second read timeout. A client
that stalls mid-request gets
408 TRANSPORT_READ_TIMEOUT— an infrastructure event, never a semantic outcome and never gas exhaustion. A stalled client therefore cannot pin the host. - Request bodies must be valid UTF-8 with string literals that are valid UTF-8; violations are typed transport/protocol rejections. Multibyte selectors arrive at the engine byte-exact.
- Fields that do not apply to an operation (
viewonrun,gasoninspect, anything oncheck) are rejected with the typedUNSUPPORTED_FIELDprotocol rejection. - Restart reconstructs the world from disk (lock + sources + checked program) with identical identity and byte-identical envelopes. In-process execution-plane session state is session-bounded by law (the execution plane’s in-memory profile); durable operation state is owned by the execution plane, not by the host process.
Spatiality and computer-vision perception
Forma treats space and perception as a two-plane boundary with one governed
door. The language (std::world::space) knows only qualitative spatial
relations — Region, Place, SpatialReferenceSystem, Representation,
SpatialContains/Overlaps/Adjacent/Disjoint with transitivity and
symmetry — and deliberately has no coordinates and no metric. All metric
computation (geometry, CRS transforms, camera homographies, neural object
detection, radar tracking) lives on the realization plane behind the MRS
provider boundary, and reaches the semantic world only as evidence admitted
through a bridge authorized by the resolved .fsl declaration itself.
SEMANTIC PLANE (.fsl) REALIZATION PLANE (MRS/providers)
Region, SRS, Representation geo / proj4rs / nalgebra / tract-onnx
SpatialContains, SpatialOverlaps, ... RegionRing, CrsSpec, homography, ONNX
qualitative, zero coordinates metric computation, digest-pinned
▲ │
└──────── ADMITTED OBSERVATION BRIDGE ─────────┘
ProviderEvidence != SemanticOutcome; the provider never
chooses the authority — the resolved declaration does
What the implementation covers:
| Capability | Mechanism | Where |
|---|---|---|
| Metric geometry | geo crate (and an external shapely/GEOS process as a substitute provider) | crates/spatial-perception-providers |
| CRS transforms | proj4rs, declared source/target (WGS84 → UTM 23S in the demo), no axis guessing | crates/spatial-perception-providers |
| Camera frames | ground-plane homography over a SHA-256-pinned calibration artifact | crates/spatial-perception-providers |
| Object detection | a separate OS process running real ONNX inference (tract-onnx, YOLOv8n/v5s, COCO-80, digest-pinned model and image) | crates/yard-perception-provider |
| Radar tracking | deterministic clustering → gated Kalman association → N-of-M initiation → scored correlation proposals with preserved ambiguity | crates/formasl-product-airspace |
| Projection | deterministic projection artifact with exact reverse correspondence (feature → SubjectRef → semantic referent) and a domain-rule-free map surface | crates/spatial-perception-providers, demo surface |
The non-collapse laws are the load-bearing part: detection != observation != claim, score != truth, bounding box != region, computed containment != SpatialContains, projection != source mutation, provider failure != semantic negative result. Each is protected by an executable hostile witness
(the perception suite runs 27 of them, including real ONNX inference and a
headless-browser surface witness).
Deep documentation (language level, realization contracts, perception, admission, projection, tutorial with executed transcripts, operations): docs/spatial/spatial-v0.1/. The airspace application that exercises the same machinery at product scale is documented in docs/applications/airspace-control/.
Summary
- FormaSL user guide
- Getting started
- Installation and local build
- Mental model
- Language guide
- Projects, packages and the release store
- Deploying contracts to a Forma Network
- The Forma platform: data and authoring components
- The Minimal Realization Backplane (MRS)
- Native observability
- Applications on Forma: the reconstructed modules and products
- Spatiality and computer-vision perception
- Programmatic API
- Serving a FormaSL application
- Verification
- Support and limitations
- Toolchain and CLI
- Errors and exits
Verification
Verification is layered. A green command establishes only the property that command exercises; it is not a substitute for a different semantic or formal claim.
Product-facing checks
From the repository root, build the CLI and exercise the public route:
cargo build -p formasl-cli --locked
./target/debug/formasl check examples/hello.fsl
./target/debug/formasl inspect examples/hello.fsl --view summary
./target/debug/formasl run examples/hello.fsl --gas 1000
These commands establish, respectively, that the example source checks, that a checked program has the reported structural summary, and that the selected runtime bridge returns a result under its supplied gas budget. They do not prove every application family, an external provider action, or a durable update.
For a machine consumer, request the successor schema explicitly:
./target/debug/formasl check examples/hello.fsl --format json --schema-revision 1
./target/debug/formasl run examples/hello.fsl --gas 1000 --format json --schema-revision 1
Validate the whole JSON envelope and operation-specific outcome. A process exit
code alone is not a substitute for inspecting a REJECTED, UNSUPPORTED, or
resource-exhaustion outcome.
The application host is verified the same way — against the real binary, not an in-process substitute (see Serving a FormaSL application):
./target/debug/formasl serve <project-dir> --port 0
A hosted world must answer GET /health with its project identity and serve
operations whose machine envelopes are byte-identical to the CLI’s for the
same project, lock, and inputs. A served 200 with a REJECTED aggregate is a
semantic outcome riding transport success — read the envelope, not the status
line.
Repository gates
The ordinary Rust gate set is:
cargo fmt --all --check
cargo check --workspace --all-targets
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
git diff --check
Run the focused user-documentation gate after editing this book:
cargo test -p formasl-cli --test user_docs_gate
mdbook build docs/user -d /tmp/formasl-user-book
The documentation gate checks navigation, links, option vocabulary, executable
command fences, JSON envelope shape, and checkable FormaSL examples. It also
parses the marked language-reference corpus in LANGUAGE-GUIDE.md at the
frontend boundary: modules, declarations, claims, query, reasoning,
transformation, scenarios/source evolution, composition, and .fsp
realization all retain a parser-admitted representative. Those parser-level
blocks intentionally prove concrete syntax, not a fabricated claim that every
family has a productive runtime route.
The mdBook build checks rendering and local link resolution; it does not execute runtime semantics.
Formal-toolchain gate
The repository also carries an Agda formalization. Its check is distinct from the Rust product gate:
bash scripts/check_agda.sh
Run it when formal files or Rust-to-formal correspondence are in scope. A successful formal check establishes that the invoked Agda modules type-check in that environment; it does not by itself establish that an arbitrary source program has executed in the Rust product.
What to record
For a reproducible result, record the exact command, its exit status, the
source/plan inputs, the requested schema revision, and the relevant typed
outcome or diagnostic code. If a run depends on --gas, record the selected
budget as part of the result: a higher budget can change OUT_OF_GAS into a
completed fixed point without changing source text.
Assurance boundaries
| Evidence | Establishes | Does not establish |
|---|---|---|
check | source accepted by the implemented frontend and semantic bridge | claim truth or external fact acquisition |
inspect | reported checked structure | application execution |
run | typed result of the selected runtime bridge | persistence, provider invocation, or world update unless that bridge explicitly reports it |
realize | plan-to-checked-program binding | external capability execution |
analyze | typed outcome of one declared analysis application through the same engine as run | claim truth; a provider requirement is an outcome, not a performed computation |
serve | one resolved project served over loopback HTTP with machine envelopes byte-identical to the CLI’s | external network exposure, provider availability, durable host-side state, or hot reload |
test receipt | reproducible per-case outcomes over the sealed subject with resolution digests | production authorization or transferable certification of semantic correctness |
package seal / verify | sealed bytes re-checked through the real public check, re-derived release id, verified digests | deployment, remote publication, or execution of the sealed capability |
| Rust tests | behavior covered by those tests | a proof of all language obligations |
| Agda check | type-checking of invoked formal modules | runtime conformance without a correspondence witness |
Use Support and limitations when interpreting a completed outcome, and Errors and exits for typed failures.
Writing FormaSL — a practical step-by-step tutorial
This is a hands-on tutorial for writing admitted FormaSL source. It is
deliberately shorter on “will the runtime do this” than on “will the checker
accept this.” Source admission and runtime execution are different layers; each
step below lists both the parse/elaboration boundary and the run boundary
so you never confuse a positive check with a productive runtime result.
It maps onto the examples shipped in examples/. After each step you can run
the corresponding fixture to compare with real output. This file is parsed by
user_docs_gate (crates/cli/tests/user_docs_gate.rs): every tagged block is
a witness that the current parser admits it.
Two units, two planes
.fsl— a source unit. Exactly onemoduleper file. Imports resolve only against the modules you hand to the CLI; there is no directory search..fsp— a realization unit. Exactly onerealization. It is a binding plan, not a semantic module; it never contains amoduledeclaration and it never accepts$or?values in realization-value positions.
The public run is not cumulative:
formasl run --app Name --gas Nevaluates one selected application. There is no pipeline that carries the inferred facts from oneruninto another. If you need to reason about that assumption, readdocs/book/src/autoridades/user/SUPPORT-LIMITATIONS.md. Authoring inside a project (forma.tomlmanifest, lockfile,formasl test,formasl package seal)? Readdocs/book/src/autoridades/user/PROJECTS.mdalongside this guide. Every step below works identically in project mode — the module language is the same; only source discovery and the test/seal workflow differ.
Step 1 — a minimal, checkable module
Start with the pieces the checker needs to admit your program: one module,
types, and at least one relation with named roles. A relation has named roles,
and each role uses one of the two admissibility forms (role name: Type or
role name accepts Q).
module minimal_surface {
type Artifact
type Position
relation States {
role subject: Artifact
role position: Position
}
}
Run boundary. This module has no application, so run has nothing to select.
You are authoring the admittance layer (formasl check / formasl inspect).
See the full type/relation witness in
examples/F01-types-specialization-subtyping/canonical.fsl
for subtypes, specializes, and role contracts.
Step 2 — claims and the lifecycle vocabulary
Claims are relation occurrences with an authored lifecycle. The current surface
is not claim import; an imported claim leads with import:
import claim Q as local_claim
assert claim name : Relation(role: value, …) { by: expression … }
adopt claim existing_claim as local_name { by: expression … }
retract claim local_name { by: expression … }
supersede claim old_name with new_name { by: expression … }
The standard contract-field vocabulary is by, for, under, based_on,
valid_at, recorded_at, scope, frame, and support. The assertion body
must include its by attribution. supersede records a lifecycle edge; it does
not delete the old occurrence and does not, by itself, calculate a unique
“current” claim.
module claim_surface {
type Artifact
type Position
relation Tracks {
role artifact: Artifact
role position: Position
}
assert claim open_v1 : Tracks(artifact: $release, position: $open) {
by : $registry
valid_at : $t1
recorded_at : $t2
}
adopt claim open_v1 as accepted_open {
by : $reviewer
based_on : $review_basis
}
retract claim accepted_open {
by : $reviewer
based_on : $later_evidence
}
assert claim open_v2 : Tracks(artifact: $release, position: $open) {
by : $registry
based_on : $correction
}
supersede claim open_v1 with open_v2 {
by : $registry
based_on : $correction
}
}
Run boundary. retract/adopt/supersede are carried in the checked
carrier but the public run does not mutate a world. retract does not
delete the prior occurrence and run does not hide it. Do not treat a
post-retract query as evidence that the old claim vanished. See
examples/F07-claim-lifecycle-conflict-time/canonical.fsl
for the checked conflict/time witness.
Step 3 — queries with match: the engine-backed bridge
A match application names a query over relation occurrences; it does not
match a type declaration. Its using Q header is optional (all other families
require using Q):
match Name($parameter: Type, …) [using Q] [-> Result] {
query-clause …
}
A pattern witness begins with ? and uses a relation role map. Every referenced
relation and role must be declared. The query-clause surface is:
pattern ?occurrence: Relation(role: ?value, …)
path ?p from ?from to ?to { step Relation from role to role … }
where bound_expression
optional { … }
exists { … }
not exists { … }
alternative [using Q] { branch { … } … }
select expression [as alias], …
distinct expression, …
aggregate OP(expression) [by expression, …] [as ?aggregate]
group by expression, …
having bound_expression
order by expression [asc|desc], …
any N | offset N | limit N | top N by expression … ties Q
view graph Name { include bound_expression | field: expression … }
The implemented query engine evaluates pattern conjunctions, filters
(where, having), optional, exists/not exists, alternative branches,
grouping (group by, aggregate), projection (select, distinct), ordering
and slicing (order by, any, offset, limit, top … ties), and
view graph clauses — the full admitted surface executes:
path— executes its contract pipeline (endpoint correlation, role-exact steps, reuse policy, admissible family, selector, post-filter) and binds a structured path value distinct from any reference; an unboundedrepeatis rejected at check time withINVALID_UNBOUNDED_PATH_FORMATION.COUNT,SUM,MIN,MAXaggregates — spelled exactly (uppercase, resolved against the exact language/operator basis, never from a content name);SUMfolds under an exact commutative-monoid reducer domain andMIN/MAXunder an exact determining-order contract.
The authoring rule: a clause that cannot complete under its owner’s contract
fails closed with a typed run outcome — never a silent skip and never a
laundered COMPLETE.
module query_surface {
type Artifact
relation DependsOn {
role dependent: Artifact
role prerequisite: Artifact
}
content QueryContract
match FullQueryMatrix($g: Artifact) using QueryContract {
pattern ?edge: DependsOn(dependent: ?x, prerequisite: ?y)
where ?x == $g
optional {
pattern ?next: DependsOn(dependent: ?y, prerequisite: ?z)
}
exists {
pattern ?exists: DependsOn(dependent: ?x, prerequisite: ?y)
}
not exists {
pattern ?missing: DependsOn(dependent: ?z, prerequisite: ?x)
}
alternative {
branch { pattern ?left: DependsOn(dependent: ?x, prerequisite: ?y) }
branch { pattern ?right: DependsOn(dependent: ?y, prerequisite: ?z) }
}
group by ?x
having ?x == $g
select ?x as dependent
distinct ?x
aggregate COUNT(?edge) by ?x as ?n
order by ?x desc
any 3
offset 1
limit 10
top 5 by ?x desc ties QueryContract
view graph DependencyView {
include ?x
}
}
}
realization QueryRealization {
app QueryContract {
require capability: Engine
bind capability to external "reference/formasl-r1"
}
}
Run evidence.
match DirectDependencies()(basic.fsl) — pattern-only →COMPLETEwith solutions.match WithOptionalNextHop(...)and the counting match inexamples/F04-query-semantics/advanced.fsl—optional,not exists,group by,aggregate COUNTall execute through the engine.match BoundedPaths(...)(advanced.fsl) — contains apathclause → executes through the engine; on this fixture it reports 0 solutions with completionEXHAUSTED_DOMAIN(the contract’s minimum path length cannot arrive without a cycle), and the run itself completes — an honest zero, not a refusal.
The single-pattern, pattern-only match that the bridge evaluates:
module language_query {
type Name
relation Greets {
role greeter: Name
role greeted: Name
}
assert claim greeting : Greets(greeter: "world", greeted: "formasl") {
by : $guide
}
match FindGreetings() {
pattern ?g: Greets(greeter: ?who)
}
}
$ formasl check examples/F04-query-semantics/basic.fsl
ACCEPTED module query_basic
$ formasl run examples/F04-query-semantics/basic.fsl --app DirectDependencies --gas 1000
query DirectDependencies -> 3 solution(s) (completion EXHAUSTED_DOMAIN)
Machine consumers request JSON and an explicit schema revision:
$ formasl run examples/F04-query-semantics/basic.fsl --app DirectDependencies --gas 1000 --format json --schema-revision 1
"aggregate_status":"COMPLETE"
--schema-revision 1 is required for the modern
machine envelope; --schema-revision 0 fails closed for families it cannot
represent.
A path body also admits
repeat min..max,alternative set|multiset,each ?item in ?group where …,summarize Q(…) as ?summary,reuse: Q, andselector: Q. The grammar readsrepeat 1..*but the check boundary rejects an unbounded path withINVALID_UNBOUNDED_PATH_FORMATION; use a finite upper bound when the intent is checkable.
Step 4 — bounded inference (R1/R2/R3) under gas
A rule must lead with a declared using basis. Rule variables are witness
variables (?x), not lexical $x variables. A derived-head witness must be
range-restricted by the body; every variable in a naf atom must already be
positively bound in the same rule.
rule Name using Relation(?x: Type, …) {
when Relation(role: ?x, …)
naf Relation(role: ?x, …)
where bound_expression
exists ?w
aggregate ?n = AggregateQ(?value) by ?key
derive [positive|negative] Relation(role: expression, …)
}
infer Name($parameter: Type, …) using Basis {
theory: Q
goal Relation(role: ?w, …)
}
Aggregate by group components admit exactly three forms
(OD-RC-R2-AGG-03): by Source.role (member-derived; no same-named
binder is synthesized), by Source.role as ?g (seeded when ?g is
positively bound elsewhere in the rule body, otherwise an explicit
output binder), and by ?key (compatibility shorthand: exactly one
DISTINCT exact-source role must positively bind the shorthand over the
whole rule — zero candidates reject with
AGGREGATE_GROUP_CORRELATION_REQUIRED, several with
AMBIGUOUS_AGGREGATE_GROUP_CORRELATION; spelling/order/first-match
never decide). Inside a rule body, the aggregate clause’s operator name
is a declared aggregate basis (for example a content), distinct from
the uppercase language operators used in match aggregates.
The implemented inference route covers the positive R1 closure path, the R2
route (including its admitted stratified-negation/expression subset), and the R3
warded-existential route. It is bounded by --gas: a nonconverged route is not a
successful result.
Rule using basis semantics (spatiality closure). The using target of a
rule is formation-checked on the public run path against its resolved
declaration kind:
using target resolves to | Disposition on the public run path |
|---|---|
theory / ontology | Reasoning authority — the rule executes under that exact authority. |
relation | Content/dependency coordinate — the rule joins the executable chain when the relation is reachable through admitted rule heads or named by the application’s goal set. |
content | Named basis coordinate under the application’s selected authority — never independently authority-bearing. |
anything else (rule, constraint, policy, type, …) | Typed run-time rejection (RULE_WIRE_REJECTION) — no kind without defined rule-basis semantics is silently relation-like. |
check alone does not reject an ungoverned using target; the rejection
happens when the rule is admitted onto the executable path. A rule is not
executable merely because it parsed. Goals never introduce reasoning authority,
and a foreign rule head never admits a foreign theory.
module reasoning_surface {
type Node
relation Edge {
role from: Node
role to: Node
}
relation Reach {
role from: Node
role to: Node
}
rule Seed using Edge(?x: Node) {
when Edge(from: ?a, to: ?b)
derive positive Reach(from: ?a, to: ?b)
}
rule Step using Edge(?x: Node) {
when Edge(from: ?a, to: ?b)
when Reach(from: ?b, to: ?c)
naf Edge(from: ?c, to: ?a)
derive positive Reach(from: ?a, to: ?c)
}
content Basis
infer Reachability() using Basis {
goal Reach(from: ?from, to: ?to)
}
}
A complete, checkable inference program that adds two assertions to drive the closure:
module language_inference {
type Node
relation Edge {
role from: Node
role to: Node
}
relation Reach {
role from: Node
role to: Node
}
rule Seed using Edge(?x: Node) {
when Edge(from: ?from, to: ?to)
derive positive Reach(from: ?from, to: ?to)
}
rule Step using Edge(?x: Node) {
when Edge(from: ?from, to: ?to)
when Reach(from: ?to, to: ?through)
derive positive Reach(from: ?from, to: ?through)
}
assert claim edge_ab : Edge(from: "a", to: "b") { by : $guide }
assert claim edge_bc : Edge(from: "b", to: "c") { by : $guide }
content Basis
infer Reachability() using Basis {
goal Reach(from: ?from, to: ?to)
}
}
$ formasl check examples/F05-reasoning-completion/canonical.fsl
ACCEPTED module reasoning_completion
$ formasl run examples/F05-reasoning-completion/canonical.fsl --app TransitiveDependencies --gas 5000
infer TransitiveDependencies -> FIXPOINT_REACHED (extension: 6 fact(s))
Expected outcome: a typed closure status (FIXPOINT_REACHED, or for R3
COMPLETE_UNDER_GOALS / OUT_OF_GAS / WITNESS_BUDGET_EXHAUSTED). A zero
count over a same-stratum derived relation is not a
substitute for negation-as-failure — see F05 for the stratified-negation
witness.
Step 5 — transformation executes through the T1 kernel
A transformation has a mandatory match block, a contribution mode, and one or
more construct blocks. The admitted modes are per match,
per distinct_key by expression, …, and per group by expression, …. Authored
rules execute productively through the native T1 kernel over the accredited
query matcher: collision coalesces ONLY exact-content targets and preserves
every source origin as a material dependence edge, and coverage asserts no
preservation claim the source did not declare. A construct shape outside the
productive route fails closed; a rule-less declaration is recognized as
contract-only (nothing to run).
transform Signature($param: Type, …) using Q {
rule name {
match { pattern ?occurrence: Relation(…) }
per match | per distinct_key by expression | per group by expression
construct Target as $binding { role: expression … }
}
}
module transformation_surface {
type Sensor
type Device
type Value
relation ReportedReading {
role sensor: Sensor
role device: Device
role value: Value
}
relation NormalizedReading {
role device: Device
role value: Value
}
transform Normalize($d: Device) using ReportedReading {
rule normalize {
match {
pattern ?r: ReportedReading(device: ?device, value: ?value)
}
per match
construct NormalizedReading as $n {
role device: ?device
role value: ?value
}
}
}
}
$ formasl check examples/F08-transformation-lineage-dependence/canonical.fsl
ACCEPTED module transformation_lineage_dependence
$ formasl run examples/F08-transformation-lineage-dependence/canonical.fsl --app Normalize --gas 500
transform Normalize -> T1 executed (target elements 1, dependence edges 2) (1 rule(s), 1 construct(s))
Expected outcome: the productive T1 route executes. r1 and r2 project
the same device/value, so the single target element coalesces them under
the exact-content law — and the dependence graph keeps BOTH source origins
reconstructible (dependence edges 2). Provenance is never the same thing
as the derived content. The outcome is still intentionally not evidence
that a new external target was materialized.
Step 6 — governed applications: typed local outcomes, no external mutation
validate, admit, authorize, decide, and revise are governed
application families. They return typed local outcomes; they do not grant a
real-world permission or execute a decision externally.
validate | admit | authorize | decide Signature using Q [ { field: expression … } ]
revise Signature using Q [ { field: expression … } ]
module language_governance {
type Agent
content ValidationPolicy
content AdmissionPolicy
content AuthorizationPolicy
content DecisionPolicy
validate ValidateAgent($agent: Agent) using ValidationPolicy {}
admit AdmitAgent($agent: Agent) using AdmissionPolicy {}
authorize AuthorizeAgent($agent: Agent) using AuthorizationPolicy {}
decide DecideAgent($agent: Agent) using DecisionPolicy {}
}
$ formasl check examples/F10-access-control-governed-decision/canonical-rbac-sod.fsl
ACCEPTED module access_control_governed_decision
Expected outcome: check admits the forms. run returns typed governance
outcomes (including denied/recorded results); an evaluated result is not a
global conformance certificate.
revisedoes not have afromclause. Areviserun is a typed local revision outcome with no external durable mutation.
Step 7 — composition: declarative stages, not an implicit orchestrator
A top-level composition is selected by run like an application. Its body can
carry local invocation, staged invocation, ordering, coupling, case branches,
a returned expression, and an explicit unresolved marker. The current composer
forms supported stage/order/coupling coordinates; it is not an external
scheduler, and body forms without an authorized public carrier — for example
case — fail typed rather than being ignored.
composition Name($input: Type, …) [-> Result] {
let $value = Application(arg: expression, …)
stage stage_name = Application(arg: expression, …) [as $result]
order earlier before later
couple { stage_a, stage_b, … } using CouplingContract
case expression { outcome($binding) => statement-or-block … }
return expression
unresolved expression
}
The full checked witness is the two-file F06 fixture. Pass both .fsl files,
not only the importing file. The case clause, when present, returns a typed
UnsupportedStmt { kind: "case" } result.
$ formasl check examples/F06-dag-composition-realization/artifact-model.fsl examples/F06-dag-composition-realization/canonical.fsl
ACCEPTED module artifact_model
ACCEPTED module dag_composition
Step 8 — realization (.fsp): binding, not execution
A realization names a target and declares binding/requirement preferences. It
does not contain a module and does not accept $ or ? values in
realization-value positions.
realization Plan {
app ApplicationName {
bind slot to external "adapter/reference"
require slot: Capability
limit slot: value
prefer slot: value
budget slot: value
}
stage CompositionName#stage_name { … }
group GroupName {
member app ApplicationName
require slot: value
}
}
bind uses to; require, limit, prefer, and budget use :. A
realization value is a literal, qualified reference, external "…", list, or
typed record. A .fsl pure call and either variable class reject in that
position.
realization LocalReference {
app CandidateBasis {
require capability: Engine
bind capability to external "reference/formasl-r1"
}
app ValidateTransfer {
require capability: Engine
bind capability to external "reference/governance-library"
}
}
$ formasl realize examples/RP01-bank-transfer/program.fsl --for examples/RP01-bank-transfer/local.fsp
BOUND CandidateBasis
Run boundary: realize produces a BOUND result when the checked plan matches a
checked application under the implemented binder. The binding evaluates
bind/require coordinates; the current binder does not evaluate
limit/prefer/budget constraints against the candidate — those preference
fields are parsed and retained but are not runtime-enforced by the public
realize. Keep all required source modules on the command line; imports resolve
against the supplied source set only.
Step 9 — the standard library and situated worlds
The repository ships stdlib/sources/std/ — the frozen standard library —
with std::forma::* and std::world::* modules (classification,
communication, dynamics, information, measure, money, normative,
observation, party, reference, security, space, time, and the
environment foundation). These are ordinary .fsl modules with the same
admission rules as your own sources. Two consequences:
- An import does not resolve implicitly. Pass the stdlib module explicitly:
formasl check mystuff.fsl stdlib/sources/std/world/space.fsl. importalone does not bring names into scope. Selective import names the admissible declarations (import std::world::space { SpatialContains }), and references stay qualified (std::world::space::Region).
std::world::space provides spatial referents, representations, and
qualitative constitutive laws (Place, Region, SpatialReferenceSystem,
SpatialRepresentation, SpatialContains, SpatialOverlaps,
SpatialAdjacent, SpatialDisjoint, plus transitive/symmetric derivation
rules). It is the shared spatial vocabulary for situated programs; the
executable-witness demos built on it live in demos/executable-world/.
A complete user module over the spatial vocabulary needs both files on the command line — the stdlib module first, then the user module that imports it:
module language_space {
import std::world::space { SpatialContains }
type Site
relation HostedAt {
role site: Site
role place: std::world::space::Region
}
assert claim hosted : HostedAt(site: $site, place: $region) { by : $guide }
match Containment() {
pattern ?c: SpatialContains(container: ?big, contained: ?small)
}
}
$ formasl check stdlib/sources/std/world/space.fsl
ACCEPTED module std::world::space
Import without selection admits nothing usable: import std::world::space
with no selective braces parses, but space::Place and unqualified role
references still fail with UNRESOLVED_REFERENCE. Selective import
(import std::world::space { SpatialContains }) names the admissible
declarations; fully qualified references
(std::world::space::Region) always work.
In project mode (
forma.toml) the stdlib is not passed by hand: exact dependency resolution supplies the declared stdlib package, and its provider digest is recorded informa.lock. Seedocs/book/src/autoridades/user/PROJECTS.md.
Step 10 — authoring workflow and exit semantics
- Start with a complete
.fslmodule or.fsprealization, never a bare clause pasted into an unrelated plane. - Declare types, relations, and content bases before the claims, rules, and
applications that name them. Supply every imported
.fslmodule explicitly. - Run
formasl checkafter each structural change; use its typed diagnostic code and locus rather than treating a parse failure as an execution failure. - Run
formasl inspect --view declarations | claims | applications | subtypesto inspect whatcheckretained. - Run only the intended item with
formasl run --app NAME --gas N. TreatREJECTED,RESOURCE_EXHAUSTED, andUNSUPPORTEDas distinct outcomes. The aggregate status collapses to the worst member in this order:REJECTED>RESOURCE_EXHAUSTED>UNSUPPORTED>COMPLETE. - Use
formasl realizeonly with exactly one.fspplan via--for; a realization plan is a binding artifact, not an instruction to create an external resource.
runnever convertsREJECTED,UNSUPPORTED, orRESOURCE_EXHAUSTEDinto a successful no-op.--schema-revision 1is required for new machine consumers; revision 0 is frozen and fails closed for outcomes it cannot represent.
What “works” vs. what “is admitted” — the single rule to remember
Every construct in this tutorial has a witness block that the documentation gate
parses against the live frontend. If a form is admitted here, it parses and
elaborates today. Whether run executes it is a separate, family-specific
boundary documented in SUPPORT-LIMITATIONS.md. When in doubt:
formasl check→ admission and elaboration only.formasl run --app NAME --gas N→ the implemented family bridge only.formasl realize … --for plan.fsp→ binding only; not execution of a bound capability.
Minimal Realization Backplane (MRS) v0.1
Status: RELEASE_CANDIDATE documentation, generated from the renamed backplane — owner ruling 2026-10-02, rename commit 20621520 on master (previous expansion “Minimal Realization Stack” is historical; the acronym MRS and every family key are unchanged, so all existing usage remains valid)
Scope: crates/transport, crates/time, crates/trust, crates/effect-adapter, crates/e2e-controlled, crates/mrs-terminal, crates/mrs-fixture (composition + reference consumer); the realization plane crates/realization is documented here only at its boundary — it is what plugs INTO the backplane, not part of it
Evidence: re-executed on 2026-10-02 on master 20621520 — live demo host over a real external fixture (3 domains, TUTORIAL.md), suite formasl-mrs-fixture 9/9 and formasl-mrs-terminal 9/9; the CR-01 commerce host was attempted and FAILED with a stale-evidence defect, registered as finding MRSD-F1 (not silenced, not fixed in this documentation wave)
This documentation set: documentation is not semantic authority. The backplane’s crates are the executable authority for the mechanism; .fsl remains the sole authority for meaning; .fsp plans govern only declared realization.
What it is
The Minimal Realization Backplane is the socket where realizations plug in. It provides the minimum mechanism for an application to reach the world outside the semantic engine — an outbound effect and an inbound observation, each with evidence — and nothing else:
it PROVIDES it DOES NOT
───────────────────────── ─────────────────────────────────────────
transport (one typed port) realize anything by itself
time (exact temporal guards) carry domain semantics
trust (3 typed families) run applications (the engine does)
effect-adapter boundary retry, reschedule, or discover ambiently
terminal acceptance (R-01..10) decide anything (governance stays .fsl)
The name is load-bearing. The structural dependency law (MRS-04 §4) is
realization <- provider <- transport: the realization plane (.fsp binding,
crates/realization) sits OUTSIDE and ABOVE the backplane and consumes it
through providers. Calling the backplane a “realization stack” read as if it
realized things; it does not. It is the backplane realizations plug into.
Why it exists
FormaSL holds separations that are load-bearing, not decorative:
DECIDE != EXECUTE != EFFECT != OBSERVE
ExecutionSuccess != ExternalEffectOccurred
Effect != Observation Observation != Truth
The semantic engine decides, but deciding is not executing. The backplane answers one question, mechanically and fail-closed: how do we prove that an external effect actually occurred, and that the observation coming back derives from it, without any shortcut being able to fabricate either side?
Its gate order — the mold every consumer follows — is:
request (transport) -> external fixture mutates an INDEPENDENT ledger
-> returns the exact raw callback bytes + HMAC over them
checks_hmac (trust) -> HMAC verified over the exact raw bytes
is_fresh (time) -> freshness gate, independent of HMAC validity
readback -> a DISTINCT HTTP request; a response never proves
its own effect (response != readback)
permit consume -> ONE-TIME effect introduction (R-07); a duplicated
callback cannot mint a second effect
EffectRecord -> observation admitted back through the ActionJournal
with a non-fabricable CausalBasisRef
The layers
| Layer | Crate | Campaign stage | Guarantees (one line) |
|---|---|---|---|
| Transport | crates/transport | MRS-04A | One typed port request_once; real socket HTTP with redirects/retries/cookies/proxy FORBIDDEN; honest exposure dispositions |
| Time | crates/time | MRS-04B | ClockReading != TemporalStanding; exact guards under one explicit TimeDomainRef; cross-domain = Incommensurable |
| Trust | crates/trust | MRS-04C | Three separate typed families (credential-source / credential-verify / HMAC-SHA256); HmacValid != Fresh; secrets ephemeral, non-serializable |
| Effect adapter | crates/effect-adapter | MRS-05 | Canonical adapter registry; prepare → claim → expose under sealed transport; explicitly NO EffectuationHost |
| Terminal | crates/mrs-terminal | MRS-08 | TerminalAcceptanceRoot encodes obligations R-01..R-10 as struct fields — omission is a compile error; the root is not Clone (it holds a one-time permit) |
| Controlled E2E | crates/e2e-controlled | MRS-07 | Domains (Stripe / ServiceNow / Commerce / Supply) over a CONTROLLED fixture — never a production vendor |
| Reference consumer | crates/mrs-fixture | — | The external fixture (separate OS process, independent ledger, GET /readback) + the demo host; the mold’s first non-cluster consumer |
Campaign stage stamps (MRS-04A..MRS-08) in crate descriptions are historical labels from the campaign that built each layer; they remain valid because the acronym survived the rename.
Honest boundaries
- Claim ceiling:
ControlledFixtureEffect != ProductionVendorEffect. Every demonstrated effect runs against a controlled fixture. Effect on a production vendor has never been claimed. - Orphan semantic authority (known caveat): the one-time permit is a
mechanism-level, host-side object. No
.fslapplication currently derives the right to introduce an effect through the backplane; the route carries substrate evidence, not semantic authorization. This is the backplane’s standing limitation, recorded in the airspace adoption decision D-5 and in every consumer campaign since. - Readback honesty:
ExposureMayHaveOccurredis a real disposition. When a request is written but the response is lost, the transport refuses to retry — the ambiguity is surfaced, not papered over.
Map of this documentation
| Document | Content |
|---|---|
| ARCHITECTURE.md | The dependency law, each layer’s contract, what the backplane refuses to contain |
| ROUTE.md | The canonical effect/observation route: gate order, dispositions, failure modes, observation admission |
| TERMINAL-OBLIGATIONS.md | R-01..R-10 in full, the defects each closes, the structural laws of the terminal root |
| REALIZATION-BINDING.md | How .fsp plans bind to the backplane; fail-closed classes; provider substitution |
| TUTORIAL.md | Executed walkthrough (2026-10-02): build, live 3-domain run, suites, the CR-01 finding |
| OPERATIONS.md | Commands: fixture, demo host, CR-01, tests; ports, processes, troubleshooting |
| DEFINITIONS.md | Terms, family keys, non-collapses, R-index |
Sources of authority (read these first)
docs/supply-network-realization-v0.1/CAMPAIGN.md— where the stack was born (term note records the rename)docs/supply-network-mrs-native-v0.1/— CAMPAIGN + CORRESPONDENCE-MAP of the Rust-native effectuation proofdocs/design/AIRSPACE-REALIZATION-ARCHITECTURE.md— the adoption decision D-5 and the mold as integration patterndocs/design/EXTERNAL-EXECUTION-PLANE-CONTRACT.md— the execution boundary the backplane serves (§6 boundary, §8 provider selection, §10 receipt, §15 effect firewall)docs/INVESTOR-MATERIAL/GLOSSARIO-CANONICO-v1.md— the canonical terminology entry (entry 7)
FormaFS Kernel v0.1
Status: RELEASE_CANDIDATE (campaign FORMAFS-KERNEL-v0.1, closed; audit remediation F1–F6 and FormaLake landing repairs FL-FIN-01..05 applied)
Contract: crates/formafs-core (FORMAFS_KERNEL_CONTRACT_REVISION = ("formafs-kernel-contract-v0.1", 1)); architecture authority: docs/FORMAFS-KERNEL-v0.1-CAMPAIGN-PACKAGE/CAMPAIGN/04-FORMAFS-ARCHITECTURE-DECISION.md and 05-FORMAFS-KERNEL-CONTRACT.md
Evidence: docs/formafs/FORMAFS-KERNEL-v0.1-CLOSURE.md; release gates W1–W5 in crates/formafs/tests/witnesses.rs
This documentation set: generated by CAMPAIGN-FORMA-DOCS-QUAD-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
FormaFS is the persistent-resource kernel of the FormaSL platform: a durable existence layer that other capabilities (FormaLake, FSheet, FDoc, ApplicationState, Scenario, Agents) build on to persist resources, advance their exact states, name them through versioned namespaces, attach representations, and observe every mutation through a changes feed.
The conceptual stack it implements (crate doc, crates/formafs/src/lib.rs):
FormaSL = meaning
FormaFS = durable existence + exact cross-capability resolution
Storage = physical realization (pluggable provider)
Runtime = execution
The pillars
| Pillar | What it owns | Where |
|---|---|---|
| Resources & exact states | Every durable object is a resource with a monotone history of exact states; state advancement is CAS under an expected head | crates/formafs/src/service.rs (create_resource, advance_state) |
| Owner bindings | Each resource carries an OwnerBinding mirroring the caller’s object — correspondence, never identity | crates/formafs-core/src/capability.rs |
| Namespaces & designators | Versioned name→resource maps; binding/rename never change identity; resolve_at resolves under an exact historical revision | crates/formafs-core/src/namespace.rs |
| Representations | Role-tagged renderings attached to one exact state (7 roles); integrity digests are metadata, not identity | crates/formafs-core/src/representation.rs |
| Changes feed | Every mutation is a typed event readable by cursor | crates/formafs-core/src/change.rs |
| Storage port | Provider-neutral storage with durability profiles, CAS, idempotency and receipts; the durable provider is the Forma-NeuG native engine | crates/storage, crates/storage-forma-native |
Crate map
| Crate | Role |
|---|---|
crates/formafs | The kernel service FormaFs (22 public operations) + the FSheet adapter example |
crates/formafs-core | Zero-dependency carriers: identities, capability refs, namespaces, representations, changes, errors, canonical encoding |
crates/storage | Provider-neutral storage plane (port, registration, commit/CAS, receipts, requirements, limits, history, backup, …) |
crates/storage-forma-native | The durable provider (Forma-NeuG Rust engine), conformance-tested against the storage port |
No binary ships in this set — FormaFS is a library substrate. Higher layers (FormaLake, FSheet app, FDoc workbench) provide the user-facing executables.
Documentation map
| Document | Contents |
|---|---|
| DEFINITIONS.md | The kernel vocabulary: every term with its implemented meaning, code anchor, and the != laws |
| GETTING-STARTED.md | Provider registration/binding and your first resource, with a live transcript |
| TUTORIAL.md | A small but complete service on the kernel: versioning, contention, representations, namespaces, restart |
| API-REFERENCE.md | The 22 kernel operations and the 16 typed errors |
| STORAGE.md | The storage plane: providers, durability profiles, requirements, how to implement a provider |
| ADAPTERS.md | How a capability embeds on the kernel (the FSheet adapter pattern) |
| OPERATIONS.md | Persistence, restart/recovery, idempotency, containment, known boundaries |
| examples | kernel_walkthrough.rs — the executable source of the transcripts |
Reading order: DEFINITIONS → GETTING-STARTED → the doc matching the task (embedding = TUTORIAL/ADAPTERS; ops = API-REFERENCE; infra = STORAGE/OPERATIONS).
What v0.1 is not (explicit scope)
FormaFS != semantic authority (meaning stays in FormaSL; "storage
never becomes semantic authority")
FormaFS != a directory tree / POSIX FS (namespaces are versioned relations;
no paths, no traversal, no files)
FormaFS != a query engine (observation lives in capabilities)
FormaFS != content-addressed storage (SameBytes -/-> SameResource)
FormaFS != a universal revision clock (No UniversalRevision)
The historical proposal docs/FORMAFS-KERNEL-v0.1-CAMPAIGN-PACKAGE/EVIDENCE/HIST-ARCH-01-FORMAFS-FORMALAKE.md
described a metagraph/POSIX-projection architecture that was not the
implemented design; see its obsolescence banner.
FormaLake Core v0.1
Status: RELEASE_CANDIDATE (LANDED; campaign record in docs/FORMALAKE-CORE-v0.1-CAMPAIGN-PACKAGE/TERMINAL-RECORD.md; owner decisions D-LAKE-1..5 frozen)
Contract: crates/formalake-core (FORMALAKE_CONTRACT_REVISION = ("formalake-core-contract-v0.1", 1)); architecture authority: docs/FORMALAKE-CORE-v0.1-CAMPAIGN-PACKAGE/CAMPAIGN/04-FORMALAKE-ARCHITECTURE-DECISION.md
This documentation set: generated by CAMPAIGN-FORMA-DOCS-QUAD-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
FormaLake is the dataset capability over the FormaFS kernel: datasets, immutable dataset versions, explicit canonical persistence bindings, logical schemas and partitions, ingestion with a lawful lifecycle, situated validation assessments, and N-ary transformation runs with exact binding capture.
FormaLake record plane --records as canonical JSON--> FormaFS kernel --durable states--> Storage provider
("application/vnd.formalake.record.v1+json") (resources, CAS, namespaces)
The lake owns nominal, lake-owned identity; the kernel owns persistence identity; the two are bound by explicit, recorded correspondence — never identified with each other.
The three clocks (the core law)
DatasetVersion = the logical data (schema + membership + constitutive refs) — frozen at mint time
ResourceState = the kernel's exact persisted basis (the binding target)
Representation = the physical encoding (locator + integrity digest)
Only create_dataset_version mints versions. Attaching/removing data and
rematerializing physically never advance the version. (crates/formalake-core/src/store.rs, law recorded in crates/formalake-core/src/lib.rs and D-LAKE-2/5.)
Crate map
| Crate | Role |
|---|---|
crates/formalake-core | The lake: FormaLake (22 domain operations over the kernel), records, identity, errors |
crates/formalake-workload | The LLM training vertical: semantic training objects, mixtures, checkpoints, genealogy |
crates/forma-data-e2e | Product-journey witness wiring the lake to the FormaSL application surface (tests/lake_journey.rs) |
Library-only — no binaries. See the FormaFS docs at
docs/formafs/kernel-v0.1/ for the substrate this builds on.
Documentation map
| Document | Contents |
|---|---|
| DEFINITIONS.md | Vocabulary, D-LAKE-1..5 summaries with code anchors, the != laws |
| GETTING-STARTED.md | Open a lake, create a dataset, mint a version — with a live transcript |
| TUTORIAL.md | The full cycle: ingestion lifecycle, admission, bindings, external data, transformation runs, derivation traversal |
| API-REFERENCE.md | The 22 domain operations and the 18 typed errors |
| WORKLOAD.md | The LLM training vertical and genealogy |
| OPERATIONS.md | Restart persistence, contention, idempotency, performance, known boundaries |
| examples | lake_walkthrough.rs — the executable transcript source |
Reading order: DEFINITIONS → GETTING-STARTED → TUTORIAL → API-REFERENCE.
What FormaLake is not (explicit scope, from the architecture decision)
FormaLake is not a storage engine (FormaFS + providers persist)
FormaLake is not a query engine (observation lives in capabilities)
FormaLake is not a catalog server (no service; a library capability)
FormaLake is not zones-as-directories (zones are standing, not layout)
FormaLake is not a table format (Iceberg-class comparisons deferred by
owner decision; Parquet is an external
representation, not an authority)
FDOC 1.0 — Forma Documentary Orchestration & Corpus
Status: FDOC 1.0 application program frozen (Implementation A; clean-room B + external ratification evaluator RAT0 closed the freeze); corpus pipeline + portal delivered by CAMPANHA-AUTORIA-MULTIATOR-v0.1
Normative owner (corpus): docs/autoria-multiator-campaign-v0.1/CAMPAIGN-CHARTER.md — the typed-route thesis and the R1/R2/R3 regime definitions
This documentation set: generated by CAMPAIGN-FORMA-DOCS-QUAD-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
FDOC is documents whose standing is typed. The thesis of the whole line: suggestion is not authority; the typed route is. A document exists in a documentary state with its own identity; copies are representations; the route a document traveled — who drafted it, what was adopted, who ratified — is recorded provenance, carried forever by the ledger.
The corpus pipeline proves it on a real corpus (7 documents — Machado de
Assis short story, meeting minutes, contracts, proposals — in Portuguese)
with determinism as a gate: rebuilding the corpus reproduces the
committed dist/ packages byte for byte.
The three regimes
| Regime | Meaning | Route duty |
|---|---|---|
R1 human-direct | A human typed the draft and routed it | No candidates, no ratifier admissible |
R2 ai-assisted | An agent emitted adopted candidates; a human routed the result | Requires adopted candidate(s) |
R3 agent-drafted | An agent authored the whole candidate; a human ratified it | Requires the candidate and a declared ratifier |
Enforcement is on the route (crates/fdoc-corpus/src/build.rs), not on
trust: the demos show live typed refusals.
The D-G0 law
The browser never mints. The workbench UI is presentation-only: drafts posted from the editor are non-authoritative; standing comes only from server-side route actions (stage/ratify), and every page says so.
Crate map
| Crate | Role |
|---|---|
crates/fdoc (formasl-fdoc, bin fdoc) | FDOC 1.0 application program: admissions, checkpoints, publication/reflow, packaging, semantic processor, exact source authority (11 CLI verbs) |
crates/fdoc-corpus (bin fdoc-corpus) | The authoring convention (.fdoctxt), the corpus builder, candidate staging, ratification route, deterministic packaging + committed dist/ |
crates/fdoc-b | Clean-room Implementation B (independent encoder; interop boundary RAT-3) |
crates/fdoc-rat0 | External ratification evaluator (attack battery A79; neither A nor B is its oracle) |
crates/semantic-ui-fdoc | Bridge FDOC → Semantic UI v0.4 (AuthorizedProjectionBridge over real checkpoints only) |
6.5.3, vendored, digest-committed; no CDN, no runtime downloads).
Documentation map
| Document | Contents |
|---|---|
| CONVENTION.md | The .fdoctxt authoring format: header, block markers, canonical text, typed errors |
| REGIMES.md | R1/R2/R3 duties and refusals, with the live DENIED transcripts |
| PACKAGES.md | The .FDOC package format, the ledger, verification and dependency closure |
| GETTING-STARTED.md | CLIs and the demo, with executed transcripts |
| WORKBENCH.md | The portal: routes, state machine, D-G0 |
| DEFINITIONS.md | Standing, identity/binding/digests, glossary |
Reading order: README → CONVENTION → REGIMES → PACKAGES → the surface you will use (CLI = GETTING-STARTED; UI = WORKBENCH).
What FDOC is not
FDOC != a markdown flavor (the convention is total and fail-closed;
canonical text is rebuilt from the model)
FDOC != a signature scheme (ratification is a declared external premise
with provenance, not cryptography-as-trust)
FDOC != trust minting (nothing in the pipeline mints authority;
AI is candidate-only, everywhere)
projection until routed server-side)
Forma Sheet v0.1 (FSHEET)
Status: RELEASE_CANDIDATE (campaign FORMA-SHEET-v0.1 closed: RM-01..03 gates green — nextest 2937/2937, DOM E2E, connected E2E 5/5)
Architecture authority: docs/design/FORMA-SHEET-ARCHITECTURE.md (STABLE; §8 erratum 2026-10-02 — Tabulator surface)
Contract package: docs/forma-sheet-campaign-v0.1/ (owner decisions FS-D01..D52, OA-01..06)
This documentation set: generated by CAMPAIGN-FORMA-DOCS-QUAD-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
Forma Sheet is a spreadsheet with stable cell identity, exact decimal calculation, server-computed scenarios and semantic connectivity — a product line built strictly on top of FormaSL, never underneath it:
Dependency direction is strictly one-way:
FormaSL and Semantic UI never depend on any fsheet crate.
The three pillars:
- Position ≠ identity. A cell has an address (
orc!B5) and an identity (c10) that survives movement; patches may target either (FS-D11/D12, RM-03). - Exact arithmetic. Evaluation is exact decimal — no host floats
(
fsheet-calc). - The server computes; the browser renders. The served grid never
calculates a formula (D-G0): every displayed value is the server’s
displayprojection, every scenario preview is server-computed.
Crate map
| Crate | Role |
|---|---|
fsheet-core | Document model (layers L1–L8), identities, values, spatial/scenario ops (deps: none) |
fsheet-format | Canonical .fsheets parse/format, byte-stable round trips, fail-closed versions |
fsheet-calc | Formula lane: parser, exact evaluation, dependency engine |
fsheet-connect | FormaSL connectivity: anchors, basis-stamped snapshots, explicit write-back (OA-02) |
fsheet-interop | CSV import/export + real XLSX/ODS importers with typed reports (FSHEET-RM-01) |
fsheet-surface | Grid renderer, editor shell, typed intent dispatcher (OA-03) |
fsheet-cli (bin fsheet) | Textual authoring surface for humans and agents |
fsheet-app (bin fsheet-app) | Local HTTP application + Tabulator grid UI |
Documentation map
| Document | Contents |
|---|---|
| FORMAT.md | The canonical .fsheets grammar with real corpus examples |
| CALC.md | Formulas: syntax, operators, the 17 functions, typed errors |
| CLI.md | The fsheet commands and the agent authoring cycle |
| HTTP-API.md | The fsheet-app routes: state projection, scenarios, connectivity |
| GRID-UI.md | The /grid Tabulator surface and the D-G0 law |
| TUTORIAL.md | A full authoring cycle with executed transcripts |
| DEFINITIONS.md | Vocabulary and the != laws |
Reading order: README → FORMAT/CALC → the surface you will use (CLI or HTTP-API/GRID-UI) → TUTORIAL.
What v0.1 is not
FSHEET != a calculation cloud (single-process local app; no multi-user)
Browser != calculator (D-G0; no client-side semantics)
Import != semantic authoring (imports carry zero semantic anchors;
enrichment is an explicit governed op)
Scenario != revision (scenarios are hypothetical overlays;
promotion is an explicit, separate op)
Forma Semantic UI v0.4
Status: integrated (registry SUI-INT-01, docs/FORMASL.md); accredited under SUI-RC-01 (9 canonical profiles re-accredited against real crate evidence, 21 mutation families). Native-read campaign evidence/semantic-ui-native-read/CAMPAIGN-STATE.md = VERIFIED/CLOSED; FDOC bridge WP SUI-FDOC-BRIDGE-01 closed 2026-09-26.
Contract: the constitutive contracts live in the crate doc comments (crates/semantic-ui-*/src/lib.rs); protocol profile Protocol v0.1, codec SUI-JSON-JCS-1.
Evidence: this package’s transcripts were executed 2026-10-02 (see VERIFICATION.md).
This documentation set: generated by CAMPAIGN-FORMA-SEMANTIC-UI-DOCS-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
Forma Semantic UI is the downstream presentation layer of FormaSL: it
turns results computed by the real native engine (claims, computations,
effects) into UI views that are admitted, auditable and fail-closed —
without ever becoming semantic authority itself. A pixel shown in a
Semantic UI surface can always be traced back to a ViewAdmission whose
basis names the native carrier it was derived from.
The boundary laws, stated in the registry and repeated in every crate:
Semantic UI != FormaSL language semantics
Semantic UI != native semantic authority
renderer != semantic authority
ZERO_AGDA_AT_RUNTIME (closed design commitment)
The non-collapses that the whole layer is built around:
SameName(x,y) -/-> SameSemanticReferent(x,y)
SameUUID(x,y) -/-> SameSemanticReferent(x,y)
SameFields(x,y) -/-> SameSemanticStanding(x,y)
PresentedAsNative(x,K,B) -> EstablishedNativeCorrespondence(x,K,B)
A local Rust value with a plausible name is never native standing: every
downstream reference presented as a native semantic category must carry an
independently established NativeCorrespondence under an explicit basis.
The pipeline
Every admitted view travels this exact path (all steps are real code, not orchestration shims — see IMPLEMENTATION.md):
.fsl sources (dependency-closed closure)
-> FormaslNativeBridge::check (real formasl::check; InspectItem carriers)
-> Lens::NativeComputation (formasl::run under gas; completion classified)
-> structural projection (fail-closed; typed rejections)
-> discovery admission (root-only spec) -> learn the projected structure
-> EXACT ViewSpec derived from that structure
-> terminal admission through AdmissionGate::admit_read
-> SemanticViewPresentation (exact values, disclosure-gated)
-> StructuredRenderer (text oracle) + WebRenderer (static HTML)
The two-pass admission (discovery, then admission of the exact derived
spec) is the standing pattern: the final presentation is bound to an
admission of the exact ViewSpec, never to an unconstrained root.
Crate map
| Crate | Role |
|---|---|
crates/semantic-ui-core | Constitutive core: SubjectRef, NativeCorrespondence, Lens, ViewSpec, ViewAdmission, the 9 conformance profiles, exact numbers, completion states, failure taxonomy SUI-F01..F19. Only serde as dependency. |
crates/semantic-ui-protocol | Wire carriers: SemanticViewModel, SemanticViewPresentation, MaterialSemanticValue, canonical JCS codec (SUI-JSON-JCS-1), canonical request digests. |
crates/semantic-ui-native | Trusted native bridge: real formasl check/run, carrier classification, lens computation, structural projection, native effectuation. |
crates/semantic-ui-runtime | Framework-neutral runtime: admission gate, view lifecycle, cache, delta/reconnect, interaction dispatch, disclosure, guarded effectuation, offline outbox, agent routes, RendererAdapter trait. |
crates/semantic-ui-renderer-structured | Deterministic text renderer (surface 1 of SUI-MULTISURFACE) — the textual oracle. |
crates/semantic-ui-renderer-web | Deterministic static-HTML renderer (surface 2 of SUI-MULTISURFACE). |
crates/semantic-ui-fdoc | FDOC → SUI correspondence bridge (AuthorizedProjectionBridge), realization-only. |
crates/semantic-ui-airspace | AIRSPACE-READ-01: the airspace product’s read profile (Lens + projection + per-tick presentation). |
No binary ships in the family itself. The user-facing executable surface is
the airspace product server (crates/formasl-product-airspace, HTTP UI on
127.0.0.1:8090) and the demo example
(crates/semantic-ui-native/examples/servicenow_s38_demo.rs).
Documentation map
| Document | Contents |
|---|---|
| DEFINITIONS.md | The vocabulary: every term with its implemented meaning, code anchor, and the != laws |
| ARCHITECTURE.md | Layers, trust zones, the two-pass admission pattern, the 9 conformance profiles |
| IMPLEMENTATION.md | How each crate implements its contract, step by step with code anchors |
| GETTING-STARTED.md | Run the executed demo, read its artifacts, write your first consumer |
| USAGE.md | Real consumers: the airspace HTTP UI, the FDOC bridge, FSheet connectivity, spatial perception |
| API-REFERENCE.md | The public surface of each crate |
| VERIFICATION.md | Test suites, accreditation model, executed transcript counts |
| example | servicenow_s38_demo.rs — the executable source of the transcripts |
Reading order: README → DEFINITIONS → ARCHITECTURE → the doc matching the task (building a consumer = GETTING-STARTED/USAGE; internals = IMPLEMENTATION; auditing = VERIFICATION).
What v0.4 is (and is not) — explicit scope
Semantic UI IS the admitted presentation of native results, with
reconstructible bases, disclosure gating and fail-closed
typed rejections.
Semantic UI IS NOT semantic authority: it never derives, strengthens or
invents standing; every native claim resolves through a
real carrier under a real basis.
Honest state of the line, verified in code at writing time:
AdmissionGate implements admit_read only. Interaction/Authoring/
Effectuating admission classes exist as core types
(crates/semantic-ui-core/src/admission.rs, AdmissionClass) but have no
runtime admission path yet.
Interaction dispatch, guarded effectuation, offline outbox, delta and
agent routes are implemented and exercised by the test batteries
(rc01_reaccreditation, d_corpus_ledger); the airspace production server
currently uses only the read chain plus canonical request digests for
its act log.
The normative documents cited inside code comments
(SEMANTIC-UI-ARCHITECTURE-v0.4.md, SEMANTIC-UI-DESTRUCTIVE-REVIEW-v0.4,
Acceptance Program v0.2, Frontend Architecture v0.1) are NOT present in
this repository; the effective normative text lives in the crate doc
comments (recorded in ACTIVE-WP.md).
fsheet-surface declares semantic-ui deps but its renderer is not yet
presentation-wired (OA-03 contract aspirational).
Consumers
| Consumer | What it uses |
|---|---|
crates/formasl-product-airspace | The full read chain per simulation tick (semantic-ui-airspace::present_tick) + canonical request digests in the act log; serves GET /presentation from 127.0.0.1:8090 |
crates/fdoc-workbench | FdocSuiBridge — FDOC checkpoint → SubjectRef correspondence |
crates/fsheet-connect | FormaslNativeBridge, NativeCorrespondence, SubjectRef — sheet connectivity lane |
crates/spatial-perception-providers | Correspondence/subject carriers for projected perception |
| ServiceNow s38 corpus | The dependency-closed read demo (SUI-DEMO-01/02) and the 16-test e2e suite |
Forma Network v0.1
Status: RELEASE_CANDIDATE (campaign FORMA-NETWORK-MATERIALIZATION-v0.1, closed with adversarial audit sign-off)
Contract: docs/contracts/forma-network-v0.1/CONTRACT.md (owner-ratified, frozen, normative)
Evidence: docs/campaigns/forma-network-materialization-v0.1/evidence/ (FN-MAT-20..29 + FINAL + post-closure audit remediation)
What it is
Forma Network v0.1 is a functional, multi-process, persistently recoverable permissioned blockchain built on Polkadot SDK infrastructure, using Mysticeti for consensus and FormaSL as the semantic machine. It executes real contracts and applications, persists and recovers semantic state and history, supports multi-world and private worlds, and is usable by external clients over HTTP/RPC without any test harness.
It can be started, receive external operations, order them by consensus, execute FormaSL, persist state, be queried, survive node failure, be restarted, and keep operating — from cold start through full restart.
The three pillars
| Pillar | What it owns |
|---|---|
| Polkadot SDK | node lifecycle (sc-service TaskManager, essential tasks), networking/peer management (sc-network / litep2p), RPC (jsonrpsee), keystore, configuration. Rule: reuse the SDK for infrastructural problems; SDK != semantic authority. |
| Mysticeti | committee, dissemination, verification, DAG, leaders, commit, linearization, sync/recovery, ordered history (bounded extraction; see crates-provenance-manifest.md). Preserved distinctions: ConsensusCommitted != SemanticExecutionSucceeded; ValidatorQuorum != DomainAuthority; Consensus != Truth. |
| FormaSL | worlds, state, contracts, authority, standing, provenance, tokenization, financial profiles, cross-world effects, source evolution. The node executes formasl::check + formasl::run directly — no ReferenceExecutor in the product path. |
The product path
external client -> formasl-node RPC -> sc-network -> Mysticeti
-> CommittedSubDag -> REAL FormaSL execution (formasl::check/run)
-> cross-world coordination -> durable world state -> receipts/queries
Identity distinctions enforced in code and genesis: NetworkPeerIdentity != MysticetiProtocolIdentity; InfrastructureBlock != MysticetiBlock != FormaOperation; PREPARED != PROMOTED; RuntimeOutput != AuthoritativeSourceUpdate.
Documentation map
| Document | Contents |
|---|---|
| TUTORIAL.md | your first contract end to end on a devnet — incorporate, deploy, invoke, upgrade, historical binding, atomic DvP, with REAL transcripts (pinned by a regression test) |
| examples/ | the tutorial’s sources: devnet basis (3 worlds incl. DvP) and the demo contract at R1/R2 |
| DEFINITIONS.md | the network’s precise vocabulary: every term with its implemented meaning, code anchor, and the != distinction laws |
| GETTING-STARTED.md | build, devnet bootstrap (genesis/deployment/basis), init/run 4 validators, first operations |
| RPC-API.md | the complete HTTP/RPC surface with request/response shapes |
| CONTRACTS.md | the .fsl contract lifecycle on the network: incorporate → deploy → invoke → upgrade → deactivate; receipts; tokenization as contracts |
| ARCHITECTURE.md | crate map, consensus integration, storage layout, identity model |
| OPERATIONS.md | persistence, crash/restart laws, corruption handling, catch-up, monitoring, known boundaries |
| SPEC-IDENTITY-GENESIS.md | genesis canonical encoding and hashing, key hierarchies, boot gates, reproducibility law |
| SPEC-CONSENSUS.md | blocks and own-chain rounds, ingestion gate, equivocation law, commit machinery, fetch protocol, recovery |
| SPEC-EXECUTION-CONTRACTS.md | operations and receipts, atomicity/coordination, contract state machine and durable formats, typed outcomes |
Reading order: DEFINITIONS → the doc matching the task (operations = GETTING-STARTED/OPERATIONS/RPC-API; integration = ARCHITECTURE/SPEC-*; semantic work = CONTRACTS/SPEC-EXECUTION-CONTRACTS).
What v0.1 is not (explicit scope)
Internet-scale hardening, large benchmarks, k8s, multi-region HA, rolling zero-downtime upgrades, HSM, permissionless discovery/staking, economic Sybil resistance, massive pruning, production backup orchestration, enterprise observability, soak testing, autoscaling (MISSION-MANDATE §13, industrialization list). Carried post-v0.1 items are listed in OPERATIONS.md.
Forma Network v0.1 — Realization Contract
Status: OWNER-RATIFIED / FROZEN / NORMATIVE DOWNSTREAM REALIZATION CONTRACT
Authority after freeze: NORMATIVE DOWNSTREAM REALIZATION CONTRACT
Parent authority: docs/FORMASL.md and the current FormaSL normative chain
Campaign: FORMA-NETWORK-MATERIALIZATION-v0.1
Purpose: define what a conformant Forma Network MUST preserve and provide, while leaving implementation architecture to the materialization agent.
1. Jurisdiction
This contract answers one question:
What must a distributed network realization of FormaSL be capable of doing without weakening or redefining FormaSL semantics?
It does not choose the internal implementation.
FORMA NETWORK CONTRACT
= NORMATIVE REALIZATION BOUNDARY
!= POLKADOT ARCHITECTURE
!= SUI/MYSTICETI ARCHITECTURE
!= RUNTIME DESIGN
!= STORAGE DESIGN
!= CONSENSUS TOPOLOGY
!= IMPLEMENTATION PLAN
Implementation may choose any lawful mechanism that satisfies this contract and the acceptance matrix.
2. Authority chain
Apply authority in this order:
FormaSL Intent
> Formal World Model
> Semantic Invariants
> Semantic Continuity
> STABLE FormaSL architecture/design
> Whole-Language / downstream semantic contracts
> this Forma Network contract
> materialization architecture
> implementation
> tests / fixtures / reports
Polkadot SDK, Sui/Mysticeti and any implementation artifact are realization mechanisms only.
POLKADOT SDK != SemanticAuthority
SUI/MYSTICETI != SemanticAuthority
IMPLEMENTATION != SemanticAuthority
TEST PASS != SemanticAuthority
A limitation or convenience in a substrate MUST NOT silently reduce this contract.
3. Network identity
Forma Network is a sovereign permissioned distributed realization of FormaSL capabilities over FormaSL Worlds.
The logical semantic model remains the FormaSL typed role-incidence metagraph.
FORMA NETWORK
= distributed operation of FormaSL worlds
LOGICAL WORLD MODEL
= typed role-incidence metagraph
GRAPH SEMANTICS
!= PHYSICAL GRAPH STORAGE
The network is not defined as a token ledger, account ledger, EVM clone, Move clone, FRAME application or generic blockchain that happens to call FormaSL.
4. Capability parity
4.1 Governing rule
For every network-relevant normative FormaSL capability C, the Forma Network MUST provide a lawful realization route R(C) that preserves the semantic contract of C.
The target is the normative capability envelope, not the current reference runtime’s limitations.
CURRENT IMPLEMENTATION LIMIT
-/-> NETWORK LIMIT
The realization MAY be:
- consensus-critical;
- local to a client;
- scoped to a private world;
- provider-backed;
- externally effectuated;
- observational;
- cross-world;
- composed from more than one network mechanism.
But:
NETWORK SUPPORTS C
!= EVERY VALIDATOR EXECUTES C
4.2 Constitutive envelope
The implementation MUST preserve the obligations represented by the current Whole-Language constitutive envelope, including CML-E-01..CML-E-24 or their current authoritative successors.
This includes at least:
- independent reality; representation is not truth;
- attributable assertion and semantic standing;
- epistemic locality and autonomous agency;
- communication lifecycle separation;
- visibility, unknown, hidden, nonexistent and not-applicable distinctions;
- legitimate plurality and conflict;
- scope, context, frame, jurisdiction and perspective;
- temporal roles and reconstructible history;
- semantic identity and higher-order reference;
- provenance, dependence and accountability;
- normativity, authority and governed judgment;
- state/event/action/process/effect/observation distinctions;
- computation result versus assertion;
- hypothetical contexts and explicit promotion;
- completion/closure distinctions;
- semantic type and type-jurisdiction distinctions;
- source/realization/run/storage separation;
- typed role-incidence metagraph capability;
- modular composition without implicit merge/adoption;
- Semantic Continuity;
- bounded computation and visible partiality;
- composed-process reachability;
- no hidden semantic oracle;
- semantic-kind and jurisdiction distinctions.
4.3 Application capability families
The network MUST support lawful realization of every current normative semantic family, including any current successors to:
Query
Reasoning
Analysis
Transformation
Validation
Admission
Authorization
Decision
Scenario
Revision
SourceEvolution
ExecutionRequest
Observation
Composition
Incorporation
Family names are not frozen by this contract; the capability is.
4.4 Tooling exclusion
Capability parity is semantic and operational. It does not require that CLI, editor, package-seal, diagnostics UI or other product surfaces become network primitives.
5. Forma World contract
A Forma World is a semantically identified domain of situated FormaSL state.
When material to interpretation, accountability or reconstruction, a world MUST preserve or make reconstructible:
WorldIdentity
SemanticBasis
SemanticState
History / Revision
Context / Scope
AuthorityJurisdiction
ParticipantRelation
VisibilityRegime
Provenance
Commitment / ReconstructionBasis
These are semantic roles, not a mandatory storage record.
Preserve:
WorldMembership != Truth
WorldMembership != Authority
WorldMembership != Visibility
Visibility != TruthScope
Private != Hypothetical
FactIn(W1) -/-> FactIn(W2)
FinalizedIn(W1, X) -/-> AdmittedIn(W2, X)
The network MUST permit multiple world regimes, including private, shared, bilateral, consortium, institutional and ephemeral worlds when the relevant FormaSL contract requires them.
6. World and consensus are independent axes
WORLD != CONSENSUS DOMAIN
A world MAY be:
- single-operator/local;
- privately replicated;
- bilateral;
- consortium-operated;
- broadly shared.
A world does not automatically require a validator committee.
Distributed consensus is required where the realization requires distributed agreement among independent actors. Committee topology and world placement remain implementation decisions.
7. Private-world floor
A private world is not merely a public plaintext world hidden behind an API.
The following is mandatory:
Correct operation of the Forma Network MUST NOT require participants outside the authorized possession domain of a private world to possess that private world’s semantic plaintext.
This applies to validators not authorized for that world.
Permitted realization mechanisms include, without prescription:
- selective replication;
- private committees;
- encryption;
- commitments;
- proofs;
- partitioning;
- other mechanisms preserving the contract.
This horizon does not require universal ZK, FHE or confidential computing.
Privacy MUST NOT silently alter truth scope, authority, identity, provenance or semantic standing.
8. Network node roles
The network MUST support at least three distinct logical roles:
ValidatorNode
ClientNode
AuthorityNode
A physical process MAY perform more than one role, but the roles MUST remain distinguishable.
ValidatorRole != ClientRole != AuthorityRole
8.1 Validator Node
A Validator Node may participate in distributed agreement, verification, replicated transition execution, commitments, recovery and synchronization.
Validator participation alone MUST NOT create domain authority.
Validator != Issuer
Validator != DomainAuthority
Validator != TruthAuthority
ValidatorVote != Claim
ValidatorQuorum != DomainDecisionAuthority
8.2 Client Node
A Client Node may host local/private worlds, submit operations, query accessible worlds, execute local capabilities, verify evidence/commitments, invoke Forma Contracts and participate in domain applications without validating consensus.
8.3 Authority Node
An Authority Node is a network realization through which an institution exercises an already grounded, scoped semantic competence.
Examples include a central bank, judiciary, regulator, registry, transfer agent, custodian or auditor.
AuthorityNode != Authority
AuthorityNodeKey != Authority
Institution != AuthorityRole
Signature != Authorization
Authority participation and consensus participation are independent.
9. Authority contract
Every material authority MUST be scoped sufficiently for the governed act.
When applicable, the realization MUST preserve or reconstruct:
institution / actor
authority role
jurisdiction
semantic scope
world scope
validity interval
authority basis
delegation
revocation
key binding
A universal is_authority = true substitute is non-conformant.
Preserve:
KeyRotation -/-> HistoricalReinterpretation
Revocation -/-> AutomaticRetroactiveInvalidation
unless the applicable FormaSL contract explicitly authorizes retroactive consequences.
10. Consensus jurisdiction
Consensus mediates distributed agreement over operations, history and commitments where agreement is required.
Consensus MUST NOT itself introduce:
- truth;
- semantic authority;
- issuer standing;
- legal standing;
- domain settlement;
- observation.
Preserve:
Consensus(X) != Truth(X)
ValidatorQuorum(X) -/-> AuthorizedDomainAct(X)
NetworkFinality(X) != DomainFinality(X)
Conflicting claims may coexist in one canonical shared history if the FormaSL semantics permit them.
A canonical network history is not a single global epistemic truth.
11. Inter-world semantics
No semantic content, standing or authority crosses a world boundary implicitly.
For an inter-world transition, the realization MUST preserve or reference the material coordinates required by the governing contract, including as applicable:
source world
source semantic basis
payload/reference
standing
producer/issuer
authority
provenance
target world
target transition
Implementation MAY use references, messages, certificates, proofs, projections, observations, assertions, incorporations or other lawful carriers.
Carrier != SemanticStanding
FactIn(W1) -/-> FactIn(W2)
12. Cross-world atomicity
Cross-world atomicity is a required network capability whenever an applicable FormaSL contract requires an all-or-none semantic transition spanning multiple worlds.
If a governed operation requires atomic effects over W1..Wn, then:
ALL required semantic effects acquire committed completed standing
OR
NONE acquire committed completed standing
Technical intermediate states MAY exist but MUST NOT be presented as completed domain effects.
The implementation mechanism is free. This contract does not prescribe 2PC, shared consensus, locks, reservations, escrow, certificates or optimistic coordination.
A Delivery-versus-Payment case spanning an asset world and a CBDC world is a mandatory acceptance witness.
13. Transition, result and completion standings
A conformant implementation MUST NOT flatten materially distinct FormaSL outcomes into a universal success | revert result.
Where applicable, it MUST preserve or reconstruct distinctions including:
- successful semantic result;
- valid negative result;
- denied;
- conditional;
- empty;
- false;
- unknown;
- unavailable;
- hidden;
- not applicable;
- unresolved;
- incomplete;
- invalid/malformed;
- runtime/evaluation failure;
- no derivation/no proof under a bounded search horizon;
- fixpoint/completion;
OUT_OF_GAS/ budget exhaustion;- external/provider failure;
- authorization denial;
- admission denial.
No universal enum is required, but the material standing MUST remain recoverable.
Preserve:
ConsensusCommitted != SemanticExecutionSucceeded
SemanticExecutionSucceeded != ExternalEffectOccurred
ExecutionRequested != ExecutionAttempted
ExternalEffectOccurred != ObservationAcquired
Observation != Truth
14. Deterministic consensus-critical transition
Whenever a computation determines shared consensus-backed state, the following determinism requirement applies:
same exact semantic basis
+ same exact relevant pre-state
+ same ordered operation/input
+ same applicable execution contract
-> same semantic outcome
-> same resulting committed semantic state
External nondeterminism MUST NOT be hidden inside consensus-critical execution.
External computation/effects must cross declared realization/provider, execution, observation or incorporation boundaries as applicable.
Logical gas/resource exhaustion MUST NOT be reinterpreted as a semantic conclusion.
15. Historical binding and reconstruction
Every material execution MUST remain bound to the exact bases materially used, including as applicable:
semantic source revision
semantic contract revision
world basis
authority basis
realization basis
Preserve:
CurrentRevision -/-> HistoricalRetarget
A later source, authority or contract revision MUST NOT silently reinterpret earlier history.
The network MUST support reconstructible history and recovery sufficient to re-establish the material semantic coordinates of committed state.
16. Source evolution and incorporation
RuntimeOutput != AuthoritativeSourceUpdate
StorageWrite != SemanticAuthority
A source-authoritative change MUST pass through an explicit, governed source-evolution/incorporation path.
When material, preserve:
predecessor/source basis
change
actor
authority
effective/historical coordinates
resulting revision
provenance
A current reference-runtime limitation such as prepared-only evolution or unsupported public incorporation is an implementation gap, not a network exemption.
17. Forma Contract
A Forma Contract is a deployed, network-addressable, executable revision of a FormaSL semantic program/contract, bound to exact semantic bases and governed by the same authority, world-scope, lifecycle, result-standing and Semantic Continuity rules as FormaSL.
FormaContract != EVMContract
FormaContract != BytecodePlusStorage
FormaContract != LegalContractByDefault
ContractExecution != ExternalEffect
ContractEvent != Observation
Compatibility layers MAY exist, but no external VM semantics may replace Forma Contract semantics.
18. Forma Contract lifecycle
The network MUST support:
DYNAMIC_DEPLOYMENT
VERSIONED_UPGRADE
DEACTIVATION
HISTORICAL_REVISION_BINDING
Deployment MUST NOT be equivalent to raw byte storage.
A conformant route must preserve a semantic lifecycle equivalent to:
candidate source/package
-> checking/admission
-> authority/authorization
-> source incorporation
-> deployed immutable revision
Upgrade creates succession from revision R to R+1; it does not overwrite historical meaning.
State migration, when needed, is an explicit, separately accountable transition and MAY fail independently of deployment.
19. Native tokenization
The network MUST support general native tokenization as a FormaSL capability, not merely a fixed fungible-asset primitive.
It MUST be possible to realize valid FormaSL contracts for representations that are, as applicable:
- fungible;
- unique/non-fungible;
- semi-fungible/class/series;
- fractional;
- rights-bearing;
- restricted;
- encumbered;
- redeemable;
- composite/basket/structured;
- native digital;
- linked to real-world referents.
When material, preserve:
underlying/referent
tokenized representation
issuer/originator
unitization/fraction
holder/position
rights
restrictions
encumbrances
lifecycle
redemption/conversion
authority
provenance
The implementation MUST NOT require a closed universal asset-kind enum.
20. Tokenization non-collapse
Preserve at least:
Asset != Token
Token != Underlying
TokenHolding != LegalOwnership
TokenTransfer != LegalTitleTransfer
TokenSupply != EconomicEntitlement
Fraction != VotingRight
Custody != Ownership
Encumbrance != Transfer
Burn != LegalExtinguishment
Redemption != Burn
TokenizationAuthority != AssetIssuer != RegistryAuthority
An equivalence or legal/economic consequence exists only when an applicable semantic basis establishes it.
Substrate asset primitives MAY be physical carriers or compatibility surfaces but MUST NOT become semantic authority.
21. Financial application profile
The materialization campaign MUST demonstrate that existing or reconciled FormaSL financial models can operate natively without being rewritten as a parallel blockchain semantics.
The acceptance profile includes at least applicable forms of:
CBDC
stablecoin
tokenized deposit
e-money
financial instrument
ledger/accounting
Preserve as applicable:
CBDC != Stablecoin
Backing != Peg
Peg != Redeemability
Confirmation != DomainFinality
Validator != Issuer
NetworkFinality != SettlementFinality
If a demo lacks state-dependent rules necessary for correct execution, the campaign MUST distinguish an application-contract gap from a network implementation gap. The network runtime MUST NOT invent missing domain semantics.
A missing normative decision that cannot be derived from current authority is R3.
22. Semantic Continuity
Across all material transformations, composition, world boundaries, execution, persistence and recovery, the network MUST preserve the dimensions required by current Semantic Continuity, including when material:
identity
attribution
temporal role
scope/frame
epistemic stance
conflict
normative basis
provenance/dependence
representation
accountability
completion
Use the existing continuity classification discipline:
PRESERVED-DIRECTLY
PRESERVED-BY-REFERENCE
DERIVABLE
INTENTIONALLY-ERASED
ACCIDENTALLY-LOST
NOT-APPLICABLE
UNKNOWN
ACCIDENTALLY-LOST is a defect. UNKNOWN is not PASS.
23. MUST
A conformant Forma Network MUST:
- realize the full network-relevant FormaSL normative capability envelope;
- preserve the typed role-incidence metagraph logical model;
- support both private and shared worlds;
- support Validator, Client and Authority roles;
- preserve scoped authority and historical authority bases;
- keep consensus distinct from truth and domain authority;
- make inter-world semantic transitions explicit;
- provide cross-world atomicity when the semantic contract requires it;
- preserve material result/failure/completion standings;
- make consensus-critical transitions deterministic;
- preserve historical semantic/source/authority/realization bases;
- provide productive source evolution/incorporation where required;
- support native dynamic Forma Contract deployment, invocation, upgrade and deactivation;
- support general native tokenization;
- support the financial acceptance profile;
- preserve reconstructible state/history under restart and synchronization;
- preserve the private-world plaintext floor;
- expose sufficient evidence for independent examination of material operations.
24. MUST NOT
A conformant implementation MUST NOT:
- redefine FormaSL meaning from substrate structure;
- turn consensus into truth;
- turn validator status into domain authority;
- turn signatures into authorization by default;
- turn storage writes into source authority;
- turn runtime output into source incorporation;
- silently propagate semantic content across worlds;
- require global plaintext possession for private worlds;
- retarget historical execution to current revisions;
- collapse materially distinct result/partiality/failure standings;
- replace FormaSL token/asset semantics with Polkadot/Sui/EVM semantics;
- fabricate observations or external results to maintain determinism;
- remove a normative capability because the chosen substrate lacks a convenient implementation;
- use implementation code as the de facto semantic owner;
- use a hidden oracle for truth, authority, relevance, conflict resolution or another material semantic judgment.
25. MAY / implementation freedom
Within this contract, the materialization agent MAY choose:
Polkadot SDK starting architecture
FRAME/runtime decomposition
Sui/Mysticeti extraction/adaptation
block/operation format
physical storage
KV/trie/Merkle representation
state commitment design
world placement
committee topology
consensus sharing
scheduler
parallel execution
locking/MVCC/optimistic execution
state synchronization
checkpointing
RPC
transport
native/WASM boundaries
one or multiple binaries
provider integration
Forma Contract compiled representation
cache/index strategy
privacy mechanisms
cross-world atomicity protocol
Custom components MAY be introduced when required.
The campaign MUST make material use of both Polkadot SDK and the relevant Sui/Mysticeti implementation lineage, but this contract does not prescribe their exact division of responsibility.
26. Explicit non-requirements for v0.1
The following are not mandatory unless evidence during materialization demonstrates that they are required to satisfy an active obligation:
- public permissionless validator entry;
- proof-of-work;
- stake-based Sybil resistance;
- inflation or native consensus token;
- EVM compatibility;
- universal ZK;
- universal FHE;
- one global public world;
- one validator committee per world;
- physical graph storage;
- one specific Merkle/trie design;
- one specific cross-world protocol;
- one specific scheduler;
- one specific storage engine.
27. Contract terminal condition
This contract is ready for implementation only when the companion ACCEPTANCE-MATRIX.md:
- covers the current normative capability envelope;
- maps each active obligation to required evidence;
- contains discriminating positive and hostile witnesses;
- makes omission of an active obligation a closure failure;
- contains no current-scope semantic choice left for the implementation agent.
Any implementation proposal that requires changing this contract is R3 and returns to the owner.
FormaSL — FORMA ORCHESTRATOR v0.1 — CONTRACT (FORMA-ORCHESTRATION-CONTRACT-CLOSURE)
STATUS = STABLE / OWNER-RATIFIED (2026-10-15). Owner ratification executed by
dispatch "FORMA ORCHESTRATOR v0.1 — CAMPANHA CONTÍNUA DE IMPLEMENTAÇÃO E
FINALIZAÇÃO" §1, ratifying this contract at commit
bc9afd921296b3cb67d84ef2f58f630107483370 (this branch). Ratified: the
laws AND THEIR DECLARED LIMITS — Architecture B (Hybrid Minimal);
R3-01..05; §10.6b restricted reading (fencing establishes write
exclusivity over THE designated control state, never global execution
exclusivity); BOOT-N4 limits (no duplicate-designation detection or
prevention across hosts without a shared authoritative reference); MRS as
Minimal Realization Backplane (not minimal substrate, runtime, or
scheduler); implementation/security/conformance obligations of this
contract. NOT ratified: undemonstrated operational capabilities; the §14
SLO numeric profile remains pending measurement — no performance results
are pre-ratified. Implementation of v0.1 authorized under FIOP R0–R2.
KIND = CAMPAIGN CONTRACT (downstream normative for the future forma-orchestrator
implementation campaign; consumes, never redefines, superior authorities)
DATE = 2026-10-15
BASELINE = master @ 304e3e17bd9130fd888f710b4cfb25edd0f3eca5 (reconciled; origin equal)
DECISION BASIS = R3-01..05 owner decisions (dispatch "FORMA ORCHESTRATION v0.1 — R3 DECISION
MATERIALIZATION & CONTRACT CLOSURE", §3) — materialized in §2 of this file
ANALYSIS BASIS = campaign FORMA-ORCHESTRATION-ARCHITECTURE-v0.1
(branch analysis/forma-orchestration-architecture-v0.1 @ adb6d6d9c;
Gates 0–4 evidence package — consumed as verified historical evidence)
SUPERIOR AUTHS = FORMASL-INTENT; FORMAL-WORLD-MODEL; SEMANTIC-INVARIANTS;
SEMANTIC-CONTINUITY; ARCHITECTURE; then: C1 EXTERNAL-EXECUTION-PLANE-
CONTRACT (RATIFIED v6); C2 OBSERVATION-ACQUISITION-CONTRACT (RATIFIED v14);
HWR-04 contract package (owner-ratified 1912d67e); MRS backplane crates;
DOC durable-operation carriers; FormaFS/storage contracts;
forma-network v0.1 contract; ESI/EOC/SLT/governance as crossed.
RISK CEILING = R2 for this campaign (any R3 ambiguity stops via MATERIAL_CONTRACT_FAILURE)
CONTINUATION = GATES D6–D8 applied (MRS backplane correspondence §4b; BOOTSTRAP LAW
§9a; TRANSIT LAW §9b; BOOT-*/FENCE-* witnesses); audits D5 (F1–F11) and
D10 (7 REMEDIABLE fixed) applied; GATES D11–D13 applied (P1/P2/N1 aligned
to C4 §7 cases A/B/C; §9a.4 authoritative-designation unicity model with
honest cross-host ceiling; ACTIVATION LAW authoritative-designation
validation; BOOT-N4 counterexample witness; §10.6b scope walls); Gate D14
final adversarial audit COMPLETED — 0 MCF, its 5 REMEDIABLE_CONTRACT_
DEFECTS are applied by this commit (13 attack classes failed)
RATIFICATION = OWNER-RATIFIED @ bc9afd921296b3cb67d84ef2f58f630107483370 (2026-10-15).
§10.6b restricted reading and BOOT-N4 limits explicitly confirmed by the
ratifying dispatch. Promotion executed as this status change only; the
semantic content of the ratified text is preserved verbatim.
§1. Identity and horizon
The Forma Orchestrator v0.1 is the architecture selected as Candidate B — Hybrid Minimal Orchestrator (Gate 4), now owner-directed. It comprises:
- an orchestrator application authored in
.fsl— desired-state model, reconciliation rules, rollout and governance policy (semantic plane); .fsprealization plans carrying authored placement preferences (realization plane);- ONE bounded host service,
formasl-orchestrator— the mechanism plane: activation cycle, queueing/coalescing/backoff, bounded evaluation scheduling, dispatch wiring, operational persistence, recovery, membership roster handling; - per-node execution via existing carriers:
hostPlaneHost + hosted runtime under the HWR-04 C5 responsibility floor, reached through C1 dispatch over declared transports.
v0.1 horizon EXCLUDES (owner-decided): consensus-replicated control state, automatic coordinator failover, dynamic membership/discovery, preemption of running work, generalized observation adjudication (CL4), multi-tenancy. Nothing in this contract may be read as providing them.
§2. R3 decisions — materialization (provenance: owner delegation, dispatch §3)
R3-01 — Placement authority
Selection of physical realization belongs to the .fsp plane under existing HWR/provider
law. .fsl defines requirements, meaning and semantic constraints and gains NO implicit
physical authority. The orchestrator consumes comparisons, requirements and authored
preferences; it MUST NOT invent a target-selection policy. The provider contract’s CLOSED
selection set is preserved verbatim: unique candidate → select; multiple candidates with a
conclusive authored .fsp preference → select AND record the preference application;
multiple remaining candidates with no conclusive preference → UNRESOLVED(PROVIDER_AMBIGUOUS) (zero candidates is the distinct typed PROVIDER_UNRESOLVED, pre-dispatch). Forbidden: first-candidate, registration-order,
name, identifier, or any unauthorized deterministic tie-break. CONSEQUENCE: no semantically
autonomous scheduler exists in v0.1; the placement mechanism only executes authorized
decisions and admissions; future selection-policy extensions require a new normative
decision. (Consumes: HWR-04 C4 §7, §8; ARCHITECTURE §10.2.)
R3-02 — Reconciliation locus
Separation of concerns is definitive: (i) semantic desired-state reconciliation = rules
declared in .fsl, evaluated by the engine; (ii) the continuous operational loop = generic
host mechanism (formasl-orchestrator); (iii) uncertain external-outcome reconciliation =
C1’s responsibility, consumed; (iv) multi-node coordination = operational composition above
existing contracts. THE HOST IMPLEMENTS NO DOMAIN RULES IN RUST. The mechanism may order the
execution of work; it may not decide meaning nor promote operational facts into semantic
authority. Every semantically material decision must result from an authorized evaluation and
carry recoverable identity, revision, scope and basis. Before provoking external effects,
currentness of the decision elements MUST be verified and revalidation performed at every
boundary C1/HWR requires. Evaluation is bounded by an explicit budget with an honest outcome
when incomplete. The F06 performance finding (superlinear match executor) remains an
engineering constraint to be measured (§14). AUTOMATIC TRANSCRIPTION OF .fsl LOGIC INTO
RUST AS A PERFORMANCE FALLBACK IS FORBIDDEN.
R3-03 — Observation conflicts / CL4
Future adjudication of conflicting observations belongs to explicit, authorized, traceable
domain governance. GENERALIZED adjudication capability is OUT OF the v0.1 horizon. Therefore:
preserve ALL conflicting records; preserve their identities, provenance and contexts; never
implicitly select a winner; never retroactively modify ObservationRecords; never produce
Contextualized-Adjudicated-Input without constituted authority; block ONLY operations whose
decision materially depends on the absent resolution; allow conflict-independent operations
when other contracts permit. This decision closes the v0.1 SCOPE POLICY; it does NOT close
the functional CL4 gap: C2 continues to recognize the concrete CL4 owner as UNCONSTITUTED
until a later contract establishes it. C2 MUST NOT be updated to imply an existing
adjudication capability.
R3-04 — Distributed state and coordination
v0.1 HAS: one active coordinator; durable control state; multiple executor nodes; remote dispatch through declared boundaries. v0.1 HAS NOT: consensus replication of control state as a requirement; automatic coordinator failover; a new database; a new consensus algorithm. Reuse FormaFS and existing persistence/concurrency mechanisms within their proven guarantees. The FormaFS–Network replication bridge is NOT a v0.1 deliverable. SAFETY LAW: a single coordinator does not mean split-brain is impossible by definition. The contract REQUIRES verifiable operational exclusivity, stale-writer fencing, and fail-closed recovery. Restart/recovery never authorizes creating a new semantic world. Absent sufficient evidence that the previous coordinator stopped acting, a second instance MUST NOT assume dispatch authority. Where exclusivity cannot be demonstrated, resumption of potentially conflicting operations is BLOCKED. Operations with possible exposure and uncertain outcome remain under C1 law. No high-availability or exactly-once execution promises beyond actually demonstrated guarantees.
R3-05 — Membership and preemption
v0.1 uses a static, explicit, versioned node roster. No automatic dynamic discovery, no dynamic consensus reconfiguration, no preemption of running workloads. Roster changes only by controlled procedure validating identity, capabilities, context, version and affected admissions. Connectivity loss is NOT proof of node death. Heartbeats, status and probes are situated operational evidence, never semantic truth. Updates, substitutions and rollbacks preserve relevant identities and historical records. No execution-revocation policies beyond already-authorized laws.
§3. Non-redefinition wall
This contract does not redefine: semantic identity; observation standing; authorization standing; the existence of an occurrence; admission criteria; C1 retry/idempotency law; closed physical-selection semantics; durability/consensus guarantees beyond implemented reality. If any R3 consequence were found to require modifying a superior owner incompatibly, the finding is MATERIAL_CONTRACT_FAILURE with evidence and the minimal question for the owner — never silent reinterpretation.
§4. Jurisdiction of formasl-orchestrator
OWNS (mechanism only): activation/repetition of the reconciliation cycle; queueing,
coalescing, work-in-progress control; scheduling of bounded FormaSL evaluations under
declared conditions; materialization and forwarding of ALREADY-AUTHORIZED decisions;
forwarding of admission requests; dispatch wiring between C1 and remote agents; operational
checkpoints and recovery; operational availability detection; rollout coordination = mechanism EXECUTION of an app-authored rollout policy (stages/order/coupling/stability gates declared in .fsl, evaluated by the engine); the mechanism paces and forwards, never decides stage progression nor promotes canary stability semantically; static roster administration per R3-05.
DOES NOT OWN: domain meaning (.fsl); placement selection policy (.fsp/C4 law);
admission judgment (HWR C1); execution authorization (C1 §7 D1 chain: the owner-produced exact-coordinate authority must already exist as a durable control fact BEFORE the mechanism forwards anything; an established application Decision is semantic BASIS that supports that authority and authorizes nothing by itself — C1 D2; never issued by the mechanism); observation standing
(C2); retry authorization (C1 §12e); semantic promotion of anything.
§4b. MRS BACKPLANE CORRESPONDENCE (GATE D6)
The MRS is the Minimal Realization Backplane — the socket realizations plug into for
external reach (one outbound effect, one inbound observation, each with evidence). It is NOT
a “minimal substrate”, NOT a runtime, NOT a scheduler, NOT an effectuation subsystem; its
name confers no unimplemented capability. Current executable scope (crates are the
executable authority; docs are RELEASE_CANDIDATE documentation, not semantic authority):
transport (one typed port request_once with honest dispositions), time
(ClockReading/guards, cross-domain Incommensurable), trust (three typed families,
HmacValid != Fresh), effect-adapter (prepare→claim→expose, SealedTransport/permits, no
EffectuationHost), mrs-terminal acceptance (R-01..R-10, one-time permit, readback). All
demonstrated effects run over a CONTROLLED fixture
(ControlledFixtureEffect != ProductionVendorEffect).
Dependency law realization <- provider <- transport applies unchanged: the .fsp/Binder/
realization plane consumes providers; providers consume the backplane; nothing in the
backplane depends on the engine; the orchestrator sits ABOVE this law, consumes it, and
NEVER replaces, absorbs, or re-implements any backplane layer. It introduces NO second
provider registry and NO EffectuationHost (C1 §22; effect-adapter charter).
Six-plane separation (owners fixed; no fusion):
| Plane | Owner | Verified reusable carriers | Orchestrator integration point | Absent → implementation obligation |
|---|---|---|---|---|
| Realization | .fsp/Binder + HWR-04 + realization crate | bindings/closure/admission/deployment carriers; closed selection set | forwards admission requests; placement per R3-01 | node-targeted delivery wiring |
| MRS backplane | transport/time/trust/effect-adapter/mrs-terminal | request_once + dispositions; ClockReading; HMAC families; SealedTransport/permits; R-01..R-10 | consumed by providers/adapters at declared crossings | per-node transport provisioning (this campaign, per §9) |
| Execution control | C1 + DOC | request/authority/permit/attempt/receipt; AttemptFence + WorkerLeaseCas; journal; §12b reconciliation | typed references only; forwards within law | §22 census productive writers (b/c/d) |
| Observation | C2 | session/receipt/bridge/record/standing | observations enter only via governed acts | — |
| Orchestration | formasl-orchestrator (this contract) | loop/checkpoint/roster | — | the service itself |
| Physical execution | host PlaneHost + C5 R1–R8 hosted runtime | load/verify/execute per profile floor | agent realization per roster node | multi-node deployment tooling |
Heterogeneity (both contractual, deliberately NOT forced through one topology — no universal substrate interface; no effect-adapter passage where the governing contract does not require it): Scenario A — external-service realization: C1 dispatch → effect-adapter/transport per provider family → controlled fixture/vendor; observation via C2. Scenario B — remote FormaSL executor: HWR artifact → C6 deployment → C5 hosted runtime on a roster node; C1 dispatch over the node transport; status observations via C2. SHARED: C1 authority/attempt/receipt law; C2 admission law; target designation. DIVERGENT: mechanism path (adapter/transport vs HWR delivery + hosted runtime).
§5. Interfaces (reuse-first; every new type requires explicit justification)
| Interface | Carrier (reuse) |
|---|---|
| desired-state reference + revision | .fsl application revision reference (exact), .fsp plan revision (Binder) |
| observed-state input w/ provenance | C2 ObservationRecord (+ AdapterReceipt provenance); HWR AdmissionRecord/DeploymentOutcome |
| evaluation request/result | mechanism request {basis revisions, budget, scope} → result {established decision + identities/basis OR honest incomplete} |
| reconciliation decision + causal basis | application Decision (SLT DECIDE) → C1 D1 chain (owner-produced exact-coordinate authority recorded as durable intent); the mechanism forwards REFERENCES to existing authority only |
| placement requirements + authored preferences | ApplicationClosure inputs + .fsp conserved clauses (C4 §8) |
| target capabilities | HWR TargetDescription comparisons (C2-HWR04) |
| admission request/verdict | HWR PhysicalRealizationAdmission inputs → AdmissionVerdict/AdmissionRecord |
| dispatch authorization | owner-produced exact-coordinate dispatch authority — the PROPERTIES of C1 §7 D1 (owner-issued, exact payload/target/currentness, durable control fact; live carrier crates/durable-operation::DurableIntentAuthority); never the host-plane DispatchAuthority homonym (same homonym discipline as C1 D2a); plus C1 RetryAuthorization |
| remote execution request | C1 request/operation/attempt chain over declared transports |
| receipt + outcome reconciliation | C1 ReceiptView/AttemptView; OutcomeReconciliation (§12b/§13) |
| operation journal | C1 ActionJournal + control events (existing) |
| node roster + status | static versioned roster (new mechanism datum, R3-05) + operational availability observations (C2-entered) |
| loop progress/checkpoint | NEW mechanism-plane LoopCheckpoint {journal position refs, queue state, basis revisions} — justified: operational-only, non-semantic, no standing |
| failure/recovery result | typed recovery outcomes (below §10) |
NO universal identity is created; application/realization/operation/attempt/observation/ version/node identities remain the existing carriers.
§6. Operational machine (references, not a replicated state machine)
Work states tracked BY REFERENCE to existing carriers: work identified (app revision + plan
revision) → evaluation pending → evaluation in progress → evaluation complete (established |
NOT established: budget/refusal) → decision stale (basis revisions no longer current) →
admission pending / refused / unresolved (HWR verdict classes verbatim) → dispatch
authorized / dispatch pending-refused (C1 control events) → exposure possible
(ExposureMayHaveOccurred) → attempt occurred (ExecutionAttempt) → outcome uncertain /
established (C1 outcome classes verbatim) → reconciliation pending (C1 §12b) → terminal
(C1 TerminalCompletion) → recovery-after-interruption (§10). The service MUST NOT clone
C1/C2/HWR state machines; it holds typed references and forwards within their laws.
§7. Reconciliation cycle (level-triggered)
The mechanism NEVER depends on perfect event delivery. Required behaviors: dirty/processing queue with coalescing; duplicate wakeups collapse; missed notifications covered by periodic rescan; exponential backoff on repeated failure (mechanism timing, never semantic resolution); backoff re-ENTRY into the C1 chain only through C1’s own law: every re-delivery requires a current owner-issued §12e authorization and mints new generation/fence/exposure-authorization/attempt identity (§12d); the mechanism never re-presents a consumed, refused, or uncertain authority and never retries while a §12b resolution is open; resumption after crash from checkpoint + journal re-derive; work always targets the CURRENT desired revision; desired-state change invalidates in-flight decisions DECISION-STALENESS LAW: a decision derived over a prior state does not authorize an effect on the current state. Revalidation before any effect covers every materially relevant revision, authority and realization dependency (C1 D5 coordinate equality; HWR §6 coherence; §13 snapshot law). Bounded evaluation: an evaluation that does not complete yields “decision NOT established (budget)” — recorded, never consumed as established, never a trigger for effects; incomplete data behaves as epistemic insufficiency, never as negative fact. WINDOW LAW: after C1 exposure-authorization issuance (D4 frozen), a desired-state change can no longer revalidate; the mechanism’s only lawful paths are C1 §13 pre-exposure cancellation driven by the invalidation, or, once exposure may have occurred, C1 §13 C3 / §11 / §12b uncertainty handling. Re-binding and ignoring the invalidation are both forbidden.
§8. Scheduling and placement flow (R3-01)
semantic requirements (checked app) → .fsp plan (admitted bindings) → candidates via ONE
registry → HWR comparisons → authored preference → lawful selection (closed set §2-R3-01) →
admission per target/partition → deployment (precondition: SATISFIED record matching this
closure/target) → dispatch (C1). FORBIDDEN: implicit-order selection; transforming
UNRESOLVED into SATISFIED; reusing a prior-generation admission for a distinct context;
editing .fsl to fit a physical limit; treating preference scoring as independent authority.
§9. Multi-node execution protocol
Node identity = roster entry (versioned, R3-05) + target designation (C2-HWR04). Target
binding via HWR closure/admission chain per partition. Dispatch coordinates = the
owner-produced exact-coordinate authority properties of C1 §7 D1 (live carrier
crates/durable-operation::DurableIntentAuthority; never the host-plane DispatchAuthority
homonym — same homonym discipline as C1 D2a); exposure limits = C1 D4 frozen resolution; correlation =
request/operation/attempt C1 carriers; stale-writer protection = C1 DB4 writer exclusion
(DOC AttemptFence/WorkerLeaseCas fences); duplicate delivery = C1 replay-settlement law (zero state change); timeout/lost ack =
C1 OUTCOME_UNCERTAIN + §12b reconciliation; post-restart recovery = §10. IMPLEMENTATION
GAP STATED AS OBLIGATION: no productive node-targeted dispatch service exists today
(single-host PlaneHost only); building it is an implementation-campaign obligation, NOT an existing capability.
ACTIVATION LAW (R3-04): coordinator authority is bound to opening THE designated durable control state of the deployment (its identity recorded in the versioned roster/deployment record). An instance holds coordinator control-state authority (a necessary condition over the control state — never itself the per-operation owner-produced dispatch authority of C1 §7 D1) only while (i) that exact state is open and (ii) it holds the current writer-fence generation over it (fence CAS on every publish, §10.5). An instance that cannot open that state — fresh storage, inaccessible state, stale generation — MUST refuse activation with a typed, journaled refusal and MUST NOT evaluate-to-effect, queue, or dispatch. Validation runs against the authoritative designation (§9a.4): a locally openable state that is not THE designated state confers nothing. “Second coordinator activates” (N5/N12) includes fresh-start activation with no recovered state; exclusivity is undemonstrable by default for any instance not holding the current fence generation. Loss of the control state is recoverable only through the R3-05 controlled roster procedure as an explicit, journaled operator act — never by starting a parallel state.
§9a. BOOTSTRAP LAW (R3-04 / R3-05)
- Deployment identity is born ONLY from an owner-authorized provisioning act: a governed operational decision (roster/deployment-record entry — not an application Decision; §4) recorded in the versioned roster/deployment record, designating (i) the control-state identity/location, (ii) the initial roster, (iii) the governing contract revision. No instance self-designates.
- The FIRST control state is created only by that provisioning procedure; the creating instance establishes the first writer-fence generation (CAS). Provisioning act + roster record together constitute the durable registration (BOOT-P1).
- Provisioning vs recovery: activation against EMPTY storage where the roster record designates an EXISTING control-state identity → typed fail-closed refusal (state lost/moved; BOOT-N2) — the instance never presents itself as first deployment; recovery routes through the controlled procedure. Empty storage with NO designated record → provisioning REQUIRED: the instance MUST NOT become coordinator.
- Authoritative designation (unicity model): the provisioning act designates exactly ONE control state AND the single authoritative location of the roster/deployment record; together these define the deployment’s uniqueness scope. Deployment identity is unique within that authoritative record; copies and independent states are NOT the designated state and confer no legitimate authority. Concurrent bootstrap: a second provisioning for the SAME deployment identity is a roster-record violation → typed refusal (BOOT-N1). Cross-host ceiling (declared, not hidden): where two hosts hold independent control states and no shared authoritative reference, the mechanism detects NEITHER the duplicate NOR the other instance’s fences — activation checks (§9a.6) are locally conclusive only against THE designated record/state, and two locally successful activations are NOT global exclusivity. Exclusion of simultaneous physical provisionings is therefore PROCEDURAL (single owner act, R3-05); the missing mechanism-level guarantee class — cross-host duplicate-designation detection/prevention — is never claimed in v0.1 (BOOT-N3, BOOT-N4).
- Refused activation is recorded OUTSIDE the control state it could not open (roster/ deployment-record side path per the R3-05 procedure) — refusal never depends on the inaccessible journal.
- Every activation re-verifies: designated identity, current fence generation, roster version — making first initialization verifiable after restart.
§9b. TRANSIT LAW — fencing vs remote dispatch in flight (C1 D4/D5/§11/§12/§13)
WRITE EXCLUSIVITY != PROOF OF NON-OCCURRENCE
LOST ACK != NOT EXECUTED
NEW FENCE != NEW DISPATCH AUTHORITY
RESTART != NEW SEMANTIC WORLD
Scenario law (each judged by C1’s own rules at the receiving boundary, never by coordinator generation):
- prepared, not yet authorized → §13 cancellation → CANCELLED_NOT_EXPOSED (zero attempts).
- authorized, not exposed → permit single-use; §13 cancellation lawful while unconsumed; D4 frozen from issuance.
- sent, delayed in transport → ExposureMayHaveOccurred class; no mechanism recall exists; outcome = OUTCOME_UNCERTAIN.
- received after fence-generation change → the in-flight message’s validity is judged by C1 law (permit single-use, exact coordinates, §12a idempotency), NOT by coordinator generation; a new fence never invalidates nor re-authorizes it; consumed/invalid permits get typed refusal; genuine attempts enter the journal normally.
- effect possibly started before the change → §11/§12b reconciliation with C2 evidence; OUTCOME_UNCERTAIN persists (EXCLUSIVITY LAW §10.6b).
- new coordinator finds an uncertain operation → reconcile only (§10.6b); never re-drive.
- duplicates/reordered/late acks → §12a replay settlement (zero state change); RC5 wrong-correlation refusal; a late well-formed ack may terminalize an unresolved attempt.
Mechanism obligation (not capability): in-flight permit/message handling across generation change (registry + timeout semantics over declared transports) is an implementation obligation. Retroactive revocation of a crossed exposure is impossible and is never claimed.
§10. Durability and recovery invariants (minimum set)
- RestoredState creates no new facts (restore ≠ mint).
- Restart creates no new semantic identity.
- Checkpoint does not replace the journal (checkpoint references journal positions).
- Recovered operational state does not imply any observed external effect.
- A stale writer cannot recover authority by replay (fence CAS on publish).
- Recovery without demonstrable exclusivity fails closed (R3-04 safety law; a
LoopCheckpointfrom a coordinator whose exclusivity is undemonstrable is unusable for conflicting resumption). - Corrupt/incomplete data receives no optimistic defaults (typed corruption refusal).
EXCLUSIVITY LAW (§10.6b): “exclusivity” in v0.1 means fence-established write exclusivity over the designated control state (C1 DB4 writer exclusion — DOC
AttemptFence/WorkerLeaseCas; the writer-token rule); it is the only exclusivity class claimed, and it is ESTABLISHED, not observed. R3-04’s “evidence that the previous coordinator stopped acting” is satisfied, for control-state writes, by holding the current fence generation (the stale writer’s publishes are refused; no death-proof exists or is required in v0.1). Fence acquisition NEVER re-authorizes any operation whose outcome is OUTCOME_UNCERTAIN: such operations remain under C1 §12b reconciliation (DB2) regardless of resumption; resumption extends only to operations whose C1 state is definite and whose decision revalidates current under §7. Scope walls (the ONLY reading claimed): WRITE EXCLUSIVITY != GLOBAL EXECUTION EXCLUSIVITY; FENCE ACQUISITION != PROOF OF OLD PROCESS DEATH; OUTCOME_UNCERTAIN != NOT_APPLIED. A fence generation proves no process death, no cessation of all activity, and no absence of in-flight external effects; it establishes write exclusivity over the designated control state in the contractually governed scope only, never re-authorizes an uncertain operation, and never erases the historical validity of prior exposures. Owner confirmation of this restricted reading is a ratification-review condition, not yet given. Orchestrator operational control state (LoopCheckpoint, roster, queue state) is an application-level composition above C1 per C1 DB5, owning its own law; it is NOT a second owner of any C1 §22 mechanism role, all of which remain with the reused C1 realization. Orchestrator-level writer exclusion reuses the DOCAttemptFence/WorkerLeaseCaspattern (declared new mechanism datum, same justification class as LoopCheckpoint) and publishes fail-closed via fence CAS (§10.5). Orchestrator persistence MUST run through the canonical formafs/storage plane for the MVCC/ACID envelope claim to hold; the C1 DB1 profile ceiling is not exceeded or advertised above. Local durability is the proven envelope (formafs/storage MVCC ACID; journal snapshots); distributed durability is FUTURE and must not be claimed (R3-04).
§11. Observability
All relevant external data enters through C2 authority. probe ≠ heartbeat ≠ receipt ≠ status report ≠ ObservationRecord; these are distinct carriers. Conflicts preserved; CL4 unavailable in v0.1 (R3-03). Operational availability detection (roster liveness) produces mechanism dispositions and, where observation standing is needed, evidence that enters ONLY through an explicitly governed C2 acquisition act (session + admitted bridge + admission; X1/L1/L5) — never a mechanism write-channel; the mechanism creates observation standing on its own for NONE of them. Availability detection never yields node-death facts (R3-05; INV-VIS-01).
§12. Security and governance
Required: operational-actor identification; contextual dispatch authorization; permission and revision checks; refusal of decisions with stale foundations; authorization/execution/ outcome separation; auditable history (journal + control events); replay protection; per-node responsibility isolation. NO multi-tenancy in v0.1.
§13. Platform scope
Reference evidence: hosted x86_64-linux (HWR-05 target table — the only VERIFIED/Path-A- ESTABLISHED class). No physical-support claim may be made for other classes; no single-host conformance may be extrapolated to multi-node fleet claims.
§14. Performance and reliability method (D3 — F06 incorporation)
Definitions: T_eval = semantic evaluation time (engine, gas-bounded); T_loop = operational
cycle time (queue, dispatch wiring, persistence) — MEASURED SEPARATELY, never conflated.
Loads: representative desired/observed corpora parametrized by (apps N, targets M,
dependency density, change rate). Measurements: latency percentiles + resource consumption
per phase; attribution of delay to evaluation vs dispatch vs persistence. Budget refusal:
evaluation exceeding its declared budget → decision NOT established → NO external effect
(§7). Partial decisions never provoke effects. Progress: after a desired-state change the
loop must either evaluate the new revision within budget or record honest non-established
state (never silently keep acting on the stale decision). Acceptance thresholds are NOT
invented here: the numeric SLO profile MUST be frozen from measurement in the implementation
campaign’s acceptance gate; until then the corresponding gate is PENDING, never PASS.
Architecture re-evaluation trigger: measured, reproducible violation of the frozen profile
that a per-domain decision-boundary change could fix → NEW owner decision (no automatic
.fsl→Rust fallback — R3-02). Reliability scenarios to be exercised: coordinator crash;
restart; connection loss; remote executor down; duplicate messages; lost ack; second
coordinator activation attempt; stale writer fence; corrupted storage; configuration change;
contradictory observations; interruption mid-rollout. NONE may produce an authority shortcut.
Budget provenance: the per-evaluation budget is explicit, versioned deployment/application configuration, never a mechanism-internal default; every evaluation result records the budget that governed it, and budget refusal (NOT established) is auditable with that attribution.
§15. Acceptance and falsification matrix (N1–N12 + P1–P10 + BOOT-P1/N1–N4 + FENCE-N1–N4/P1)
Per row: [source | initial condition | stimulus | allowed | forbidden | preserved | boundaries | future evidence | risk].
- N1 ambiguous placement [C4 §7 case C]: multiple admissible candidates, no conclusive authored preference → allowed: UNRESOLVED(PROVIDER_AMBIGUOUS), recorded — epistemic: the missing datum is the selection DECISION, never a capability fact; FORBIDDEN: dispatch via any tie-break; conversion of the ambiguity to SATISFIED; preserved: closed candidate-set fact; boundaries: C4/C1-HWR; evidence: admission record + absence of dispatch; risk R2.
- N2 stale decision [§7 staleness law + WINDOW LAW]: evaluation over superseded revision, then desired changes — INCLUDING after exposure-authorization issuance (D4 frozen) → allowed: re-evaluation/refusal; pre-exposure §13 cancellation; post-exposure §13 C3/§11/§12b uncertainty handling; FORBIDDEN: effect authorized by the stale decision; re-binding or ignoring the invalidation (§7 WINDOW LAW); preserved: revision identities + basis; boundaries: C1 D5/D4/§13, HWR §6/§13; evidence: revalidation trace + absence of re-bind; R2.
- N3 duplicate dispatch [C1 §12a replay law]: same message delivered twice → allowed: replay settlement, zero state change; FORBIDDEN: second exposure without own permit; preserved: attempt/occurrence identity; boundaries: C1; evidence: journal; R1.
- N4 lost acknowledgement [C1 RC4/§11 U1]: effect possibly occurred, ack lost → allowed: OUTCOME_UNCERTAIN + reconciliation; FORBIDDEN: NOT_APPLIED/FAILED by silence; preserved: uncertainty + verbatim provider statements; boundaries: C1 (C2 optional evidence); R1.
- N5 coordinator split-brain [R3-04 safety law; DB4]: second coordinator activates — including fresh-start activation with no recovered state on another host → allowed: fence-established write exclusivity over THE designated control state (established, not observed) OR typed journaled fail-closed activation refusal; forbidden additionally: re-authorization of OUTCOME_UNCERTAIN operations; FORBIDDEN: presumed guarantee; concurrent dispatch authority; preserved: fence/checkpoint identities; boundaries: DOC + C1; evidence: fence CAS outcomes; R2.
- N6 restart [DB2; C6 §5]: coordinator restarts mid-operations → allowed: state restoration by re-derivation; FORBIDDEN: minting identities/operations/observations; preserved: journal; boundaries: C1/DOC; evidence: reopen diff = 0 facts created; R1.
- N7 node disconnected [INV-VIS-01; R3-05]: node unreachable → allowed: disposition + policy on staleness; FORBIDDEN: node-death fact; execution presumed not-occurred; preserved: observation freshness; boundaries: C2/C6; evidence: typed dispositions; R2.
- N8 conflicting observations [C2 C1L/C2L/C3L; R3-03]: incompatible records → allowed: coexistence; EffectiveStanding=min; blocking materially-dependent operations; FORBIDDEN: implicit winner; unauthorized CL4 annotation; preserved: both records full; boundaries: C2; evidence: standing computation; R2.
- N9 admission refused [HWR C6 §6]: NOT_SATISFIED/UNRESOLVED verdict → allowed: blocked deployment with class-preserving refusal (unresolved-blocked ≠ unsatisfied-blocked); FORBIDDEN: valid deployment; verdict overwrite; preserved: record + reasons; boundaries: C6/C1-HWR; evidence: delivery refusal record; R1.
- N10 budget exhausted [§7/§14]: evaluation exceeds budget → allowed: decision NOT established (recorded); FORBIDDEN: consuming partial result as established; provoking effects; preserved: budget + incomplete marker; boundaries: mechanism↔engine; evidence: evaluation result; R2.
- N11 unauthorized attempt [C1 §AO/§AS/§AX]: invocation actually occurred without authority → allowed: attempt recorded with UNAUTHORIZED/NOT_ESTABLISHED standing and real outcome; FORBIDDEN: demotion to non-attempt; standing laundering; preserved: occurrence vs authorization axes; boundaries: C1; evidence: AttemptView; R1.
- N12 invalid recovery [R3-04; §10.6]: second coordinator with undemonstrable exclusivity — with OR WITHOUT recovered state (fresh-start included) → allowed: fail-closed refusal of conflicting resumption; FORBIDDEN: proceeding; authority assumption; preserved: checkpoint/fence; boundaries: DOC/C1; evidence: exclusivity proof attempt recorded; R2.
Positive witnesses (required counterparts — same field law as N-rows):
-
P1 selection by UNIQUENESS (C4 §7 case A) → closed candidate set matching the relevant revision/context, exactly one candidate eligible/admissible under the applicable HWR conditions → selection recorded, grounded in uniqueness. FORBIDDEN: any tie-break; invented authored preference; preserved: closure/requirement/admission evidence; boundaries: C4 §7 + C3/C1-HWR admission; evidence: selection record (uniqueness basis) + closure/admission records; R1.
-
P2 selection by authored preference (C4 §7 case B): multiple qualified candidates AND a conclusive
.fsppreference uniquely orders one → selection recorded, identifying the applied clause and order. FORBIDDEN: unrecorded preference application; selection by registration order, name similarity, implicit priority, or any anonymous deterministic policy; preserved: binding; boundaries:.fsp+ C4 §7(B)/§8; evidence: binding record naming the preference clause; R1. -
P3 fresh decision + owner-produced exact-coordinate authority per C1 §7 D1 (durable control fact) → dispatch with exact coordinates. FORBIDDEN: dispatch on the Decision alone (§4; C1 D2); boundaries: C1 D1/D2; evidence: authority + dispatch correlation; R1.
-
P4 three-partition distributed realization on the verified reference class (single host, cross-partition per HWR C1 §10 / C3 §9) with per-partition SATISFIED records → coordinated deployment. FORBIDDEN: multi-node physical deployment claim (outside §13’s evidence ceiling); boundaries: HWR C1/C3/C6; evidence: per-partition SATISFIED records; R2.
-
P5 uncertain outcome → C1 reconciliation with admitted C2 evidence → typed resolution. FORBIDDEN: uncertainty resolved by time; boundaries: C1 §12b/C2; evidence: reconciliation record; R2.
-
P6 restart with exclusivity demonstrable → resumption with zero minted facts. FORBIDDEN: minted facts; boundaries: §10 invariants; evidence: resumption journal; R2.
-
P7 desired-change → re-evaluation of current revision → new-decision effects only. FORBIDDEN: stale-decision effects; boundaries: §7; evidence: revalidation trace; R2.
-
P8 budget-adequate evaluation → established decision → effects. FORBIDDEN: budget overrun consumed; boundaries: §14; evidence: evaluation record with budget attribution; R2.
-
P9 roster procedure change with validations → versioned roster update, affected admissions re-evaluated. FORBIDDEN: unvalidated roster change; boundaries: R3-05 procedure; evidence: roster version + re-evaluations; R2.
-
P10 rollout per C6 generations → predecessor history reconstructible. FORBIDDEN: predecessor history lost; boundaries: C6 §7; evidence: generation chain; R2.
-
BOOT-P1 [§9a]: owner provisioning act designates control state + initial roster → first instance opens it and establishes the first fence generation with exclusivity → allowed: activation; FORBIDDEN: self-designation; preserved: roster record + fence generation; boundaries: DOC fences + roster procedure; evidence: provisioning record + fence CAS; R2.
-
BOOT-N1 [§9a.4]: second provisioning attempt for the same deployment identity → allowed: typed roster-violation refusal; FORBIDDEN: a parallel control state; preserved: single designated identity; boundaries: roster procedure; evidence: refusal record; R2.
-
BOOT-N2 [§9a.3]: coordinator finds empty storage where the roster designates an existing control state → allowed: typed lost-state refusal (recorded outside the control state); FORBIDDEN: presenting as first deployment; auto-recreation; preserved: roster record; boundaries: §10 invariants; evidence: refusal record; R2.
-
BOOT-N3 [§9a.4]: two concurrent initializations sharing THE authoritative designation (same designated record/state) → allowed: at most one holds the current fence generation for the designated state, the other refuses; FORBIDDEN: two valid dispatch authorities for one deployment; preserved: deployment identity; boundaries: ACTIVATION LAW + fences; evidence: fence generations + activation records; R2.
-
BOOT-N4 [§9a.4]: HOST_A and HOST_B each hold an independent control state and configurations naming the same logical deployment, with no shared authoritative reference → allowed (and NOT claimed otherwise): each may establish a local fence and attempt dispatch; the mechanism detects neither duplicate — cross-host detection is outside v0.1’s claims; FORBIDDEN: declaring either instance’s authority legitimate (only the single authoritative designation of §9a.4 confers authority); claiming cross-host detection or prevention; preserved: the procedure-level exclusion (R3-05 single owner act); boundaries: §9a.4 ceiling; evidence: counterexample record + absence of any detection claim; R2.
-
FENCE-N1 [§9b; DB4]: previous coordinator publishes after losing the fence → allowed: CAS refusal, journaled; FORBIDDEN: silent overwrite; preserved: current generation; boundaries: C1 DB4 writer exclusion (DOC
AttemptFence/WorkerLeaseCas); evidence: CAS refusal record; R1. -
FENCE-N2 [§9b.4]: in-flight message arrives after a generation change → allowed: C1-law adjudication at the receiving boundary (permit/coordinates/idempotency); FORBIDDEN: generation-based discard; re-authorization by the new fence holder; preserved: attempt/occurrence identity; boundaries: C1 §12a/RC5; evidence: journal entries; R2.
-
FENCE-N3 [§9b.5–6]: new coordinator finds an operation with possible exposure and no confirmation → allowed: §12b reconciliation with admitted evidence; FORBIDDEN: re-dispatch; resolution of uncertainty by time; preserved: OUTCOME_UNCERTAIN; boundaries: C1/C2; evidence: reconciliation record; R2.
-
FENCE-N4 [§9b.7]: the same authorization is presented twice to the executor → allowed: single-use permit enforcement + replay settlement (zero state change); FORBIDDEN: a second exposure; preserved: single attempt identity; boundaries: C1 §12a; evidence: settlement record; R1.
-
FENCE-P1 [§10.6b]: legitimate resumption with demonstrated exclusivity → allowed: resumption extending only to definite-state operations whose decisions revalidate current; identities and established outcomes preserved; FORBIDDEN: re-authorizing uncertain operations; preserved: all prior identities/outcomes; boundaries: C1/§7; evidence: resumption journal; R2.
§16. Prohibited shortcuts (summary)
Invented selection policy; UNRESOLVED→SATISFIED; stale-decision effects; silent partial
consumption; retry without C1 authorization; observation standing by mechanism; admission
reuse across contexts; .fsl edit to fit physics; authority for second coordinator without
proof; HA/exactly-once claims beyond evidence; .fsl→Rust automatic fallback; fleet/physical
claims beyond reference class.
Additionally, from §4b/§9a/§9b: no absorption or re-implementation of any MRS backplane layer; no second provider registry or EffectuationHost; no forced uniform topology across heterogeneous realizations; no retroactive revocation of a crossed exposure; no bootstrap by empty-storage self-designation.
§17. Implementation freedoms (non-exhaustive)
Evaluation budget declaration is versioned deployment/application configuration, not an unlisted mechanism freedom. Queue/backoff timing parameters; checkpoint serialization; roster storage format; transport bindings; service process topology on a single host; instrumentation.
§18. Reopen criteria for the closed decisions
Counterexample falsifying a §2 consequence; superior-authority conflict (MATERIAL_CONTRACT_ FAILURE); measured F06-class envelope making the frozen acceptance profile unattainable even per-domain; owner decision. Comparator elegance/convenience are not triggers.
§19. Next-implementation handoff requirements
Implementation campaign MUST: implement against §5 interfaces with existing carriers; satisfy §15 N1–N12 + P1–P10 + BOOT-P1/N1–N4 + FENCE-N1–N4/P1 with executable witnesses; freeze the §14 SLO profile from measurement BEFORE conformance claims; state every §9-type implementation gap as obligation, never as capability; run under C1/C2/HWR/DOC contracts unchanged. Codification remains NOT authorized by this contract. C1 §22 census-hygiene obligations exercised by this contract’s flows — (b) cancel entry, (c) inbox-dedup productive writer, (d) retry-budget enforcement sites — are implementation-campaign obligations on the REUSED realization, witnessed wherever N3/N4/N11 are exercised; §9’s gap-statement pattern applies to them verbatim.
MRS correspondence obligations (§4b): node dispatch wiring consumes declared transports/providers under the realization←provider←transport law; in-flight permit/message handling across generation change (§9b.4 + §9b mechanism-obligation paragraph) implemented; per-node agent realization per HWR C5/C6; all MRS demonstrations respect the ControlledFixtureEffect ceiling.
Forma Orchestrator v0.1 — Provenance and Traceability
KIND = TRACEABILITY CARRIER (provenance + correspondence for the recovered
FORMA-ORCHESTRATOR-V0.1 contract; consumes, never redefines, it)
NORMATIVE BODY = CONTRACT.md in this directory (verbatim, byte-identical recovery)
EDITORIAL LAYER = en/orchestrator/* (English canonical) + orquestrador/* (pt-BR
derivative) — explanatory only, no normative force
RECOVERY DATE = 2026-10-26
RECOVERY METHOD = byte-exact git extraction from the ratified-at-landing revision
(see §1); the contract body was never edited for the book
This file records where the Orchestrator contract came from, where every authority it cites lives now, how each of its sections is carried by the implementation, and what this documentation campaign reconciled. It is the index of record for the carrier in this directory.
1. The carrier and its recovery
The ratified contract lived at docs/design/FORMA-ORCHESTRATOR-V0.1-CONTRACT.md. The
FORMA-DOC final cutover (commit f61f92b36) removed the development-documentation
tree from docs/, leaving docs/book/ as the only documentation root; the contract
became recoverable only through Git history. The last master revision that carried the
ratified text is the v0.1 landing merge 0bdbb94cb (Merge impl/forma-orchestrator-v0.1
into master).
CONTRACT.md in this directory was recovered from exactly that revision:
source = 0bdbb94cb3145df0997ad01e2f22ba3416c257ba:docs/design/FORMA-ORCHESTRATOR-V0.1-CONTRACT.md
size = 46934 bytes
sha256 = 193b6803a7abe1e7129e3451530b869b0978622bdb6caebf1eaba1f26ec3c13c
treatment = verbatim; no editorial rewrite, no link repair inside the carrier
The ratified body is the D14-final text; the only difference between the text ratified
at bc9afd921 and the landed text is the STATUS/RATIFICATION header block added by
the promotion commit bdbae9b02, which states that the semantic content was preserved
verbatim.
Ratification chain (all commits reachable in this repository’s history):
| Commit | Role |
|---|---|
737248d8e | Candidate contract — R3-01..05 owner-decided, materialized in §2 |
945118edb | D5 adversarial audit applied (F1–F11, 0 material failures) |
4e323fb71 | Gates D6–D8 — §4b MRS correspondence, §9a bootstrap, §9b transit law |
41c579039 | D10 audit applied (7 remediables) |
0ae682b88 | D11–D13 — P1/P2/N1 aligned to C4 §7; §9a.4 unicity model; BOOT-N4 |
bc9afd921 | D14 final adversarial audit — 0 MCF, RATIFY-READY text |
bdbae9b02 | OWNER-RATIFIED (2026-10-15) — status-only promotion |
0bdbb94cb | v0.1 landing into master (merge of impl/forma-orchestrator-v0.1) |
f61f92b36 | Doc cutover C8 — docs/design/ removed (Git history preserved) |
Ratified: the laws and their declared limits — Architecture B (Hybrid Minimal); R3-01..05; the §10.6b restricted reading of exclusivity; the BOOT-N4 cross-host ceiling; MRS as Minimal Realization Backplane. NOT ratified: undemonstrated operational capabilities and the §14 numeric SLO profile (no performance result is pre-ratified; the profile must be frozen from measurement).
2. Implementation genealogy
The implementation campaign ran on branch impl/forma-orchestrator-v0.1 (27 commits
between the contract candidate and the landing merge). Landmark commits, in order:
| Commit | Content |
|---|---|
96dbb7a1a | Macro-WP A — crates/orchestrator created; vertical path real and green |
fcecb3c03 | Macro-WP B — loopback TCP primitive, orch_executor process, restart recovery |
1e688fe8c | Census C1 §22 (b)(c)(d) + FENCE-N1 + measured F06 baseline + witness matrix |
d83086136 | C6 selection/roster/rollout (P9/P10/P1/P2/N1) |
f3f8c10d9 | C2 acquisition integrated (N8/P5) + N2/N7/N10/P8 witnesses |
5ffab11a9 | HWR admission wiring (C6 §6 gate; N9/N1 seam) |
c61b20f42 | Operational CLI + real wire payload (§8 S4 transport-body law) |
189604462 | Release-profile dispatch defect fixed; release SLO measured |
6a88b7fcf | TOCTOU-closed publication, §27 reopen recovery, §9b transport classification |
9e059a91e | P4 three-partition coordinated deployment — matrix 32/32 |
46310d527 | §10.6b inter-process publication critical section (guard bound to its root) |
edfa09898 | Release-profile SLO TSVs re-frozen by the release gate run |
3. Superior authorities — where they live now
The contract’s header cites its superior authorities by name; the cutover moved the normative tree into the book. Current owners:
| Cited authority | Current location |
|---|---|
| FORMASL-INTENT | fundacoes/01-intent.md |
| FORMAL-WORLD-MODEL | fundacoes/02-world-model.md |
| SEMANTIC-INVARIANTS | fundacoes/03-invariants.md |
| SEMANTIC-CONTINUITY | fundacoes/04-continuity.md |
| ARCHITECTURE | autoridades/29-architecture.md |
| C1 External Execution Plane Contract | autoridades/25-external-execution-plane-contract.md |
| C2 Observation Acquisition Contract | autoridades/24-observation-acquisition-contract.md |
| HWR-04 contract package | autoridades/contracts/forma-hardware-physical-realization-v0.1/README.md |
| MRS backplane | autoridades/mrs/backplane-v0.1/README.md |
| DOC durable-operation carriers | crates/durable-operation, crates/durable-operation-reference (executable carriers: AttemptFence, WorkerLeaseCas) |
| FormaFS / storage contracts | autoridades/formafs/kernel-v0.1/README.md |
| forma-network v0.1 | autoridades/contracts/forma-network-v0.1/CONTRACT.md and autoridades/network/forma-network-v0.1/README.md |
| ESI (Executable Semantic Interface) | autoridades/28-executable-semantic-interface-contract.md |
| EOC (Effect/Observation/Claim) | autoridades/12-effect-observation-claim.md |
| SLT (Semantic Lifecycle Transitions) | autoridades/11-semantic-lifecycle-transitions.md |
| Governance | autoridades/16-governance-capability-contract.md |
The contract body carries no internal document links (it cites authorities by name in prose), so no in-carrier link repair was needed or performed.
4. Contract law ↔ implementation correspondence
| Contract section | Carrier in crates/orchestrator |
|---|---|
| §4 jurisdiction | src/lib.rs module law (owns the loop only; names every non-owned authority); OrchestratorCoordinator structure |
| §5 interfaces (reuse-first) | DeploymentDesignation (designation, roster, basis, adapter, per-target realizations, observer, evaluation_gas, admission/partition closures); C1/HWR/DOC types consumed, never redefined |
| §6 operational machine by reference | RequestDisposition classes; C1 OperationView/AttemptView reads |
| §7 reconciliation cycle | run_cycle — EVALUATE → COALESCE → WIRE → SETTLE → CHECKPOINT; coalescing checkpoint keyed (artifact, action); WINDOW-law lane index uncertain_by_action; EvaluationNotEstablished with budget attribution |
| §8 scheduling and placement flow | exact-target binding_for lookup (no retargeting); HWR admission gate admit_designation_closure; P4 coordinate_distributed_deployment |
| §9 / ACTIVATION LAW | activate_provision / activate_recover; ExecutionPlane::claim_writer CAS; typed ActivationRefusal |
| §9a BOOTSTRAP LAW | initial durable registration (InitialPublicationRefused fail-closed); roster record as authoritative designation; CLI production marker provisioning.json |
| §9b TRANSIT LAW | loopback.rs classification law (post-crossing ⇒ Ambiguous; connect-refused ⇒ Failed); staged pre-exposure cancels (cancel_superseded); admit_late_receipt (FENCE-N2); present_duplicate_delivery (§12a replay) |
| §10 durability invariants | persist_checkpoint (publication lock → staged writes → CAS → renames → post-publication currency re-check); PersistenceRefusal; per-record typed corruption refusals; §27 ExecutionPlane::reopen |
| §11 observability | CycleReport (dispositions, wire exposures, T_eval/T_admission/T_persist/T_loop, governed budget, verdicts); effective_standing; governed C2 acquisition delegations |
| §12 security and governance | restore-only authority law in the CLI (OwnerRuleRef::restore — restore confers no standing); lossless op_key_for (§12a); record_unauthorized_invocation (N11) |
| §13 platform scope | single-host x86_64-linux reference class honored in tests and prose (no fleet claim anywhere) |
| §14 performance method | evaluation_gas provenance; separate T_eval/T_loop measurement; tests/slo_profile.rs + evidence/slo-profile.tsv, evidence/slo-sweep.tsv |
| §15 acceptance matrix | WITNESS-MATRIX.md mapping all 32 rows to executable witnesses; the 12 test files |
| §16–§19 | negative law enforced by the same witnesses; handoff obligations closed by the matrix and the SLO recording method |
5. Witness matrix and acceptance evidence
crates/orchestrator/WITNESS-MATRIX.md maps every acceptance row to its current
executable evidence: N1–N12, P1–P10, BOOT-P1/N1–N4 and FENCE-N1–N4/P1 — 32 rows — plus
the census C1 §22 productive writers (b), (c), (d). Every row is EXECUTED (a runnable,
discriminative test) except BOOT-N4, which is HONEST-BY-LAW: the ratified ceiling
itself (no cross-host duplicate-designation detection or prevention is claimed
anywhere). The witnesses live in the crate’s test files: c2_acquisition.rs,
c6_rollout_roster.rs, census_fence.rs, cli_e2e.rs, hwr_wiring.rs,
multinode.rs, n2_n7_n10_p8.rs, p4_three_partitions.rs, selection_set.rs,
slo_profile.rs, transport_metric.rs, vertical_path.rs, and the unit tests inside
src/coordinator.rs.
6. Reconciliation findings of this campaign
- F1 — orphaned contract references. Two files still pointed at the deleted
docs/design/path:crates/orchestrator/WITNESS-MATRIX.mdand the module doc ofcrates/orchestrator/src/lib.rs. Both were repointed at this carrier. Documentary change only; no behavior change. - F2 — SLO evidence profile divergence. The witness matrix states that the
committed TSVs record the release-profile measurement (re-frozen by
edfa09898). Inspection of the committed artifacts showed the debug profile: later workspace-wide gate runs (the FGP-06…FGP-09 series) re-executed the SLO test under a debug build, which re-records the evidence files, and the debug output was swept into those closures. The recording mechanism is the test itself — it writes the profile of whichever build runs it — so the remedy applied by this campaign is to re-run the release gate (cargo test -p formasl-orchestrator --release --all-targets) and commit the re-frozen release-profile TSVs, with the matrix wording now naming the recording mechanism honestly. No acceptance number was invented at any point. - F3 — no further material divergence found. The contract’s acceptance matrix, the witness matrix and the executable tests agree on the 32-row census; the implementation’s public surface matches §5; the CLI exit contract matches the documented behavior. Residual limits are the ratified ones (BOOT-N4, §13 reference class, §10.6b scope walls), restated in the verification chapter.
7. Where the documentation lives
- Normative carrier: CONTRACT.md (this directory).
- English canonical chapters: overview, architecture, operational cycle, deployment and placement, CLI and operations, durability and recovery, security and observability, API and outcomes, verification and limits.
- pt-BR editorial edition:
orquestrador/01…09(derivative; technical terms untranslated; no textual-identity claim).
Forma Spatiality + Perception v0.1
Status: RELEASE_CANDIDATE documentation, generated from the landed campaign FORMA-SPATIAL-PERCEPTION-REALIZATION-v0.1 (CAMPAIGN_COMPLETE / RELEASE_CANDIDATE; RC commit 3ce37adf on master; campaign record: archive/demos/forma-yard-intrusion-v0.1/README.md; charter package: docs/forma-spatial-perception-realization-v0.1-package/)
Contract: crates/spatial-perception-providers (adapters + admission), crates/yard-perception-provider (external detector), crates/formasl-product-airspace (airspace product applying the same machinery), crates/semantic-ui-airspace (read profile over Semantic UI)
Evidence: suite cargo nextest run -p formasl-spatial-perception-providers — 27/27 green re-executed on 2026-10-02 (~105 s, real ONNX inference + headless-Chrome surface witness included); CLI transcripts in TUTORIAL.md re-executed on 2026-10-02
This documentation set: documentation is not semantic authority. The .fsl sources remain the executable authority for what the world represents; .fsp plans govern only declared realization.
O que é
A espacialidade do Forma é uma fronteira de dois planos com uma única porta governada:
PLANO SEMÂNTICO (.fsl) PLANO DE REALIZAÇÃO (MRS/providers)
Region, Place, SRS, Representation geo / proj4rs / nalgebra / tract-onnx
SpatialContains, SpatialOverlaps, ... RegionRing, CrsSpec, Homography, ONNX
relações QUALITATIVAS, zero coordenadas computação MÉTRICA, digest-pinned
▲ │
└──────── ADMISSION (a única porta) ─────┘
ProviderEvidence != SemanticOutcome; a ponte é autorizada pela
declaração .fsl resolvida, nunca pelo output do provider
Tese validada pela campanha: FormaSL governa e compõe computação espacial real e percepção visual real (visão computacional) pelo MESMO substrato de realização (MRS), usa os resultados em raciocínio semântico, projeta o mundo resultante num mapa interativo real e retorna ao referente Forma exato — sem colapsar representação de implementação em autoridade semântica e sem mudar a linguagem (MRS_CORE_CHANGE = NONE; delta = adapters + contratos + demonstrador).
Os pilares
| Pilar | O que possui | Onde |
|---|---|---|
| Espaço na linguagem | Place, Region, SpatialReferenceSystem, SpatialRepresentation + 7 relações qualitativas + transitividade/simetrias constitutivas; zero coordenadas, zero métrica | stdlib/sources/std/world/space.fsl |
| Geometria métrica | RegionRing como representação externa de região; Contains/Area/Centroid/OverlapsArea pelo engine geo (e shapely/GEOS externo como provider B) | crates/spatial-perception-providers/src/geometry.rs |
| CRS | Transformação declarada source→target (WGS84 lon/lat → UTM 23S metros) por proj4rs; sem guess de eixo; fail-closed | crates/spatial-perception-providers/src/crs.rs |
| Frames de câmera | pixel→mundo por homografia 3×3 (nalgebra) sobre calibração digest-pinned (SHA-256); erasure/adulteração recusa | crates/spatial-perception-providers/src/frame.rs |
| Percepção | Contrato de detecção tipado (imagem/modelo por digest, score sob contrato, bbox em pixel frame) + detector externo real (tract-onnx, YOLOv8n/v5s, COCO-80) | crates/spatial-perception-providers/src/perception.rs, crates/yard-perception-provider |
| Tracking (observador) | Clustering determinístico → gating + Kalman CV por eixo → iniciação N-of-M → coast/drop → propostas de correlação com ambiguidade preservada | crates/formasl-product-airspace/src/vision.rs |
| Admissão (a porta) | Autoridade produtiva derivada da declaração .fsl resolvida → ActionJournal → ObservationRecord; provider nunca escolhe autoridade | crates/spatial-perception-providers/src/admission.rs |
| Projeção | Artefato determinístico com correspondência reversa exata (feature → SubjectRef → referente); intercâmbio GeoJSON mínimo; superfície real sem regras de domínio | crates/spatial-perception-providers/src/projection.rs |
Mapa de crates
| Crate | Papel |
|---|---|
crates/spatial-perception-providers | Quatro famílias de provider tipadas + pipeline canônico MRS + oráculos de conformância + autoridade de admissão perceptual + projeção (biblioteca; hosts E2E são os testes de integração spr01..spr04, sprm01) |
crates/yard-perception-provider | Binário de produção: processo OS distinto com inferência ONNX real (loopback HTTP; GET /model, POST /detect) |
crates/formasl-product-airspace | Produto airspace-control: mundo determinístico, sensores (radar/transponder), pipeline de visão, síntese semântica por tick, ciclo F1/F3 |
crates/semantic-ui-airspace | Perfil de leitura airspace sobre Semantic UI v0.4 (apresentação ≠ autoridade) |
archive/demos/forma-yard-intrusion-v0.1/ | O mundo semântico do pátio (source/yard_world.fsl), planos .fsp, provider B (Python/GEOS), fixtures digest-pinados, superfície HTML, evidência da campanha |
Mapa da documentação
| Documento | Conteúdo |
|---|---|
| LANGUAGE-LEVEL.md | O módulo std::world::space e como aplicações constam espacialidade sobre ele (yard, airspace) |
| REALIZATION.md | O traversal MRS canônico e as quatro famílias de provider, contrato por contrato |
| PERCEPTION.md | O contrato de detecção, o detector ONNX externo, sensores e tracking do airspace |
| ADMISSION.md | A ponte evidência→observação: autoridade produtiva SPR-RM-01 |
| PROJECTION.md | Projeção, correspondência reversa exata e a superfície interativa |
| TUTORIAL.md | Passo a passo executável do mundo do pátio, com transcritos reais |
| OPERATIONS.md | Comandos, variáveis de ambiente, suite, gates e o produto airspace |
| DEFINITIONS.md | Matriz de não-colapsos + glossário |
Precedência
LIVE REPOSITORY / fontes .fsl correntes > esta documentação > histórico de campanha
Se esta documentação divergir do código executável, a documentação deve ser corrigida.
The Forma application layer — reconstructed modules and products
Status: DELIVERED-SYSTEM DOCUMENTATION (v0.1) — RETIRED (see the notice below)
Date: 2026-10-02
Authority: NONE (documentation is not semantic authority). The durable
architecture owner is docs/book/src/autoridades/43-application-modules-architecture.md;
the campaign/evidence owners are Git-resolvable at the pre-cutover master
commit 660426b2e056257056c54c73ed8dca429fe44419; the standing set-identity
owner of the catalog was application-kit/pilot/harness/canonical_catalog_gate.py
(pre-removal; the tree is preserved as Git history at 8f4efbc6).
Retired (owner decision 2026-10-16). The application layer this package documents —
application-kit/andapplication-products/— was removed from the live tree; the unarchiveddemos/corpus is the repository’s live demonstration surface. The pages below are the historical record of the layer as delivered at the pre-removal master revision8f4efbc6: every path, command, gate and receipt they name is Git-resolvable history, not a live tree. The retirement is carried by the bounded Application Layer Retirement State Amendment; the governance statement lives in Autoridade e governança dos contratos.
What this layer is
application-kit/ and application-products/ are the repository’s
demonstration of Forma used as an application language: 65 catalogued
application modules and 24 complete applications, all expressed as .fsl
semantic declarations, all executable, all carried by positive/negative
test suites whose negative cases are attack-sensitive.
They were not written from scratch as sample code. They were reconstructed from a frozen corpus of rich demo applications through a governed campaign methodology: identify the reusable semantic core, seal it, then rebuild every application as sealed modules + explicit composition + an irreducible product-local delta, with deletion and substitution attacks proving that every claimed reuse edge is load-bearing.
application-kit/pilot/ = the module kit (SEALED K0: 56 modules + catalog
+ fixtures + witnesses; later canonical waves
added 9 forma::core::* modules -> 65 entries)
application-products/ = 24 reconstructed applications, each importing
K0 modules and owning an explicit local delta
Why it matters as a demonstration
Each artifact demonstrates a Forma practice that generic sample code cannot show honestly:
- Semantic reuse with proof. Products import module semantics
(
import forma::pilot::payment) and never re-declare them; deletion witnesses prove that removing a module breaks a real consumer obligation. - Refusals as first-class behavior. Every module and product carries negative worlds that pin what must NOT derive (a payment without an authorization never completes; a webhook replay is suppressed).
- Attack-sensitive evidence. Suite negatives are discriminants: a semantic mutation of a load-bearing gate flips the suite (see TUTORIAL.md for an executed demonstration).
- Governed evolution. The catalog grew 56 → 60 → 65 through ratified campaigns, and a fail-closed gate proves set identity at any time.
The two trees at a glance
| Tree | Contents | Status |
|---|---|---|
application-kit/pilot/src/catalog.fsl | 65 ActiveCatalogEntry facts (E01–E65) | canonical active catalog |
application-kit/pilot/packages/forma.pilot.module.* | 56 K0 modules + 4 superseded wave suppliers | K0 = SEALED / read-only |
application-kit/pilot/packages/forma.core.module.* | 9 canonical forma::core::* modules (M57–M65) | catalogued, read-only |
application-kit/pilot/packages/forma.pilot.fixtures.* + forma.core.fixtures.* | per-family test worlds and G17 gate worlds | evidence |
application-kit/pilot/packages/forma.pilot.witnesses | 259 witness sources (origin / deletion / substitution / independence) | evidence |
application-products/<product>/ | 24 applications: manifest + product .fsl + worlds/ + suites | the demonstration apps |
Full inventories with per-item purpose and origin: INVENTORY.md.
How to read this package
| Document | Question it answers |
|---|---|
| HOW-BUILT.md | How were the modules and apps made? (campaign chronology, gates, conferences) |
| MODULE-ANATOMY.md | What does one application module consist of, and why? |
| PRODUCT-ANATOMY.md | What does one reconstructed application consist of, and what closes it? |
| GETTING-STARTED.md | How do I verify, run and inspect them? (executed transcripts) |
| TUTORIAL.md | How do I author a new module the same way? (executed end-to-end cycle) |
| INVENTORY.md | What exactly exists? (all 56 + 9 + 1 modules, all 24 products) |
| DEFINITIONS.md | What do K0, delta, witness, G17, load-bearing edge mean? |
Operating state at documentation time
All results below were executed on master@8f4efbc6 (2026-10-02) and are
reproducible with the commands in GETTING-STARTED.md:
canonical_catalog_gate PASS (65 entries; C1-C5 set identity intact)
evidence_gate PASS (60/60 module suites, 371 cases; witnesses 521
cases; roots 259==259; exact totals E1=100 E2=40)
defense modules 5/5 suite pass (run explicitly; G3 does not cover them)
detrule 1/1 suite pass
product battery 24/24 suite pass
Boundaries
- The K0 module set (
application-kit/pilot/**) is SEALED and read-only: changes are ΔK candidates staged through a campaign, never in-place edits. - The superseded wave suppliers (
sla,routing,idres,dstanding) are SUPERSEDED-EVIDENCE packages: live suppliers of the engagement wave products, not catalogued K0 (dstandingisforma::eng::*, evidence only). - The historical per-demo books under
docs/applications/forma-*document the archiveddemos/**generation (frozen baselines); they are historical evidence, not documentation of the current layer. - Nothing in this package redefines language semantics; for the language
itself see the user guide (
docs/user/) anddocs/FORMASL.md.
Forma Airspace Control — documentação canônica v0.1
Esta documentação descreve o Forma Airspace Control como aplicação FormaSL e reconstrói, separadamente, o processo pelo qual a aplicação foi pesquisada, sintetizada, modelada, executada, atacada e fechada por um agente durante a campanha AIRSPACE.
Ela foi preparada para substituir a dependência operacional dos artefatos históricos da campanha. O objetivo é que um leitor consiga compreender, executar, inspecionar, testar, modificar e auditar a aplicação sem precisar consultar WPs, ledgers, relatórios de fechamento ou documentos de síntese que poderão ser arquivados e posteriormente apagados.
Baseline desta edição
- Repositório:
guilhermeleste/FormaSL - Branch observada:
master - Baseline de código/documentação usada nesta edição:
8b76d8e88d2aa9ae24263f21060b915e9b126860 - Última superfície de revalidação integral da aplicação registrada pela campanha:
fd1d6ba1c09ffbf4516a61f101780d7a9772b677 - Aplicação:
demos/airspace-control - Versão declarada pelo pacote:
0.1.0
O commit 8b76d8e8 acrescenta o pacote isolado experiments/stdlib-candidates/airspace-derived-v0.1; ele não transforma esses candidatos em stdlib canônica e não altera a semântica do Airspace Control.
Regime de autoridade
Esta documentação é a autoridade para explicação, arquitetura documentada, operação documentada e rationale da aplicação. O código .fsl corrente continua sendo a autoridade executável para aquilo que a aplicação efetivamente representa e deriva. Arquivos .fsp governam apenas a realização declarada e não podem redefinir o significado do .fsl.
Quando documentação e código executável divergirem, a documentação deve ser corrigida. Quando uma afirmação operacional não puder ser demonstrada no toolchain ou nos casos preservados, ela deve ser rebaixada para o nível realmente sustentado.
O que o Airspace Control é
O Forma Airspace Control é uma aplicação sintética para modelar o uso governado de um único mundo aéreo compartilhado por atores civis e militares sob regimes distintos de autoridade, informação, planejamento e operação. O modelo cobre, no horizonte atual:
- surveillance, tracking, identidade e classificação;
- voos, missões, rotas e trajetórias;
- controle civil e handoff;
- Military Air C2, command relations, capability, assignment e tasking;
- uso conjunto do espaço aéreo;
- coalition information governance;
- publicação, recepção, estado local, partição e reconciliação;
- operação degradada;
- medidas de espaço aéreo;
- alertas e execution reports;
- reconstrução histórica;
- realization binding com
.fsp.
Ele não é um simulador físico completo, um sistema ATC certificado, um C2 operacional real, um motor geométrico, um middleware de mensageria ou um substituto de ASTERIX/AIXM/FIXM/C2SIM. Essas fronteiras são deliberadamente documentadas.
Comece por aqui
Se você quer executar antes de estudar a arquitetura inteira, use o Quickstart operacional. Para entender primeiro a proposta, leia O que é Forma Airspace Control e One Air World e modelo mental.
Como a documentação está organizada
A navegação foi organizada pelo modo de uso do leitor, não pela ordem em que os documentos foram produzidos.
Orientação e primeiros passos
Use getting-started/ para entender a autoridade desta edição, aprender como ler o corpus, executar o primeiro fluxo e reconhecer a estrutura de um módulo .fsl.
Arquitetura e conceitos
Use architecture/ para estudar One Air World, tempo e proveniência, a fronteira stdlib/domínio/aplicação e os principais domínios semânticos: surveillance, trajetória, controle civil, Air C2, joint, coalition, distribuição, degradação, alerting e reporting.
Operação e desenvolvimento
Use guides/ para executar os whole-flow witnesses, trabalhar com realization, testar cenários positivos e negativos, diagnosticar falhas e estender a aplicação.
Design e rationale
Use design/ para entender decisões que não são óbvias olhando apenas o código: não-colapsos, consumo e derivação de stdlib e rationale das escolhas arquiteturais.
Processo da campanha
Use process/ para reconstruir como o agente pesquisou genealogias, sintetizou o domínio, aplicou stdlib-first, trabalhou por macro-WPs, executou ataques adversariais e chegou ao fechamento. Essa seção registra fatos e método; não afirma causalidade entre declaratividade e produtividade do agente.
Referência
Use reference/ para consultas pontuais sobre módulos, relações, regras, fluxos, cenários, ceilings, comandos, claims, fontes e glossário.
Histórico e fechamento
Use history/ para o snapshot compacto de execução, a decisão de retenção de evidências e o relatório de fechamento documental. Esses arquivos preservam o mínimo necessário para tornar os artefatos históricos da campanha dispensáveis para o uso normal da documentação.
Trilhas de leitura
Para entender a aplicação: visão geral → modelo mental → arquitetura → surveillance → controle civil / Air C2 → joint → distribuição e degradação.
Para executá-la: Quickstart → como ler FSL → modelo de execução → civil / militar / joint degradado / histórico → testes.
Para entender o processo do agente: método da campanha → genealogias e síntese → stdlib-first → macro-WPs e gates → análise adversarial → closure → cronologia.
Princípio de leitura
O corpus usa uma convenção estrita:
- representado: existe carrier semântico em
.fsl; - computável: regras/consultas podem produzir resultado;
- executável: o fluxo foi observado no toolchain com witness adequado;
- realizable: há uma superfície de realization/binding exercitada;
- provider-dependent: o significado está representado, mas a realização física depende de provider externo;
- não implementado / ceiling: a capacidade não existe no nível requerido;
- fora do horizonte: foi deliberadamente excluída da aplicação.
Esses níveis nunca são tratados como equivalentes.
Fechamento desta edição
- O relatório de fechamento documental registra o ataque final, o Delete Test, o Fresh Reader Test e a limitação de reexecução desta sessão documental.
- Manifesto do pacote lista a integridade do pacote.
FormaSL — Diagnostics Codes Contract
Status: STABLE (promoted per owner dispatch 2026-10-15 §3.3 after short semantic-sufficiency verification: floors preserved verbatim; no canonical code redefined; presentation layering and projection rules observable)
Authority: NORMATIVE DECISION CONTRACT — diagnostic code floor, presentation layering, and editor-annotation separation
Ratification: owner dispatch 2026-10-15 (D10-8 option B ratified: minimal successor contract; materialization authorized; production-code citation sync NOT authorized in the materialization mission)
Decision basis: research/forma-analyzer-re-decision-closure @ 5ab196c4 (doc 02-D10-8-DIAGNOSTICS-AUTHORITY.md); genealogy 1c3299332 (adds docs/FORMASL-PROJECT-SYSTEM-FIOP-v0.2/governance/API-DIAGNOSTICS-CONTRACT.md) → 31788c70c (removes a 239-file documentary cleanup batch spanning several trees, including the whole FORMASL-PROJECT-SYSTEM-FIOP-v0.2 tree — 33 files; message mentions only SHA256SUMS.txt) = documentary withdrawal by tree cleanup, NOT individual normative revocation, no successor created
Parent: ../FORMASL.md
Depends on: ../contracts/post-p9/topics/T04.md (CLOSED_CANDIDATE), ../contracts/post-p9/assurance/api-construction-contract.md (CLOSED_CANDIDATE)
Applied by (application context, NOT a normative dependency of this floor): FORMA-ANALYZER-FA-00-FOUNDATION-CONTRACT.md — the analyzer consumes this contract; this contract’s floor is defined entirely by §1–§3 below without normative dependence on any analyzer decision.
Role: own what no living document owns after the withdrawal — the diagnostic CODE floor, the exit-code mapping, and the editor/LSP presentation layering — without redefining anything already owned elsewhere.
1. Authority map (classification honesty)
| Source | Class | Jurisdiction |
|---|---|---|
../contracts/post-p9/topics/T04.md | CLOSED_CANDIDATE authority (frozen post-p9 tree, MANIFEST.toml FROZEN + D235) | programmatic surface: crate path crates/api; public operations check/inspect/run/realize; source-input identity and canonical ordering discipline; CheckedProgram opaque |
../contracts/post-p9/assurance/api-construction-contract.md | CLOSED_CANDIDATE authority | public Rust API shape; Diagnostic { code, class, message, locus? } with class exactly normative_rejection | product_binding | driver | internal; the rule that a T04 function never invents a language rejection for a filesystem/argv failure (driver conditions stay outside T04, in CLI driver handling); CheckOutcome::Rejected diagnostics; unknown/ambiguous selector rejections |
crates/api/src/diag.rs (closed enum + as_str) | implementation fact + in-code authority | DiagnosticClass { NormativeRejection, ProductBinding, Driver, Internal } ↔ normative_rejection/product_binding/driver/internal; Diagnostic.code is a stable machine-readable string; normative rejections keep their contract-owned class code verbatim; primary_site is the source authority |
crates/project/src/lib.rs, crates/cli/src/lib.rs | implementation facts | ProjectError → §10-style code floor citations; exit mapping behavior owned normatively by §2 item 5 below |
API-DIAGNOSTICS-CONTRACT.md @ 1c3299332 | evidence only — NOT authority | historical text; consulted for continuity; restoration as authority would require explicit owner decision (not granted; option B ratified instead) |
| THIS document | normative owner (ratified successor) | the CODE FLOOR (existence, stability, extension discipline), the exit-code mapping as behavior, and the editor/LSP presentation layering |
This contract RECONCILES the above and adds no new class, no new severity semantics, and no renaming.
2. Code floor (owned here)
- Class taxonomy is closed. Exactly the four classes above. A new class requires a ratified amendment of this contract. The enum in
crates/api/src/diag.rsis the executable form; this contract and the enum MUST NOT diverge (gate DC-1). - Codes are verbatim-stable. An existing
codestring is never renamed, re-spelled, or recycled with different meaning. Normative-rejection codes remain the contract-owned class codes verbatim, as implemented today. - Extension discipline. New codes are added only with: owning class, canonical message class, provenance (producing pipeline stage), and an entry in this contract. No code is minted at presentation time (LSP adapter, editor annotations) — adapters select and render, never invent.
- No invented language rejections. Filesystem/argv/driver failures are not language rejections (T04 rule, preserved): they remain driver-class facts outside the canonical diagnostic stream.
- Exit-code mapping (preserved behavior, inherited from the historical §8 floor). The CLI aggregate exit-code mapping is frozen VERBATIM as it exists today and as the historical
API-DIAGNOSTICS-CONTRACT.md§8 (@1c3299332) already specified — this contract PRESERVES it, it does not rewrite it:0= completed requested operation / passing test suite;1= product/semantic/project operation rejection or test expectation mismatch;2= CLI usage or invalid authored project/test/package specification/selection;3= driver/infrastructure/I-O failure;4= recognized operation/profile unsupported;5= resource exhausted. Implementation anchors:crates/cli/src/lib.rs(Io/ManifestNotFound → 3; invalid-authored set → 2; Unsupported → 4; ResourceExhausted → 5; else 1).
2.1 The §10 floor, reconciled (traceable code table)
Method: the historical §10 list (“Error taxonomy floor”, 1c3299332:docs/FORMASL-PROJECT-SYSTEM-FIOP-v0.2/governance/API-DIAGNOSTICS-CONTRACT.md — 33 codes, “Codes may be Rust enums internally. Message text is non-normative.”) was reconciled at this contract’s baseline by exact-token census over crates/{project,cli,api}/src (emitters) and crates/{project,conformance}/tests. Categories are exactly those ratified: required-by-current-authority AND implemented; historical without confirmed validity (NOT auto-promoted to requirement); and the one live reconciliation item recorded below. Implementation is evidence, never an independent source of normative authority.
REQUIRED + IMPLEMENTED — floor inherited by this contract (25 codes; §10 remains their authority):
PROJECT_INVALID_MANIFEST · PROJECT_MANIFEST_NOT_FOUND · PROJECT_MODE_CONFLICT ·
PROJECT_INVALID_ROOT · PROJECT_ROOT_SET_REQUIRED · WORKSPACE_MEMBER_CONFLICT ·
PACKAGE_REQUIREMENT_UNSATISFIED · PACKAGE_RESOLUTION_CONFLICT · LOCK_OUT_OF_DATE ·
PACKAGE_INTEGRITY_MISMATCH · PACKAGE_NOT_AVAILABLE_OFFLINE · MODULE_PROVIDER_MISSING ·
MODULE_PROVIDER_AMBIGUITY · MODULE_REVISION_UNAVAILABLE · UNDECLARED_PACKAGE_DEPENDENCY ·
SOURCE_COORDINATE_CONFLICT · SOURCE_REINTRODUCTION_REQUIRES_DECISION · TARGET_ROOT_MISSING ·
TEST_DEPENDENCY_CONFLICT · TEST_WORLD_INVALID · TEST_FILTER_NO_MATCH ·
PERSISTENT_FORMAT_UNSUPPORTED · PERSISTENT_SCHEMA_INVALID · PUBLICATION_RESOLUTION_FAILURE ·
RELEASE_COORDINATE_ALREADY_BOUND
HISTORICAL-UNCONFIRMED — present in historical §10, no current emitter or test found at baseline (8 codes; NOT auto-promoted to requirement by this contract; each requires its own future decision to be implemented or explicitly retired):
MODULE_REVISION_CONFLICT · SOURCE_INTEGRITY_CONFLICT · SOURCE_REVISION_CONFLICT ·
SOURCE_BINDING_CHANGED_REQUIRES_EXPLICIT_REBIND · CATALOG_SOURCE_MISMATCH ·
IMPORT_CLOSURE_FAILURE · TEST_EXPECTATION_MISMATCH · PACKAGE_NOT_PUBLISHABLE
Emission-mode footnote (census honesty): of the 25 codes above, 21 are returned as machine-readable code() discriminants by crates/project/src/lib.rs; the exceptions are MODULE_PROVIDER_MISSING, MODULE_PROVIDER_AMBIGUITY and MODULE_REVISION_UNAVAILABLE, which today occur only as prose fragments inside the detail text of ProjectError::RequirementUnsatisfied (whose code() is PACKAGE_REQUIREMENT_UNSATISFIED — crates/project/src/closure.rs), and PROJECT_MODE_CONFLICT, which today occurs only as a CLI message string (crates/cli/src/lib.rs, witnessed by crates/cli/tests/project_mode_witnesses.rs). Their floor membership is inherited from §10; promoting them to distinct machine-readable code() discriminants is an implementation WP, not a silent inference from this table.
Side note (referenced, not re-enumerated — no duplication): api-side normative-rejection codes (elaboration/formation/resolution families — the FormationRejection code arms (UNKNOWN_RELATION_ROLE … INVALID_UNBOUNDED_PATH_FORMATION), plus UNSUPPORTED_CONSTRUCT, UNRESOLVED_REFERENCE, AMBIGUOUS_REFERENCE, LOCUS_MAP_INCOHERENT, TYPE_BINDER_WHERE_TYPE_REQUIRED, emitted by crates/api/src/check.rs as contract-owned class codes) remain governed verbatim by the T04/api-construction authorities and crates/api/src/diag.rs as implemented.
Live floor extension recorded (reconciliation item, not hidden): PROJECT_SOURCE_HEADER_MISSING is emitted today by ProjectError::WorkingSourceRejected (crates/project/src/lib.rs:288), self-described there as an “extension of the API-DIAGNOSTICS §10 code floor”, but is absent from the historical 33-code §10 list. It is a LIVE implementation extension whose floor entry/provenance reconciliation belongs to the §5 future citation-sync WP; this contract records it without retroactively inventing historical authority. No material conflict between code and floor was found in this census beyond this recorded item; any later divergence MUST be recorded here, never hidden.
3. Presentation layering: three distinct layers (owned here)
Canonical FormaSL diagnostic != Editorial annotation != LSP Diagnostic (transport)
EditorAnnotation != Diagnostic
LSP Severity != DiagnosticClass
- Canonical FormaSL diagnostic — produced ONLY by the production pipeline (
admit_source,check, project system). Itscodeis verbatim-stable (§2) and travels through any projection intact. A canonical rejection remains canonical EVEN when computed over an unsaved buffer submitted through the canonical admission route (application context: FA-00 §3/§4.1): its provenance is the producing pipeline, not the storage state of the source. Presenting such rejections is required honesty; suppressing them because the source is unpublished is forbidden. - Editorial annotation — produced by syntactic recovery, tolerant syntax, or operational editor state (application context: the FA-00 editor layer); zero semantic authority; never enters the canonical pipeline; never completes, admits, validates or selects anything; never promoted to canonical judgment.
- LSP Diagnostic — the protocol’s transport/presentation shape. It MAY carry either of the two above without transforming its origin. Minimal projection rules:
- canonical diagnostics project with their canonical
codeVERBATIM andsourceidentifying the canonical producer; - editorial annotations project with an EDITORIAL producer namespace (LSP
source= the editorial producer identity, e.g.forma-editor) andcodes ONLY inside that editorial namespace (e.g.editor-syntax/…); a fabricated canonical-shaped code for an annotation is FORBIDDEN; - severity is a presentation mapping (documented, monotone); it never re-classifies and never retro-feeds class, code, or pipeline decision;
- document-version discipline:
PublishDiagnosticsParams.versionis optional per LSP 3.17; it is never fabricated fromAnalysisVersion, and stale sets are discarded at the source (analyzer-side application of this discipline is specified in FA-00 §8 — application context, not a dependency of this floor).
- canonical diagnostics project with their canonical
4. Gates
| Gate | Property | Failure condition |
|---|---|---|
| DC-1 | contract ↔ diag.rs class-set equality | any string differs |
| DC-2 | no silent redefinition | successor diff renames/recycles an existing code or alters a class string |
| DC-3 | presentation never re-classifies | adapter output changes code/class of a canonical diagnostic |
| DC-4 | annotation separation | an EditorAnnotation is typed/read as Diagnostic anywhere |
| DC-5 | provenance | a published diagnostic without canonical-pipeline provenance in its producer path |
| DC-6 | projection provenance/namespace | an annotation projected with a fabricated canonical-shaped code, or a canonical code/class altered by projection |
| DC-7 | LSP version discipline | a version fabricated from AnalysisVersion, or a stale diagnostic set published after its analyzed input state was superseded |
5. Outstanding synchronization obligation (future WP; NOT this materialization)
crates/project/src/lib.rs:82,181,267 and crates/cli/src/lib.rs:2537,2542 still cite the withdrawn “API-DIAGNOSTICS §10/§8”. The normative home of those floors is now THIS contract. Updating the citations touches production code and belongs to its own authorized WP; until then the citations are historically accurate pointers to the floor that this contract now owns.
6. Reopen rule
Reopen only for a material counterexample, a class/code collision with a superior authority, or explicit owner reconsideration. Presentation preferences never reopen the floor.
Forma Hardware Physical Realization Contract Package v0.1 (HWR-04)
Status: STABLE / OWNER-RATIFIED
Ratification: HWR-04 owner review v3 = RATIFY over the remediated candidate suite at
campaign commit 1912d67ed0740e6f790e421eadfddbe66216be97
(campaign branch campaign/forma-hardware-physical-realization-v0.1,
repo guilhermeleste/FormaSL).
Materialization: HWR-04 RATIFICATION / AUTHORITY MATERIALIZATION —
MODE = CONTRACT SYNCHRONIZATION / EVIDENCE-PRESERVING PROMOTION; METHOD = FIOP.
Promotion is semantics-preserving: RATIFIED_HWR04_SEMANTIC_DIFF = 0 (clause-level
verification in
docs/FORMA-HARDWARE-PHYSICAL-REALIZATION-v0.1/evidence/HWR-04-RATIFICATION-PROMOTION-MAP.md).
Purpose
This package is the DURABLE OWNER set for the Forma Hardware physical realization plane:
physical realization identity, admission judgment and records, target capability
comparison, application closure and device artifacts, provider boundary and resolution,
device runtime profiles, and the physical deployment/lifecycle stage — as ratified from
the HWR-04 campaign. Downstream consumers (HWR-05 ISA requirement extraction, HWR-06
implementation, product surfaces) read THESE owners, not
docs/FORMA-HARDWARE-PHYSICAL-REALIZATION-v0.1/contracts-candidate/**, which remains
historical/provenance evidence only.
Owner set (one material responsibility → one durable owner)
C1 PHYSICAL-REALIZATION-CONTRACT.md PhysicalRealization identity; PhysicalRealizationAdmission
judgment (TOTAL three-class); AdmissionRecord definition/
minting; input-coherence law (R2-B); snapshot/currentness
law; distributed-realization composition; assurance
classification.
C2 TARGET-DEVICE-CAPABILITY-CONTRACT.md TargetDescription; closed capability dimension set;
per-dimension comparison; units law; target assurance;
CapabilityComparison != Admission kind wall.
C3 APPLICATION-CLOSURE-DEVICE-ARTIFACT-CONTRACT.md ApplicationClosure content/derivation law;
ClosureDerivationFailure (class A) vs valid negative/
epistemic realization facts (class B) partition (R2-A);
DeviceArtifact + ClosureManifest (references closure AND
AdmissionRecord); per-partition closures; Path A/B split.
C4 PHYSICAL-PROVIDER-CONTRACT.md Provider kinds/boundary; designation resolution over ONE
registry (CLOSED lawful selection set); binding
preservation HARD duty (EngineX/EngineY); two-regime
UNBOUND-DEFAULT law; provider assurance; substitution.
C5 DEVICE-RUNTIME-PROFILE-CONTRACT.md Device runtime responsibility floor; claim ceiling;
hosting load/verify law incl. AdmissionRecord coherence
verification (consumption only, never admission
authority); resource-floor declaration duty.
C6 PHYSICAL-DEPLOYMENT-LIFECYCLE-CONTRACT.md Deployment precondition (SATISFIED record only);
delivery/stage laws; update/replacement identity;
lifecycle walls (Admission != Authorization != Execution).
HWR-04-CROSS-CONTRACT-MATRIX.md Companion census: ownership invariants
(DUPLICATE_OWNER = 0;
OWNERLESS_MATERIAL_RESPONSIBILITY = 0;
CONTRACTUAL_DEPENDENCY_CYCLE = 0;
ADMISSION_CLOSURE_INPUT_DIVERGENCE = 0;
TOTALITY_PARTITION_EXCLUSIVITY), forward/back-edge
census (§C), coherence pair map (§COH), totality
partition gate (§TOTAL), kind-wall census (§X8).
HWR-04-GAP-TO-CONTRACT-COVERAGE.md Companion coverage table G-01..G-16 -> clauses +
falsifiable witnesses (GAP_COVERAGE = 16/16).
HWR-04-ISA-REQUIREMENT-EXTRACTION-INPUT.md remains a campaign analysis/handoff artifact
under the campaign package — it is NOT a permanent ISA contract and decides no ISA
question.
Governing boundaries (inherited, not re-decided)
UPSTREAM AUTHORITY : docs/foundations/** (INTENT, FORMAL-WORLD-MODEL, SEMANTIC-
INVARIANTS, SEMANTIC-CONTINUITY) and docs/design/ARCHITECTURE.md
bind this package; nothing here re-decides them.
HWR-03-R : docs/FORMA-HARDWARE-PHYSICAL-REALIZATION-v0.1/decisions/
HWR-03-PHYSICAL-REALIZATION-ARCHITECTURE.md +
HWR-03-DECISION-REGISTER.md + HWR-03-CONTINUITY-OBLIGATIONS.md
(VERIFIED / CLOSED — REMEDIATED) are the accepted architecture;
this package is its ratified contract materialization.
BLOCK C FIREWALL : Execution plane (ExecutionRequest/Dispatch/ExecutionAttempt/
ExecutionReceipt/retry/external-effect establishment) and
acquisition plane (Acquisition/AdapterReceipt/ObservationBridge/
Observation semantics) are OWNED BY BLOCK C C1/C2.
UPSTREAM CONTRACT RESERVED — NO LOCAL SUBSTITUTE.
(Live state 2026-09-26: C1A candidate v5 @ 966de884 UNRATIFIED;
C2 NOT STARTED — reservation stands; consumed-by-reference only,
see C1 §15 / C3 §14 / C4 §15 / C5 §14 / C6 §13 and matrix rows
14/15.)
ISA FIREWALL : Path A = hosted runtime; Path B = FORMA_ISA_BOUNDARY -> deferred
ISA campaign. No opcode/register/word-size/memory-model/bytecode/
native-encoding/instruction-semantics/privilege-model/AOT-JIT/
binary-format decision exists in this package (C1 §16, C2 §15,
C3 §15, C4 §16, C5 §15, C6 §14).
Required causal order (preserved; matrix §C)
checked application -> .fsp plan / admitted bindings -> provider resolution ->
target comparisons -> runtime requirements -> ApplicationClosure ->
PhysicalRealizationAdmission -> AdmissionRecord -> DeviceArtifact / ClosureManifest ->
Deployment -> HostedExecution
CONTRACTUAL_DEPENDENCY_CYCLE = 0
Genealogy
74962979 = initial HWR-04 candidate — REJECTED (owner review #1) — historical evidence
87d526c4 = HWR-04-R suite — REJECTED (owner review v2; defects R2-A / R2-B) — historical
evidence
1912d67e = remediation #2 suite — OWNER RATIFIED (owner review v3 = RATIFY)
this commit = ratified content promoted verbatim (bodies byte-identical per §4-§5; only
candidate status/genealogy headers replaced) to these durable paths.
All three candidate states remain reconstructible from Git on the campaign branch.
FormaSL — P5 Formalization Obligation Ledger
Status: STABLE — P5 FORMALIZATION COVERAGE OWNER
Roadmap phase: P5 — IMPLEMENTATION / CONFORMANCE CONTRACT
Acceptance horizon: V2-WHOLE-LANGUAGE-H1
Date: 2026-08-23
Purpose: classify every material formalization obligation inherited from P1–P4 before reference-implementation authorization.
1. Exclusive classifications
Every material row is exactly one of:
REQUIRED-PRE-IMPLEMENTATION
DEFERRED-NON-BLOCKING
NOT-APPLICABLE
ALREADY-DISCHARGED — WITH CONTRACT/EVIDENCE
REQUIRED-PRE-IMPLEMENTATION applies only when P6 would otherwise have to invent/choose a material semantic/formal relation, or when current authority explicitly conditions implementation authorization on proof/checker evidence.
DEFERRED-NON-BLOCKING means the claim is normatively determined but its strongest sound formal/conformance proposition depends materially on concrete P6 carriers, representation bridges, candidate sets, providers, codecs, plans, runtimes or evidence artifacts. The obligation remains mandatory at its P6/P7/P9 gate.
NOT-APPLICABLE requires normative inapplicability, not proof inconvenience.
ALREADY-DISCHARGED — WITH CONTRACT/EVIDENCE requires a current formalization contract, closed denotation/acceptance interface, mechanization and accepted verification evidence.
2. P1 coverage
P1 recorded FORMALIZATION RISK on language-obligation rows but did not create a separate proof-assistant obligation namespace. Its material risks were routed into CB-L1..CB-L5, the Type capability owner, later capability hardenings and P3 formalization routing.
P5 crosschecked P1 against those downstream rows:
P1_MATERIAL_FORMALIZATION_RISK_WITHOUT_DOWNSTREAM_OWNER = NONE FOUND
P1_SEPARATE_UNCLASSIFIED_FORMALIZATION_OBLIGATION = NONE
This does not turn every P1 semantic obligation into a proof obligation; it establishes that no material formalization risk disappeared between P1 and later owners.
3. Already-discharged foundational subject
| ID | Classification | Contract/evidence |
|---|---|---|
| FO-SM-ALL — current-horizon Semantic Metagraph canonical formal obligation matrix | ALREADY-DISCHARGED — WITH CONTRACT/EVIDENCE | SEMANTIC-METAGRAPH-FORMALIZATION-CONTRACT.md; formal/src/FormaSL/SemanticMetagraph/**; terminal independent R2 verification; post-merge integrity evidence |
The grouped row references the existing canonical matrix rather than duplicating it into a second owner.
4. CB-L1 / Type
| ID | Claim | Classification | Downstream discharge |
|---|---|---|---|
| FO-L1-01 | alias/declaration identity non-creation | DEFERRED-NON-BLOCKING | AC-02/04; exhaustive public alias/re-export path audit |
| FO-L1-02 | resolution groundedness/cycle/uniqueness/ambiguity | DEFERRED-NON-BLOCKING | independent resolver/basis acceptance over concrete P6 representation |
| FO-L1-03 | interface consumer-guarantee preservation | DEFERRED-NON-BLOCKING | interface/type compatibility/substitutability acceptance |
| FO-L1-04 | type identity/equality/subtyping safety | DEFERRED-NON-BLOCKING | AC-03 + P7 independent type-contract evidence |
| FO-L1-05 | historical resolution non-retroactivity | DEFERRED-NON-BLOCKING | exact history/reference bridge checks |
| FO-L1-06 | source/elaboration semantic coherence | DEFERRED-NON-BLOCKING | AC-04; translation validation / independent elaboration semantics |
| FO-TYPE-01 | type formation/well-formedness | DEFERRED-NON-BLOCKING | concrete static checker conformance |
| FO-TYPE-02 | polymorphic instantiation | DEFERRED-NON-BLOCKING | generic-instantiation properties/witnesses |
| FO-TYPE-03 | specialization/refinement rules | DEFERRED-NON-BLOCKING | specialization/identity/subtyping discriminators |
| FO-TYPE-04 | subtyping/subsumption | DEFERRED-NON-BLOCKING | concrete judgment implementation + independent check |
| FO-TYPE-05 | safe substitution / consumer-guarantee preservation | DEFERRED-NON-BLOCKING | critical P7 type property |
| FO-TYPE-06 | ambiguity/coherence where applicable | DEFERRED-NON-BLOCKING | checker over concrete declaration/resolution/type interactions |
| FO-TYPE-07 | semantic-distinction preservation through typed operations | DEFERRED-NON-BLOCKING | AC-03/04/10 cross-layer evidence |
The Type owner explicitly makes stronger decidability/general metatheory pre-implementation only when product semantics depend on it. Fresh P4 found no such dependency.
5. CB-L2 — Situated Result Contract
| ID | Claim | Classification | Downstream discharge |
|---|---|---|---|
| FO-L2-01 | result-standing anti-promotion / introduction authority | DEFERRED-NON-BLOCKING | AC-05/11 introduction-path audit |
| FO-L2-02 | ResultContract historical non-retroactivity | DEFERRED-NON-BLOCKING | result/basis/history bridge |
| FO-L2-03 | semantic completeness != run termination | DEFERRED-NON-BLOCKING | AC-05 typed result/run checks |
| FO-L2-04 | CompleteUnder evidence/introduction sufficiency | DEFERRED-NON-BLOCKING | producer-specific completion checker |
| FO-L2-05 | no completion laundering through composition | DEFERRED-NON-BLOCKING | AC-05/08 composition property |
| FO-L2-06 | absence/outcome non-laundering | DEFERRED-NON-BLOCKING | negative outcome suite / typed routing |
| FO-L2-07 | NoProof -> non-entailment only under completeness bridge | DEFERRED-NON-BLOCKING | Reasoning completion/reference semantics |
| FO-L2-08 | dependency-role preservation | DEFERRED-NON-BLOCKING | AC-10 lowering/serialization correspondence |
| FO-L2-09 | causal-dependence introduction authority | DEFERRED-NON-BLOCKING | AC-13 causal/evidence bridge |
| FO-L2-10 | conflict preservation / explicit transformation | DEFERRED-NON-BLOCKING | SC-D6 + regime/carrier checks |
| FO-L2-11 | assurance-artifact promotion/checker discipline | DEFERRED-NON-BLOCKING | actual checker/trusted-base scope audit |
| FO-L2-12 | receipt claim-scope non-overclaim | DEFERRED-NON-BLOCKING | AC-11/13 external bridge conformance |
| FO-L2-13 | communication non-reassertion | DEFERRED-NON-BLOCKING | AC-06 lifecycle checks |
| FO-L2-14 | result-fragment address/equivalence preservation | DEFERRED-NON-BLOCKING | concrete result selector/order representation |
| FO-L2-15 | anti-self-grounding of support/dependence | DEFERRED-NON-BLOCKING | actual derivation/support representation checker |
6. CB-L3 — Computational regimes
| ID | Claim | Classification | Downstream discharge |
|---|---|---|---|
| FO-L3-01 | regime-standing introduction authority | DEFERRED-NON-BLOCKING | AC-07/11 public result/bridge audit |
| FO-L3-02 | Query witness/multiplicity lineage preservation | DEFERRED-NON-BLOCKING | AC-07/10 Query result carrier evidence |
| FO-L3-03 | Query completion/path-selector correctness | DEFERRED-NON-BLOCKING | independent Query semantics/property evidence |
| FO-L3-04 | H1 rule formation/range restriction | DEFERRED-NON-BLOCKING | exact R1/R2/R3 checker/reference semantics |
| FO-L3-05 | R1 positive monotonicity + finite-domain least fixpoint | DEFERRED-NON-BLOCKING | critical independent P7 semantics/mechanization route |
| FO-L3-06 | consequence-content / derivation / artifact identity | DEFERRED-NON-BLOCKING | concrete carrier identity bridge |
| FO-L3-07 | recursive non-self-grounding | DEFERRED-NON-BLOCKING | reasoner/premise/consequence property |
| FO-L3-08 | premise-admission authority | DEFERRED-NON-BLOCKING | actual reasoner interface acceptance |
| FO-L3-09 | no computational Claim/source promotion | DEFERRED-NON-BLOCKING | lifecycle/source introduction-path audit |
| FO-L3-10 | Analysis model-revision non-retroactivity | DEFERRED-NON-BLOCKING | model/resource correspondence |
| FO-L3-11 | Analysis realization accuracy/equivalence | DEFERRED-NON-BLOCKING | provider/realization-specific checker |
| FO-L3-12 | no provider-local unknown/conflict semantic policy | DEFERRED-NON-BLOCKING | provider negative conformance |
| FO-L3-13 | SemanticTransformation != P3 lowering | DEFERRED-NON-BLOCKING | concrete lowering correspondence |
| FO-L3-14 | explicit transformed-artifact preservation | DEFERRED-NON-BLOCKING | carrier/lineage bridge |
| FO-L3-15 | learned-rule adoption anti-promotion | DEFERRED-NON-BLOCKING | AC-06/07 adoption/source-authoring checks |
Final Reasoning capability delta
The final H1 Reasoning owner is materially broader than the earlier CB-L3 minimum, so P5 adds the following formal-risk rows rather than treating the older ledger as exhaustive.
| ID | Claim | Classification | Downstream discharge |
|---|---|---|---|
| FO-REASON-01 | R2 stratification safety | DEFERRED-NON-BLOCKING | independent stratification checker/reference semantics |
| FO-REASON-02 | R2 NAF only over complete closed lower-stratum extension | DEFERRED-NON-BLOCKING | completion checker + hostile absence cases |
| FO-REASON-03 | R2 aggregate source/multiplicity/group formation/member correlation/reference origin/tuple grouping/empty semantics | MECHANIZED / CLOSED (AGG-04, 2026-09-21) | R2-AGGREGATE-CORRELATION-AMENDMENT.md + OD-RC-R2-AGG-03; hardened acceptance rows A..I; R2Aggregate.FOREASON03Acceptance + fo-reason-03-accepted (safe, zero stubs); official GroupMember / MemberDerived / SeededCorrelated / GroupExists; DETERMINACY != TOTALITY (LegacyResolves partial: 0/2+ candidates rejected); AuditProbes AP-AGG-01..11; formal mutation gates FM-1..FM-5 each break the Agda gate and are restored |
| FO-REASON-04 | R2 value-generation finiteness/safety | DEFERRED-NON-BLOCKING | static rule checker |
| FO-REASON-05 | R3 wardedness / affected-position safety | DEFERRED-NON-BLOCKING | independent wardedness checker |
| FO-REASON-06 | R3 witness token -/-> semantic referent identity | DEFERRED-NON-BLOCKING | representation-invariance/metamorphic acceptance |
| FO-REASON-07 | shared existential correlation preservation | DEFERRED-NON-BLOCKING | lowering/provider correspondence |
| FO-REASON-08 | R3 certain-answer / goal-relative completion soundness | DEFERRED-NON-BLOCKING | independent semantics/checker |
The earlier FO-L3-05 note that pre-implementation formalization was a candidate is explicitly resolved here. The final R1/R2/R3 contracts determine implementation meaning; a pre-code R1-only proof would not discharge whole-H1 Reasoning conformance and is not needed to choose semantics.
7. CB-L4 — Lifecycle / Governance / Dynamics
| ID | Claim | Classification | Downstream discharge |
|---|---|---|---|
| FO-L4-01 | Claim issuance anti-forgery / introduction authority | DEFERRED-NON-BLOCKING | concrete issuance/authentication/delegation bridge |
| FO-L4-02 | adoption content-correspondence preservation | DEFERRED-NON-BLOCKING | actual adoption path + correspondence checker |
| FO-L4-03 | transition authority non-self-grounding | DEFERRED-NON-BLOCKING | exhaustive transition-introduction audit |
| FO-L4-04 | hypothetical authority non-escape | DEFERRED-NON-BLOCKING | AC-06 scenario/lifecycle checks |
| FO-L4-05 | source inclusion standing anti-promotion | DEFERRED-NON-BLOCKING | source/lifecycle path checks |
| FO-L4-06 | bootstrap/root trust-boundary conformance | DEFERRED-NON-BLOCKING | bounded external assurance contract + integration verification |
| FO-L4-07 | replay semantic-occurrence non-creation | DEFERRED-NON-BLOCKING | actual occurrence identity/introduction implementation |
| FO-L4-08 | historical source/basis non-retroactivity | DEFERRED-NON-BLOCKING | revision/history bridge |
| FO-L4-09 | Decision occurrence != normative effectiveness | DEFERRED-NON-BLOCKING | governance result/status implementation |
| FO-L4-10 | hypothetical simulation != actual dynamics | DEFERRED-NON-BLOCKING | actual/hypothetical carrier checks |
| FO-L4-11 | execution/temporal succession -/-> causation | DEFERRED-NON-BLOCKING | AC-13 negative + causal bridge |
| FO-L4-12 | transition attempt/completion/target-standing separation | DEFERRED-NON-BLOCKING | executable transition/result carrier |
| FO-L4-13 | currentness/conflict/history preservation | DEFERRED-NON-BLOCKING | source/current-view/history properties |
| FO-L4-14 | co-realized transition distinctness/completion | DEFERRED-NON-BLOCKING | elaboration/runtime correspondence |
8. CB-L5 — Integrated Composition / Semantic Continuity
| ID | Claim | Classification | Downstream discharge |
|---|---|---|---|
| FO-L5-01 | composition admission-layer non-collapse | DEFERRED-NON-BLOCKING | application/edge acceptance |
| FO-L5-02 | composition standing anti-promotion | DEFERRED-NON-BLOCKING | introduction/bridge audit |
| FO-L5-03 | typed outcome-routing preservation | DEFERRED-NON-BLOCKING | executable result/router carrier |
| FO-L5-04 | composite completion != runtime termination | DEFERRED-NON-BLOCKING | composition/run completion implementation |
| FO-L5-05 | semantic history non-rollback | DEFERRED-NON-BLOCKING | runtime/history/source/effect behavior |
| FO-L5-06 | opaque-composition consumer-guarantee preservation | DEFERRED-NON-BLOCKING | package/application bridge |
| FO-L5-07 | semantic order / runtime schedule preservation | DEFERRED-NON-BLOCKING | planner/scheduler checker |
| FO-L5-08 | realization/provider semantic non-invention | DEFERRED-NON-BLOCKING | provider bridge |
| FO-L5-09 | source/application/plan/run/result correspondence | DEFERRED-NON-BLOCKING | end-to-end P6 artifact chain |
| FO-L5-10 | dynamic basis-binding non-retroactivity | DEFERRED-NON-BLOCKING | invocation/run/history carrier |
| FO-L5-11 | reuse/fusion semantic-equivalence gate | DEFERRED-NON-BLOCKING | cache/fusion implementation |
| FO-L5-12 | incremental/streaming consumption safety | DEFERRED-NON-BLOCKING | concrete streaming path if implemented; otherwise fail closed/unsupported |
| FO-L5-13 | application/run/result identity distinction | DEFERRED-NON-BLOCKING | executable identity carriers |
| FO-L5-14 | composition-history reconstructibility | DEFERRED-NON-BLOCKING | history/provenance/reference carrier; includes SD-03 |
9. P3 executable architecture
| ID | Claim | Classification | Downstream discharge |
|---|---|---|---|
| FO-P3-01 | semantic anchor non-redefinition | DEFERRED-NON-BLOCKING | fragment/plan/run bridge |
| FO-P3-02 | application/evaluation/run/attempt/result identity | DEFERRED-NON-BLOCKING | concrete executable identity carriers |
| FO-P3-03 | representation/lowering preservation | DEFERRED-NON-BLOCKING | translation validation/correspondence |
| FO-P3-04 | end-to-end obligation-thread compositionality | DEFERRED-NON-BLOCKING | concrete P6 transformation graph |
| FO-P3-05 | carrier/codec preservation | DEFERRED-NON-BLOCKING | codec-specific checker/property |
| FO-P3-06 | plan denotation / RunConforms soundness | DEFERRED-NON-BLOCKING | plan/runtime implementation semantics |
| FO-P3-07 | data/order/schedule separation | DEFERRED-NON-BLOCKING | planner/scheduler evidence |
| FO-P3-08 | mechanism outcome != semantic outcome | DEFERRED-NON-BLOCKING | runtime/provider failure carrier |
| FO-P3-09 | EvaluationInstance dynamic-basis sealing | DEFERRED-NON-BLOCKING | invocation binding/history |
| FO-P3-10 | realization non-redefinition | DEFERRED-NON-BLOCKING | .fsp/resource/provider bridge |
| FO-P3-11 | joint realization satisfaction | DEFERRED-NON-BLOCKING | group solver/planner |
| FO-P3-12 | provider evidence / semantic bridge anti-promotion | DEFERRED-NON-BLOCKING | provider bridge/checker |
| FO-P3-13 | late-binding universal candidate safety | DEFERRED-NON-BLOCKING | actual candidate-set validation |
| FO-P3-14 | dynamic generator safety | DEFERRED-NON-BLOCKING | runtime/JIT path if implemented; otherwise unsupported |
| FO-P3-15 | retry/multi-attempt non-generation | DEFERRED-NON-BLOCKING | attempt-resolution implementation |
| FO-P3-16 | source publication authority boundary | DEFERRED-NON-BLOCKING | publication/storage mechanism |
| FO-P3-17 | action/effect/Observation non-collapse | DEFERRED-NON-BLOCKING | external assurance + adapter/Observation bridge |
| FO-P3-18 | nested package substitutability | DEFERRED-NON-BLOCKING | executable package interface |
| FO-P3-19 | assurance-scope non-laundering | DEFERRED-NON-BLOCKING | P6/P7 evidence-scope/independence meta-audit |
| FO-P3-20 | V1 SD-01/02/03 regression preservation | DEFERRED-NON-BLOCKING | FormaSL-owned executable regression witnesses |
10. P3L scan
P3L closed normative concrete surface and deterministic elaboration but introduced no separate explicit pre-implementation mechanization gate.
Its material implementation/formalization risks are covered by:
FO-L1-02 resolution
FO-L1-06 elaboration coherence
FO-L5-09 source/application/run/result correspondence
FO-P3-03 lowering preservation
AC-01 lexical/source admission
AC-02 binding/resolution
AC-03 static/type
AC-04 surface->semantic elaboration
AC-09 .fsp realization
AC-15 diagnostics/source correspondence
UNCLASSIFIED_P3L_FORMALIZATION_OBLIGATION = NONE FOUND
11. Pre-implementation formalization verdict
P5 found no current material row satisfying REQUIRED-PRE-IMPLEMENTATION.
Reasons:
- Fresh P4 established
IMPLEMENTER_SEMANTIC_FREEDOM = NONE MATERIALandCONTRACT_AMBIGUITY = NONE MATERIAL; proof engineering is not needed to choose H1 meaning. - Most high-risk P2/P3 claims cross representation/execution boundaries. Sound implementation-level propositions require actual P6 resolver/type/elaborator/lowering/plan/run/provider/codec/history carriers. Pre-code proxies would recreate the shadow-model/denotation false-pass class.
- Remaining pure semantic properties are sufficiently specified by current owners to implement. Current authority does not make their stronger metatheory a prerequisite to writing the reference implementation. They remain critical P7 assurance obligations.
Thus:
FORMALIZATION REQUIRED TO DEFINE P6 MEANING = NONE
FORMALIZATION / INDEPENDENT CHECKING REQUIRED LATER TO ESTABLISH CONFORMANCE = YES
If P6 discovers a material relation that cannot be implemented without choosing semantics absent from current owners, implementation stops and reopens the competent owner; it does not convert the ambiguity into a proof convention.
12. Evidence timing for deferred rows
P6-CANDIDATE
source/static/elaboration checks
representation/lowering validators
executable identity/correspondence manifests
negative/collapse suite
P7-CRITICAL-CONFORMANCE
independent reference semantics/checkers
translation validation
selected mechanized theorems
property/metamorphic checks
differential implementations
evidence-independence audit
whole-language Semantic Continuity
P9-FINAL
frozen-candidate staleness/change-impact closure
A deferred row becomes blocking at the first downstream gate requiring its evidence.
13. Counts and terminal ledger gate
Explicit downstream rows classified here:
CB-L1 6
Type owner 7
CB-L2 15
CB-L3 15
Final Reasoning delta 8
CB-L4 14
CB-L5 14
P3 20
-------------------------------
DEFERRED-NON-BLOCKING 99
Plus one grouped terminal Semantic Metagraph formalization subject:
ALREADY-DISCHARGED — WITH CONTRACT/EVIDENCE = 1 grouped owner
REQUIRED-PRE-IMPLEMENTATION = 0
NOT-APPLICABLE = 0
UNCLASSIFIED = 0
Terminal result:
FORMALIZATION_OBLIGATION_COVERAGE = PASS
UNCLASSIFIED_FORMALIZATION_OBLIGATION = NONE
REQUIRED_PRE_IMPLEMENTATION_FORMALIZATION = NONE
UNSATISFIED_REQUIRED_PRE_IMPLEMENTATION_FORMALIZATION = NONE
FORMALIZATION_CONTRACT_GOVERNOR_CONDITIONAL_SCOPE_TRIGGERED = NO
No new mechanization is required or authorized by P5 before P6. This conclusion does not waive any deferred P6/P7/P9 obligation.
FormaSL — Semantic Metagraph Formalization Contract
Status: STABLE — CONSOLIDATED AFTER DETERMINACY AUDIT
Authority: NORMATIVE DOWNSTREAM FORMALIZATION CONTRACT
Date: 2026-08-19
Parent: ARCHITECTURE.md
Subject: SEMANTIC METAGRAPH REPRESENTATION
Role: define the minimum mechanization obligations, acceptance interface and assurance discipline that a sufficient formalization of the FormaSL semantic metagraph MUST satisfy before implementation/conformance work may begin.
This revision hardens the formalization boundary after an adversarial contract-to-type audit found that part of the negative/collapse suite could be accepted through auxiliary semantic relations/worlds not structurally bound to the required Core Theory relations. The repair does not redesign the semantic metagraph. It narrows what counts as a valid discharge of obligations already present in the architecture and in this contract.
NORMATIVE SEMANTICS CHANGED = NO
FORMALIZATION CONTRACT = PASS - CONSOLIDATED + DETERMINACY AUDITED
FORMAL OBLIGATION MATRIX = PASS - CONTRACT-LEVEL CONSOLIDATED
MECHANIZATION ACCEPTANCE SPECIFICATION = PASS - CONTRACT-LEVEL CONSOLIDATED
FORMAL DETERMINACY = PASS - ALL CURRENT-SCOPE MATERIAL ROWS CLASSIFIED
CONTRACT_LEVEL_BLOCKING_UNKNOWN = NONE FOUND
CURRENT AGDA FORMALIZATION = REMEDIATION REQUIRED
SUFFICIENT FORMALIZATION = NOT PASS
RUST CODE AUTHORIZED = NO
This consolidated revision supersedes the prior standalone repair amendment. SEMANTIC-METAGRAPH-FORMALIZATION-CONTRACT-REPAIR.md is historical audit/repair evidence only and is not a second normative authority. This file is the single downstream formalization-contract owner for the semantic-metagraph subject.
The previous SUFFICIENT FORMALIZATION = PASS declaration remains superseded. Kernel-green proof terms remain useful evidence, but the current mechanization MUST be revalidated against this consolidated acceptance boundary before sufficiency can be restored.
1. Governing purpose
The formalization MUST make the closed architecture precise and falsifiable without inventing missing language meaning.
The governing question is:
What is the minimum formal theory, exact proof-obligation set, acceptance interface, witness suite and assurance discipline sufficient to mechanize the typed role-incidence metagraph while preserving every architecture-level semantic distinction material to this subject?
The formalization is not free to replace architecture decisions with a more convenient mathematical theory.
The mandatory downstream chain is:
ARCHITECTURE / SEMANTIC INVARIANTS
-> FORMALIZATION CONTRACT
-> CANONICAL FORMAL OBLIGATION MATRIX
-> MECHANIZATION ACCEPTANCE INTERFACE
-> PROOF / WITNESS / COUNTERMODEL IMPLEMENTATION
-> KERNEL / CHECKER
-> DESTRUCTIVE CONTRACT-TO-TYPE VERIFICATION
-> FORMALIZATION SUFFICIENCY GATE
The following distinctions are normative for this contract:
CODE != CONTRACT
TYPECHECK PASS != CONTRACT SATISFACTION
PROOF TERM != CORRECT FORMALIZATION
SIMILAR PROPOSITION != CONTRACT OBLIGATION
WITNESS NAME != WITNESS SEMANTICS
REPORT / STATIC AUDIT != KERNEL PROOF
A proof assistant establishes that a term inhabits the encoded proposition. It does not independently establish that the encoded proposition is the correct formalization of the normative obligation.
2. Formalization scope
The mechanization scope is:
TYPED ROLE-INCIDENCE METAGRAPH
+
RELATION UNITY / ROLE-BINDING FORMATION
+
SEMANTIC REFERENCE CONTINUITY
+
PARTICIPATION CORRELATION / CONDITIONAL REFERABILITY
+
INTERPRETATION AND DEPENDENCY-ROLE CONTINUITY
+
CLOSURE / ADMISSIBILITY / JURISDICTION BOUNDARIES
+
CONTRACT-SCOPED MODULAR COMPOSITION
+
SEMANTIC-KIND / EPISTEMIC-STANCE BOUNDARIES
+
OBSERVATION-QUALIFIED PRESERVATION
+
STAGING COHERENCE
The formalization MUST support the positive capabilities protected by the architecture and MUST make the prohibited collapses falsifiable.
3. Explicitly out of scope
This contract does not close or require a complete formal theory of:
- semantic identity merge/split/succession;
- entity-resolution algorithms or module/import syntax;
- relation/role-contract surface syntax;
- full relation/role binding calculus;
- contract versioning, migration, refinement or compatibility calculus;
- context/frame/scope algebra;
- temporal algebra;
- uncertainty algebra;
- trust/reliance calculus;
- complete premise-admissibility policy language;
- authority/delegation/revocation calculus;
- semantic-closure inference calculus;
- general inference/conflict-adjudication calculus;
- validation/policy language;
- query algebra;
- complete semantic type calculus;
- proof/certificate architecture;
- storage/runtime realization.
These remain DEFERRED BY PROCESS.
ABSTRACT
!= UNCONSTRAINED
!= PREMATURELY COMPLETED
A deferred mechanism may remain abstract only if the formalization preserves the architecture-level distinctions already fixed around it.
4. One Core Theory
The mechanization MUST expose one normative Core Theory for this subject.
Core Theory means the common formal interface and core law budget under which material theorems and witnesses are judged. It does not require one concrete Agda module or one representation strategy.
All of the following MUST instantiate the same Core Theory:
- material preservation theorems;
- positive capability witnesses;
- negative/collapse countermodels;
- hostile integrated witnesses;
- V1 regression witnesses.
ProductionTheory
!= ShadowCountermodelTheory
A countermodel does not discharge a Core Theory non-entailment if it is constructed under a different, weaker semantic theory.
4.1 Specialization
Later specialized contracts MAY strengthen the Core Theory with explicit additional laws.
SpecializedTheory
= CoreTheory
+ ExplicitAdditionalLaws
A specialization-only law MUST NOT be usable by a generic Core Theory theorem unless that law appears explicitly among the theorem’s applicable premises.
4.2 Theory/model binding at the acceptance boundary
The contract distinguishes one normative theory from its lawful models:
ONE CORE THEORY
MANY LAWFUL CORE MODELS
A material artifact required to hold in the Core Theory MUST make reconstructible, preferably by its acceptance type:
- the model/interpretation used;
- evidence that the model instantiates the required Core Theory;
- the official relations used by the antecedent and target proposition;
- any specialization premises explicitly supplied.
A witness-local semantic world that is not a model/interpretation of the required Core Theory does not become valid merely because it has a similar English description.
LOCAL SEMANTIC WORLD
!= CORE THEORY MODEL
5. Representation freedom and schematic roles
Terms used in this contract such as:
RelationInstance
Role
StructuralBindingLocus
SemanticReferent
SemanticReference
ResolutionBasis
DependencyRole
Judgment
Operation
ClosureGuarantee
CorrelationBasis
ScopeState
ObservationProfile
are schematic semantic roles, not mandatory Agda datatypes and not a required universal ontology.
The mechanization MAY use:
- separate carriers;
- indexed families;
- dependent records;
- shared carriers with recoverable kind/role evidence;
- other equivalent formal representations.
The representation is valid only when all required distinctions remain formally recoverable.
SHARED CARRIER
!= SEMANTIC COLLAPSE
NECESSARY DISTINGUISHABILITY
!= MANDATORY FORMAL DATATYPE
The formalization MUST NOT introduce a universal SemanticArtifact, Basis, Judgment or Participation carrier merely by convenience if doing so erases a required distinction.
5.1 Official-relation integrity
Representation freedom does not authorize proof-obligation substitution.
If an obligation names or schematically denotes a material semantic relation R, a purported discharge MUST use:
Ritself; orRas interpreted by the required Core model; or- a representation
R'together with a formal bridge sufficient to show thatR'representsRfor the exact obligation.
UNRELATED LOCAL PREDICATE R'
!=
DISCHARGE OF OFFICIAL RELATION R
The following false-pass pattern is forbidden:
Normative obligation: A -/-> B
Mechanization: A' -/-> B'
where A' or B' is merely a locally invented semantic predicate
with no formal bridge to A or B.
Auxiliary structural types remain permitted. An auxiliary semantic relation used to discharge a material contract obligation is permitted only when the required bridge to the official semantic role is explicit and checked.
6. Formal obligation classes
Architecture prose such as != and -/-> MUST NOT be translated mechanically into one logical connective.
The formalization contract recognizes at least these obligation classes:
FORMATION / WELL-FORMEDNESS
EXISTENTIAL CAPABILITY
DISTINGUISHABILITY
NON-ENTAILMENT
NON-CREATION / ANTI-PROMOTION
NO-DEFAULT-LAW
PRESERVATION
NON-RETROACTIVITY
INTRODUCTION AUTHORITY
GENERICITY / NON-OVERFIT
STATIC / REPOSITORY HYGIENE
ASSURANCE / CHECKER CLAIM
6.1 Distinguishability
Two semantic categories/roles are not identified by the Core Theory.
A distinguishability obligation is normally discharged by a constructive discriminating Core Theory model/witness in which the two official predicates/roles can diverge.
DISTINGUISHABILITY
!= MUTUAL EXCLUSIVITY
An item may legitimately occupy both roles when an applicable contract establishes both.
6.2 Non-entailment
A -/-> B normally means that A, by itself under the Core Theory law budget, is not sufficient to establish B.
It MUST be discharged by a constructive countermodel in the actual Core Theory:
A
AND
NOT B
The antecedent A MUST be inhabited in the same model in which B is refuted. Proving only B -> Bottom, or replacing A/B by unrelated local predicates, does not discharge non-entailment.
It does not mean that A and B can never coincide in a legitimate case.
6.3 Non-creation / anti-promotion
Some collapse prohibitions do not mean that an antecedent and a distinct target relation must coexist. They mean that an operation/standing cannot create a stronger semantic identity, authority, truth or transition that was not already established by its premises.
A non-creation obligation is discharged by a theorem over the official introduction/standing relation showing that the stronger standing can arise only from already-authorized premises, plus an inhabited witness exercising the relevant boundary where needed.
For example, SameTarget is not required to coexist with two already-distinct targets. The required claim is that official SameTarget recognizes pre-existing co-designation and cannot be used as an identity-merge constructor for distinct referents.
NON-CREATION
!= VACUOUS ABSENCE OF A LOCAL MERGE PREDICATE
6.4 Preservation
A preservation obligation requires that a material semantic distinction remain directly present or guaranteed reconstructible after a transformation claiming to preserve that distinction.
6.5 Non-retroactivity
A non-retroactivity obligation is a transition/history obligation. A later basis/scope/registry state MUST NOT silently replace the materially relevant historical state under which an earlier semantic item or judgment was established.
6.6 No-default-law
A no-default-law obligation requires both:
- the law is absent from the Core Theory base law budget; and
- there is a constructive Core Theory countermodel in which the law fails.
The countermodel MUST exercise the official relation, not a sparse or empty substitute relation invented solely for the witness unless that relation is itself the model’s interpretation of the official Core relation.
6.7 Formation / well-formedness
Formation may be enforced by construction and/or theorem, but material formation distinctions MUST have inhabited examples. Definitional enforcement MUST NOT erase a required independence merely to make the theorem trivial.
6.8 Existential capability
An existential capability requires an inhabited constructive witness in the intended theory/model context. A witness-specific model is permitted when the claim is existential and the model is still a lawful model of the required theory.
6.9 Introduction authority
A material standing is acceptable only when the mechanism that introduces it retains or reconstructs the premises, source/authority and scope required by this contract.
6.10 Static and assurance obligations
Static source hygiene, CI status, logs, manifests and audit reports are not semantic theorems. Their evidence class MUST remain explicit.
6.11 Canonical Formal Obligation Matrix
Every material obligation MUST have an auditable canonical row/block containing, when applicable:
ID
CLAIM CLASS
FORMAL DETERMINACY
NORMATIVE CLAIM
FORMAL QUANTIFIERS
THEORY / MODEL CONTEXT
OFFICIAL SEMANTIC RELATIONS / CARRIERS
ANTECEDENT / PRECONDITIONS
CONSEQUENT / TARGET / PRESERVED PROPERTY
AUTHORIZED ASSUMPTIONS
FORBIDDEN DEFAULT LAWS
REQUIRED ARTIFACT CLASS
NON-VACUITY CONDITION
FORBIDDEN SUBSTITUTE
ACCEPTANCE SHAPE
EVIDENCE CLASS
FAILURE CONDITION
The matrix is the normative bridge between semantic prose and proof-assistant acceptance. A proof implementation MAY vary; the accepted claim shape MAY NOT vary silently.
When a compact matrix row in Sections 21-22 omits a field already fixed globally by this contract, that field is inherited from Sections 4-8, 19-20 and the binding determinacy ledger in Section 6.13. Omission from a compact presentation does not weaken the inherited requirement.
6.11A Formal determinacy and scope effect
Every current-scope material obligation MUST be assigned exactly one formal-determinacy status before proof search:
DETERMINED
DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE
OPAQUE STANDING BOUNDARY
NOT YET MECHANIZABLE
Interpretation:
DETERMINED: the authority chain fixes the formal claim sufficiently to write the expected acceptance type without adding semantic meaning.DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE: the normative role is fixed, and a non-identical concrete representation is accepted only through a checked bridge specified by the contract.OPAQUE STANDING BOUNDARY: the architecture fixes the existence/distinction/introduction boundary of a standing while its complete calculus remains deferred. The standing belongs to the official Core interpretation/acceptance boundary, but no additional inference laws may be invented.NOT YET MECHANIZABLE: the authority chain does not yet determine a formal claim or authorized boundary strongly enough to mechanize.
A current-scope material obligation marked NOT YET MECHANIZABLE is a CONTRACT BLOCKER. It MUST NOT be removed from the sufficiency gate merely because it is difficult to formalize.
RequiredCurrentScope(O)
AND FormalDeterminacy(O) = NOT_YET_MECHANIZABLE
=>
FORMAL_OBLIGATION_MATRIX = NOT PASS
CONTRACT_READY_FOR_MECHANIZATION = NO
Only a subject already classified by higher authority as deferred/outside the current formalization scope may remain non-blocking, and such a subject is not a required material row of this matrix.
Claim-lock language such as reconstructed, interpreted as, we take X to mean, or chosen representation is a hard-stop signal unless this contract explicitly authorizes the representation or bridge.
Before FORMAL_OBLIGATION_MATRIX = PASS, every required current-scope row MUST therefore be classified as one of:
DETERMINED
DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE
OPAQUE STANDING BOUNDARY
6.12 Foundational obligation matrix
The following rows bind material theorem/interface obligations that are not merely PW/CW instances. They inherit all fields of Section 6.11.
| ID | Claim class | Normative target / acceptance shape | Non-vacuity / false-pass boundary |
|---|---|---|---|
| FO-01 | EXISTENTIAL + ASSURANCE | one constructively inhabited non-trivial lawful model of the one Core Theory | impossible/empty theory does not count |
| FO-02 | FORMATION / PRESERVATION | every formed role binding preserves the identity of its governing relation instance | theorem that compares a stored field to itself while bindings may denote new relation identities does not count |
| FO-03 | FORMATION | role participation can be governed by applicable contract constraints without imposing universal set/bag/sequence semantics | fixture-only relation shape does not establish general formation capability |
| FO-04 | PRESERVATION / FUNCTIONALITY | in one fixed lawful model, same compatible kind + resolution basis + source designator for two resolved references entails the same target | per-object Designates uniqueness alone is insufficient; resolution totality is not required |
| FO-05 | NON-RETROACTIVITY | historical resolved-reference target/basis remains reconstructible after later basis evolution | a current basis MUST NOT replace historical basis by projection |
| FO-06 | PRESERVATION / NON-RETROACTIVITY | later authorized participation correlation preserves each already-established participation identity and their prior distinguishability | recreating/merging identities in the result is forbidden |
| FO-07 | FORMATION / WELL-FORMEDNESS | derived judgment premises match the dependency roles required by the applicable derivation/operation rule, modulo explicit bridges | role-name distinction without operational discharge discipline is insufficient |
| FO-08 | PRESERVATION | closure standing/guarantee remains tied to its declared scope/state and obligation | closure widening by current-state substitution is forbidden |
| FO-09 | INTRODUCTION AUTHORITY | establishment, admissibility, jurisdiction, authority, delegation, transport, winner selection and analogous standings retain external authorizing premises | constructors whose evidence is freely manufactured from IDs/descriptors fail |
| FO-10 | PRESERVATION | base composition preserves source contracts, material participations/dependencies and non-assertive content required by the composition contract | output-field concatenation counts only for the exact properties guaranteed by the contract |
| FO-11 | INTRODUCTION AUTHORITY / PRESERVATION | cross-contract correlation exposes the exact correlation basis/authority/scope that authorized the underlying correlation, or explicit equality/bridge evidence | relabeled operation basis is forbidden |
| FO-12 | PRESERVATION | for any lawful model, two valid alternative staging paths governed by one exact shared material staging environment produce equal required final semantic observables | raw list associativity, one-way subset coverage, or an environment not tied to the governing staging case does not count |
| FO-13 | PRESERVATION | an admissible observation profile includes the mandatory observation floor; strengthening preserves admissibility | profile omission of mandatory observables is forbidden |
| FO-14 | PRESERVATION | every transformation admitted as hard-preserving satisfies the exact hard-preservation relation for all governed states, plus a non-trivial inhabited case | storing a proof field is acceptable only if the type is the exact normative preservation property |
| FO-15 | NON-RETROACTIVITY | basis and scope evolution preserve materially relevant historical basis/scope for previously established judgments/standings | current-state overwrite is forbidden |
| FO-16 | PRESERVATION / NON-ENTAILMENT | restriction/view omission preserves base existence and does not establish nonexistence | local Nonexistent predicate without bridge is forbidden |
| FO-17 | INTRODUCTION AUTHORITY | every material introduction/derived-packaging path is covered by the introduction ledger and retains rule/source/scope/model evidence required by Section 8 | enumerating constructors while missing exported smart constructors/coercions is insufficient |
| FO-18 | ASSURANCE | assumption/input ledger and artifact evidence-class classification exactly cover all material dependencies used by accepted obligations | declared metadata is not kernel-derived dependency evidence |
| FO-19 | GENERICITY | at least one non-canonical identity/case reuses the same Core rules without fixture-coded semantics | fixture constructors defining the theory fail |
| FO-20 | ASSURANCE / CHECKER CLAIM | every material sufficiency field is indexed/constrained by its exact obligation row or an explicit representation bridge | arbitrary Set/Prop, report, manifest or local world cannot cross the boundary as semantic discharge |
| FO-21 | NON-CREATION / INTRODUCTION AUTHORITY | base composition cannot by itself introduce contract satisfaction/adoption/conjunction/migration standing; any such standing requires an explicit external transition authorization recognized by the Core interface | one clean countermodel is insufficient; a public introduction path from base composition alone is forbidden |
| FO-22 | FORMATION / NO-DEFAULT-LAW | Core formation does not require one universal input/output/lateral orientation; any such orientation is specialization-only or an explicit applicable-contract input | at least one valid formed relation must be inhabitable without a Core-required input/output/lateral classification |
6.13 Binding formal-determinacy ledger
This ledger is part of the Canonical Formal Obligation Matrix. RETIRED rows are historical identifiers and are not current material obligations.
| Obligation | Formal determinacy |
|---|---|
| FO-01 | DETERMINED |
| FO-02 | DETERMINED |
| FO-03 | DETERMINED |
| FO-04 | DETERMINED |
| FO-05 | DETERMINED |
| FO-06 | DETERMINED |
| FO-07 | DETERMINED |
| FO-08 | DETERMINED |
| FO-09 | DETERMINED |
| FO-10 | DETERMINED |
| FO-11 | DETERMINED |
| FO-12 | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE |
| FO-13 | DETERMINED |
| FO-14 | DETERMINED |
| FO-15 | DETERMINED |
| FO-16 | DETERMINED |
| FO-17 | DETERMINED |
| FO-18 | DETERMINED |
| FO-19 | DETERMINED |
| FO-20 | DETERMINED |
| FO-21 | DETERMINED |
| FO-22 | DETERMINED |
| PW-01 | DETERMINED |
| PW-02 | DETERMINED |
| PW-03 | DETERMINED |
| PW-04 | DETERMINED |
| PW-05 | DETERMINED |
| PW-06 | DETERMINED |
| PW-07 | DETERMINED |
| PW-08 | DETERMINED |
| PW-09 | DETERMINED |
| PW-10 | DETERMINED |
| PW-11 | DETERMINED |
| PW-12 | DETERMINED |
| CW-01 | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE |
| CW-02 | DETERMINED |
| CW-03 | DETERMINED |
| CW-04 | DETERMINED |
| CW-05 | DETERMINED |
| CW-06 | DETERMINED |
| CW-07 | DETERMINED |
| CW-08 | DETERMINED |
| CW-09 | DETERMINED |
| CW-10 | DETERMINED |
| CW-11 | DETERMINED |
| CW-12 | DETERMINED |
| CW-13 | DETERMINED |
| CW-14 | DETERMINED |
| CW-15 | DETERMINED |
| CW-16 | DETERMINED |
| CW-17 | DETERMINED |
| CW-18 | DETERMINED |
| CW-19 | DETERMINED |
| CW-20 | DETERMINED |
| CW-21 | DETERMINED |
| CW-22 | DETERMINED |
| CW-23 | DETERMINED |
| CW-24 | OPAQUE STANDING BOUNDARY |
| CW-25 | OPAQUE STANDING BOUNDARY |
| CW-26 | DETERMINED |
| CW-27 | OPAQUE STANDING BOUNDARY |
| CW-28 | DETERMINED |
| CW-29 | DETERMINED |
| CW-30 | DETERMINED |
| CW-31 | DETERMINED |
| CW-32 | DETERMINED |
| CW-33 | DETERMINED |
| CW-34 | DETERMINED |
| CW-35 | DETERMINED |
| NDL-01 | DETERMINED |
| NDL-02 | DETERMINED |
| NDL-03 | DETERMINED |
| NDL-04 | DETERMINED |
| NDL-05 | DETERMINED |
| NDL-06 | DETERMINED |
| NDL-07 | DETERMINED |
| NDL-08 | DETERMINED |
| NDL-09 | OPAQUE STANDING BOUNDARY |
| NDL-10 | OPAQUE STANDING BOUNDARY |
| NDL-11 | RETIRED - CONTRACT OVERREACH |
| NDL-12 | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE |
| NDL-13 | RETIRED - CONTRACT OVERREACH |
No current required material row is NOT YET MECHANIZABLE in this revision.
7. Assumption ledger and law budget
Every abstract relation, judgment or parameter used by a material theorem MUST have an auditable law budget.
Each law belongs conceptually to one of:
CORE-REQUIRED
SPECIALIZATION-ONLY
OPAQUE / UNCONSTRAINED
FORBIDDEN-AS-COLLAPSE
The Core Theory MUST NOT silently assume properties merely because they are mathematically convenient.
In particular, unless a later explicit contract supplies them, the Core Theory MUST NOT assume universal:
- correlation transitivity;
- correlation symmetry;
- correlation totality;
- closure monotonicity across wider scopes;
- authority transport to subsets/supersets;
- delegation transitivity;
- redelegation power;
- contract identity from compatibility;
- role identity from correspondence;
- relation structural equality implying relation semantic identity;
- universal input/output/lateral structural orientation.
7.1 Constructive satisfiability
The Core Theory assumptions MUST be constructively inhabitable by at least one non-trivial model.
THEOREM FROM IMPOSSIBLE ASSUMPTIONS
!= CONTRACT SATISFACTION
Every material non-entailment MUST also have an inhabited countermodel when the base model does not already exercise the distinction.
7.2 Assumption footprint
Every material theorem MUST have a reconstructible transitive assumption footprint.
If a theorem uses a law that is not permitted by its Core Theory or specialization contract, that theorem does not discharge the formalization gate even if the proof assistant accepts it.
A manually declared footprint MAY be useful provenance metadata, but MUST NOT be represented as a kernel-derived transitive dependency proof unless it is actually derived/checked from the proof dependency boundary.
DECLARED FOOTPRINT
!= KERNEL-DERIVED ASSUMPTION PROOF
7.3 Material input-ledger completeness
Every material semantic relation or parameter used to establish/refute a contract obligation MUST be one of:
- part of the Core Theory/model interface;
- an explicitly supplied specialization relation;
- an opaque input recorded in the law/input ledger; or
- a formally bridged representation of one of the above.
A local semantic predicate absent from the ledger cannot acquire semantic authority merely by appearing in a witness module.
7.4 Explicit no-default-law obligations
The ACTIVE base-law absences below are material current-scope obligations. Every ACTIVE row MUST appear in the mechanized no-default-law suite; implementation choice cannot omit an ACTIVE row.
NDL-01 correlation transitivity ACTIVE
NDL-02 correlation symmetry ACTIVE
NDL-03 correlation totality ACTIVE
NDL-04 closure monotonicity across wider scopes ACTIVE
NDL-05 authority transport from preservation ACTIVE
NDL-06 authority transport -> authority widening ACTIVE
NDL-07 delegation transitivity ACTIVE
NDL-08 redelegation by default ACTIVE
NDL-09 contract identity from contract compatibility ACTIVE - OPAQUE ANTECEDENT STANDING
NDL-10 role identity from role correspondence ACTIVE - OPAQUE ANTECEDENT STANDING
NDL-11 semantic-identity decidability RETIRED - CONTRACT OVERREACH
NDL-12 relation structural equality -> relation semantic identity ACTIVE - BRIDGED
NDL-13 global canonical naming RETIRED - CONTRACT OVERREACH
For every ACTIVE NDL-*, acceptance MUST require BOTH:
- the exact law is absent from the Core-required law budget; and
- a lawful Core Theory countermodel in which that exact law fails using official relations/standings or a checked representation bridge.
The exact ACTIVE laws are:
| ID | Exact forbidden default law | Formal determinacy |
|---|---|---|
| NDL-01 | ParticipationCorrelation(a,b) AND ParticipationCorrelation(b,c) -> ParticipationCorrelation(a,c) | DETERMINED |
| NDL-02 | ParticipationCorrelation(a,b) -> ParticipationCorrelation(b,a) | DETERMINED |
| NDL-03 | CorrelationCandidate(M,K,a,b) -> ParticipationCorrelation(M,K,a,b) for the same applicable basis/contract K | DETERMINED |
| NDL-04 | ClosureGuarantee(S,Q) plus scope widening to S2 automatically establishes ClosureGuarantee(S2,Q) | DETERMINED |
| NDL-05 | AuthorityPreservation -> AuthorityTransport | DETERMINED |
| NDL-06 | AuthorityTransport -> AuthorityWidening | DETERMINED |
| NDL-07 | Delegation(a,b) AND Delegation(b,c) -> Delegation(a,c) | DETERMINED |
| NDL-08 | Delegation -> RedelegationPower | DETERMINED |
| NDL-09 | ContractCompatibilityStanding -> ContractIdentity | OPAQUE STANDING BOUNDARY |
| NDL-10 | RoleCorrespondenceStanding -> RoleIdentity | OPAQUE STANDING BOUNDARY |
| NDL-12 | RelationStructuralEquality -> RelationSemanticIdentity | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE |
For NDL-03, the countermodel MUST inhabit CorrelationCandidate(M,K,a,b) while refuting ParticipationCorrelation(M,K,a,b) under the same applicable basis/contract K. The row forbids the stronger law that every candidate pair is positively correlated; it does NOT assert decidability of correlation.
ACTIVE NDL
=> REQUIRED SUITE MEMBER
A missing ACTIVE row causes NO_DEFAULT_LAW_SUITE = NOT PASS.
NDL-11 retirement
No generic semantic-identity decidability/undecidability thesis is authorized by the architecture. Identity protection remains enforced by determined obligations such as CW-01, CW-02, CW-06 and the reference-resolution boundaries. NDL-11 remains reserved only for traceability.
NDL-12 exact claim and bridge
NDL-12 means exactly:
RelationStructuralEquality(M,left,right)
-/->
RelationSemanticIdentity(M,left,right)
Formal determinacy is DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE.
A mechanization MAY represent RelationStructuralEquality by equality of a relation-structural-shape carrier and MAY represent RelationSemanticIdentity by equality/co-designation of the official relation semantic referent only if the acceptance artifact includes checked representation evidence sufficient for this exact row.
Conceptually:
ShapeEqualityRepresentsRelationStructuralEquality(M,left,right)
ReferentEqualityRepresentsRelationSemanticIdentity(M,left,right)
The countermodel must then inhabit represented structural equality while refuting represented relation semantic identity. A CW-01 artifact may be shared only when its accepted type exposes these same bridges or an equivalent theorem.
NDL-12 is relation-specific. It is not a universal extensionality thesis over arbitrary semantic carriers.
NDL-13 retirement
The architecture protects precise boundaries such as Identifier != SemanticIdentity, SourceDesignator != SemanticReference and FilesystemPath != SemanticIdentity. It does not define one generic proposition named global canonical naming. NDL-13 is therefore retired rather than reconstructed by proof engineering.
8. Semantic introduction-rule ledger
Constructiveness alone does not grant semantic authority.
CONSTRUCTIVE PROOF TERM
!= SEMANTIC AUTHORIZATION
Every constructor, function, inductive rule, coercion, instance or equivalent mechanism that introduces new material semantic standing MUST be traceable to a rule authorized by the architecture and this contract.
For each material introduction rule, the formalization MUST make reconstructible:
- rule identity;
- target semantic standing;
- required premises;
- normative source/authority;
- scope of applicability;
- model/interpretation evidence where model-relative;
- applicable law/input footprint.
Material semantic standings include, where represented:
- resolved reference;
- eligible same-target/co-designation result;
- participation correlation;
- referable-participation correspondence;
- closure standing;
- premise admissibility;
- derived judgment;
- judgment jurisdiction;
- normative authority;
- delegation;
- authority transport;
- dependency-role bridge;
- winner/adjudication selection;
- semantic/category promotion;
- contract adoption/migration.
8.1 Hidden coercions
An implicit coercion or instance MUST NOT introduce a semantic promotion that requires explicit contractual authority.
Examples forbidden without an explicit bridge include:
Evidence -> ClosureGuarantee
Claim -> SameTarget
Compatibility -> SemanticIdentity
JudgmentJurisdiction -> NormativeAuthority
8.2 Anti-self-grounding
A material semantic standing MUST NOT establish the authority required for its own premises merely by existing.
ImplicitSelfGrounding = REJECTED
This contract does not prohibit every recursive semantic system. Any explicit recursive/fixed-point authority regime remains a later dedicated contract subject.
8.3 Derived packaging integrity
A wrapper that packages already-established material standing MUST NOT relabel the authorizing basis, contract, scope, authority, identity or provenance.
Where packaging exposes one of those values as material, the acceptance type MUST preserve the original value directly or carry equality/bridge evidence tying the packaged value to the authorizing premise.
MATERIAL DERIVED PACKAGING
!= SEMANTIC RE-AUTHORIZATION
!= ARBITRARY RELABELING
9. Formation and core graph obligations
9.1 Relation unity
A valid N-ary relation remains one semantic relation instance independently of the number of role bindings.
N bindings -/-> N relation identities
9.2 Contract-governed role participation
Formation MUST allow the applicable relation/role contract to govern, where semantically material:
- participant kind admissibility;
- cardinality;
- duplicate/repetition semantics;
- multiplicity;
- ordering;
- slot/key semantics;
- binding-local qualification.
The Core Theory MUST NOT impose universal set, bag or sequence semantics.
9.3 Structural binding boundary
The formalization MUST preserve:
StructuralBindingKey != SemanticIdentity
SourceDeclarationCount != SemanticMultiplicity
PhysicalBindingRecordCount != SemanticMultiplicity
SerializationOrder != SemanticOrder
Distinct binding loci do not automatically establish distinct semantic participation identities, and participation identity does not reduce to binding identity.
9.3A No universal structural direction
The Core Theory MUST NOT require one universal input/output/lateral orientation for every relation or role binding.
GLOBAL INPUT/OUTPUT/LATERAL ORIENTATION = NOT CORE
An orientation MAY be supplied by a later specialization, operation view, or applicable relation/role contract. It MUST NOT become a prerequisite of generic Core formation.
FO-22 requires both:
- law-budget evidence that no universal input/output/lateral classification is CORE-REQUIRED; and
- at least one non-trivial valid relation formation that does not require such Core orientation evidence.
ABSENCE FROM CORE FORMATION REQUIREMENTS
!=
FORBIDDING ALL SPECIALIZED OR CONTRACTUAL ORIENTATION
9.4 Higher-order and recursive/cyclic capability
The Core Theory MUST support typed semantic reference from relations/semantic items into higher-order relational structure.
At least one positive witness MUST demonstrate an applicable contract under which recursive/cyclic reference structure is representable.
CORE REPRESENTATION
DOES NOT IMPOSE ACYCLICITY
This does not make every cycle well formed.
9.5 Views/restrictions
At least one witness MUST establish:
NotVisible(X, View)
-/-> Nonexistent(X)
without requiring a full view algebra.
10. Participation correlation and referability
10.1 Participation correlation
Same relation identity and structural equality are insufficient to establish participation correlation.
The applicable contract/correlation basis MUST determine whether potentially overlapping contributions:
- coalesce;
- remain distinct;
- remain unresolved.
For no-default-law and non-vacuity purposes, the Core interface MUST be able to express the contract-governed candidate domain for correlation through an official or bridged role equivalent to:
CorrelationCandidate(M, basisOrContract, leftParticipation, rightParticipation)
CorrelationCandidate does not imply positive correlation. It marks only that the pair is materially within the applicable correlation decision domain. Its complete candidate-selection calculus may remain an opaque contract input.
ParticipationCorrelation != Contribution/ProvenanceCorrelation
SemanticCoalescence != ProvenanceCoalescence
ParticipationCorrelation != QualificationReconciliation
10.2 Conditional participation identity
The Core Theory MUST support participation-level distinguishability without requiring identity for every structural binding.
ParticipationDistinguishability != MandatoryParticipationIdentity
When the applicable contract makes a participation semantically referable, the formalization MUST preserve its semantic identity independently of binding keys and MUST support reconstructible correspondence to the structural locus/loci realizing it.
ReferableParticipation != StructuralBindingRecord
ParticipationIdentity != BindingKey
ParticipationToBindingCorrespondence != MandatoryOneToOneMapping
HigherOrderReference != ParticipationIdentityCreation
RoleOccupancyCoalescence != SemanticParticipationIdentityMerge
A later role-correlation result MUST NOT retroactively merge already-established participation identities.
11. Semantic reference formal interface
Resolution and bridge semantics MUST remain separate.
The Core Theory MUST be able to express roles equivalent to:
ResolvesUnder(
ResolutionBasis,
SourceDesignator,
SemanticReference
)
Designates(
SemanticReference,
SemanticReferent
)
ReferenceHasKind(
SemanticReference,
SemanticKind
)
BridgeEligible(
SameTargetBridge,
ResolutionBasis1,
ResolutionBasis2,
Reference1,
Reference2
)
BridgeRecognizesCoDesignation(
SameTargetBridge,
Reference1,
Reference2
)
These names are schematic; the distinctions are normative.
RESOLUTION
!= BRIDGE ELIGIBILITY
!= CO-DESIGNATION JUDGMENT
11.1 Resolved-target determinacy
A semantic item classified as a resolved SemanticReference MUST have a semantically determined target and compatible semantic kind.
For a fixed model, resolution basis, source designator and compatible kind, two resolved references MUST NOT carry incompatible targets.
This requirement does NOT imply:
resolution decidability
resolution totality
a particular resolution algorithm
Ambiguous source designators MUST NOT be silently converted into arbitrary resolved references.
11.2 Basis relativity
The Core Theory MUST support a countermodel where the same source designator resolves differently under different bases without thereby proving semantic identity or semantic non-identity of the referents.
11.3 Same-target is not identity reconciliation
An eligible same-target bridge may establish knowledge that two references designate an already-shared semantic referent.
It MUST NOT create identity between already-distinct semantic referents.
SameTargetReferenceCorrespondence
!= SemanticReferentIdentityReconciliation
A situated identity Claim/assessment MUST NOT become an ordinary same-target bridge without an explicit later contract.
For this boundary, a valid discharge MUST reason over the official SameTarget/reference semantics or a formally bridged equivalent. Defining a separate reconciles relation and making it false does not discharge this obligation.
12. Interpretation and dependency-role continuity
Material dependency continuity MUST preserve both:
DEPENDENCY IDENTITY
+
DEPENDENCY SEMANTIC ROLE
when the role is material to meaning, applicability or verification.
The Core Theory MUST support distinctions sufficient to falsify collapses including:
InterpretationDependency != EvidentialSupport
InterpretationDependency != ContractualGuarantee
EvidentialSupport != Provenance
DerivationPremise != Provenance
ApplicabilityBasis != EvidentialSupport
The dependency-role universe MAY remain open and need not be a closed taxonomy.
12.1 Operational role adequacy
Role distinguishability alone is insufficient.
A premise or dependency may discharge only the semantic role for which it is established/admissible, unless an explicit contractual bridge authorizes an additional role.
SameDependencyItem
-/-> RoleInterchangeability
A provenance dependency MUST NOT discharge a closure requirement merely because both are dependencies of the same judgment.
Explicit role bridges MAY create new standing while preserving the material source role, bridge and resulting role.
13. Establishment, admissibility, plurality and derivation
13.1 Establishment/issuance is not admissibility
The Core Theory MUST support a case where a judgment is legitimately established/issued and:
AdmissibleFor(O1, J)
NOT AdmissibleFor(O2, J)
without contradiction.
LegitimateEstablishment/Issuance
!= PremiseAdmissibility
The acceptance artifact for this capability MUST use the actual AdmissibleFor relation or its formally bridged equivalent for both operations. A wrapper such as AdmissibleOnlyFor does not count unless formally equivalent to the required claim for the witness.
Not every semantic result is required to have an issuer. Producer != Issuer remains protected.
13.2 Multiple admissible judgments
The Core Theory MUST support multiple admissible incompatible semantic judgments without selecting an implicit winner.
MultipleAdmissibleJudgments != UniqueWinner
13.3 Premise composition
Multiple admissible premises do not establish an arbitrary conclusion.
MultipleAdmissiblePremises -/-> ValidConclusion
A derived judgment MUST be justified by an applicable derivation/operation rule with reconstructible material premise roles.
JointSupport != JointAuthority
This contract does not require a universal inference calculus.
14. Closure, scope state and jurisdiction
14.1 Completion is not closure
The formalization MUST distinguish:
CompletionRequirement
ClosureGuarantee
CompletionJudgment
and MUST provide a countermodel in which:
EndOfAvailableInput = true
SemanticClosure = false
14.2 Scope/obligation relativity
Closure MUST be representable as relative to the materially relevant semantic scope/state and obligation.
A guarantee for (S1,Q) MUST NOT automatically establish closure for a widened scope or different obligation.
14.3 Information domain is not independent reality
At least one countermodel MUST preserve:
InformationDomainClosure
!= IndependentRealityClosure
including cases where:
NoRecord -/-> NonexistentEntity
NoObservation -/-> EventDidNotOccur
unless an explicit stronger coverage contract authorizes the stronger conclusion.
14.4 Basis and scope history
The Core Theory MUST distinguish:
BasisLocator != BasisSemanticState
ScopeIdentity != ScopeSemanticState
HistoricalEvaluationBasis != CurrentEvaluationBasis
A later basis/scope state MUST NOT retroactively reinterpret a historical judgment claiming preservation of its original meaning.
Snapshot-relative and contract-defined live jurisdiction are both permitted mechanisms; this contract chooses neither universally.
14.5 Judgment jurisdiction
JudgmentJurisdiction != NormativeAuthority by default
JudgmentJurisdiction != DelegationPower
AuthorityPreservation != AuthorityTransport
AuthorityTransport != AuthorityWidening
PairwiseJudgmentJurisdiction -/-> JointJudgmentJurisdiction
Revocation MAY affect current/future admissibility under a later explicit contract but MUST NOT erase legitimately established historical issuance.
15. Contract-scoped modular composition
Base composition MUST preserve semantic items, material dependency roles, applicable interpretation dependencies and contract-scoped meaning.
It MUST NOT silently perform:
Reconciliation
Promotion
Revision
Assertion
OntologyIdentityMerge
ParticipationIdentityMerge
ContractSatisfaction
ContractAdoption
ContractConjunction
ContractMigration
AuthorityWidening
ClosedWorldInference
15.1 Contract-transition standing boundary and base-composition non-creation
The architecture fixes a non-creation boundary while leaving the complete contract-transition calculus deferred.
The Core interpretation MUST therefore be able to express official opaque standings equivalent to:
ContractSatisfactionStanding(M, composition, contract)
ContractAdoptionStanding(M, composition, sourceContract)
ContractConjunctionStanding(M, composition, sourceContracts, resultContract)
ContractMigrationStanding(M, composition, sourceContract, resultContract)
It MUST also be able to express external transition-authority premises sufficient to distinguish explicit authorized transition from implicit base composition, for example:
AuthorizedContractSatisfactionTransition(...)
AuthorizedContractAdoptionTransition(...)
AuthorizedContractConjunctionTransition(...)
AuthorizedContractMigrationTransition(...)
Exact argument factoring is representation freedom. These are OPAQUE STANDING BOUNDARY roles: the contract fixes their semantic distinction and introduction-authority boundary but does not define when the transitions otherwise occur.
The complete versioning/migration/refinement/compatibility calculus remains deferred.
FO-21 is a universal NON-CREATION / INTRODUCTION-AUTHORITY obligation. In every lawful Core model, whenever a base-composition path yields one of the transition standings above, that standing MUST carry/reconstruct the corresponding explicit external transition authorization. Base composition alone is not sufficient introduction authority.
Canonical shape:
forall M composition ... .
IsLawfulCoreModel(M)
-> BaseComposition(M, composition)
-> ContractAdoptionStanding(M, composition, source)
-> AuthorizedContractAdoptionTransition(M, composition, source)
with analogous obligations for satisfaction, conjunction and migration.
This shape deliberately does NOT assert that an explicitly authorized contract transition can never coexist with composition. It prohibits only silent promotion from base composition itself.
The transition authorization premise MUST itself satisfy Section 8 introduction-authority and anti-self-grounding discipline. It cannot be reconstructed solely from the transition standing it is supposed to authorize.
CW-27 remains a non-vacuity/distinguishability countermodel supporting FO-21: at least one lawful base-composition case must preserve source contracts while the official transition standings are absent/refuted. CW-27 alone is not sufficient evidence for FO-21.
15.2 Cross-contract correlation
Same relation identity is insufficient to authorize cross-contract participation correlation.
SameRelationReferent -/-> SameApplicableContract
ContractCompatibility != ContractIdentity
RoleCorrespondence != RoleIdentity
CorrelationBasis != SourceContractIdentity
CorrelationBasis != ResultGoverningContract
Because the complete compatibility/correspondence calculi remain deferred, the Core Theory MUST expose official opaque standing boundaries sufficient to state these already-closed distinctions:
ContractCompatibilityStanding(M, leftContract, rightContract)
RoleCorrespondenceStanding(M, leftRole, rightRole, basisOrScope)
They are OPAQUE / UNCONSTRAINED except for architecture-fixed distinction/introduction boundaries. A witness-local record named ContractCompatibility or RoleCorrespondence is not the official standing unless installed as the Core interpretation or connected by a checked representation bridge.
An operation-scoped correlation basis MUST make recoverable the correspondence it authorizes, its relevant scope/dimension and preservation obligations.
If a derived wrapper exposes an operation-scoped correlation basis, that basis MUST be the basis that actually authorized the underlying correlation, or be tied to it by explicit equality/bridge evidence. Arbitrary relabeling is not permitted.
A successful correlation does not automatically satisfy/adopt/conjoin/migrate source contracts.
For CorrelationBasis != ResultGoverningContract, a locally invented correlation-basis-governs-result relation does not count unless it is part of the official Core model interface or formally bridged to the exact normative relation.
15.3 Result distinctions
The Core Theory MUST make it possible to distinguish at least:
- unresolved/incomplete without invalidity;
- incompatibility/contract violation without merely being incomplete;
- ill-formation where the applicable formation contract is violated.
This requirement does not authorize a closed universal result-status ontology.
REQUIRED DISTINGUISHABILITY
!= EXHAUSTIVE RESULT TAXONOMY
15.4 Information preservation is not judgment monotonicity
Composition preservation applies to material semantic information/obligations, not to universal monotonicity of every derived judgment as input grows.
16. Staging coherence
Staging coherence is a scoped universal property over governed staging cases, not a witness-local list-associativity fact.
The Core formal interface MUST expose or formally bridge roles equivalent to:
StagingEnvironment
GoverningStagingEnvironment(M, governingContractOrCase, E)
ValidStagingPath(M, E, P)
AlternativeStagingOrders(P1, P2)
RequiredObservables(M, E, P)
StagingEnvironment E contains or reconstructs the material staging environment for the claim, including where applicable:
- governing composition/completion contract;
- semantic inputs;
- resolution bases;
- eligible same-target correspondences;
- authorized participation-correlation bases/correspondences;
- admissibility rules/contracts;
- closure guarantees;
- materially relevant scope states.
GoverningStagingEnvironment is the authority boundary tying E to the actual governed staging case. It is not an unconstrained witness-local predicate. Its accepted representation MUST carry or imply a checked exact-environment bridge equivalent to:
EnvironmentExactlyRepresentsCase(M, K, E)
where every material dimension required by the staging claim is recoverable on both sides. Conceptually, for each material dimension D:
D is material to governed case K
IFF
D is represented/reconstructible in E
A proof engineer cannot choose a convenient incomplete E merely because both paths share it.
When a separate declared contract environment and path/scenario environment are used, the acceptance type MUST establish that they represent the same material environment by construction, equality, bidirectional exact coverage, or another checked equivalence. One-way subset membership is insufficient.
The required theorem is universally scoped over lawful Core models and governed staging cases:
forall M K E P1 P2.
IsLawfulCoreModel(M)
-> GoverningStagingEnvironment(M, K, E)
-> ValidStagingPath(M, E, P1)
-> ValidStagingPath(M, E, P2)
-> AlternativeStagingOrders(P1, P2)
-> SameRequiredObservables(M, E, Result(P1), Result(P2))
The exact datatype/factoring is implementation freedom. ValidStagingPath may remain an opaque Core relation/contract input. GoverningStagingEnvironment may be represented abstractly only when its acceptance boundary carries the exact-environment bridge above. This contract does not complete the staging/runtime calculus.
The formalization MUST also provide at least one non-trivial inhabited E tied to a real governed staging case and two valid alternative paths under exactly that E.
This does not establish universal associativity of composition.
A stronger theorem may ignore some premises computationally if its TYPE genuinely entails this exact scoped claim. Premise non-use in a proof term is not a failure; absence of the premise/environment from the accepted proposition is a failure.
Raw list associativity may remain an internal lemma for observables whose semantics is exactly preserved list structure. It does not by itself discharge FO-12 unless a checked bridge establishes the environment-indexed staging theorem above.
17. Semantic-kind and epistemic-stance boundaries
The Core Theory MUST preserve semantic kind without requiring one universal semantic-artifact ontology.
For the current-scope stance relations named below, it MUST make the following distinctions falsifiable:
GraphMembership != Truth
GraphMembership != Assertion
Representation != Actuality
Content != StanceTowardContent
Claim != Truth
Claim != Observation
Claim != Assessment
Claim != Assumption
Claim != DerivedSemanticResult
OntologyMapping != SemanticIdentity
Derivation != Proof/Certificate
Derivation != Provenance
Derivation != ExecutionTrace
The Core Theory MUST reject introduction rules such as:
GraphMembership -> Truth
Computation -> Claim
Provenance -> Proof
OperationalTrace -> Derivation
unless a later explicit contract provides a legitimate bridge for a narrower claim class.
Stance countermodels MUST exercise stance relations interpreted by the required Core model. A witness-local StanceWorld or equivalent parallel semantic world is insufficient unless formally proved to represent the official Core stance interpretation for the exact obligation.
18. Preservation and observation profiles
Unqualified claims such as lossless, equivalent and semantics-preserving are invalid.
18.1 Mandatory observation floor
An admissible observation profile for a verification context MUST include every observable required by:
FormaSL invariants
+ applicable semantic/type/operation contract
+ explicit consumer guarantee
A consumer MAY strengthen the profile but MUST NOT weaken the mandatory floor.
ObservationProfile
!= SemanticDeletionAuthority
18.2 Hard preservation versus profile-relative equivalence
These are distinct:
HARD SEMANTIC PRESERVATION
!= PROFILE-RELATIVE EQUIVALENCE
Hard obligations such as preserving a semantic reference target, established participation identity or historical material basis are not optional merely because a consumer profile does not observe them.
Claims such as EquivalentFor(P) or LosslessFor(P) MUST be interpreted only for an admissible profile P.
SemanticIdentity != ObservationalEquivalence
EquivalentNow != EquivalentUnderExtension
ObservationalEquivalence != ContextualSubstitutability
19. Proof-shape discipline
The required reasoning artifact depends on the claim class.
19.1 Formation
May be enforced by construction and/or theorem, but MUST have inhabited examples exercising relevant distinctions.
19.2 Existential capability
Requires a constructive witness in a lawful model of the intended theory.
19.3 Distinguishability
Requires a constructive discriminating Core Theory model/witness using the official semantic roles or a formally bridged equivalent.
19.4 Non-entailment
Requires a constructive countermodel in the actual Core Theory with an inhabited antecedent and refuted exact consequent.
Canonical proof-assistant-neutral shape:
exists M x.
IsLawfulCoreModel(M)
AND A(M,x)
AND (B(M,x) -> Bottom)
where A and B are the official relations/roles for the obligation or formally justified representations of them.
19.5 Non-creation / anti-promotion
Requires a theorem over the official constructor/introduction standing showing that the operation cannot manufacture the prohibited stronger standing, plus an inhabited boundary witness when required for non-vacuity.
Canonical shape is obligation-specific, for example:
forall M left right.
SameTarget(M,left,right)
-> ResolvedTarget(left) = ResolvedTarget(right)
AND at least one inhabited distinct-target pair showing
that distinct targets do not become eligible for SameTarget by construction.
A local empty Merge/Reconcile predicate is not evidence for this claim.
19.6 No-default-law
Requires:
law absent from CoreRequiredBudget
AND
exists lawful CoreModel M where the official law fails
For transitivity, for example:
R(M,a,b)
AND R(M,b,c)
AND NOT R(M,a,c)
A sparse relation is acceptable only when it is the model’s interpretation of the official Core relation, not when it is an unrelated test predicate.
19.7 Hard preservation
Requires a scoped universal theorem plus at least one inhabited non-vacuity witness.
19.8 Non-retroactivity
Requires a scoped history/transition theorem plus an inhabited historical witness.
19.9 Staging coherence
Requires the universally scoped theorem from Section 16 plus an inhabited non-trivial governed environment with two alternative valid paths.
The acceptance artifact MUST retain:
lawful model
+ governing staging case/contract
+ exact material environment E
+ GoverningStagingEnvironment evidence
+ EnvironmentExactlyRepresentsCase evidence or definitionally equivalent exact binding
+ both ValidStagingPath premises indexed/tied to E
+ alternative-order relation
+ equality/equivalence of required final observables
A theorem about raw parenthesization/list concatenation is insufficient unless a checked theorem shows that it entails this exact scoped claim.
19.10 Expected acceptance type first
For every material obligation, the expected acceptance type MUST be reconstructible before proof implementation is accepted.
CONTRACT CLAIM
-> EXPECTED ACCEPTANCE TYPE
-> PROOF IMPLEMENTATION
The implementation may choose equivalent proof engineering, but it may not weaken the locked claim.
SCOPED UNIVERSALITY
!= GLOBAL SEMANTIC UNIVERSALITY
A theorem quantifies only over the transformations/operations governed by its applicable contract.
20. Anti-vacuity, genericity and trusted boundary
20.1 Definitional enforcement
A semantic invariant MAY be enforced by construction.
DEFINITIONAL ENFORCEMENT = ALLOWED
However, a datatype/definition MUST NOT erase a required independence/countermodel merely to make the theorem trivial.
20.2 Witnesses do not define the theory
Canonical witnesses MUST instantiate general Core Theory carriers/rules.
CanonicalWitness != SemanticAxiom
RegressionFixture != FormalDefinition
HostileWitness != CompleteSemantics
The core semantic universe MUST NOT be a closed enumeration of the fixtures used to validate it.
At least one simple genericity variation MUST demonstrate reuse of the same core rules with semantic identities not hard-coded as canonical fixtures.
20.3 Shadow-model prohibition
A negative witness built under a separate weaker semantic theory does not count.
This prohibition applies to semantic relations, not merely to objects named Model or World. A countermodel remains a shadow countermodel if it introduces a parallel semantic relation outside the required Core interpretation and uses that relation to obtain the negative result.
CORE MODEL OBJECT PRESENT
DOES NOT IMPLY
EVERY RELATION IN THE WITNESS IS A CORE RELATION
20.4 Postulates and holes
A material semantic obligation MUST NOT be discharged by:
postulate/axiom of the desired conclusion;- trusted hole;
- imported semantic theorem whose assumptions are outside the authorized ledger;
- undocumented external oracle.
Abstract inputs are allowed. Postulated material conclusions are not.
20.5 Trusted foundation
The ordinary proof-assistant kernel/type theory and approved foundational libraries may be part of the trusted formal foundation.
Imported semantic axioms/laws remain assumptions of this contract and MUST appear in the assumption/introduction-rule audit.
20.6 Acceptance-boundary construction rule
For a material semantic obligation, an unindexed arbitrary Set/Prop MUST NOT cross the acceptance boundary in place of an official semantic relation when the contract requires that relation in a Core model.
Prefer acceptance types that make invalid artifacts unrepresentable.
TYPE-LEVEL PREVENTION
>
AFTER-THE-FACT ENUMERATIVE AUDIT
A generic helper such as Countermodel A B MAY exist internally, but the material acceptance type for an obligation MUST bind A and B to the exact official obligation or require an explicit representation bridge.
20.7 Enumerative audits are secondary evidence
A ShadowModelCheck or equivalent that enumerates a closed list of known models does not prove that every accepted semantic artifact uses only Core Theory relations.
The primary boundary MUST be structural: adding a new non-Core semantic world/relationship must not create a new accepted artifact without satisfying the same theory/relation-binding requirements.
20.8 Mandatory false-pass attacks
Before the formalization sufficiency gate can pass, the contract and acceptance interface MUST survive all applicable attacks:
SUBSTITUTION ATTACK
Replace an official relation with unrelated local predicate R'.
Acceptance must fail unless a checked bridge exists.
SHADOW-WORLD ATTACK
Move a semantic artifact to a non-Core world/relation.
Acceptance must fail.
VACUITY ATTACK
Remove the inhabited antecedent or make it impossible.
NON-ENTAILMENT acceptance must fail.
WEAKENED-CONSEQUENT ATTACK
Replace the exact target with an easier/different proposition.
Acceptance must fail.
ANTECEDENT-DROP ATTACK
Prove only not-B without A.
NON-ENTAILMENT acceptance must fail.
FIXTURE-OVERFIT ATTACK
Vary canonical identities/cases.
Generic obligations must continue to rely on general rules.
DEFINITIONAL-LAUNDERING ATTACK
Encode the prohibited case away by datatype shape.
Required semantic independence must remain representable/falsifiable.
SELF-GROUNDING ATTACK
Attempt to manufacture the premise/authority from the standing itself.
Acceptance must fail absent an explicit recursive contract.
LAW-SMUGGLING ATTACK
Remove a convenient assumption not present in the law budget.
The artifact must not rely on it.
ENUMERATIVE-AUDIT ATTACK
Add a new semantic world/artifact not named by the audit list.
The structural acceptance boundary must still reject it if invalid.
EVIDENCE-CLASS ATTACK
Replace kernel/interface evidence with report/manifest/static claim.
Semantic acceptance must fail.
MODEL-MIXING ATTACK
Combine positive facts from model M1 with negative facts from model M2 inside one integrated obligation.
Acceptance must require one model where the obligation requires one model, or explicit equality/transport.
RELABELING ATTACK
Change displayed basis/authority/scope/contract of derived packaging while leaving the underlying authorized standing unchanged.
Acceptance must require equality/bridge evidence to the authorizing premise.
REPRESENTATION-ERASURE ATTACK
Remove a materially required carrier/observable and see whether preservation still passes only because the theorem observes what remains.
Acceptance must fail when the erased datum is required by the preservation floor.
LABEL-TO-CLAIM ATTACK
Formulate two materially different propositions that plausibly fit one obligation label.
DETERMINED acceptance must reject all but the canonical row.
BIDIRECTIONAL-MATERIAL-COVERAGE ATTACK
For environment/coverage bindings test both omitted-contract-input and extra-scenario-input directions.
One-way subset evidence is not exact environment binding.
OPAQUE-STANDING-LAUNDERING ATTACK
Replace an official opaque standing with identity inequality, list absence, empty local transition set, or another structural proxy.
Acceptance must fail absent a checked bridge.
INDEXED-WRONG-PROPOSITION ATTACK
Keep the correct obligation ID while substituting a materially weaker/different mapped proposition.
Acceptance must fail.
OBLIGATION-OMISSION ATTACK
Remove a required current-scope obligation or mark it NOT YET MECHANIZABLE and attempt to retain a PASS root.
Acceptance/contract readiness must fail.
CLAIM-CLASS ATTACK
Replace a universal preservation/non-creation/introduction-authority obligation with one existential countermodel or distinguishability witness.
The stronger obligation must remain required.
AUTHORITY-DISCOVERY ATTACK
Start from every normative entrypoint and follow its declared contract owner.
All paths must resolve to this same canonical contract revision, not a stale superseded amendment or conflicting status block.
20.9 Contract-to-type alignment audit
For every material accepted artifact, verification MUST reconstruct:
NORMATIVE CLAIM
=
CANONICAL ROW + FORMAL DETERMINACY
=
EXPECTED ACCEPTANCE TYPE
=
ENCODED PROPOSITION
=
ACCEPTED ARTIFACT TYPE
up to a checked representation theorem where this contract explicitly authorizes a bridge.
Verification MUST fail if proof engineering had to choose the meaning of a materially normative label, downgrade its claim class, erase a required input, or omit a required current-scope obligation.
A green kernel run does not override a mismatch in this chain.
21. Canonical positive witness suite
A sufficient mechanization MUST include constructive witnesses equivalent in semantic coverage to:
PW-01 One N-ary relation with at least three semantic roles remains one semantic relation instance.
PW-02 A relation/semantic item participates in higher-order structure through typed semantic reference.
PW-03 A valid contract admits a recursive/cyclic reference case; the Core Theory does not impose acyclicity.
PW-04 Two source contributions may coalesce at role occupancy while materially distinct provenance/support remains distinct.
PW-05 Two already-referable participations remain distinct semantic identities after later role-level correlation.
PW-06 Two references under different bases co-designate because an eligible bridge recognizes one pre-existing referent.
PW-07 A scope-relative closure guarantee establishes an exact cardinality conclusion only for its declared scope/obligation.
PW-08 A legitimately established judgment is admissible for O1 and not admissible for O2.
PW-09 Premises occupying different semantic roles jointly support a result only through an applicable derivation/operation rule.
PW-10 A historical judgment established under Basis@1 survives Basis@2 without retroactive reinterpretation.
PW-11 Two admissible incompatible judgments coexist without implicit adjudication.
PW-12 An item omitted from a restricted view remains semantically existent in the governing base model.
21.1 Binding positive acceptance matrix
Each row inherits Sections 4–8 and 19–20.
| ID | Claim class | Required acceptance content | Forbidden substitute |
|---|---|---|---|
| PW-01 | FORMATION + EXISTENTIAL | one formed relation instance, at least three role bindings, all bindings preserve the same relation identity | equating relation identity with binding count or fixture enumeration |
| PW-02 | EXISTENTIAL CAPABILITY | lawful Core model; typed resolved reference to a relation/semantic item participating in higher-order structure; referent/kind preserved | untyped pointer or reference whose target identity is created by the reference itself |
| PW-03 | EXISTENTIAL CAPABILITY | lawful Core model plus applicable contract under which a recursive/cyclic typed-reference structure is inhabited | merely omitting an acyclicity theorem without an inhabited cycle |
| PW-04 | EXISTENTIAL + DISTINGUISHABILITY | authorized role-occupancy coalescence while provenance/support artifacts remain materially distinct | coalescence represented by deleting or identifying provenance |
| PW-05 | PRESERVATION / NON-RETROACTIVITY | two referable participations with distinct established identities; later authorized correlation; theorem/witness that identities remain distinct | correlation result that reconstructs new participation IDs or merges old IDs |
| PW-06 | EXISTENTIAL CAPABILITY | references under different bases, explicit eligible bridge, one pre-existing referent, co-designation recognized rather than created | identity reconciliation disguised as same-target bridge |
| PW-07 | EXISTENTIAL + SCOPED CONSEQUENCE | established closure guarantee for exact declared scope/obligation and exact conclusion justified only there | widened scope/obligation or closed-world inference |
| PW-08 | EXISTENTIAL + NON-ENTAILMENT | LegitimatelyEstablished(M,J) × AdmissibleFor(M,O1,J) × (AdmissibleFor(M,O2,J) -> Bottom) in one lawful Core model | AdmissibleOnlyFor, wrapper predicates, different models for O1/O2, or absence of actual AdmissibleFor(O2,J) refutation |
| PW-09 | FORMATION / DERIVATION | applicable derivation/operation rule, required dependency roles, premises inhabiting those roles, derived result using the official derivation standing | arbitrary conclusion from premise availability alone |
| PW-10 | NON-RETROACTIVITY | historical judgment/basis plus later basis state and theorem/witness preserving the historical basis of the judgment | simply retaining an old field while current semantics silently reinterpret it |
| PW-11 | EXISTENTIAL + NON-ENTAILMENT | two incompatible admissible judgments in one lawful model and no authorized winner standing for the relevant operation | local noWinner predicate unrelated to official winner/adjudication standing |
| PW-12 | NON-ENTAILMENT / PRESERVATION | restricted view in a governing base semantic state; item absent from view and present in base existence relation | unrelated local Nonexistent predicate without bridge to base existence semantics |
22. Canonical negative/collapse suite
The mechanization MUST provide the appropriate countermodel/distinguishability/history artifact for at least these collapse classes:
CW-01 StructuralEquality -> SemanticIdentity
CW-02 IdentifierEquality -> SemanticIdentity
CW-03 SourceDeclarationCount -> SemanticMultiplicity
CW-04 PhysicalBindingIdentity -> ParticipationIdentity
CW-05 Claim(SameEntity(x,y)) -> ordinary SameTarget(x,y)
CW-06 SameTargetCorrespondence -> merge distinct referents
CW-07 ParticipationCorrelation -> ParticipationIdentityMerge
CW-08 ParticipationCoalescence -> ProvenanceCoalescence
CW-09 CompletionRequirement -> ClosureGuarantee
CW-10 EndOfInput -> SemanticClosure
CW-11 InformationDomainClosure -> IndependentRealityClosure
CW-12 LegitimateEstablishment/Issuance -> UniversalAdmissibility
CW-13 MultipleAdmissibleJudgments -> UniqueWinner
CW-14 MultipleAdmissiblePremises -> ArbitraryConclusion
CW-15 JointSupport -> JointAuthority
CW-16 AuthorityPreservation -> AuthorityWidening
CW-17 PairwiseJurisdiction -> JointJurisdiction
CW-18 BasisLocator -> BasisSemanticState
CW-19 BasisRevision -> RetroactiveJudgmentReinterpretation
CW-20 JudgmentJurisdiction -> NormativeAuthority
CW-21 JudgmentJurisdiction -> DelegationPower
CW-22 Delegation -> RedelegationByDefault
CW-23 Revocation -> HistoricalErasure
CW-24 ContractCompatibility -> ContractIdentity
CW-25 RoleCorrespondence -> RoleIdentity
CW-26 CorrelationBasis -> ResultGoverningContract
CW-27 ContractPreservation -> ContractSatisfaction/Adoption/Conjunction/Migration
CW-28 EquivalentForCurrentProfile -> SemanticErasure
CW-29 GraphMembership -> Truth
CW-30 GraphMembership -> Assertion
CW-31 Computation/DerivedResult -> Claim
CW-32 Provenance -> Derivation/Proof
CW-33 OperationalTrace -> Derivation
CW-34 NotVisibleInView -> Nonexistent
CW-35 DependencyRoleDistinction -> RoleInterchangeability
The notation above names collapse classes. It does not require universal negated-implication theorems; proof shape follows Section 19.
22.1 Binding negative acceptance matrix
Every row below is binding. A local semantic predicate that merely resembles the target relation is not an acceptable discharge.
| ID | Required proof shape / official semantic boundary | False-pass specifically forbidden |
|---|---|---|
| CW-01 | discriminating witness for official RelationStructuralEquality with distinct relation semantic identities; equality of a structural-shape carrier is accepted only through the checked bridge required by NDL-12/CW-01 | arbitrary StructuralWorld or raw shape equality with no bridge to the official structural-equality role |
| CW-02 | same identifier value with distinct semantic referent identities | treating identifier equality itself as semantic identity evidence |
| CW-03 | inhabited representation where source declaration count and semantic multiplicity diverge under the Core representation contract | witness-local count model unconnected to represented source/multiplicity semantics |
| CW-04 | same/reused physical binding locus or correspondence with distinct established participation identities | local binding record equality used without the official participation correspondence boundary |
| CW-05 | situated same-entity claim/assessment inhabited while official SameTarget is not established for the references | a local sameTargetLike predicate |
| CW-06 | official SameTarget must only recognize already-equal resolved targets; provide distinct-target witness showing no official SameTarget standing can create their identity | ReconciliationWorld.reconciles = Bottom or any unrelated merge predicate |
| CW-07 | authorized participation correlation plus theorem/witness preserving established left/right participation identities | separate local merged predicate made false |
| CW-08 | official occupancy/correlation/coalescence standing inhabited while material provenance/support remains distinct | local provenance-coalescence predicate not tied to represented provenance |
| CW-09 | CompletionRequirement inhabited while official closure standing/guarantee is absent in one lawful Core model | distinct datatypes alone without the semantic closure relation when closure is model-relative |
| CW-10 | official end-of-input standing inhabited and official semantic-closure standing refuted in one lawful model | local SemanticClosure predicate unrelated to Core closure interpretation |
| CW-11 | official information-domain closure inhabited and official independent-reality closure refuted in one lawful model | parallel RealityWorld relation |
| CW-12 | LegitimatelyEstablished(M,J) inhabited and AdmissibleFor(M,O,J) refuted for at least one operation in the same lawful model | wrapper admissibility predicate or model switch |
| CW-13 | two official admissibility standings for incompatible judgments and official winner-selection standing refuted | local noWinner flag |
| CW-14 | inhabited premises/dependencies plus absence/refutation of official applicable derivation rule/result for arbitrary conclusion | merely defining an empty local rule family unrelated to the official derivation interface |
| CW-15 | official joint-support standing inhabited while official joint-authority standing is refuted | parallel boundary-world relation |
| CW-16 | authority-preservation standing inhabited while official authority-widening standing is refuted | local widening predicate |
| CW-17 | pairwise jurisdiction standing inhabited while official joint-jurisdiction standing is refuted | local joint-jurisdiction predicate |
| CW-18 | same basis locator with materially distinct basis semantic states | comparison of unrelated fixture fields |
| CW-19 | basis evolution/history witness plus theorem that later basis does not replace historical evaluation basis | merely storing both basis values without tying judgment history to the historical one |
| CW-20 | official judgment-jurisdiction standing inhabited while official normative-authority standing is refuted | local authority classifier |
| CW-21 | official jurisdiction standing inhabited while official delegation/delegation-power standing is refuted | local delegation-power predicate |
| CW-22 | official delegation standing inhabited and official redelegation standing/refinement refuted in one lawful model | unrelated chain relation |
| CW-23 | revocation transition plus preserved historical issuance/judgment witness | equality trick over a fixture that does not model historical issuance |
| CW-24 | official ContractCompatibilityStanding inhabited while contract identities remain distinct | witness-local compatibility record or correlation proxy unless installed as the Core standing or connected by a checked bridge |
| CW-25 | official RoleCorrespondenceStanding inhabited while role identities remain distinct | witness-local correspondence record or participation-correlation proxy unless installed as the Core standing or connected by a checked bridge |
| CW-26 | official/bridged CorrelationBasis standing inhabited while exact result-governing-contract standing is not established | CorrelationGovernanceWorld or correlation-basis-governs-result = Bottom invented only for the witness |
| CW-27 | one lawful base-composition/contract-preservation case with official satisfaction/adoption/conjunction/migration standings absent/refuted; supporting non-vacuity/distinguishability evidence for FO-21, not a substitute for FO-21 | governing-contract inequality, missing third identity, local empty transition list, or witness-local transition predicate |
| CW-28 | official admissible EquivalentFor(P) inhabited while a materially required semantic distinction remains distinct/recoverable | profile omits a mandatory observable or SemanticErasure is replaced by unrelated equality |
| CW-29 | Core-model graph-membership stance inhabited and Core-model truth stance refuted | witness-local StanceWorld |
| CW-30 | Core-model graph-membership stance inhabited and Core-model assertion stance refuted | witness-local StanceWorld |
| CW-31 | Core-model derived-result/computation standing inhabited and Core-model claim standing refuted | witness-local claim classifier |
| CW-32 | Core-model provenance standing inhabited and Core-model derivation/proof standings refuted as required | witness-local proof/derivation world |
| CW-33 | Core-model operational-trace standing inhabited and Core-model derivation standing refuted | witness-local trace/derivation world |
| CW-34 | official restricted-view omission with item still in governing base existence relation | local NonexistentIn unless definitionally/formally tied to the base existence relation |
| CW-35 | same dependency item/identity with one established dependency role while unauthorized role use is refuted by official role adequacy/bridge semantics | distinct role constructors alone without operational use/refutation |
22.2 Structural versus semantic countermodels
Some collapse classes compare structural carrier fields with semantic identity/state. A local helper datatype is allowed when it merely packages carrier values already governed by the formal representation. It is not allowed to invent the semantic relation whose absence is the conclusion.
When a matrix row currently lacks an official Core relation needed to state its target exactly, the mechanization MUST either:
- extend the Core interpretation/acceptance interface in a way already determined by this contract; or
- provide a formal representation theorem connecting the chosen encoding to the schematic normative role.
If neither is possible without deciding new semantics, mechanization MUST stop for normative review.
23. Hostile integrated witness
A sufficient mechanization MUST include a multi-fragment hostile witness exercising, in one Core Theory instance, at least:
Relation R
Fragment A:
ResolutionBasis BA
Contract C1@t1
Scope S1@t1
role C1::member
participant Alice
referable participation pA
provenance/support SA
closure guarantee KA over S1
judgment JA derived under C1@t1 + KA
Fragment B:
ResolutionBasis BB
Contract C2
role C2::participant
reference to the same Alice referent
referable participation pB
provenance/support SB
Correlation basis KAB:
operation-scoped correspondence
C1::member <-> C2::participant
for an explicitly delimited dimension
Fragment C:
contribution Bob
outside KA's original closure jurisdiction
Plurality:
two admissible incompatible judgments
for one downstream operation
Basis evolution:
C1@t1 -> C1@t2
same/mutable locator allowed
materially different semantic state
The witness MUST preserve, at minimum:
- relation identity
R; - Alice referent continuity;
pAandpBas distinct established participation identities;- distinct material provenance/support histories
SAandSB; C1@t1as material dependency ofJA;KAonly within its original jurisdiction;KABonly within its authorized correlation scope/dimension;- Bob as a new contribution;
- incompatible admissible judgment plurality;
- unresolved obligations where authority/closure/correlation is insufficient.
It MUST NOT silently establish:
pA = pB
SA = SB
C1 = C2
C1::member = C2::participant
KA closes the enlarged scope
KAB gains transitive/joint authority
C1@t2 retroactively becomes JA's historical basis
one conflicting judgment wins by default
For every material conclusion in this witness, the formalization MUST make reconstructible:
- the Core Theory/model instance;
- the official semantic relation(s) exercised;
- material dependency roles;
- semantic introduction rule used;
- assumption/law footprint;
- the exact authorizing basis/scope/contract where material.
A witness-local model is allowed only if it is a lawful model of the same Core Theory and does not replace required Core relations with unrelated local predicates.
24. V1 regression witnesses
V1 remains evidence, not FormaSL architecture authority.
The formalization MUST retain regression coverage for:
V1-R01 / SD-01
recording/occurrence multiplicity must not disappear merely
because semantic identity is used as a storage key.
V1-R02 / SD-02
richer formal lineage must not disappear at a projection or
translation boundary merely because a runtime carrier is simpler.
V1-R03 / SD-03
a terminal result must not silently stand in for complete
process history/provenance when that history is semantically material.
These witnesses test Semantic Continuity; they do not require preserving V1’s concrete representation.
A regression artifact MUST instantiate the current Core Theory/representation obligations. Importing a V1 theorem or reproducing a V1 fixture is not by itself evidence that the FormaSL obligation is satisfied.
25. Required formalization artifact classes
The formalization gate MUST distinguish reasoning artifacts correctly.
Witness != UniversalProof
Provenance != Derivation
Trace != ProofObject
Report != Proof
For this subject:
- constructive models/countermodels are witnesses of existential/refutational claims;
- proof terms accepted by the intended kernel discharge the exact scoped theorem obligations they inhabit;
- type-level acceptance interfaces can enforce theory/relation boundaries;
- assumption and introduction-rule mappings provide provenance/justification of formal authority;
- tactic/build/runtime logs are traces, not proofs;
- a human audit summary is a report, not a proof object.
25.1 Evidence classes
Every sufficiency field MUST be classified as one of:
KERNEL-CHECKED THEOREM / PROOF TERM
KERNEL-CHECKED COUNTERMODEL / WITNESS
KERNEL-CHECKED INTERFACE / TYPING BOUNDARY
DECLARED PROVENANCE METADATA
EXTERNAL STATIC AUDIT
OPERATIONAL TRACE
REPORT / EXPLANATION
The formalization MUST NOT promote a weaker evidence class into a stronger one without an explicit checker/bridge.
This contract does not require a portable certificate architecture.
26. Mechanization acceptance interface
The mechanization acceptance interface is the formal answer to:
What exact artifact type counts as discharging each obligation of this contract?
Before a material proof/witness implementation is admitted, the interface MUST make reconstructible:
OBLIGATION ID
CLAIM CLASS
FORMAL DETERMINACY
NORMATIVE CLAIM
EXACT ENCODED PROPOSITION
THEORY / MODEL CONTEXT
OFFICIAL SEMANTIC RELATIONS / CARRIERS
AUTHORIZED ASSUMPTIONS
REPRESENTATION BRIDGE, IF REQUIRED
REQUIRED ARTIFACT CLASS
NON-VACUITY EVIDENCE
KERNEL / CHECKER STATUS
26.1 Material acceptance types
A generic internal helper may quantify over arbitrary propositions. A material sufficiency field may not rely on that genericity to accept the wrong proposition.
Conceptually acceptable:
CoreCountermodel(CW-X) carries
M : CoreModel
M-is-Core : Theory(M) = SemanticMetagraphCore
antecedent : OfficialA(M,...)
refutation : OfficialB(M,...) -> Bottom
Conceptually insufficient by itself:
CoveredCollapse(CW-X) carries
Evidence : Set
artifact : NegativeArtifact Evidence
unless the type of Evidence is itself indexed/constrained by the exact canonical obligation row and cannot be replaced by an unrelated proposition.
26.2 Claim lock
Once the canonical row is fixed, proof engineering MAY change:
- explicit/implicit binders;
- helper lemmas;
- universe/sort annotations;
- rewrites/transports;
- pattern matching;
- equivalent proof decomposition;
- module organization.
Proof engineering MUST NOT silently change:
- claim class;
- formal determinacy status;
- antecedent;
- consequent/target;
- quantification;
- required model/theory;
- official semantic relation;
- authorized assumptions;
- artifact class;
- non-vacuity condition;
- what counts as acceptance.
If a correction to one of those dimensions is already uniquely determined by this contract, it is formalization remediation and MUST be traceable. If this contract does not determine the correction, mechanization MUST stop for the normative owner.
26.3 Verification mode separation
A destructive verification pass MUST be able to report a contract-to-type failure without silently repairing it in the same evidentiary act. Remediation may follow, but the original failure remains evidence that the previous sufficiency claim was invalid.
27. Formalization sufficiency gate
This downstream contract is satisfied only when all required current-scope formal artifacts exist, every required row is formally determined, acceptance types align with the canonical matrix, the required checker gates pass, and destructive false-pass verification finds no material bypass.
The sufficiency gate MUST verify at least:
CORE_THEORY_IMPLEMENTED = PASS
CORE_THEORY_CONSTRUCTIVELY_INHABITED = PASS
CORE_THEORY_MODEL_BINDING = PASS
ASSUMPTION_LEDGER_AUDITED = PASS
MATERIAL_INPUT_LEDGER_COMPLETE = PASS
INTRODUCTION_RULE_LEDGER_AUDITED = PASS
ASSUMPTION_FOOTPRINTS_AUDITABLE = PASS
FORMAL_DETERMINACY_AUDIT = PASS
REQUIRED_SCOPE_OBLIGATIONS_COMPLETE = PASS
FORMAL_OBLIGATION_MATRIX = PASS
MECHANIZATION_ACCEPTANCE_INTERFACE = PASS
CLAIM_CLASS_ALIGNMENT = PASS
CLAIM_TO_TYPE_ALIGNMENT = PASS
OFFICIAL_RELATION_INTEGRITY = PASS
NON_VACUITY_ENFORCEMENT = PASS
ACTIVE_NDL_LEDGER_EXACT = PASS
NO_DEFAULT_LAW_SUITE = PASS
OPAQUE_STANDING_BOUNDARIES = PASS
FORMATION_OBLIGATIONS = PASS
RELATION_ROLE_BINDING_OBLIGATIONS = PASS
NO_UNIVERSAL_STRUCTURAL_ORIENTATION = PASS
REFERENCE_CONTINUITY_OBLIGATIONS = PASS
PARTICIPATION_CORRELATION_OBLIGATIONS = PASS
DEPENDENCY_ROLE_CONTINUITY = PASS
DEPENDENCY_ROLE_OPERATIONAL_ADEQUACY = PASS
CLOSURE_SCOPE_JURISDICTION_OBLIGATIONS = PASS
ESTABLISHMENT_ADMISSIBILITY_BOUNDARY = PASS
AUTHORITY_JURISDICTION_NON_COLLAPSE = PASS
CONTRACT_SCOPED_COMPOSITION = PASS
BASE_COMPOSITION_TRANSITION_NONCREATION = PASS
CONFLICT_PREMISE_COMPOSITION = PASS
SEMANTIC_KIND_STANCE_BOUNDARIES = PASS
OBSERVATION_PROFILE_VALIDITY_FLOOR = PASS
HARD_VS_PROFILE_PRESERVATION = PASS
STAGING_ENVIRONMENT_EXACTNESS = PASS
STAGING_COHERENCE = PASS
POSITIVE_WITNESS_SUITE = PASS
NEGATIVE_COUNTERMODEL_SUITE = PASS
HOSTILE_INTEGRATED_WITNESS = PASS
V1_REGRESSION_WITNESSES = PASS
GENERICITY_NON_OVERFIT_CHECK = PASS
SHADOW_MODEL_CHECK = PASS - STRUCTURAL, NOT ENUMERATIVE ONLY
ANTI_SELF_GROUNDING_CHECK = PASS
POSTULATE_HOLE_AUDIT = PASS
EVIDENCE_CLASSIFICATION = PASS
ADVERSARIAL_FALSE_PASS_AUDIT = PASS
LABEL_TO_CLAIM_ATTACK = REJECTED
BIDIRECTIONAL_MATERIAL_COVERAGE_ATTACK = REJECTED
OPAQUE_STANDING_LAUNDERING_ATTACK = REJECTED
INDEXED_WRONG_PROPOSITION_ATTACK = REJECTED
OBLIGATION_OMISSION_ATTACK = REJECTED
CLAIM_CLASS_ATTACK = REJECTED
AUTHORITY_DISCOVERY_ATTACK = REJECTED
KERNEL_SAFE_ROOTS = PASS
CANONICAL_KERNEL_GATE = PASS
DESTRUCTIVE_CONTRACT_TO_TYPE_AUDIT = PASS
FORMALIZATION_BLOCKING_UNKNOWN = NONE FOUND
SUFFICIENT FORMALIZATION = PASS
A failure of any material obligation stops progression to the implementation/conformance contract.
A required current-scope row marked NOT YET MECHANIZABLE is itself such a failure. Retired rows are not required rows; deferred subjects outside this contract’s scope remain governed by Section 3 rather than silently entering the matrix.
27.1 Mandatory destructive closure questions
Before SUFFICIENT FORMALIZATION = PASS, answer NO to all of:
- Is any accepted artifact proving a weaker or different proposition than its normative obligation?
- Does any accepted semantic witness/countermodel use an unauthorized shadow relation/world without a checked bridge?
- Does any material proof use an assumption outside its authorized law budget?
- Is any report, trace, manifest, footprint metadata or static scan being promoted to kernel evidence for a semantic theorem?
- Can the sufficiency/acceptance interface remain inhabited after removing or substituting a required obligation?
- Can a non-entailment artifact pass without an inhabited antecedent in the same model?
- Can an official relation be replaced by an unrelated local predicate while preserving acceptance?
- Can a new semantic world evade the shadow-model check because the audit enumerates only known models?
- Can a material standing fabricate the authority required for its own introduction?
- Is any required current-scope row
NOT YET MECHANIZABLEwhile the contract or sufficiency root still claims PASS? - Is any ACTIVE NDL absent from the mechanized no-default-law suite?
- Does any retired NDL remain a required acceptance field?
- Does NDL-12 bypass its structural-equality/semantic-identity representation bridge?
- Can base composition introduce satisfaction/adoption/conjunction/migration standing without explicit external transition authorization?
- Can CW-27 substitute one clean countermodel for the universal FO-21 non-creation obligation?
- Can a staging environment omit a material input of the actual governed staging case while both paths still share that incomplete environment?
- Can a witness-local structural proxy replace an official opaque standing without a checked bridge?
- Can a universal input/output/lateral orientation become CORE-REQUIRED?
- Can a correct obligation index map to a weaker/different proposition?
- Do any normative entrypoints resolve to a stale/superseded contract authority or contradictory current-state block?
- Was every invalidated checker gate rerun after the final relevant mechanization change?
If mechanization exposes a semantic decision absent from this contract, formalization MUST stop and return to the appropriate normative owner.
28. Contract gate and current transition
The semantic-metagraph design subject remains closed. This revision is formalization-contract consolidation/hardening, not semantic redesign.
The former standalone SEMANTIC-METAGRAPH-FORMALIZATION-CONTRACT-REPAIR.md has no normative authority after this consolidated revision. It may be retained only as historical audit evidence.
SEMANTIC_METAGRAPH_REPRESENTATION = PASS
FORMALIZATION_CONTRACT_SCOPE = PASS
FORMAL_OBLIGATION_SEMANTICS = PASS - DETERMINACY + CLAIM-CLASS REPAIRED
FORMAL_DETERMINACY = PASS
REQUIRED_SCOPE_OBLIGATION_COMPLETENESS = PASS
CORE_THEORY_SINGLE_INTERFACE = PASS
ABSTRACT_PARAMETER_BOUNDARIES = PASS
OFFICIAL_RELATION_INTEGRITY = PASS
ASSUMPTION_LEDGER = PASS - NDL-11/NDL-13 RETIRED; NDL-12 BRIDGED
MATERIAL_INPUT_LEDGER_REQUIREMENT = PASS
SEMANTIC_INTRODUCTION_RULE_LEDGER = PASS
PROOF_SHAPE_BY_OBLIGATION_CLASS = PASS
CANONICAL_FORMAL_OBLIGATION_MATRIX = PASS - CONSOLIDATED
MECHANIZATION_ACCEPTANCE_SPECIFICATION = PASS - CONSOLIDATED
ANTI_VACUITY_REQUIREMENTS = PASS
SHADOW_MODEL_PROHIBITION = PASS
GENERICITY_DISCIPLINE = PASS
EVIDENCE_CLASS_DISCIPLINE = PASS
ADVERSARIAL_FALSE_PASS_DISCIPLINE = PASS - EXTENDED
BASE_COMPOSITION_NONCREATION_CONTRACT = PASS
STAGING_ENVIRONMENT_GOVERNANCE = PASS
NO_UNIVERSAL_STRUCTURAL_ORIENTATION = PASS
DEFERRED_SUBJECT_INVASION = NONE FOUND
CONTRACT_LEVEL_BLOCKING_UNKNOWN = NONE FOUND
FORMALIZATION CONTRACT = PASS - CONSOLIDATED + DETERMINACY AUDITED
Current mechanization state is intentionally NOT promoted by this contract repair:
SEMANTIC_METAGRAPH_FORMALIZATION = REMEDIATION REQUIRED
CORE_THEORY_IMPLEMENTED = PASS - SOURCE EXISTS; FULL CLAIM ALIGNMENT REVALIDATION REQUIRED
SUFFICIENT FORMALIZATION = NOT PASS
FORMALIZATION_BLOCKER = PRESENT - KNOWN MECHANIZATION MISALIGNMENT AGAINST CONSOLIDATED CONTRACT
FORMALIZATION_BLOCKING_UNKNOWN = NOT YET REASSESSED AGAINST CONSOLIDATED CONTRACT
CURRENT STAGE = FORMALIZATION REMEDIATION
FORMALIZATION CONTRACT = PASS - CONSOLIDATED + DETERMINACY AUDITED
RUST CODE AUTHORIZED = NO
NEXT GATE = SUFFICIENT FORMALIZATION = PASS
NEXT STAGE AFTER THAT GATE = IMPLEMENTATION / CONFORMANCE CONTRACT
Existing proofs, models and witnesses may be reused only where they satisfy this consolidated interface. No proof must be rewritten merely because the contract was consolidated; only artifacts whose claim class, determinacy, accepted proposition, model/relation binding, evidence class, or non-vacuity boundary differs from this contract require remediation.
29. Denotation closure and acceptance-interface hardening
This section is a normative hardening of the same contract owner. It does not create a second contract, does not change the semantic-metagraph architecture, and does not add new language meaning. It closes a demonstrated acceptance-boundary under-specification: a mechanization may use carriers with representation identity or multiplicity that is not itself part of the normative relation, and a proof about one selected representative MUST NOT be accepted as a proof about the relation/fiber unless the claim is explicitly token-level.
This section extends Sections 5, 6.11, 6.11A, 19.10, 20.8, 20.9, 26 and 27. Where an earlier PASS label depends on formal determinacy or acceptance-interface completeness, that PASS is invalidated until the denotation obligations below are audited for every applicable current-scope material row.
NORMATIVE SEMANTICS CHANGED = NO
DENOTATION / ACCEPTANCE DISCIPLINE HARDENED = YES
DENOTATION_CLOSURE = NOT PASS - AUDIT REQUIRED
CANONICAL_ACCEPTANCE_PROPOSITIONS = NOT PASS - REFREEZE REQUIRED
MECHANIZATION_ACCEPTANCE_SPECIFICATION = NOT PASS - DENOTATION PREFLIGHT REQUIRED
FORMAL_DETERMINACY_AUDIT = NOT PASS - REPRESENTATION DIMENSIONS REQUIRE REAUDIT
SUFFICIENT FORMALIZATION = NOT PASS
CURRENT AGDA CANDIDATE = PRIOR EVIDENCE ONLY; CANDIDATE STATUS INVALIDATED
RUST CODE AUTHORIZED = NO
29.1 Carrier-to-semantic denotation rule
For every material obligation whose mechanization uses a representation carrier, the Canonical Formal Obligation Matrix MUST make reconstructible, when applicable:
REPRESENTATION CARRIER
FORMAL SEMANTIC DENOTATION
DENOTATION LEVEL
TOKEN IDENTITY RELEVANCE
SEMANTIC KEY / FIBER KEY
CANONICAL QUANTIFIER NORMAL FORM
EXACT POSITIVE / NEGATIVE / PRESERVATION DOMAIN
REPRESENTATIVE-INVARIANCE REQUIREMENT
REPRESENTATION BRIDGE, IF ANY
DENOTATION LEVEL MUST be one of:
TOKEN
FIBER / RELATION
OPAQUE
BRIDGED
NOT APPLICABLE
Interpretation:
TOKEN: representation identity is materially part of the normative proposition;FIBER / RELATION: one or more carrier values denote the same normative relation instance under explicit semantic coordinates;OPAQUE: the official standing is consumed through the Core interpretation without inventing additional representation semantics;BRIDGED: a checked representation theorem fixes how a non-identical concrete carrier denotes the normative role;NOT APPLICABLE: no material carrier/denotation boundary occurs in the obligation.
The default is not TOKEN merely because the proof assistant datatype contains an identity field.
CARRIER TOKEN
!=
NORMATIVE RELATION INSTANCE
unless the canonical claim explicitly makes token identity material.
29.2 Fiber-level standing and exact negation
When a normative standing is determined by semantic coordinates k but its representation carrier admits multiple tokens realizing those coordinates, the relation-level proposition has the conceptual form:
StandingAt(M,k)
:= exists token.
SemanticKey(token) = k
AND EstablishedStanding(M,token)
Equivalent dependent/indexed representations are allowed. The key requirement is semantic: the acceptance proposition must range over the complete normative relation instance.
Therefore, for a relation/fiber-level negative claim:
NOT StandingAt(M,k)
cannot be discharged merely by:
NOT EstablishedStanding(M, selected-token)
when another token with the same normative semantic key may be established.
The refutation must cover the complete fiber, e.g. conceptually:
forall token.
SemanticKey(token) = k
-> EstablishedStanding(M,token)
-> Bottom
or an equivalent formulation that refutes the exact canonical consequent.
The same rule applies to positive, preservation and non-creation claims whenever representative identity could otherwise change the truth of the normative proposition.
29.3 Hardened formal-determinacy rule
For an obligation involving a representation carrier, FORMAL DETERMINACY = DETERMINED additionally requires that current authority fixes, without proof-engineering invention:
- the relation/standing denotation;
- whether carrier/token identity is material to this obligation occurrence;
- the semantic coordinates/key identifying the normative relation instance or fiber;
- correspondence of arguments between related standings;
- the exact quantified candidate/domain where applicable;
- the exact positive, negative or preservation domain;
- the proof-assistant-neutral canonical acceptance proposition.
If any of these dimensions has more than one materially different plausible reading and no current authority or explicit bridge chooses among them:
FORMAL DETERMINACY = NOT YET MECHANIZABLE
CONTRACT READY FOR MECHANIZATION = NO
Proof engineering is not authorized to select the convenient reading.
29.4 Acceptance proposition before witness implementation
For every material row, the following chain MUST be frozen and audited before a witness/proof implementation is counted toward sufficiency:
NORMATIVE CLAIM
-> CANONICAL FORMAL OBLIGATION ROW
-> FORMAL DENOTATION
-> CANONICAL ACCEPTANCE PROPOSITION
-> EXPECTED ACCEPTANCE TYPE
Only after this chain passes a type-level destructive audit may witness/proof implementation count as a candidate discharge.
Witness modules may construct inhabitants. They MUST NOT decide what the obligation means.
WITNESS IMPLEMENTATION
!= CLAIM DEFINITION
29.5 Carrier-multiplicity / token-fiber attack
Section 20.8 is extended with the mandatory attack:
CARRIER-MULTIPLICITY / TOKEN-FIBER ATTACK
For every material claim whose carrier has identity or multiplicity beyond
its normative semantic coordinates:
1. construct or reason about t1 and t2 with distinct representation identity;
2. preserve every normative semantic coordinate relevant to the claim;
3. vary the standing of t1 and t2 adversarially;
4. attempt to satisfy the acceptance type using one selected representative
while another representative in the same normative fiber makes the exact
normative proposition differ.
For a FIBER / RELATION-level claim, acceptance MUST reject the false-pass.
For a TOKEN-level claim, the canonical row MUST state why token identity is
material.
This attack is distinct from ordinary fixture-overfit. It tests whether representation multiplicity can change the truth of a normative relation while the acceptance artifact continues to pass.
29.6 Contract-to-type alignment extension
Section 20.9 is strengthened to:
NORMATIVE CLAIM
=
CANONICAL ROW + FORMAL DETERMINACY
=
FORMAL DENOTATION + IDENTITY-RELEVANCE / FIBER LOCK
=
CANONICAL ACCEPTANCE PROPOSITION
=
EXPECTED ACCEPTANCE TYPE
=
ENCODED PROPOSITION
=
ACCEPTED ARTIFACT TYPE
A correct obligation ID does not repair a wrong denotation. A correct carrier type does not repair a wrong semantic fiber. A correct selected token does not refute an existential relation-level consequent.
29.7 Additional sufficiency gates
Section 27 is extended with the following mandatory gates:
DENOTATION_CLOSURE = PASS
CARRIER_IDENTITY_RELEVANCE_COMPLETE = PASS
CANONICAL_ACCEPTANCE_PROPOSITIONS = PASS
ACCEPTANCE_TYPE_PREFLIGHT = PASS
CARRIER_MULTIPLICITY_ATTACK = REJECTED
FAILURE_CLASS_ESCALATION_AUDIT = PASS
DENOTATION_CLOSURE = PASS requires every applicable current-scope material row to have a closed token/fiber/opaque/bridged classification, semantic key when needed, and exact acceptance proposition.
ACCEPTANCE_TYPE_PREFLIGHT = PASS requires destructive review of the acceptance interface independently of witness implementation, including substitution, shadow-world, weakened-consequent, indexed-wrong-proposition, obligation-omission and carrier-multiplicity attacks.
29.8 Failure-class escalation
A reproduced false-pass must be treated as evidence about a class, not only its first row.
FIRST MATERIAL FALSE-PASS OF A CLASS
-> preserve the reproducer
-> repair the instance when contract-determined
-> define the failure class
-> scan the complete applicable acceptance surface
-> add a reusable regression attack
SECOND INDEPENDENT OCCURRENCE OF THE SAME CLASS
-> STOP row-by-row patching
-> REOPEN the mechanization acceptance interface
-> perform systemic repair
-> rerun the class-wide scan
-> refreeze affected claim/type evidence
This escalation changes formalization governance, not semantic meaning. If systemic repair exposes an actually underdetermined normative dimension, stop with MATERIAL_CONTRACT_FAILURE and return to the owner.
29.9 Additional destructive closure questions
Section 27.1 is extended. Before SUFFICIENT FORMALIZATION = PASS, answer NO to all of:
- Can a selected representative token be absent while another token in the same normative semantic fiber establishes the exact consequent and acceptance still succeeds?
- Can carrier identity be changed while every normative semantic coordinate is preserved and acceptance changes even though the canonical claim is relation/fiber-level?
- Does any current-scope material row use a carrier without explicitly closed denotation level and identity relevance where those dimensions can affect the proposition?
- Can proof engineering choose the semantic key/fiber or argument correspondence after the row has been marked
DETERMINED? - Has a material false-pass class recurred independently without triggering a class-wide acceptance-interface scan and systemic remediation?
- Can a witness module or fixture determine the effective proposition because the canonical acceptance proposition was not frozen first?
Any YES blocks sufficiency.
29.10 Current transition after this hardening
This hardening is a material acceptance-contract change. It invalidates affected prior acceptance evidence and candidate status, but does not erase valid proof terms as reusable evidence.
The Batch #3 Agda state may be reused only after the new denotation/acceptance preflight demonstrates that each reused artifact inhabits the exact newly locked acceptance proposition.
SEMANTIC_METAGRAPH_REPRESENTATION = PASS
NORMATIVE SEMANTICS CHANGED = NO
FORMALIZATION CONTRACT = HARDENED - DENOTATION CLOSURE REQUIRED
FORMAL OBLIGATION MATRIX = NOT PASS - DENOTATION FIELDS REQUIRE AUDIT
MECHANIZATION ACCEPTANCE SPECIFICATION = NOT PASS - PREFLIGHT REQUIRED
CURRENT AGDA FORMALIZATION = PRIOR REMEDIATION EVIDENCE; NOT A FROZEN CANDIDATE
SUFFICIENT FORMALIZATION = NOT PASS
VERIFIED = NO
RUST CODE AUTHORIZED = NO
CURRENT STAGE = CONTRACT / ACCEPTANCE DENOTATION AUDIT
NEXT GATE = DENOTATION CLOSURE + ACCEPTANCE TYPE PREFLIGHT = PASS
After that gate passes, mechanization may be remediated/revalidated against the frozen acceptance propositions, followed by a new candidate freeze and a fresh independent R2 destructive verification.
29.11 Canonical denotation lock ledger
This subsection is the binding denotation lock required by Sections 29.1-29.4. It extends the Canonical Formal Obligation Matrix (Sections 6.11-6.13), the acceptance matrices (Sections 21.1, 22.1) and the ACTIVE no-default-law ledger (Section 7.4) with the representation-boundary fields those sections inherit but did not tabulate. Fields already fixed by those sections (claim class, formal determinacy, antecedent, consequent, law budget, artifact class, non-vacuity, forbidden substitute) are inherited unchanged; this ledger adds exactly:
REPRESENTATION CARRIER
DENOTATION LEVEL
TOKEN IDENTITY RELEVANCE
SEMANTIC KEY / FIBER KEY
ARGUMENT CORRESPONDENCE, IF MULTI-RELATION
REPRESENTATIVE-INVARIANCE REQUIREMENT
CANONICAL ACCEPTANCE PROPOSITION (quantifier normal form)
EXPECTED ACCEPTANCE TYPE
A row marked DETERMINED in Section 6.13 whose denotation dimensions were not reconstructible from authority is not mechanizable; this ledger closes those dimensions row by row. Nothing below changes semantic meaning; it freezes which proposition each existing obligation ID denotes.
29.11.1 Inventory reconciliation
Derived independently from this contract (Sections 6.12, 6.13, 7.4, 21.1, 22.1) and the mechanization registry (FormaSL.FormaSL.SemanticMetagraph.Sufficiency.canonical-obligation-registry, kernel-checked equal to an independently written required copy):
CONTRACT BINDING DETERMINACY ROWS = 82 (FO 22 + PW 12 + CW 35 + NDL 13)
REGISTRY ROWS = 82 (identical ID set and classes)
REQUIRED ACTIVE ROWS = 80 (NDL-11, NDL-13 RETIRED - traceable, not required)
RETIRED ROWS = 2 (NDL-11, NDL-13)
NOT YET MECHANIZABLE ROWS = 0
BOUNDARY ACCEPTANCE ROWS = 19 (BoundaryObligationId; non-registry, gate-carried)
POSITIVE SUITE FIELDS = 12 (PW-01 .. PW-12)
COLLAPSE SUITE FIELDS = 35 (CW-01 .. CW-35)
NO-DEFAULT-LAW SUITE FIELDS = 11 (exactly the ACTIVE NDL rows)
BOUNDARY SUITE FIELDS = 19
SUFFICIENCY ROOT FIELDS = 36 (MechanizedSufficiencyEvidence)
Discrepancy resolution: an earlier executor report cited “83 registry rows”. The correct count is 82; the “83” figure was a reporting miscount, not an omitted obligation. Every contract row appears exactly once in the registry, and every ACTIVE NDL appears exactly once in the no-default-law suite. Retired identifiers remain in the ForbiddenDefaultLawId vocabulary for traceability but are unconstructible as CoveredNoDefaultLaw because the Core forbidden-budget membership premise fails for them.
29.11.2 Carrier identity-relevance and semantic keys
The following locks are normative. They fix, per representation carrier, which fields constitute the normative relation instance and which are representation-only.
Delegation { identity, source, target, scope }
NORMATIVE RELATION = Delegation(a,b) with a = source, b = target
(Section 7.4 law notation; the WP-visible "endpoint fiber").
SEMANTIC KEY = (source, target).
NOT MATERIAL = delegation-identity, delegation-scope (no law or
obligation references them as coordinates).
ClosureGuarantee { identity, scope, obligation }
NORMATIVE RELATION = ClosureGuarantee(S,Q) (Sections 7.4, 14.2).
SEMANTIC KEY = (scope, obligation); where an antecedent fixes no
scope coordinate (CW-09, CW-10), the fiber is keyed
by obligation alone.
NOT MATERIAL = closure-guarantee-identity.
RedelegationPower (opaque Core input over a Delegation)
STANDING OVER = the delegation fiber; SEMANTIC KEY = (source, target)
of the underlying delegation relation.
AuthorityWidening { original, widened }
SEMANTIC KEY = (original, widened). No identity field: the fiber at
a pair is a singleton. CW-16 quantifies the
original-fiber (every widening out of the preserved
authority); NDL-06 quantifies the same-pair fiber
(owner lock).
AuthorityTransport = standing type over (source, target); pair key.
NormativeAuthority { identity, scope }
Standings over it are value-keyed (the fiber at a value is a singleton).
Rows refuting the standing globally (CW-20) range over ALL values.
JudgmentJurisdiction { identity, scope, operation }
Value-keyed. CW-17 refutes the whole JointJurisdiction standing
(every wrapped value); CW-20/CW-21 use it only as an antecedent pair.
Claim / Observation / Assessment / Assumption / DerivedResult
For the Section 17 stance boundaries the normative coordinate is CONTENT
("Claim != Observation" etc. distinguish a claim from an X of the same
content). SEMANTIC KEY = content. Issuer/observer/identity are not
coordinates of these collapse claims.
AssertionStanding { issuer, content }
For CW-30 (GraphMembership -/-> Assertion) the tied coordinate is CONTENT
(the membership-content tie fixes content only). SEMANTIC KEY = content;
issuer is not a coordinate of that claim.
TruthStanding { content }
Determined by content alone: the fiber at a content is a singleton.
GraphMembership { identity, referent }
Antecedent-only in current scope; referent-keyed.
Provenance / Derivation / ProofCertificate / OperationalTrace
Identity-singleton carriers: the fiber at an identity is a singleton.
IndependentRealityClosure / InformationDomainClosure { scope, obligation }
Singleton per (scope, obligation) pair.
Coordinate-indexed standing types (SameTarget, AdmissibleFor,
AuthorizedWinner, DerivedJudgment, HasJudgmentJurisdiction,
ParticipationCorrelation, ResolvedReference, DependencyRoleBridge,
DependencyUse, AdmissibleObservationProfile, EquivalentFor, ...)
Relations over their index tuples: refuting the TYPE at the exact indices
refutes every token at that key. Fiber key = the index tuple.
Opaque standings (CorrelationCandidate, ContractCompatibilityStanding,
RoleCorrespondenceStanding, the four contract transition standings and
their authorized transitions, ScopeWidening)
OPAQUE level: consumed through the Core interpretation at exactly their
coordinate tuples; no additional calculus is invented (Section 6.11A).
History carriers (ReferenceHistory, BasisHistory, ScopeHistory,
HistoricalIssuance)
Specific VALUES are normatively material (a history is that history).
29.11.3 Legend and representative-invariance rule
Est(M, ...) = the row's official standing relation in lawful Core
model M (Established*/interpret-*/membership relation
named by the row's official relation).
Fib(K) = { t | SemanticKey(t) = K }.
NEG FIBER K = exists lawful M. ANTECEDENT(M) AND
(forall t in Fib(K). not Est(M,t)).
WHOLE-STANDING = the key is top: the refutation ranges over every
token/value of the standing type in M.
REP-INV REQUIRED = replacing the representative by another token of the
same fiber MUST NOT change acceptance; enforced
structurally by universal quantification over the
fiber in the acceptance type.
REP-INV TRIVIAL = the fiber is a singleton, so invariance holds by
definitional equality.
REP-INV EXISTENTIAL = the claim class is existential/capability: the claim
IS "there exists a representative", so exhibiting one
official-relation inhabitant is the exact claim.
REP-INV NOT REQUIRED = token identity is normatively material (justified
per row in 29.11.9).
For NDL rows the canonical acceptance proposition additionally requires, prefixing the countermodel: the exact law is absent from the Core-required law budget (structural vocabulary separation plus budget membership), the CoreLawId enumeration is closed, and the carried footprint equals the row’s expected footprint (Sections 7.2, 7.4; FO-18/FO-20).
29.11.4 Foundational obligation locks (FO-01 .. FO-22)
ID | LEVEL | KEY / FIBER | REP-INV | CANONICAL ACCEPTANCE PROPOSITION | EXPECTED ACCEPTANCE TYPE
FO-01 | NOT APPLICABLE | none (theory/model) | EXISTENTIAL | exists non-trivial lawful Core model of the one Core Theory | ConstructiveCoreInhabitant x LawfulCoreModel (root fields)
FO-02 | NOT APPLICABLE | relation instance index | TRIVIAL | forall formed binding b of relation r: binding-relation b == r; identity preserved by formation indexing, not by stored-field self-comparison | Formation.relation-unity via CoreLawSatisfaction.law-relation-unity
FO-03 | NOT APPLICABLE | none | EXISTENTIAL | formation requires only the applicable RelationContract's supplied validity components; no universal set/bag/sequence/order law is Core-required | RelationContract/FormedRelation typing + PW-01 + OrientationGate
FO-04 | FIBER/RELATION | (kind, basis, designator) | REQUIRED | forall lawful M, forall l r : ResolvedReference M k: basis l == basis r -> designator l == designator r -> target l == target r (functionality without totality) | Reference.resolved-target-determinacy / law-resolved-target-determinacy / ReferenceGate.same-key-target-determinacy
FO-05 | NOT APPLICABLE | history value | TRIVIAL | forall reference history: historical resolved target/basis reconstructible after later basis evolution | law-reference-history + Positive.ReferenceNonretroactivityEvidence
FO-06 | FIBER/RELATION | participation identity pair | REQUIRED | forall correlation result: left/right participation identities preserved and prior distinguishability preserved | law-participation-continuity-left/right + law-participation-distinguishability + PW-05
FO-07 | NOT APPLICABLE | (rule, premises) | TRIVIAL | every derived judgment's premises match the applicable rule's required dependency roles (RolesMatch), bridges explicit | law-derivation-role-adequacy + RequiredDependencyRoleDistinctions + CW-35
FO-08 | FIBER/RELATION | (scope, obligation) | REQUIRED | closure standing exists only over a guarantee carrying its declared scope/obligation with external premise; no widening by current-state substitution | EstablishedClosure/ClosurePremise typing + PW-07 + law-scope-nonretroactivity; negative side CW-09/NDL-04
FO-09 | NOT APPLICABLE | none | REQUIRED | every material standing constructor retains its external authorizing premise (universal audit over the introduction surface) | AntiSelfGroundingAudit
FO-10 | NOT APPLICABLE | none | REQUIRED | base composition preserves source contracts, material participations/dependencies and non-assertive content (exact list equalities) | law-composition-contracts/participations/dependencies/claims
FO-11 | FIBER/RELATION | authorizing correlation basis| REQUIRED | cross-contract correlation exposes operation correlation basis == authorizing correlation premise basis (or explicit bridge) | ContractCompositionGate cross-contract fields + AntiSelfGroundingAudit.cross-contract-packaging-retains-authorizing-basis
FO-12 | BRIDGED | exact staging environment | REQUIRED | forall lawful M, governed case, exact shared environment, two valid alternative paths: same required final observables; EnvironmentExactlyRepresentsCase bridge ties environment to the governed case | Lawfulness.fo12-staging-coherence + StagingGate
FO-13 | NOT APPLICABLE | none | REQUIRED | admissible observation profile includes the mandatory floor; strengthening preserves admissibility | law-observation-strengthening + ObservationPreservationGate.observation-floor-valid
FO-14 | NOT APPLICABLE | none | REQUIRED | forall hard-preserving transformation, forall state: the exact HardPreserved relation holds, plus one non-trivial inhabited case | law-hard-preservation + ObservationPreservationGate.hard-preservation-inhabited
FO-15 | NOT APPLICABLE | history values | TRIVIAL | basis and scope evolution preserve the historical basis/scope of previously established judgments/standings | law-basis-nonretroactivity + law-scope-nonretroactivity + PW-10 + CW-19
FO-16 | NOT APPLICABLE | none (list membership) | REQUIRED | restriction/view omission preserves base existence and does not establish nonexistence | law-restriction-preservation + CW-34
FO-17 | NOT APPLICABLE | none | REQUIRED | every material introduction path is in the introduction ledger and retains rule/source/scope/model evidence | IntroductionLedgerAudit + AntiSelfGroundingAudit
FO-18 | NOT APPLICABLE | none | REQUIRED | assumption/input ledgers and per-row footprints exactly cover material dependencies; footprint assurance honestly classified as declared provenance metadata | AssumptionLedgerAudit + AssumptionFootprintAudit + footprint-exact equalities
FO-19 | NOT APPLICABLE | none | EXISTENTIAL | at least one non-canonical identity/case reuses the same parameterized Core formation path, witnessed by instance == generic constructor at fresh parameters outside the canonical fixture list | Positive.GenericityNonOverfitEvidence
FO-20 | NOT APPLICABLE | none | REQUIRED | every material sufficiency field is indexed/constrained by its exact obligation row; arbitrary Set/local world cannot cross | obligation-indexed families (CoveredCollapse/CoveredBoundary/CoveredNoDefaultLaw/PositiveArtifact) + registry/ledger equality audits
FO-21 | OPAQUE | (composition, contract(s)) | REQUIRED | forall lawful M: base-composition path plus any of the four transition standings entails the corresponding explicit external authorized transition; no public introduction from base composition alone | Lawfulness.fo21-* + ContractTransitionNoncreationGate
FO-22 | NOT APPLICABLE | none | EXISTENTIAL | no universal input/output/lateral orientation is Core-required; an orientation-free formation is inhabited; orientation remains contract-suppliable | Positive.NoUniversalStructuralOrientationEvidence (OrientationGate)
29.11.5 Positive witness obligation locks (PW-01 .. PW-12)
All PW rows are EXISTENTIAL/capability claims over official relations in lawful Core models; representative-invariance is EXISTENTIAL except where noted. Expected acceptance type is PositiveArtifact PWnn (PW-11: the AdmissiblePlurality evidence) unless noted.
ID | LEVEL | KEY / FIBER | CANONICAL ACCEPTANCE PROPOSITION
PW-01 | NOT APPLICABLE | relation instance index | exists formed relation, >= 3 role bindings, every binding preserves the same relation identity
PW-02 | NOT APPLICABLE | none | exists lawful model with typed resolved reference to a relation/semantic item in higher-order structure; referent/kind preserved
PW-03 | NOT APPLICABLE | none | exists lawful model plus applicable contract permitting an inhabited recursive/cyclic typed-reference structure
PW-04 | FIBER/RELATION | provenance pair (singleton pair) | exists authorized role-occupancy coalescence with material provenance/support artifacts remaining distinct
PW-05 | FIBER/RELATION | participation identity pair | exists two referable participations with distinct established identities and a later authorized correlation preserving both
PW-06 | FIBER/RELATION | reference pair + eligible bridge | exists references under different bases, an explicit eligible bridge, one pre-existing referent; co-designation recognized, not created
PW-07 | FIBER/RELATION | (guarantee, scope, obligation) | exists established closure guarantee whose exact conclusion holds at its declared (S,Q) and is refuted at (S2,Q) and (S,Q')
PW-08 | FIBER/RELATION | (operation, judgment) | exists lawful M: LegitimatelyEstablished(M,J) AND AdmissibleFor(M,O1,J) AND not AdmissibleFor(M,O2,J)
PW-09 | NOT APPLICABLE | (rule, premises) | exists derivation whose premises inhabit the applicable rule's required dependency roles via the official derivation standing
PW-10 | NOT APPLICABLE | history value | exists historical judgment/basis and a later basis state preserving the judgment's historical basis
PW-11 | FIBER/RELATION | (operation, judgment pair) | exists two incompatible admissible judgments for one operation and no authorized winner standing
PW-12 | NOT APPLICABLE | referent membership | exists restricted view with item absent from the view and present in the governing base existence relation
29.11.6 Collapse obligation locks (CW-01 .. CW-35)
All CW rows are non-entailment/distinguishability claims: exists lawful M. ANTECEDENT(M) AND REFUTATION(M) in ONE model, exercising the official relations. The KEY/FIBER column fixes the refutation domain. NEG FIBER abbreviates Section 29.11.3.
ID | LEVEL | KEY / FIBER | REP-INV | CANONICAL ACCEPTANCE PROPOSITION | EXPECTED TYPE
CW-01 | BRIDGED | relation pair (left,right) | REQUIRED | official RelationStructuralEquality(l,r) inhabited AND RelationSemanticIdentity(l,r) refuted, via the checked shape/referent bridges of NDL-12/CW-01 | CW01Evidence
CW-02 | FIBER/RELATION | named-referent pair | REQUIRED | same identifier value; distinct semantic referent identities | CW02Evidence
CW-03 | FIBER/RELATION | (binding pair, participation) | REQUIRED | source declaration count and semantic multiplicity diverge under the Core representation contract | CW03Evidence
CW-04 | FIBER/RELATION | participation pair via correspondence | REQUIRED | same/reused physical binding locus correspondence; distinct established participation identities | CW04Evidence
CW-05 | FIBER/RELATION | reference pair (l,r) | REQUIRED | situated same-entity claim/assessment inhabited AND NEG FIBER SameTarget(M,l,r) | CW05Evidence
CW-06 | FIBER/RELATION | reference pair | REQUIRED | official SameTarget recognizes only already-equal targets; distinct-target pair has no standing | CW06Evidence
CW-07 | FIBER/RELATION | participation pair | REQUIRED | authorized correlation inhabited; established participation identities remain distinct | CW07Evidence
CW-08 | FIBER/RELATION | support pair (provenance) | REQUIRED | occupancy/correlation/coalescence standing inhabited; material provenance remains distinct | CW08Evidence
CW-09 | FIBER/RELATION | obligation Q (guarantees, any scope) | REQUIRED | CompletionRequirement(O,Q) inhabited AND NEG FIBER { g | obligation(g) = Q } under EstablishedClosure(M) | CW09Evidence
CW-10 | FIBER/RELATION | obligation Q (guarantees, any scope) | REQUIRED | EndOfInput(O) inhabited AND NEG FIBER { g | obligation(g) = Q } under EstablishedClosure(M) | CW10Evidence
CW-11 | FIBER/RELATION | (scope, obligation) — singleton | TRIVIAL | InformationDomainClosure(S,Q) inhabited AND IndependentRealityClosure(S,Q) refuted via official interpretation | CW11Evidence
CW-12 | FIBER/RELATION | (operation, judgment) | REQUIRED | LegitimatelyEstablished(M,J) inhabited AND NEG FIBER AdmissibleFor(M,O,J) | CW12Evidence
CW-13 | FIBER/RELATION | judgment pair (l,r) | REQUIRED | two official admissibility standings for incompatible judgments AND NEG FIBER AuthorizedWinner(M,l,r) | CW13Evidence
CW-14 | FIBER/RELATION | (premises, conclusion) | REQUIRED | premises/dependencies inhabited AND NEG FIBER DerivedJudgment(M,premises,conclusion) | CW14Evidence
CW-15 | FIBER/RELATION | WHOLE-STANDING JointAuthority | REQUIRED | official JointSupport inhabited AND forall j: not interpret-joint-authority(M,j) | CW15Evidence
CW-16 | FIBER/RELATION | original authority a (widened-target fiber)| REQUIRED | AuthorityPreservation(a) inhabited AND forall w: original(w) = a -> not interpret-authority-widening(M,w) | CW16Evidence
CW-17 | FIBER/RELATION | WHOLE-STANDING JointJurisdiction | REQUIRED | official PairwiseJurisdiction inhabited AND forall j: not interpret-joint-jurisdiction(M,j) | CW17Evidence
CW-18 | FIBER/RELATION | basis pair (singleton per pair) | TRIVIAL | same basis locator; materially distinct basis semantic states | CW18Evidence
CW-19 | FIBER/RELATION | (history, evolution) pair | TRIVIAL | basis history inhabited; later basis does not replace the historical evaluation basis | CW19Evidence
CW-20 | FIBER/RELATION | WHOLE-STANDING NormativeAuthority | REQUIRED | HasJudgmentJurisdiction(M,j,J) inhabited AND forall a: not HasNormativeAuthority(M,a) | CW20Evidence
CW-21 | FIBER/RELATION | WHOLE-STANDING Delegation | REQUIRED | HasJudgmentJurisdiction(M,j,J) inhabited AND forall d: not EstablishedDelegation(M,d) | CW21Evidence
CW-22 | FIBER/RELATION | (source,target) endpoint fiber of d | REQUIRED | EstablishedDelegation(M,d) inhabited AND forall d': source(d') = source(d) -> target(d') = target(d) -> not RedelegationPower(M,d') | CW22Evidence
CW-23 | TOKEN | the specific HistoricalIssuance value | NOT REQUIRED (29.11.9) | revocation transition preserves exactly the historical issuance; no substitute history | CW23Evidence
CW-24 | OPAQUE | contract pair | REQUIRED | ContractCompatibilityStanding(M,c1,c2) inhabited AND c1 =/= c2 | CW24Evidence
CW-25 | OPAQUE | role pair + basis | REQUIRED | RoleCorrespondenceStanding(M,r1,r2,K) inhabited AND r1 =/= r2 | CW25Evidence
CW-26 | FIBER/RELATION | (composition pair, basis) | REQUIRED | official/bridged correlation-basis standing inhabited; exact result-governing contracts differ | CW26Evidence
CW-27 | OPAQUE | (composition, contract(s)) fibers | REQUIRED | one lawful base-composition/preservation case; all four transition standings refuted at every contract index (forall contract/source/sources/result) | CW27Evidence
CW-28 | FIBER/RELATION | (state pair, profile) | REQUIRED | admissible EquivalentFor(P) inhabited; a materially required distinction (referent) remains distinct | CW28Evidence
CW-29 | FIBER/RELATION | content k — singleton (TruthStanding) | TRIVIAL | graph-membership stance of content-referent k inhabited AND TruthStanding(M, truth-standing k) refuted | CW29Evidence
CW-30 | FIBER/RELATION | content k (assertions, any issuer) | REQUIRED | graph-membership stance of content-referent k inhabited AND forall a: content(a) = k -> not AssertionStanding(M,a) | CW30Evidence
CW-31 | FIBER/RELATION | content k (claims, any issuer) | REQUIRED | derived-result standing with content k inhabited AND forall c: content(c) = k -> not ClaimStanding(M,c) | CW31Evidence
CW-32 | FIBER/RELATION | identity singletons (derivation, proof) | TRIVIAL | provenance standing inhabited; derivation/proof standings at the tied identities refuted | CW32Evidence
CW-33 | FIBER/RELATION | identity singleton (derivation) | TRIVIAL | operational-trace standing inhabited; derivation standing at the tied identity refuted | CW33Evidence
CW-34 | NOT APPLICABLE | referent (state list membership) | TRIVIAL | restricted view omits r; r present in base existence; the nonexistence conclusion is refuted by the definitional tie to base existence | CW34Evidence
CW-35 | FIBER/RELATION | (dependency item, role) | REQUIRED | established use at (item, established-role); unauthorized role use refuted at (item, unauthorized-role) via official role adequacy | CW35Evidence
29.11.7 No-default-law obligation locks (NDL-01 .. NDL-13)
Every ACTIVE row: law not in Core-required budget AND closed CoreLawId enumeration AND countermodel below AND footprint == expected-no-default-law-footprint row. RETIRED rows are not required and are unconstructible as covered rows.
ID | LEVEL | KEY / FIBER | REP-INV | COUNTERMODEL (CANONICAL) | EXPECTED TYPE
NDL-01 | FIBER/RELATION | participation pair (a,c) | REQUIRED | Corr(M,a,b) AND Corr(M,b,c) AND NEG FIBER Corr(M,a,c) | NDLCorrelationTransitivityEvidence
NDL-02 | FIBER/RELATION | participation pair (a,b)/(b,a) | REQUIRED | Corr(M,a,b) AND NEG FIBER Corr(M,b,a) | NDLCorrelationSymmetryEvidence
NDL-03 | FIBER/RELATION | (K,a,b): correlations of (a,b) under basis K| REQUIRED | Candidate(M,K,a,b) inhabited; K materially exercised (some (a,other) correlation authorized by K); forall s : Corr(M,a,b): basis(s) = K -> Bottom | NDLCorrelationCandidateEvidence
NDL-04 | FIBER/RELATION | (S2,Q) closure-guarantee fiber | REQUIRED | ScopeWidening(S,S2) AND EstablishedClosure(M,g) with key(g)=(S,Q) AND forall g': scope(g')=S2 -> obligation(g')=Q -> not EstablishedClosure(M,g') | NDLClosureMonotonicityEvidence
NDL-05 | FIBER/RELATION | authority pair (a,b) | REQUIRED | AuthorityPreservation(a) inhabited AND NEG FIBER AuthorityTransport(M,a,b). Canonical quantifier normal form of the forbidden default law: forall a b. AuthorityPreservation(a) -> AuthorityTransport(a,b) is not Core-derivable; one failing pair instance refutes the default rule (Section 7 forbids assuming transport to subsets/supersets; the Core has no subset relation, so the mechanizable default rule is the unconditioned universal schema) | PreservationTransportBoundaryEvidence
NDL-06 | FIBER/RELATION | same pair (a,b) — OWNER LOCK | REQUIRED | AuthorityTransport(M,a,b) AND forall w: original(w)=a -> widened(w)=b -> not interpret-authority-widening(M,w). Sequential/reversed/source-fixed/target-fixed mappings are forbidden substitutes | NDLAuthorityTransportWideningEvidence
NDL-07 | FIBER/RELATION | endpoint pair (a,c) | REQUIRED | EstablishedDelegation(M,dAB) AND EstablishedDelegation(M,dBC) with shared joint b AND forall d: source(d)=a -> target(d)=c -> not EstablishedDelegation(M,d) | NDLDelegationTransitivityEvidence
NDL-08 | FIBER/RELATION | (source,target) endpoint fiber of d | REQUIRED | EstablishedDelegation(M,d) AND forall d': source(d')=source(d) -> target(d')=target(d) -> not RedelegationPower(M,d') | CW22Evidence (shared with CW-22)
NDL-09 | OPAQUE | contract pair | REQUIRED | ContractCompatibilityStanding(M,c1,c2) AND c1 =/= c2 | CW24Evidence (shared with CW-24)
NDL-10 | OPAQUE | role pair + basis | REQUIRED | RoleCorrespondenceStanding(M,r1,r2,K) AND r1 =/= r2 | CW25Evidence (shared with CW-25)
NDL-11 | RETIRED | — | — | not a required row; vocabulary identifier retained for traceability only | unconstructible as CoveredNoDefaultLaw
NDL-12 | BRIDGED | relation pair (left,right) | REQUIRED | represented structural equality inhabited AND represented semantic identity refuted, via the shape/referent bridges; plus RelationStructuralEqualityLaw -> Bottom | NDLOfficialStructuralEqualityEvidence
NDL-13 | RETIRED | — | — | not a required row; vocabulary identifier retained for traceability only | unconstructible as CoveredNoDefaultLaw
29.11.8 Boundary obligation locks
The 19 non-registry boundary rows carried by the acceptance gates. Same legend.
ID | LEVEL | KEY / FIBER | REP-INV | CANONICAL ACCEPTANCE PROPOSITION | EXPECTED TYPE
serialization-order-boundary | NOT APPLICABLE | relation contract order-valid | TRIVIAL | the applicable contract authorizes the semantic (formation) order and rejects the serialization (locus-position) order | SerializationOrderBoundaryEvidence
basis-relative-identity-boundary | FIBER/RELATION | reference pair | REQUIRED | same resolved referent identity under different bases does not establish SameTarget/identity standing for the pair | BasisRelativeIdentityBoundaryEvidence
evidence-not-closure-boundary | FIBER/RELATION | WHOLE-STANDING closure (all guarantees)| REQUIRED | dependency/evidence present AND forall g: not EstablishedClosure(M,g) | EvidenceClosureBoundaryEvidence
no-record-not-nonexistence-boundary | NOT APPLICABLE | referent (list membership) | TRIVIAL | entity absent from recorded referents; nonexistence does not follow | RecordAbsenceBoundaryEvidence
no-observation-not-nonoccurrence-boundary | NOT APPLICABLE | occurrence (list membership) | TRIVIAL | occurrence absent from observed occurrences; nonoccurrence does not follow | ObservationAbsenceBoundaryEvidence
scope-identity-not-state-boundary | FIBER/RELATION | scope pair (singleton) | TRIVIAL | same scope identity; materially distinct scope states | ScopeIdentityBoundaryEvidence
preservation-not-transport-boundary | FIBER/RELATION | authority pair (a,b) | REQUIRED | shared artifact with NDL-05 countermodel (29.11.7) | PreservationTransportBoundaryEvidence
self-declaration-not-authority-boundary | TOKEN | the claimed authority value | NOT REQUIRED (29.11.9) | a self-declaration of authority a does not establish HasNormativeAuthority(M,a) for that claimed value | SelfDeclarationBoundaryEvidence
correlation-basis-not-source-contract | NOT APPLICABLE | basis/contract identities | TRIVIAL | correlation basis identity distinct from both source contract identities | BasisSourceContractBoundaryEvidence
same-relation-not-same-contract-boundary | NOT APPLICABLE | contract identities | TRIVIAL | same relation participating in two fragments does not identify their contracts | SameRelationContractBoundaryEvidence
profile-not-provenance-equivalence | FIBER/RELATION | (state pair, provenance pair) | REQUIRED | profile equivalence of states inhabited; provenance remains distinct | ProfileProvenanceBoundaryEvidence
observation-floor-weakening-boundary | FIBER/RELATION | (requirements, profile) | REQUIRED | required observable omitted from profile; weakened profile not admissible | FloorWeakeningBoundaryEvidence
extension-sensitive-equivalence-boundary | FIBER/RELATION | (state pair, profile pair) | REQUIRED | equivalence under current profile; non-equivalence under an extended profile | ExtensionSensitiveBoundaryEvidence
qualification-reconciliation-boundary | FIBER/RELATION | qualified participation pair | REQUIRED | participation reconciliation does not identify qualifications | QualificationReconciliationBoundaryEvidence
claim-not-truth-boundary | FIBER/RELATION | content k — singleton (TruthStanding) | TRIVIAL | claim standing with content k inhabited; TruthStanding(M, truth-standing k) refuted | ClaimTruthBoundaryEvidence
claim-not-observation-boundary | FIBER/RELATION | content k (observations, any observer) | REQUIRED | claim standing with content k inhabited AND forall o: content(o)=k -> not ObservationStanding(M,o) | ClaimObservationBoundaryEvidence
claim-not-assessment-boundary | FIBER/RELATION | content k (assessments, any agent) | REQUIRED | claim standing with content k inhabited AND forall a: content(a)=k -> not AssessmentStanding(M,a) | ClaimAssessmentBoundaryEvidence
claim-not-assumption-boundary | FIBER/RELATION | content k (assumptions, any scope) | REQUIRED | claim standing with content k inhabited AND forall a: content(a)=k -> not AssumptionStanding(M,a) | ClaimAssumptionBoundaryEvidence
claim-not-derived-result-boundary | FIBER/RELATION | content k (derived results) | REQUIRED | claim standing with content k inhabited AND forall d: content(d)=k -> not DerivedResultStanding(M,d) | ClaimDerivedResultBoundaryEvidence
29.11.9 Token-material rows and invariance justifications
Exactly two current-scope rows are TOKEN-level, i.e. carrier identity is normatively material:
CW-23 Revocation -/-> HistoricalErasure
The normative claim is that revocation preserves THE historical issuance
actually associated with the revoked judgment — a specific history value.
Preserving a different/substitute history is precisely the collapse the
row forbids. Token identity (which history) is therefore normatively
material, and representative-invariance is NOT required: switching the
preserved history to another token MUST change the truth of the claim.
self-declaration-not-authority-boundary
The claim targets the authority value named by the declaration: a
self-declaration of authority a must not establish HasNormativeAuthority
for that claimed a. The fiber at the claimed value is a singleton
(NormativeAuthority is determined by identity + scope), so the
displayed-value refutation covers it; the row is recorded TOKEN because
the obligation is about the specific claimed value, not about the
authority standing in general.
All other FIBER/RELATION rows carry REPRESENTATIVE-INVARIANCE = REQUIRED unless marked TRIVIAL (singleton fiber) or EXISTENTIAL (claim class). No current-scope row is left with its denotation level, identity relevance, semantic key, argument correspondence, quantified domain or acceptance proposition undetermined.
29.11.10 Canonical quantifier normal forms fixed by this ledger
Two rows required an explicit normal-form choice that this ledger fixes from the authorities already cited:
NDL-05: the forbidden default law is the universal schema
forall a b. AuthorityPreservation(a) -> AuthorityTransport(a,b).
Non-derivability is witnessed by one lawful model with
AuthorityPreservation(a) inhabited and the (a,b) transport standing
refuted. AuthorityTransport is a standing type over the pair with no
token carrier, so refuting the type at the exhibited pair covers the
pair fiber. The alternative reading ("preservation entails transport to
SOME target") is not a default inference rule in the sense of Section 7
and is not the row's content.
CW-22 / NDL-08: the redelegation consequent ranges over the delegation
FIBER (source, target) of the established delegation, per the Delegation
key lock in 29.11.2. Refuting RedelegationPower of one selected
delegation token is insufficient when another token with the same
endpoints may carry the power.
CW-30: the assertion consequent ranges over the content fiber of the
membership's referent, per the AssertionStanding key lock in 29.11.2.
Refuting one (issuer, content) token is insufficient when another issuer
may assert the same content.
Rows whose current mechanization artifact does not yet inhabit the locked proposition are acceptance-interface findings under Section 29.6/29.7, to be resolved by the acceptance-type preflight and remediation, never by editing this ledger to match an artifact.
FormaSL Formalization Execution Protocol
Status: STABLE
Authority: EXECUTION-PROTOCOL
Normative semantics: NONE
Parent process authority: docs/design/DESIGN-METHOD.md
Subject authority: the applicable current formalization contract
Purpose: govern contract-driven mechanization so proof engineering cannot silently choose, weaken, substitute, or complete semantic meaning left unresolved at the contract boundary.
This protocol is operational. It does not create language semantics, change architecture, or replace a subject formalization contract.
PROJECT / SEMANTIC AUTHORITY
-> SUBJECT FORMALIZATION CONTRACT
-> THIS EXECUTION PROTOCOL
-> ACCEPTANCE TYPES
-> PROOF / WITNESS IMPLEMENTATION
-> KERNEL / CHECKER
If this protocol and a subject contract conflict about semantic meaning, the subject contract governs. If a subject contract is materially underdetermined, execution stops; this protocol does not fill the gap.
1. Core boundary
Preserve:
CONTRACT DEFINES THE CLAIM
ACCEPTANCE INTERFACE DEFINES WHAT COUNTS AS DISCHARGE
MECHANIZATION DEFINES HOW DISCHARGE IS CONSTRUCTED
KERNEL CHECKS ONLY THE PROPOSITION ACTUALLY ENCODED
Therefore:
CODE != CONTRACT
TYPECHECK PASS != CONTRACT SATISFACTION
PROOF TERM != CORRECT FORMALIZATION
SIMILAR PROPOSITION != CONTRACT OBLIGATION
CARRIER TOKEN != SEMANTIC RELATION BY DEFAULT
A proof assistant may prove the wrong proposition perfectly. Preventing that is an acceptance-interface responsibility before proof search.
2. Required execution order
For every material formalization subject:
NORMATIVE SEMANTICS / ARCHITECTURE
-> FORMALIZATION CONTRACT
-> AUTHORITY / CONTRACT PREFLIGHT
-> DENOTATION CLOSURE
-> CANONICAL FORMAL OBLIGATION MATRIX
-> CANONICAL ACCEPTANCE PROPOSITIONS
-> MECHANIZATION ACCEPTANCE INTERFACE
-> TYPE-LEVEL DESTRUCTIVE PREFLIGHT
-> PROOF / WITNESS IMPLEMENTATION
-> KERNEL CHECKING
-> FULL DESTRUCTIVE CONTRACT-TO-TYPE VERIFICATION
-> SUFFICIENCY / CLOSURE
-> INDEPENDENT R2 VERIFICATION WHEN REQUIRED
Do not skip from semantic prose to witness implementation.
3. Authority and contract preflight
Before proof implementation:
- read repository-level and nested instructions;
- identify the current normative owner and subject formalization contract;
- verify all normative entrypoints resolve to one current owner;
- reject stale amendments, competing owners, or contradictory current-state blocks;
- inventory every ACTIVE current-scope material obligation;
- verify its claim class;
- verify its formal-determinacy status;
- verify exact laws for NO-DEFAULT-LAW rows;
- verify every required representation bridge or opaque-standing boundary;
- verify no current-scope material row is
NOT YET MECHANIZABLE.
A material ambiguity produces:
MATERIAL_CONTRACT_FAILURE
not a proof-engineering choice.
4. Denotation closure preflight
For every material normative relation or standing that crosses a representation boundary, reconstruct:
NORMATIVE RELATION / CLAIM
FORMAL VARIABLES / QUANTIFIERS
THEORY / MODEL CONTEXT
REPRESENTATION CARRIER, IF ANY
FORMAL DENOTATION
DENOTATION LEVEL
CARRIER IDENTITY RELEVANCE
SEMANTIC KEY / FIBER KEY
EXACT POSITIVE / NEGATIVE DOMAIN
REPRESENTATION BRIDGE, IF ANY
CANONICAL ACCEPTANCE PROPOSITION
DENOTATION LEVEL must be one of:
TOKEN
FIBER / RELATION
OPAQUE
BRIDGED
NOT APPLICABLE
Interpretation:
TOKEN: carrier identity is part of the normative proposition;FIBER / RELATION: one or more carrier values realize the same normative relation instance according to explicit semantic coordinates;OPAQUE: the official standing is consumed through the model interface without inventing additional calculus;BRIDGED: a checked representation theorem determines denotation;NOT APPLICABLE: no material carrier/denotation boundary exists for the claim.
For FIBER / RELATION, the semantic key must be explicit. Example shape:
StandingAt(M,k)
:= exists token.
SemanticKey(token) = k
AND EstablishedStanding(M,token)
A negative relation-level claim must refute the complete normative fiber, not one selected representative:
not StandingAt(M,k)
!=
not EstablishedStanding(M,selected-token)
unless the contract explicitly makes selected-token identity normative.
Denotation closure hard stop
If proof engineering must choose:
- which carrier fields define the normative relation;
- whether token identity is material;
- which arguments correspond across two standings;
- whether negation ranges over one token or a fiber;
- which candidate domain is quantified;
then:
DENOTATION_CLOSURE = FAIL
FORMAL DETERMINACY = NOT ESTABLISHED FOR THAT DIMENSION
PROOF IMPLEMENTATION = STOP
Return to the contract owner.
5. Canonical claim lock
Before implementing proofs, freeze for every material obligation:
OBLIGATION-ID
ROW STATUS
NORMATIVE AUTHORITY
CLAIM CLASS
FORMAL DETERMINACY
NORMATIVE CLAIM
FORMAL VARIABLES / QUANTIFIERS
MODEL / THEORY CONTEXT
OFFICIAL SEMANTIC RELATIONS
REPRESENTATION CARRIER
FORMAL DENOTATION
DENOTATION LEVEL
CARRIER IDENTITY RELEVANCE
SEMANTIC KEY / FIBER KEY
REPRESENTATION BRIDGE, IF ANY
ANTECEDENT
EXACT CONSEQUENT / TARGET
AUTHORIZED ASSUMPTIONS / LAW BUDGET
REQUIRED ARTIFACT CLASS
ANTI-VACUITY CONDITION
FORBIDDEN SUBSTITUTE
CANONICAL ACCEPTANCE PROPOSITION
EXPECTED ACCEPTANCE TYPE
The claim lock is the only semantic input to proof implementation.
Ordinary proof engineering may change helpers, binders, rewrites, transports, pattern matching, module decomposition, proof terms and witness-local construction details.
It must not silently change any locked semantic dimension.
6. Acceptance type first
Before building a material witness/proof, write or reconstruct the expected acceptance type from the claim lock.
Audit it without reference to the intended proof term:
Does it quantify over the right objects?
Does it bind the required model/theory?
Does it exercise the official relation?
Does it encode the exact denotation level?
Does it use the correct semantic fiber/key?
Does token identity affect acceptance only when normatively material?
Is the antecedent constructively inhabited where required?
Is the exact consequent proved/refuted?
Can the correct obligation ID map to another proposition?
Can a weaker proposition satisfy the same field?
Can an unrelated local predicate/world satisfy it?
Can a representative token substitute for a relation/fiber?
Can a required row be omitted from the final root?
No material proof implementation begins until this preflight passes.
7. Type-level destructive preflight
Run destructive attacks against the acceptance interface before relying on witness fixtures.
Mandatory where applicable:
SUBSTITUTION
SHADOW-WORLD
VACUITY
WEAKENED-CONSEQUENT
ANTECEDENT-DROP
LABEL-TO-CLAIM
INDEXED-WRONG-PROPOSITION
OBLIGATION-OMISSION
CLAIM-CLASS
OPAQUE-STANDING-LAUNDERING
BIDIRECTIONAL-MATERIAL-COVERAGE
CARRIER-MULTIPLICITY / TOKEN-FIBER
Carrier-multiplicity / token-fiber attack
For every material claim whose carrier has representation identity or multiplicity beyond the normative relation coordinates:
- construct or reason about
t1andt2with distinct representation identity; - preserve every semantic coordinate relevant to the normative claim;
- vary the standing of
t1andt2adversarially; - attempt to satisfy the acceptance type with one representative absent while another representative in the same normative fiber is established.
For a fiber/relation-level negative claim, acceptance MUST reject that construction.
For a token-level claim, the contract must explicitly justify why token identity belongs to the proposition.
This attack is required at the acceptance boundary, not merely as a later witness regression.
8. Proof and witness implementation
Only after Sections 3-7 pass may proof implementation begin.
Proofs must use:
- official relations as interpreted by the required model; or
- an explicitly authorized and checked representation bridge.
Do not create local semantic predicates/worlds to make obligations easy.
Witnesses instantiate theory; they do not define theory.
CANONICAL WITNESS != SEMANTIC AXIOM
FIXTURE != CLAIM DEFINITION
Where a countermodel is required, preserve in one lawful model:
INHABITED EXACT ANTECEDENT
+
REFUTATION OF EXACT CONSEQUENT
For NO-DEFAULT-LAW, also preserve exact absence from the authorized Core law budget.
9. Sufficiency admission
Before any artifact enters Sufficiency, Verified, Passed, or equivalent, reconstruct:
OBLIGATION-ID
CLAIM LOCK
CANONICAL ACCEPTANCE PROPOSITION
IMPLEMENTED ACCEPTANCE TYPE
ACTUAL ARTIFACT TYPE
MODEL / THEORY
OFFICIAL RELATIONS
DENOTATION / FIBER MAPPING
REPRESENTATION BRIDGE
ASSUMPTION FOOTPRINT
EVIDENCE CLASS
KERNEL / EXTERNAL CHECK STATUS
A declaration name, obligation ID, report, footprint, fixture, or passing kernel cannot substitute for this mapping.
The final root must be structurally impossible to inhabit when an ACTIVE material obligation is missing or replaced by a weaker/different proposition.
10. Verification economics
Use staged verification:
WP START
-> authority/contract preflight
-> denotation closure
-> batch claim-lock freeze
-> type-level destructive preflight
INNER LOOP
-> cheapest invalidated checks only
SEMANTIC BLOCK COMPLETE
-> targeted attacks relevant to that block
FULL CANDIDATE
-> full kernel/integration gates
-> complete adversarial suite
-> failure-pattern regression suite
-> closure falsification
-> freeze candidate
POST-FREEZE R2
-> separate independent destructive verification
Do not run full governance after every helper edit. Do not defer acceptance-interface correctness until the final verification pass.
11. Failure-class escalation
A discovered false-pass is evidence about a possible class, not merely its first row.
Required response:
FIRST MATERIAL FALSE-PASS OF A CLASS
-> preserve reproducer
-> repair instance if authority is sufficient
-> define the failure class
-> scan the complete applicable acceptance surface
-> add a reusable adversarial regression
SECOND INDEPENDENT OCCURRENCE OF SAME CLASS
-> STOP row-by-row patching
-> REOPEN the mechanization acceptance interface
-> perform systemic repair
-> rerun the class-wide scan
-> re-freeze all affected claim/type evidence
Do not wait for a third or sixth occurrence.
A systemic acceptance repair is still not semantic redesign. If it requires changing normative meaning, stop for the normative owner.
12. Regression failure classes
At minimum test for:
FP-01 ARBITRARY PREDICATE SUBSTITUTION
FP-02 CORRECT INDEX / WRONG ACCEPTANCE PROPOSITION
FP-03 LABEL COMPLETION
FP-04 RECORDED BUT SEMANTICALLY IRRELEVANT INPUT
FP-05 ONE-WAY COVERAGE
FP-06 WRONG CLAIM CLASS
FP-07 OPAQUE STANDING REPLACED BY STRUCTURAL PROXY
FP-08 SPLIT-BRAIN AUTHORITY
FP-09 SELF-AUDIT BLIND SPOT
FP-10 REPRESENTATIVE-TOKEN / SEMANTIC-FIBER CONFUSION
FP-10 means:
normative relation/standing is fiber-level
-> representation carrier has additional identity/multiplicity
-> acceptance refutes/proves only one selected carrier value
-> another value in the same semantic fiber can make the normative proposition differ
-> acceptance still succeeds
Any reproduced failure class blocks sufficiency.
13. Full candidate adversarial suite
Before candidate freeze, execute every applicable attack, including:
- substitution;
- shadow-world;
- vacuity;
- weakened-consequent;
- antecedent-drop;
- fixture-overfit;
- definitional-laundering;
- self-grounding;
- law-smuggling;
- enumerative-audit;
- evidence-class;
- model-mixing;
- relabeling;
- representation-erasure;
- label-to-claim;
- indexed-wrong-proposition;
- obligation-omission;
- claim-class;
- bidirectional-material-coverage;
- opaque-standing-laundering;
- authority-discovery;
- carrier-multiplicity / token-fiber.
Each attack is an attempt to falsify the current frozen claim set under the subject’s declared acceptance horizon. The suite does not authorize inventing a stronger claim and then treating the candidate’s failure to satisfy that stronger claim as a defect.
A material surviving attack means the candidate is not sufficient even if the kernel is green.
14. Kernel boundary
Kernel checking and claim alignment are separate gates:
KERNEL GATE
AND
CLAIM-ALIGNMENT GATE
A kernel pass means only that the submitted term inhabits the submitted type under the trusted foundation.
After the final relevant edit, rerun every invalidated kernel/integration gate.
Static scans, manifests and reports retain their actual evidence class.
15. Independent R2 verification
For R2 formalization closure, the implementing executor’s self-audit is supporting evidence, not independent verification.
Freeze the whole semantically cohesive candidate, then perform a separate destructive verification in another agent/session or explicitly isolated verification context when available.
The independent verifier:
- treats all previous
PASS,CANDIDATE,lawful,exact, probe names and reports as claims; - reconstructs claim locks independently;
- attacks acceptance types and the final sufficiency root;
- does not silently remediate findings;
- returns a minimal reproducer/type mismatch for material failures.
A material finding means FAILED even when kernel checks are green.
15.1 Post-freeze verification jurisdiction
Before independent verification begins, freeze:
CURRENT CLAIM SET
CURRENT ACCEPTANCE HORIZON
CURRENT ACCEPTANCE TYPES / ROOT
CANDIDATE REVISION
Post-freeze verification MAY falsify those frozen claims. It MUST NOT expand them.
The verifier MAY use higher authority to show that a frozen claim directly contradicts an already-applicable requirement. It MUST NOT use higher authority as a pretext to design a richer future calculus, add a new semantic coordinate, strengthen a current theorem, or complete a subject that the current contract explicitly defers.
VERIFICATION MAY FALSIFY THE CONTRACT.
VERIFICATION MAY NOT EXTEND THE CONTRACT.
A plausible alternative semantics is not itself a verification failure.
15.2 Novel finding admission gate
A novel adversarial observation blocks closure only if it satisfies the parent method’s finding-admission rule and is material within the subject’s current acceptance horizon.
At minimum, an admitted finding identifies:
FROZEN CLAIM / GATE
CURRENT ACCEPTANCE HORIZON
CURRENT ACCEPTANCE TYPE / ROOT
CONCRETE COUNTERMODEL / FALSE-PASS / TYPE MISMATCH / OMISSION / AUTHORITY CONTRADICTION
WHY THE CURRENT BOUNDARY CAN PASS WHILE THE FROZEN CLAIM FAILS
Canonical acceptance false-pass shape:
exists artifact/model A.
CURRENT_ACCEPTANCE(A)
AND
not CURRENT_FROZEN_CLAIM(A)
A directly demonstrated contradiction between a frozen claim and a higher current authority, or a demonstrable impossibility of satisfying a required current gate, also qualifies.
The following do NOT block closure without such evidence:
A DIFFERENT SEMANTICS IS POSSIBLE
A RICHER THEORY MAY BE USEFUL LATER
A CARRIER HAS AN UNUSED FIELD
A FUTURE SUBJECT MAY NEED AN EXTRA COORDINATE
A STRONGER THEOREM WOULD BE DESIRABLE
A CLEANER REPRESENTATION EXISTS
Classify those observations as:
NON-BLOCKING OBSERVATION
DEFERRED BY PROCESS
FUTURE DESIGN INPUT
OUTSIDE CURRENT ACCEPTANCE HORIZON
Preserve them when useful, then continue the current gate.
16. Closure questions
Before VERIFIED, all applicable answers must be NO:
- Is any accepted artifact weaker/different from its normative obligation?
- Is any material denotation or identity-relevance choice left to proof engineering?
- Can a representative token substitute for a relation/fiber-level claim?
- Can two distinct representation tokens with the same normative semantic key change acceptance incorrectly?
- Does any accepted artifact use an unauthorized local/shadow relation or world?
- Can an antecedent be omitted or made vacuous?
- Does any proof use laws outside its authorized budget?
- Is metadata/report/trace presented as stronger semantic evidence?
- Can a required ACTIVE obligation be omitted or substituted at the root?
- Can a correct obligation ID map to a weaker/different proposition?
- Has any claim class weakened?
- Has any opaque standing been replaced by an unbridged structural proxy?
- Can a governed environment omit a material input?
- Do all normative entrypoints resolve to one current owner?
- Has any failure class recurred without class-wide escalation and scan?
- Are all invalidated kernel gates rerun after the final relevant edit?
- Does any current-scope material obligation remain
NOT YET MECHANIZABLE? - Did verification expand the frozen claim set instead of falsifying it?
- Is any blocking finding based only on a plausible stronger/alternative semantics without concrete violation of a frozen in-horizon obligation?
- Is any unresolved question outside the acceptance horizon incorrectly classified as a current blocker?
Any YES blocks VERIFIED. Questions 18-20 also protect the verification process from manufacturing new obligations during closure.
17. Repository and state discipline
Formalization execution must obey repository-specific Git and state rules.
Do not treat transient work-package state as semantic authority.
Do not update normative documents merely to make current implementation appear compliant.
A contract hardening that changes what counts as acceptable evidence invalidates affected prior acceptance/sufficiency claims until revalidation under the hardened interface.
CONTRACT / ACCEPTANCE HARDENING
-> INVALIDATE AFFECTED SUFFICIENCY EVIDENCE
-> REMEDIATE / REVALIDATE
-> NEW CANDIDATE
-> INDEPENDENT VERIFICATION
A governance clarification that only fixes adversarial jurisdiction, acceptance horizon or stop rules and does not change the frozen normative claims, denotations or acceptance propositions does not by itself invalidate otherwise valid proof artifacts. Verification still runs against the repository revision containing that clarification.
18. Terminal principle
The process is complete only when invalid formalizations are blocked at the acceptance boundary, not merely absent from current fixtures.
CORRECT NORMATIVE CLAIM
-> CLOSED DENOTATION
-> EXACT ACCEPTANCE PROPOSITION
-> OFFICIAL MODEL / RELATION
-> CORRECT ARTIFACT CLASS
-> NON-VACUOUS EVIDENCE
-> STRUCTURALLY CLOSED SUFFICIENCY ROOT
-> DESTRUCTIVE ATTACKS REJECTED
-> KERNEL ACCEPTS
-> INDEPENDENT CLOSURE
Adversarial analysis is complete when the complete current frozen acceptance claim set has been attacked under the declared attack model and no admitted material finding remains.
It is not required to exhaust all conceivable alternative semantics, future calculi, stronger theorems or richer representations.
When the subject contract’s terminal gates pass and the required independent verification finds no admitted material finding:
SUFFICIENT FORMALIZATION = PASS
VERIFIED = YES
CURRENT FORMALIZATION SUBJECT = TERMINAL
PROCEED TO THE NEXT AUTHORIZED STAGE
The governing rules are:
Prove the semantic claim, not the representative chosen to encode it.
Falsify the frozen contract; do not expand it during verification.
Forma Sheet — Architecture (v0.1)
Status: STABLE
Authority: DURABLE DOWNSTREAM PRODUCT ARCHITECTURE OWNER
Promoted from: CAMPAIGN-FORMA-SHEET-v0.1 Phase A candidate
(docs/forma-sheet-campaign-v0.1/campaign/ARCHITECTURE-CANDIDATE.md
@ commit df25fc2e66f382679478110724c17dcaa89e2fd9, digest
3324a425b3e2d8a4d96b20c3ccd40f5e1ba0ca2ed042ec4f353d30825da412f8)
approved by H-GATE-01 with binding owner amendments OA-01..OA-06
(recorded verbatim in
docs/forma-sheet-campaign-v0.1/campaign/OWNER-AMENDMENTS-OA01-06.md).
This owner carries the effective approved architecture: approved candidate
- amendments, with the amendment-mandated corrections incorporated inline
(OA-01 justification; OA-04 vocabulary). The candidate text itself is
preserved unmodified as review evidence.
Implementation:
crates/fsheet-*+ thefsheetCLI (this repository). Errata (2026-10-02): §8 surface component corrected — the served grid is Tabulator 6.5.3 at/grid(jspreadsheet CE remains only as the legacy/classicpage); §12fsheet-interopdescription updated for the real XLSX/ODS importers (FSHEET-RM-01). Bounded corrections; no architecture change.
1. Identity and product thesis
Forma Sheet is a standalone spreadsheet product whose user-facing interaction remains spatial and familiar while the underlying document carries explicit, governed semantics through FormaSL.
HUMAN SPREADSHEET INTERACTION
+ MACHINE/LLM DIRECT AUTHORING
+ FORMASL SEMANTIC SUBSTRATE
+ SEMANTIC UI GOVERNED INTERACTION
= FORMA SHEET
Constitutive constraints (FS-D01..D52 remain frozen inputs; deviations are R3):
FSheet semantic substrate = existing FormaSL typed role-incidence metagraph
.fsl = semantic/source authority; .fsp = realization
.fsheet != new semantic authority category
Semantic UI = projection/interaction/authoring boundary
Position != SemanticIdentity; DocumentIdentity != SemanticIdentity
Computation != Assertion; Hypothetical != Baseline
LocalSnapshot != RemoteCurrentState; SaveFile != SourceIncorporation
2. Authority and trust boundaries
external Forma applications
▲ explicit effectuation (guarded; OA-02 scope)
│ projections/computations
Semantic UI (core/protocol/runtime/native)
│ SubjectRef routes; admission; authoring classes
.fsl source layer (verbatim in .fsheet or external; exact revisions)
│ formasl::check/inspect/run
FormaSL kernel (typed role-incidence metagraph)
.fsheet bytes: document authority for spreadsheet-domain semantics ONLY;
save = serialization; open = parse (side-effect free); refresh = explicit.
Nothing in the FSheet surface mints standing. Presence in the document or a cell never manufactures Claim/Truth/Observation/Assumption (FS-D04, FS-D08). The renderer/editor/CLI are presentation and transport (FS-D25).
3. Document architecture (.fsheet, layers L1–L8)
L1 header format version, document identity, workbook name
L2 source verbatim embedded .fsl modules + external exact references
L3 spatial sheets, cell occurrences (stable identities), tables, names
L4 computation authored formula definitions (text; engine parses)
L5 connectivity connections (exact source+revision), semantic anchors
(locus↔SubjectRef bindings), basis-stamped snapshot records
L6 scenario overlays (ordered identity-addressed delta lists)
L7 documentation comments (locus-anchored; Comment != Claim)
L8 presentation formatting entries, filter views, declarative charts
Canonical properties: textual UTF-8, deterministic formatting (identity-
ordered, LF, fixed section order), parse(format(x)) == x, byte-stable
round-trip, explicit versioning with fail-closed newer versions and explicit
migrations, opaque preservation + typed rejection for unknown constructs,
no secrets in canonical content. Derived/cache material has no
representation in the canonical document (D-DOC-1): caches live in the
engine only.
4. Spatial architecture
Sheets are ordered planes of cell occurrences. Addr is a selector;
CellId is the stable document identity of an occurrence; neither converts
into the other, and neither is a semantic referent.
- insert/delete rows/columns: shift occupancy with identities preserved;
same-sheet relative reference components and cross-sheet references into
the operated sheet shift; absolute markers never move; deletion retires
identities (OA-05) and breaks references into the deleted span as typed
#REF!(never silent address reuse); partially overlapped ranges clamp conventionally. - identity minting (RM-03): every creation path mints through the document
model (
Workbook::mint_cell_identities/mint_filter_identity) — the first freec-N/f-Ntoken, never coordinate- or operation-derived, batch-disjoint and unique within the document. Saving validates the model first; an invalid state refuses typed and the canonical file is untouched. - move: identity preserved; same-sheet pointing references follow with their
authored
$markers. Moving into an occupied destination refuses typed (no replacement operation exists in v0.1; silent overwrite would be an ACCIDENTALLY-LOST continuity defect). - copy: fresh identity minted; relative components rebase by the delta;
absolute stay; out-of-plane becomes
#REF!; semantic referents are never cloned. Copying FROM an anchored source reads the projection into new unanchored local content. - fill: per-target rebasing under document-unique minted identities.
- sort: stable whole-row reordering with identities; empty keys last in both directions; class order Error < Bool < Number < Text; pointing references are not rewritten (sorting reorders material, not authored intent).
- filter: presentation-layer views whose projection is computed by the
core predicate (
FilterOp::matches) and served as the hidden-row set; the UI renders that result (single filter semantics across core, API and DOM — RM04-D).remove-filterwithdraws a view so hidden rows reappear. The underlying material is PRESERVED-DIRECTLY throughout (OA-04). - bounded viewport (RM04-A): the served grid materializes a bounded window over the plane (default 40x14) with page navigation and go-to-address; document extent never equals DOM materialization extent, so a document holding distant valid loci (up to the 1.048.576 x 16.384 plane) opens promptly and every valid address remains reachable and editable.
- persistence (RM04-C): saving validates the model, writes a temporary sibling in the same directory (fsync) and renames it over the canonical path; a failed save leaves the previous canonical file untouched and no temporary behind.
- connected governance (RM-03): operations whose TARGET is anchored material
— content edit, move, delete of a span holding it, sort of a range
holding it, scenario deltas onto it — refuse typed through one central
boundary (
ops::governance), on every surface (app dispatcher, /op endpoint, CLI patch). No operation can silently persistanchor -> missing locus. Identity-preserving structural shifts (insert rows/columns) keep anchors valid and remain available.
5. Calculation architecture
fsheet-calc: familiar formula surface (A1/$-refs, ranges, cross-sheet,
names, function calls), typed exact evaluation (decimal-string arithmetic;
host floats unreachable), documented v0.1 function table (aggregations,
IF-lazy, text, date/time under explicit EvalContext, exact-only VLOOKUP),
typed errors (#DIV/0!, #REF!, #NAME?, #CYCLE!, #VALUE!, #NUM!,
#N/A, #UNRESOLVED!), derived dependency graph, cycle detection, and an
incremental engine (demand-driven memoized reads; dirty propagation over a
strict dependents graph; recalculation of exactly the dirty cone).
Volatility (FS-D43): date/time read only the explicit EvalContext basis
instant; no hidden environment dependency exists. Dependency edges are
derived runtime structures (FS-D44), never semantic relations.
6. Scenario architecture
Overlays are ordered identity-addressed delta lists (set-value / set-formula / introduce-with-minted-identity). Evaluation materializes a hypothetical workbook clone — the baseline document object is never mutated (FS-D38) and scenario-scoped results stay distinguishable. Promotion is explicit and category-aware (FS-D39): local apply (below), source-authoring prepare (never publish), remote governed effectuation. Local promotion preserves the modified loci’s DocumentIdentity and uses the overlay-minted identities for introduced loci; content revision is not identity replacement (OA-05).
7. Connectivity architecture (OA-02 scope)
- Generic read/projection: connections pin exact source+revision;
anchors resolve only through
FormaslNativeBridge(SubjectRef+NativeCorrespondenceauthorized routes); unknown tokens, unchecked bases and unsupported classes fail closed; equal labels never establish correspondence (FS-D35). Multi-source workbooks route resolution over connection candidates by typed failure variants (AnchorResolutionFailure), never by error-message text; each snapshot is attributed to the connection that actually resolved its anchor (RM-03), so per-source revisions survive (FS-D34). - Snapshots: basis-stamped local records with caller-supplied
recorded_at; never remote currency (FS-D33); refresh is explicit and preserves prior stamps (FS-D32); open performs nothing (FS-D31); offline never claims freshness. - Authoring: per-cell native write has no bridge and plans read-only; source-authoring prepares a candidate bound to the exact base revision and never publishes; effectuation executes only through the demonstrated SUI route (explicit commit-revision → optional activate-revision) wired at the surface, otherwise a typed refusal. New ActionClass/authorization/ effect semantics remain R3.
8. Surface architecture (OA-03)
FSheet interactive surface
= renderer/projection adapter (GridRenderer: presentation-only, no event
input, stateless)
+ editor/grid shell (EditorShell: local document generation +
engine + editor-only state)
+ local document-operation dispatcher (typed UserIntents; the only event
entry point)
Modern grid UI (v0.2, FSHEET-UI-01; erratum 2026-10-02 — surface
component corrected): the served grid page (/grid) embeds the vendored
Tabulator 6.5.3 bundle (MIT, digest-committed under ui/dist/ per
ui/UI-SUPPLY-CHAIN.md, included into the binary via include_str!) as a
pure view layer: it renders the /state projection (the server-computed
display), marks calculated, erroring, previewed and dependency cells,
offers a server-computed scenario selector (values come from
POST /scenario/preview, never from the browser) and highlights dependency
targets from /deps on cell click. Every edit is a typed intent POSTed
to /edit; the response state is the only thing rendered (D-G0: the grid
mutates nothing locally and never computes a formula). No document state
lives in the UI; the legacy jspreadsheet CE page remains at /classic
(vendored in crates/fsheet-app/ui/vendor/). User events never enter the renderer. Enter/save/apply are distinct: edit →
local document state; save → validated serialization (the model validates
before the canonical file is replaced); apply → explicit connectivity
action. Authored values may create new occurrences in empty loci under
freshly minted document identities (RM-03). The fsheet CLI
(check/fmt/new/retrieve/patch/scenario/import/export) is the direct textual
authoring surface for humans, conventional software and LLM agents (one
governed document model; bounded retrieval with context headers;
@<identity> patch loci — a cell identity, or an anchor identity resolving
to its bound occurrence — that survive movement, alongside spatial
sheet!addr selectors; check→fmt loop). Typed refusals remain visible on
the served page’s status line; the grid renders the full occupied extent;
grid event handlers bind through DOM data attributes, never interpolated
inline scripts.
9. Interoperability architecture
CSV import reconstructs values/geometry into a fresh document with zero
semantic anchors (FS-D45); formulas become text with a typed report; typed
numbers/booleans/errors stay typed. Export carries a typed LossReport
(formulas export as authored text; scenarios/anchors/comments/formatting
reported; leading = quoted). Enrichment proposals are inert until
governed acceptance (FS-D46).
XLSX import (real files, umya reader + calamine error/geometry pass;
reader panics are contained at the boundary and reported as typed
ImportErrors — a pathological or minimal-but-spec-valid file can never
crash the product, RM-03):
multiple sheets with names/order, cell geometry, typed
text/numbers/booleans/error tokens, formula definitions (relative and
$-absolute), and basic formatting (bold/italic/alignment). ODS import
(real files, calamine reader): multiple sheets, geometry, typed values, and
formula definitions translated from ODF to A1 syntax; ISO date-times import
as text. Both firewalls hold: a "Revenue" header stays text; an
imported UUID-looking value stays text; formulas import as definitions,
never claims; relationships never become NativeCorrespondence; imported
workbooks start with zero semantic anchors; anything not representable is
typed-reported, never silently discarded or invented.
Remediation history: the original Phase B closure declared XLSX/ODS “typed unsupported inputs” — that narrowing contradicted the acceptance contract and was falsified by independent audit; real importers replaced it under FSHEET-RM-01.
10. Semantic Continuity vocabulary (OA-04 correction incorporated)
The official classifications — and the only ones used anywhere in this product — are:
PRESERVED-DIRECTLY
PRESERVED-BY-REFERENCE
DERIVABLE
INTENTIONALLY-ERASED
ACCIDENTALLY-LOST
NOT-APPLICABLE
UNKNOWN
RESTRICT is not a classification of this vocabulary and appears nowhere in
the FSheet implementation, gates, or documentation. Filtering: underlying
material PRESERVED-DIRECTLY; filtered-out material still exists; presentation
omission is not semantic erasure. ACCIDENTALLY-LOST is a defect;
UNKNOWN is never pass.
11. Single-substrate statement (OA-01 correction incorporated)
RelationalContent != Claim
GraphMembership != Standing
The FSheet document model is not a second semantic kernel: domain semantic meaning elaborates to or references the existing FormaSL typed role-incidence metagraph. FSheet owns document, spatiality and calculation contracts per the campaign contracts; these do not constitute a second substrate for domain semantic meaning.
The grid is not promoted wholesale to .fsl source because that would
collapse:
spreadsheet document structure / semantic-source structure
spatial+document identity / semantic identity
local authored content / semantic standing
— not because a relation occurrence would imply a Claim (it would not;
representing structure in .fsl relations does not automatically create
standing).
12. Module decomposition (as implemented)
fsheet-core document model L1–L8, identity, values, spatial ops,
scenario ops (deps: none)
fsheet-format canonical .fsheet surface: parse/format/version (→ core)
fsheet-calc formula lane: parser, exact evaluation, engine (→ core)
fsheet-connect formasl facade + SUI bridge adapter (→ core, formasl,
formasl-semantic-ui-*, formasl-publication)
fsheet-interop CSV import/export + XLSX/ODS import + reports (→ core,
format; umya-spreadsheet/calamine readers per FSHEET-RM-01;
dev: calc/connect/surface for lane witnesses)
fsheet-surface renderer + shell + dispatcher (→ core, calc, format, connect,
SUI core/protocol)
fsheet-cli fsheet binary (→ core, format, calc, interop)
fsheet-app integrated application: browser grid UI + HTTP server +
connectivity lane materially reached (→ all of the above)
Dependency direction is strictly one-way: FormaSL and Semantic UI never depend on any fsheet crate.
13. Failure model
Unresolved anchors → #UNRESOLVED!/typed unresolved; ambiguous authoring →
typed disambiguation/read-only; unsupported formulas/imports → typed reports;
stale bases → snapshot currency marking + fail-closed dependent evaluation;
unknown constructs → opaque preserve or fail-closed; semantic-loss export →
mandatory loss report; mechanism failures → MechanismOutcome channel,
never laundered into semantic results.
14. Verification summary (Phase B execution record)
Serial FIOP WPs, all VERIFIED/CLOSED with workspace cargo nextest --profile ci green at each closure: FSHEET-DOC-01 (2786), FSHEET-SPATIAL-01 (2807),
FSHEET-CALC-01 (2832), FSHEET-SCENARIO-01 (2839), FSHEET-CONNECT-01 (2850),
FSHEET-SURFACE-01 (2856, incl. real-binary agent-loop E2E),
FSHEET-INTEROP-01 (2862, incl. CSV E2E), FSHEET-HARDENING-01 (2871, incl.
authority-firewall structural suite and 10k-cell baselines). Development
line: impl/forma-sheet-v0.1-phaseb (clean per OA-06).
Remediation history: the Phase B closure was falsified (XLSX/ODS/UI/product
gaps) and remediated under FSHEET-RM-01; the RM-01 re-accreditation was
falsified (UI/connectivity) and remediated under FSHEET-RM-02 at
049a8d00…; the RM-02 release candidate was falsified by the independent
pre-landing audit (empty-cell authoring, deterministic identity brickings,
connected-operation bypass, malformed /state JSON, move-overwrite,
multi-connection routing, unprojected filters, XLSX panic, agent claim
overclaims) and remediated under FSHEET-RM-03 on
impl/forma-sheet-v0.1-rm03, with every audit attack converted into a
permanent regression witness. All decisions above are incorporated into
this owner.
Forma-Native Semantic Memory v0.1 — Gateway
Status: IMPLEMENTED · VERIFIED · LANDED ON MASTER Kind: product/architecture documentation (permanent entry point) Audience: developer, architect, agent — anyone who needs to understand or operate the memory without reconstructing it from campaign history.
1. What the Forma-native memory is
The Forma agent harness’ persistent memory is a first-class semantic
evaluation. For every admitted semantic need the harness mints one
identifiable SemanticContextEvaluation occurrence that resolves,
bounds, retrieves, derives, discriminates and projects persistent prior
experience for the current cognitive need — and journals that occurrence
as operational evidence.
The ratified law:
Memory is the governed semantic evaluation by which persistent prior experience is resolved, bounded, retrieved, derived, discriminated and projected for a current cognitive need.
The carriers: SemanticNeed → SemanticContextEvaluation →
ContextProjection (ContextItems) → served into the CognitiveRound.
2. What problem it solves
A long-running agent must reuse what happened in earlier sessions without turning history into a text dump. MEMORY-v1 (the predecessor) recalled once per task from a frozen block, kept episodes only as journal text, and its whole-corpus fallback discovery did not scale. The Forma-native memory makes recall a typed, bounded, honest semantic evaluation over the SAME journal the agent already keeps — no second store, no embedding index, no keyword search, no silent top-1.
3. How it differs from MEMORY-v1
| Dimension | MEMORY-v1 | Forma-native v0.1 (final) |
|---|---|---|
| Recall unit | once-per-task frozen channel | per-round first-class evaluation, minted occurrence identity |
| Context carrier | text block | ContextProjection of typed ContextItems with standing + provenance |
| Currentness | frozen forever | reactive invalidation (formasl-reactive DependencyIndex) + revalidation naming the predecessor |
| Standing | flat | current / superseded / archived / deactivated / historical — a withdrawn value is current-rejected AND historically retrievable |
| Round-1 cost | whole-history fixpoint always | narrow-first: pinned bounded fixpoint; legacy chain only on genuine broad need or justified escalation |
| Ambiguity | silent top-1 | Zero/One/Many honest — Many discloses identities only |
| Provenance | none on answers | derivation handles on every derived item; Explain expands them |
Full genealogy + measured behavior: COMPARISON.md.
4. How it works inside the cognitive loop
- Round 1 (task start) — the predecessor channel match runs
unchanged, then wraps as the FIRST evaluation. When the task pins
exactly one path, the need is
StandingCurrentPinned{path}: a bounded fixpoint over the sessions that observed that path, under the standing-scoped render. Zero/Unsupported/OutOfGas escalate to the legacy discovery chain (hit = One|Many). - Every round — the world view is rebuilt; the reactive delta
(
notify_world_delta) names genuinely affected evaluations; a stale evaluation is retired and revalidated (NEW occurrence naming its predecessor); the fresh projection becomes the round’s governedMEMORY-RETRIEVALsection. - Model-directed — the model can ask its own memory question
(
Step::Semanticwith basisagent_memory); it resolves through the SAME evaluator; the answer becomes the next round’s section.
Detailed mechanism: SEMANTIC-MEMORY-IMPLEMENTATION.md (§4 routes, §5 currentness, §7 loop integration).
5. Relation to the FormaSL runtime
The evaluation routes ARE FormaSL runs: the standing route renders a
bounded derived module and executes the authored law
(CurrentObjective with a stratified WithdrawnNow naf) through the
REAL registry (SemanticOperator::Infer, basis agent_memory, 50k
gas). Nothing about memory is a second engine: claims, lifecycle marks,
observations, episodes — all are the existing journal + render +
runtime machinery. A gas exhaustion surfaces as OutOfGas, never
silently as Zero.
6. How it uses formasl-reactive
crates/forma-agent/src/memory_reactive.rs wraps the landed
formasl_reactive::index::DependencyIndex (the Affected(E, Δ)
relation) as the CURRENTNESS authority:
- coordinates come from what evaluations actually consume:
mem-obj:<ovr>,mem-path:<pvr>,mem-session:<s>,mem-entry:<s>:<e>(C1.claim, subject-level) and the exact record identity (C1.obs); - registration happens at evaluation time from MEMBER provenance;
- at each round head the world fingerprint diff emits only REAL
appended entries;
index.affectednames stale evaluations; - the drain is SYNCHRONOUS at the round head — there is no continuous scheduler, and none is required;
- the adopter set is fenced narrowly:
{formasl-reactive, forma-agent}(crates/conformance/tests/rac_boundary.rs, with a negative witness).
Distinctions preserved: NeedChanged → new evaluation is DISCOVERY and
never consults reactive state; DependencyChanged → invalidate affected evaluations is CURRENTNESS and never discovers.
7. What is persisted vs derived
- Persisted (append-only, digest-chained journal): sessions, member
entries, claim lifecycle records, observations, typed
MemoryStandingMarkedlifecycle marks, and content-freeContextEvaluationObservedevidence (ids + classes, never values). - Derived (rebuildable): the
MemorySemanticViewinterpretation, rendered modules (general, standing-scoped, episode opt-in), evaluation outcomes, projections, episodes, derivations. - There is NO memory store: every memory carrier re-derives from the same journal the agent already keeps (MEM-INV-28).
8. Semantic guarantees
- Need ≠ Evaluation ≠ Projection ≠ Round; every evaluation mints a fresh occurrence (no rebind-in-place).
- Only
Onediscloses values;Manydiscloses identities only — ambiguity preserved, no silent top-1;OutOfGassurvives as itself. - Standing-aware: a superseded/archived/deactivated value is current-rejected and historically retrievable WITH its standing and original text (Summary ≠ source).
- Fail-closed disclosure by source policy + validity cutoff.
- Provenance handles on every derived item;
Explainexpands them as new occurrences. - Currentness: zero false-positive and zero false-negative invalidations on the frozen corpus; stale evaluations never silently reused.
Witness inventory: SEMANTIC-MEMORY-IMPLEMENTATION.md §10.
9. Limits (see also docs/user/SUPPORT-LIMITATIONS.md)
- Harness-INTERNAL capability (crates
forma-agent+harness-*): there is no public CLI command or service endpoint for memory queries; the surfaces are the cognitive loop and the evaluator API. - Sync drain only at round heads; no continuous scheduler; no cross-process notification of memory changes.
- The directed whole-scope standing fixpoint still grows with N (37.7s at N=3000 — inside the verified envelope, still growing); broad-need escalation inherits the legacy chain’s corpus-wide cost.
- The general F06 (fixpoint match superlinearity) ENGINE constraint is NOT solved; the memory envelope was closed by semantic work reduction, preserving results — not by making the engine faster.
- Scenario runtime, semantic codec, and model-facing episode query arm are documented non-goals of v0.1.
- N=10000 bounded verification not yet run (permitted by the bounded semantics; recorded as follow-up).
10. Where to find everything
| Need | Go to |
|---|---|
| Architecture/implementation reference (file:line-cited) | SEMANTIC-MEMORY-IMPLEMENTATION.md |
| Practical usage patterns (real APIs) | USAGE-GUIDE.md |
| MEMORY-v1 → v0.1 genealogy + measured behavior | COMPARISON.md |
| User-facing limitations | docs/user/SUPPORT-LIMITATIONS.md |
| Contracts (authority) | docs/forma-agent-harness-synthesis-package/MEMORY-ARCHITECTURE-DECISION.md, SEMANTIC-CONTEXT-EVALUATION-CONTRACT.md, FORMA-NATIVE-MEMORY-RETRIEVAL-CONTRACT.md, MEMORY-IMPLEMENTATION-CONTRACT.md |
| Finalization evidence (corpus, harnesses, results) | docs/memory-finalization-v0.1/ |
| Original differential evidence | docs/memory-differential-v0.1/ |
| Predecessor reference | docs/memory-v1/ |
| Core code | crates/forma-agent/src/memory_context.rs, memory_reactive.rs, memory_retrieval.rs, agent.rs (loop); crates/harness-cognitive/src/msv.rs; crates/harness-record/src/record.rs |
| Tests | crates/forma-agent/tests/macro_mem_evaluator.rs (11), macro_mem_loop.rs (5), crates/forma-agent/tests/agent_loop.rs family, crates/conformance/tests/rac_boundary.rs |
Acceptance Contract (SM-R-v0.1) — FORMA-AGENT-SEMANTIC-MEMORY-v0.1
Status: VERIFIED / CLOSED / LANDED
REMEDIATED_RC = cf6d81e2 · LANDING = history-preserving –no-ff merge into master (LANDING branch integrated/forma-agent-semantic-memory-v0.1, not published); TERMINAL_NORMALIZATION = final origin/master after the normalization commit
SM-R1 commit: harden memory applicability, basis and candidate semantics
SM-R2 commit: destructive reaccreditation + acceptance closure (this package)
Campaign branch: impl/forma-agent-semantic-memory-v0.1
PRE_REMEDIATION_RC_SHA = a6038783 (RELEASE_CANDIDATE / SUPERSEDED_PENDING_REMEDIATION — valid evidence, not invalid)
Architecture: CLOSED — memory = contextual semantic reactivation over E1/E2 (NP-2); no MemoryStore/vector DB/second truth store/learning.
Evidence distinction (per remediation dispatch §23)
PRE-REMEDIATION RC evidence (SM-00..SM-04 at a6038783): real-model cross-session witness session#31; census; frozen contract REV 1. POST-REMEDIATION evidence (SM-R1..SM-R2): contract REV 2 (candidate-set != projected-subset; objective-MATCH terminology; per-class applicability table; basis eligibility via corpus digest; exclusion/ corruption surfacing), discriminating battery T1-T8 (each failed on a6038783 — probe evidence: RC projected 3 items with RC_HAS_CANDIDATE_STATE =false), firewalls (injection/journal-only/second-store), and the re-run real-model witness after the projection change.
Final v0.1 claim (narrow, per dispatch §24)
A new Forma Agent session can reactivate eligible prior semantic/history objects BY REFERENCE across sessions, preserving basis (corpus digest), provenance (session serial + entry id), applicability (per-class table: task = origin-scoped candidacy; effect/observation claims = workspace- scoped), ambiguity (candidates marked, never silently resolved) and disclosure (original source under the authored policy) — without creating a second truth store or replaying the full conversation.
Memory domain matrix (v0.1 status)
| Memory domain | v0.1 status |
|---|---|
| contextual working | IMPLEMENTED (per-round governed assembly) |
| episodic | IMPLEMENTED (prior-session task/outcome reactivation, by reference) |
| semantic | PARTIAL (origin-scoped only; no relation retrieval) |
| provenance/confidence | IMPLEMENTED (session serial + entry id + digest; ambiguity typed) |
| goal/intention | PARTIAL (TaskStimulus candidacy only) |
| procedural | DEFERRED |
| social | DEFERRED |
| identity | DEFERRED (objective-equality candidacy is NOT identity) |
| evaluative | PARTIAL (validation outcomes reactivate) |
SM-R2 terminal real-model witness (post-remediation chain)
Projection changed (candidate state, P2, MR-6a) -> real-model evidence RE-RUN per remediation dispatch §31.
- Session#32 (negative, §33): off-protocol 7B output -> typed provider-malformed, workspace untouched. §34 pressure: reactivated=3 (bounded) with reactivation eligible/projected state typed per round — the session#30-style 11-item pollution is now impossible (MR-6a cap + typed state).
- Session#33 (positive): fresh broken workspace (check exit 1) -> reactivated=3 per round (recency-capped prior tasks, provenance), 4 rounds / 4 distinct projections / 4 distinct attempt serials, governed write observed(matched)-BEFORE-commit, real formasl check PASSED (“ACCEPTED module e2e_fixture::fixed”), completion via authored law, independent validation exit 0. No manual repair. No full transcript. No provider continuity.
Firewall witnesses
- Injection (§25): reactivated content stays evidence in the USER context; the system message is the authored instruction artifact + protocol only.
- Provider memory (§26): world built solely from the journal store; prior files byte-identical (no second store).
- Full conversation (§27): object-level reactivation only; SemanticEvent never reactivates (G7); insufficiency is typed, never transcript fallback.
- Second truth store (§28): store file-set equality during reactivation.
- Learning (§29): no promotion path anywhere; HE-LRN NOT EXECUTED.
SMR-v0.2 — Semantic Memory Remediation Contract
Status: FROZEN (SMR-00) Authority: IMPLEMENTATION/REMEDIATION contract derived from FASMB-v0.1 findings Dispatch: owner 2026-10-02 (verbatim authorities in this document) Branch: impl/semantic-memory-remediation-v0.2 · BASE: campaign/fasmb-v0.1 @ 0ed88efd Role: the smallest implementation that eliminates the defects demonstrated by FASMB and crosses the F3 REACHABILITY frontier without sacrificing any law proven by v0.1.
1. Owner decisions frozen (not re-arbitrated)
MEMORY = contextual semantic reactivation of canonical world/history objects
Memory != Store != Note != Summary != full transcript
Retrieval does not depend on an LLM (LLM != Memory, LLM != RetrievalAuthority)
CognitiveRound -> NeedContext -> RetrievalRound -> new ContextProjection -> ...
ModelInternalReasoning != AgentCognitiveState
Memory mechanism common; reactivable types configurable (no TaskStimulus hardcode)
MemoryStore / vector DB / embeddings / BM25 = FORBIDDEN without new evidence
2. Remediation obligations and witnesses
SMR-01 — F03 recency (R1/R2)
Obligation. “Most recent” (MR-6.1/6a) is defined by cross-session CREATION ORDER: candidates sort by (session_serial DESC, entry_serial DESC). recorded_at_ns remains provenance evidence (per-entry), never the cross-session ordering key. selection_most_recent becomes true in fact.
Authority basis. MR-6.1/6a (“3 most recent”, selection=MOST_RECENT); journal allocator doc (sequential mint under cross-process lock = monotonic creation order by construction); dispatch §6 F03 hypothesis. If this basis were judged insufficient the WP stops MATERIAL_CONTRACT_FAILURE — it was judged sufficient (structural fact + dispatch), recorded here.
Witnesses. W-SMR-01a: ≥5 priors, EQUAL TaskStimulus clocks, monotonic serials → eligible complete; top-3 = the 3 HIGHEST serials; more_candidates_exist=true; selection metadata truthful. W-SMR-01b (negative/regression): candidate sets with DISTINCT clocks still order by serial creation order (recorded_at_ns must not flip the order). M-SMR-01 (mutation): restore the v0.1 ordering (recorded_at_ns DESC, serial ASC) → W-SMR-01a FAILS.
SMR-02 — F01 typed trust-failure taxonomy (R1)
Obligation. At the load boundary, decode failure and digest-chain corruption become DISTINCT typed outcomes; the world snapshot’s exclusion reasons distinguish them while BOTH remain excluded and both surface unverifiable_present=true. No path exposes corrupted content as trusted.
Witnesses. W-SMR-02a: invalid-JSON fixture → exclusion “record failed to load”. W-SMR-02b: valid-JSON + tampered chain → exclusion “digest chain verification failed”. Both: unverifiable_present =true, zero reactivation from the broken session. M-SMR-02: conflate the reasons again → both witnesses FAIL.
SMR-03 — F02 single ambiguity derivational authority (R1)
Obligation. Ambiguity derived EXACTLY once and consumed by both the reactivation state and all item markers. Semantics unchanged (multiple eligible OR eligible+trust-unverifiable).
Witnesses. W-SMR-03: candidate counts {0, 1, >1, 1+corrupt} → state.ambiguous and every relevant item marker CORRESPOND. M-SMR-03a/b: mutate either post-hoc site → witness FAILS.
SMR-04 — F3 operational reachability via NeedContext (R2)
Obligation. A cognitive round can request a different/narrower projection over the ALREADY-KNOWN candidate universe. Laws: initial projection bounded; eligible complete; retrieval deterministic (no LLM in the mechanism); disclosure/applicability re-evaluated per followup projection; original provenance intact; NeedContext creates no truth/standing; a followup projection need not contain the previous one; no FullConversation fallback.
Surface. NeedContext (HARNESS-CONTRACT model-candidate type; law
NeedContext -/-> ContextDisclosure) with minimal targets:
RemainingCandidates (eligible candidates outside the previous
projection, most recent first) and Candidate { session_serial, entry_serial } (a specific known candidate). Processed by
assemble_followup, same eligibility + disclosure + ambiguity pipeline,
typed rejections (CandidateNotDisclosable, CandidateUnknown) — never
fabrication.
Witnesses. W-SMR-04a (central): 5 eligible, correct = rank 5 under initial projection → NeedContext(RemainingCandidates) → followup projection CONTAINS rank 5 (OperationalReachability=1). W-SMR-04b: NeedContext for a non-disclosable candidate → typed CandidateNotDisclosable, no item leaks. W-SMR-04c: unknown candidate → typed CandidateUnknown. M-SMR-04: followup returning the same truncated subset (or leaking) → witnesses FAIL.
SMR-05 — FA-2R causal-utility reaccreditation (per dispatch §10)
Pre-validated artifact with __REPLACE_ME__; per-run unique synthetic
secret FASMB-<RANDOM>; per-run ISOLATED stores (A empty / B only that
run’s prior); C embeds the history in context; oracle = expected marker
AND formasl check PASS; provider timeout = censored (separate count,
not task failure); measured levels: retrieved/projected/used/acted_on/
physically_validated; A/B/C table; no judge LLM.
SMR-06 — final adversarial regression + closure audit
Full local gates; FASMB preserved-as-evidence check; closure audit (4×NO + the 8 dispatch questions); terminal report per dispatch §18.
3. Regressions that fail the campaign (dispatch §15, verbatim list)
eligible == projected por truncamento
projection omission => candidate nonexistence
recency => semantic resolution
Retrieved(X) => True(X)
foreign-workspace outcome => local evidence
foreign corpus => eligible memory
corrupt prior => trusted candidate
disallowed source => projected content
SemanticEvent presentation => reactivatable memory
full transcript => fallback
LLM => retrieval authority
Exact-text candidacy remains the compatible v0.1 behavior while F1 is out of scope — discovery is not “improved” informally.
4. Benchmark revision policy
campaign/fasmb-v0.1 = frozen evidence (untouched). On THIS branch, FASMB-derived tests advance to BENCHMARK_REVISION 2 where remediation changes behavior; every revised expectation carries a comment naming the SMR id (e.g. C09/C09b revised by SMR-01). The v0.1 behavior remains reconstructible from the frozen branch.
FA-2R RESULTS (SMR-05, executed 2026-10-02; REAL GLM Coding Plan; 6 runs, 1794s; per-run secrets + per-run isolated stores)
Physical oracle: workspace deployment.fsl contains the RUN’S SECRET and
passes formasl check. Censored = provider-timeout runs (excluded from
causal estimate per dispatch §10).
| condition | valid | physical PASS | timeouts | notes |
|---|---|---|---|---|
| A NO_MEMORY | 2 | 0/2 | 0 | r1 COMPLETE with UNCHANGED placeholder (check PASS, no secret — honest absence of knowledge); r2 NOT_COMPLETE |
| B FORMA_MEMORY | 2 | 0/2 | 0 | memory DELIVERED (elig=1, proj=1 both runs) but model did not incorporate the secret: r1 COMPLETE writing the UNCHANGED fixture; r2 NOT_COMPLETE (provider-unavailable) |
| C FULL_HISTORY | 2 | 1/2 | 0 | r1 COMPLETE with the CORRECT SECRET in the file + check PASS ✓; r2 NOT_COMPLETE |
Decomposition (FA-2R): RETRIEVED ✓ (B elig=1/proj=1 both runs — the secret-carrying write episode surfaced) · PROJECTED ✓ · USED ✗ IN THESE RUNS — the model completed the “keep it valid” reading of the task without the protocol substitution; the authored completion law checks validity, not protocol content, so an unchanged-but-valid file satisfies it. That is an HONEST measurement of both the completion law’s reach and the model’s compliance — recorded as SM-v0.2 requirement: protocol-bearing objectives need the authored law to bind the protocol content (or the fixture to make validity depend on the secret). C proves the task is solvable when the information is unambiguous in context (1/2).
Cross-condition reading: A=0/2, B=0/2, C=1/2 — with 2 replications the causal claim “memory helps” is NOT demonstrable at this task shape; what IS demonstrated: (a) the remediated mechanism delivers the right episode through the governed context; (b) the gap between delivery and physical use lives in model compliance + completion-law reach, NOT in retrieval. No false-memory events: no run ever wrote ANOTHER run’s secret (wrong- memory use = 0 across A/B/C).
SMR-06 CLOSURE AUDIT (2026-10-02, HEAD 634b5dda)
Closure questions (dispatch §17) — all with evidence:
- comportamento conhecido contrário às autoridades? NO — the 4 regression mutations (restore v0.1 ordering, conflate reasons, ambiguity off, followup ignores previous) all FAIL their witnesses on the remediated tree; no behavior contradicts MR-6.1/6a, MR-5T, MR-7b, MR-9, MR-10.
- requisito/witness/gate não verificado? NO — SMR-01/02/03/04 witnesses green; regression matrix 4/4; FA-2R executed (6 runs); workspace gates green (106/106, clippy all-features 0, fmt clean).
- conditional scope disparado e aberto? NO — F2 evaluated (§8 of dispatch): the authorities do NOT yet determine a non-ranking discrimination mechanism beyond identity/scope relations already present (candidacy is identity-text; root scoping covers outcomes) → per dispatch, F2 stays OPEN as a recorded frontier, NOT a hack. F1 stays out of scope (no invented architecture).
- residual risk que falsificaria os completion requirements? NO — see Residual Risks below; none touches the repaired laws.
Dispatch §17 detail questions:
- F03 corrigido sob clocks empatados? YES (W-SMR-01a: equal clocks → creation order [5,4,3]).
- F01 distingue decode de chain? YES (W-SMR-02: two fixtures, two distinct typed reasons).
- F02 autoridade única? YES (single derivation; W-SMR-03 + M-03a/b).
- candidato antigo elegível alcançável? YES (W-SMR-04a: OperationalReachability = 1 via NeedContext).
- sem LLM no retrieval? YES (assemble_followup is pure deterministic assembly; no provider anywhere in the path).
- provenance/disclosure/applicability intactos? YES (W-SMR-02/03/04b; fa2r zero wrong-memory).
- FA-2R isolou A/B/C? YES (per-run stores; FA-2’s F04 store-sharing defect not reproduced).
- FASMB original preservado? YES (campaign/fasmb-v0.1 untouched; benchmark revisions on THIS branch are rev-marked SMR-01).
RESIDUAL RISKS (honest):
- FA-2R physical utility B=0/2: the completion law binds validity, not protocol content — the model can complete without the secret. SM-v0.2 design requirement recorded (protocol-bearing laws must bind content).
- 2/6 FA-2R runs were provider-unavailable (censored, counted separately).
- F2 DISCRIMINATION and F1 DISCOVERY remain open frontiers (recorded, out of scope by dispatch).
- W and R curves unchanged by this campaign (no world-construction path touched) — FA-3 curve remains the standing measurement.
Application Modules — Architecture (v0.1)
Status: STABLE
Authority: DURABLE DOWNSTREAM APPLICATION ARCHITECTURE OWNER
(stylesheet: application modules, application kit, application products)
Basis: owner decisions D1–D15 closed at CONFERENCE-0 on 2026-09-24
(campaign FORMA-APPLICATION-MODULES-RECONSTRUCTION-v0.1, carrier
docs/formasl-application-modules-campaign-v0.1.0/DECISIONS.md).
Materialized by: AMK-00 (implementation WP; the underlying R3
architectural decision was owner-closed before materialization).
Supersedes: the prior productization architecture of campaign
FORMASL-APPLICATION-PRODUCTIZATION-v0.1 (MOD-ARCH-01 owner catalog
docs/formasl-application-productization-v0.1/APPLICATION-MODULE-CATALOG.md,
deleted from the live tree in 3c49f5be; surviving claims in
application-kit/README.md and application-products/README.md are marked
superseded). That attempt remains historical evidence only.
Implementation authority: none yet. No replacement application-kit
module, contract or product is admitted by this document. Module
boundaries/dispositions are staged as candidates and closed only at the
campaign’s owner conference gates.
1. The three application layers
stdlib/**
= reusable catalog of concepts/foundations for modeling worlds
(time, space, money, measures, parties, and other general
modeling foundations), so each application does not redefine them
application-kit/**
= catalog of reusable Application Modules: self-contained application
functions a developer can choose and compose into a new application
application-products/**
= complete reconstructed applications, each formed from
existing Application Modules + explicit semantic composition
+ genuinely new product-specific delta
Preserve:
stdlib != application-kit
stdlib concept != Application Module
Application Module != Application Product
Application Module != realization (process/container/network service)
Application Module catalog != all Forma capital
money, time, party and equivalent stdlib foundations do not become
Application Modules by being imported by one. Application Modules may import
stdlib foundations freely; that import does not change what the module is.
2. Application Module definition
An Application Module is a self-contained application function: a function of an application sufficiently closed that another application can consume it without reconstructing that function’s essential semantics internally.
APPLICATION MODULE
= cohesive application function
+ semantic closure
+ explicit consumption boundary
+ independent testability
Candidate names of the intended category (KYC, Payment, Settlement,
Account, Loan, Subscription, Purchase Order,
Incident Management, …) do NOT pre-ratify their boundaries. Boundaries
are discovered from the rich application corpus by functional closure.
A candidate must be able to declare, materially:
FUNCTION
BOUNDARY
OWNS
DOES_NOT_OWN
INPUTS
OUTPUTS
OPERATIONS
LIFECYCLE / STATES
DEPENDENCIES
COMPOSITION EDGES
The decisive closure question:
If a consumer imports this candidate, must the consumer recreate an essential part of this function for it to work correctly?
If yes, the candidate has not closed.
Not defining a module:
semantic recurrence / cross-application frequency
market category
vendor packaging / SKU taxonomy
file or package boundary
consumer count
size
desire to maximize module count
3. Recurrence is not modularity
Recurring semantic characteristics are not Application Modules merely because they recur across applications. In particular:
Approval
Observation
Assessment
Revision
authority patterns
effect-gating patterns
MUST NOT be promoted to Application Modules by recurrence. Their proper home, if any, is determined independently by their actual semantic role; that is a separate architectural question (stdlib, language, or module — to be decided by evidence and the applicable owner gate), never evidence for module promotion by frequency.
3.1 SINGLE-HOST MODULE LAW (owner-closed at CONFERENCE-1)
A function MUST NOT be classified as PRODUCT_LOCAL merely
because it currently appears in only one application.
Independent reuse is evidence of module maturity,
not a prerequisite for module identity.
Module identity is primarily determined by functional closure
and independent consumability.
Primary question: "Would a developer building another application
reasonably want to import this function instead of rebuilding it?"
Consequences:
single current host -/-> product-local
multiple current hosts -/-> module
Recurrence may supply evidence; it never defines modularity. PRODUCT_LOCAL
is not a residual bucket: it requires a positive justification (the function
cannot close independently; its identity is materially inseparable from the
host; extraction would carry most of the host’s semantics; the public boundary
would be artificial or larger than the function; or the function exists
specifically to express the application’s irreducible distinguishing
semantics). Count of current consumers, absence of proven reuse, absence of an
existing package, or absence from the old application-kit are NOT acceptable
justifications. Where evidence is insufficient, BOUNDARY_UNRESOLVED or
INSUFFICIENT_EVIDENCE is the correct disposition.
4. Supersession of the prior productization
The prior application productization is superseded owner-side:
current application-kit/**
= FAILED HISTORICAL ATTEMPT (disposable; no preservation obligation
for its packages, boundaries, names, API or compatibility)
current application-products/**
= FAILED HISTORICAL PRODUCTIZATION (superseded; not the parity
denominator for the reconstruction)
prior MOD-ARCH-01 catalog (D1–D10, incl. Approval as a shared module)
= superseded owner-side by CONFERENCE-0 decisions
Bookkeeping/routing/accounting/README claims (ACCOUNTED, ROUTED,
DOCUMENTED) do not substitute for an implemented function. The historical
artifacts remain in the tree as evidence until the reconstruction establishes
their replacement; no compatibility obligation is inferred from them.
5. Mining source for the catalog
Module discovery starts from the rich application corpus:
demos/**
+ synthesis evidence
+ historical obligations
+ journeys
+ negative distinctions
+ adversarial witnesses
+ relevant genealogy evidence
— not from the simplified superseded products. Existing completed synthesis/reconstruction work is reused as input evidence, not blindly redone; the census determines what is already synthesized, reconstructed, partially covered or new.
ERP genealogy correction: the Forma ERP historical synthesis is built from
SAP S/4HANA, Microsoft Dynamics 365 Finance and
Oracle Fusion Cloud ERP / Financials. NetSuite was not used and must not be
introduced retrospectively.
6. Composition and consumption discipline
New applications are increasingly formed as:
existing Application Modules
+ explicit semantic composition
+ genuinely new product-specific delta
Consumers import only the function they need — no forced dependency
enlargement. A SaaS needing Subscription does not automatically consume the
complete Payment module. Composition must not require hidden knowledge of a
module’s source application.
DependencyResolution != SemanticComposition
Import != Composition
7. Governance
IMPLEMENTATION AGENT MAY IMPLEMENT CLOSED DECISIONS
IMPLEMENTATION AGENT MUST NOT CREATE SHARED ARCHITECTURAL DECISIONS
The implementation agent may discover candidates, produce evidence, falsify candidates and record that a boundary is unresolved. It may not, autonomously, promote a candidate to a shared module, invent/split/merge/ widen/weaken a shared module boundary, or reinterpret an admitted module contract. Shared module-boundary decisions are owner conference decisions.
Promotion rule: a candidate becomes a shared Application Module only after owner-approved boundary review at the applicable conference gate. Before such review, candidates are staged only as:
CANDIDATE_MODULE
LIKELY_PRODUCT_LOCAL
LIKELY_COMPOSITION
NON_MODULE
BOUNDARY_UNRESOLVED
INSUFFICIENT_EVIDENCE
SYSTEM_GAP
ADMITTED_MODULE is an owner-gate outcome and is never staged by an
implementation agent.
3.2 ESSENTIAL-OBLIGATION OWNERSHIP LAW (owner-closed at CONFERENCE-2; ACCREDITED / PERMANENT K0 GATE per CONFERENCE-2B)
A module does not close merely because its rules and lifecycle
are internally represented.
Every obligation constitutive of the claimed application function
must have semantic ownership inside the module boundary.
A module MAY delegate computation or realization of that obligation,
but it MUST NOT delegate the semantic authority that determines
whether the obligation exists or what it means.
Short form:
external mechanism may compute
external mechanism may realize
external mechanism MUST NOT silently own
a constitutive obligation of the module
Canonical example (General Ledger):
GL owns: the balanced-entry requirement
mechanism computes: whether debit total == credit total
NOT acceptable:
external actor asserts JournalBalanceValidated
and GL merely trusts the assertion
Operational interpretation (binding for all module work):
- For every fact shaped
XValidated / XApproved / XAvailable / XCompliant / XBalanced / XAuthorizedwhereXis constitutive of the module’s own claimed function, the module must answer: who owns the obligation, who computes the result, who decides what counts as valid, and can the module distinguish a legitimate witness from an arbitrary assertion? - If an external actor owns or decides a constitutive obligation, FUNCTIONAL_CLOSURE = FAIL.
- Parameterized policies are permitted: the module owns the REQUIREMENT that admission obey the applicable policy and the binding of that policy to the right scope; the computation of occupancy/aggregate/extent may be performed by an authorized mechanism — in-language (preferred) or a bounded realization — while authority over the obligation stays inside the boundary.
FUNCTIONAL_CLOSUREfor every K0 candidate REQUIRESESSENTIAL_OBLIGATION_OWNERSHIP(PERMANENT gate per CONFERENCE-2B, 2026-09-24).- Canonical K0 catalog (CONFERENCE-2B): the active catalog under
application-kit/**exports exactly the MODULE_CLOSED modules; catalog presence is a closure claim; package identities are stable, do not encode origin application or pilot status, and imply no semantic hierarchy. The five pilot modules are K0 capital: they join the same canonical catalog without a permanentpilotdistinction; migration must keep semantic contracts unchanged, re-run all gates, and leave no live dependency onapplication-kit/pilot/**before CONFERENCE-3. The legacyapplication-kitattempt remains SUPERSEDED evidence — never part of the active catalog.
Campaign gates for the reconstruction (binding):
CONFERENCE-0 CLOSED 2026-09-24 (decisions D1–D15); CONFERENCE-1
mandatory stop with the candidate K0 module map BEFORE any replacement
application-kit implementation; then CONFERENCE-2 (pilot closure),
CONFERENCE-3 (K0 seal), CONFERENCE-4 (ΔK promotion, batchable),
CONFERENCE-5 (final K*/campaign closure). Hard stops and the campaign
execution contract are owned by the campaign package
docs/formasl-application-modules-campaign-v0.1.0/GATES.md.
K notation: K_n is the versioned inventory of admitted reusable Application
Modules available before application/campaign step n. It names the Application
Module catalog state only, not all Forma capital.
Experiment honesty: the campaign may close with the agentic productivity
hypothesis CHALLENGED, FALSIFIED or INCONCLUSIVE; acceptance criteria
are never weakened to manufacture a positive result.
8. Status of this document
This document owns the durable application-architecture vocabulary and
governance boundaries above. It does not admit any module, fix any module
boundary, or authorize any replacement-kit implementation. Those are outcomes
of the campaign’s owner conference gates. Transient execution state lives in
the root ACTIVE-WP.md and the campaign package; git history preserves the
superseded prior productization.
FormaSL — Whole-Language Roadmap
Status: STABLE
Authority: PROJECT-ROADMAP / ACCEPTANCE
Parent: ../FORMASL.md
Method authority: DESIGN-METHOD.md
Date: 2026-08-21
Purpose: govern progression from the closed FormaSL foundations and Semantic Metagraph to a complete FormaSL language without allowing scope gaming, self-certified coverage, local-to-global composition false-passes, semantic invention in executable architecture, circular assurance, stale evidence or implementation-before-contract.
1. Authority and jurisdiction
This document governs whole-language progression and acceptance.
It does not define domain semantics, operator semantics, physical storage, compiler data structures, runtime implementation or proof-assistant representation.
It is subordinate to the FormaSL semantic authority order:
../foundations/FORMASL-INTENT.md../foundations/FORMAL-WORLD-MODEL.md../foundations/SEMANTIC-INVARIANTS.md../foundations/SEMANTIC-CONTINUITY.md- applicable STABLE FormaSL design decisions, especially
ARCHITECTURE.md - closed downstream contracts for the current stage
../FORMASL.md remains the project-state owner and entrypoint. DESIGN-METHOD.md remains the local design/process authority.
WHOLE-LANGUAGE ROADMAP
= PROGRESSION / ACCEPTANCE AUTHORITY
!= SEMANTIC AUTHORITY ABOVE THE FOUNDATIONS
!= DESIGN-STAGE METHOD
!= IMPLEMENTATION CONTRACT
If this roadmap conflicts with a higher semantic authority, the higher authority wins and this roadmap must be repaired.
2. Governing objective
FormaSL is not complete because an operator list, grammar, formal model, compiler, runtime or demo is complete.
WHOLE FORMASL
!= OPERATOR SET
!= GRAMMAR
!= SEMANTIC METAGRAPH
!= TYPE SYSTEM
!= COMPILER
!= RUNTIME
!= TOOLCHAIN
!= SUM OF INDEPENDENTLY COMPLETED SUBSYSTEMS
The terminal target is a language that is whole in four distinct dimensions:
SEMANTICALLY WHOLE
!=
LINGUISTICALLY WHOLE
!=
EXECUTABLY WHOLE
!=
USABLY WHOLE
These are terminal acceptance properties, not intermediate phase labels and not four independent waterfall stages.
Before P9, use stage-specific statuses such as:
LANGUAGE_SEMANTIC_CLOSURE
LANGUAGE_DEFINITION_CLOSURE
EXECUTABLE_LANGUAGE_ARCHITECTURE
LANGUAGE_IMPLEMENTATION_CONFORMANCE
USABILITY_ACCEPTANCE
Only P9 may set the terminal *_WHOLE flags.
3. Constitutive Minimum Language Envelope
The contracted horizon is not free to shrink below the constitutive identity of FormaSL merely to make completion easier.
Define:
CONSTITUTIVE_MINIMUM_LANGUAGE_ENVELOPE = CML-E
CML-E is a derived acceptance envelope traced to higher FormaSL authority. It does not create semantic meaning independently and does not prescribe final operators, syntax or implementation mechanisms.
A CML-E capability is mandatory at language capability level even though an individual program need not exercise it.
3.1 Situated semantic world
A whole-language-eligible horizon must support the higher-authority distinctions required to keep situated meaning computable, including:
- attributable assertions/Claims distinct from truth;
- observations, assessments, assumptions, decisions and other materially distinct semantic standings;
- epistemically local agents rather than a substituted global observer;
- legitimate plurality/conflict without forced reconciliation;
- context, scope, frame, interpretation basis, time and perspective when semantically material;
- semantic identity continuity across representations where required.
3.2 Authority, normativity and accountability
The language capability envelope must preserve the ability to distinguish and compute over, where the applicable semantics requires them:
- situated authority rather than authority by storage/language membership;
- validation, conformance, admission, authorization, decision and execution;
- execution success, occurrence, effect and observation;
- provenance, derivation, support, causation and runtime trace;
- reconstructible accountability information.
The language must have the capability to preserve these distinctions even when a particular program does not use all of them.
3.3 Constitutive composed-process capabilities
The Intent explicitly requires that situated meaning be able to traverse a composed computational process. Therefore CML-E includes language-level capability for the process classes necessary to realize that intent, without assuming one primitive per class:
- declaration / semantic construction;
- consultation / query / selection;
- evaluation under explicit semantic/normative bases;
- derivation / reasoning;
- hypothetical or simulation reasoning without baseline mutation by default;
- decision/admission or other governed semantic transition where applicable to the process;
- an explicit action/execution boundary;
- observation after action/world occurrence;
- explicit semantic incorporation / revision / evolution preserving required history;
- composition among these classes under Semantic Continuity.
This list is about capability classes, not final FormaSL operator names.
Other capabilities such as specialized graph analytics or specialized projection/export remain subject to P1 evidence/authority analysis unless independently promoted into CML-E by higher authority.
3.4 Protected language and architecture capabilities
CML-E also includes already-protected FormaSL commitments needed by the language:
- graph/metagraph-native logical semantics through the selected typed role-incidence metagraph;
.fslsemantic/source authority distinct from.fsprealization;- runtime/storage inability to redefine source meaning;
- semantic type contracts;
- polymorphic semantic abstraction;
- explicit inheritance / typed specialization;
- subtyping / substitutability where declared;
- explicit failure/unresolved/completion distinctions, including gas partiality where applicable;
- reconstructible Semantic Continuity across required transformations and compositions.
3.5 CML-E trace requirement
Every CML-E item must trace to one or more higher-authority commitments. If a CML-E item cannot be traced, it is a roadmap/product proposal and must not be mislabeled as constitutive.
Conversely, P0/P1 may not classify a traced CML-E capability as NOT-APPLICABLE or deferred solely to make the horizon easier to close.
Only an authority competent to change the underlying constitutive/design commitment can remove or reclassify it.
3.6 Anti-scope-gaming rule
A P0 horizon is one of two kinds:
WHOLE-LANGUAGE-ELIGIBLE HORIZON
= contains all traced CML-E obligations
+ explicit horizon-specific requirements
RESTRICTED HORIZON
= omits one or more traced CML-E obligations
A restricted horizon may legitimately reach:
HORIZON_COMPLETE = YES
but cannot establish:
FORMASL_LANGUAGE_COMPLETE = YES
unless the omitted obligation has first been normatively removed/reclassified by higher authority.
SCOPE REDUCTION -/-> WHOLE-LANGUAGE COMPLETION
4. Roadmap phase != design stage
DESIGN-METHOD.md governs local epistemic/design stages:
DISCOVERY
ANALYSIS
DECISION
ARCHITECTURAL CONSEQUENCES
CONTRACT SYNCHRONIZATION
FORMALIZATION
IMPLEMENTATION
VERIFICATION
This roadmap governs global product/language progression.
ROADMAP PHASE != DESIGN STAGE
A closure bundle may traverse several design stages while the project remains in the same roadmap phase.
5. Hardened global progression
CLOSED FOUNDATIONS / CLOSED SEMANTIC METAGRAPH
|
v
P0 WHOLE-LANGUAGE ACCEPTANCE HORIZON
+ CML-E TRACE / ANTI-SHRINK GATE
|
v
P1 AUTHORITY-SCAN MANIFEST
+ TOTAL LANGUAGE OBLIGATION MAP
+ BIDIRECTIONAL TRACEABILITY
+ DEPENDENCY / CLOSURE GRAPH
|
v
P2A LOCAL / BUNDLE LANGUAGE CLOSURE
|
v
P2B INTEGRATED LANGUAGE-DEFINITION AUDIT
+ EXECUTABLE SEMANTIC INTERFACE CONTRACT
|
v
P3 EXECUTABLE LANGUAGE ARCHITECTURE CLOSURE
+ COMPLETE CORRESPONDENCE LEDGER
|
v
P4 IMPLEMENTATION-READINESS AUDIT
|
v
P5 IMPLEMENTATION / CONFORMANCE CONTRACT
+ FORMALIZATION-OBLIGATION COVERAGE
+ REQUIRED PRE-IMPLEMENTATION FORMALIZATION GATE
|
v
FIOP_READY
|
v
P6 REFERENCE IMPLEMENTATION
END-TO-END VERTICAL SLICES
|
v
P7 WHOLE-LANGUAGE CONFORMANCE CAMPAIGN
+ CLAIM/EVIDENCE DEPENDENCE MATRIX
|
v
P8 USABILITY / PRODUCT CLOSURE
|
v
P9 FINAL WHOLE-LANGUAGE INTEGRITY AUDIT
+ CHANGE-IMPACT / STALENESS CLOSURE
ON ONE FROZEN CANDIDATE BASELINE
|
v
SEMANTICALLY_WHOLE = PASS
LINGUISTICALLY_WHOLE = PASS
EXECUTABLY_WHOLE = PASS
USABLY_WHOLE = PASS
|
v
FORMASL_LANGUAGE_COMPLETE = YES
|
v
PRODUCT / WEDGE VALIDATION
Competitive validation and scientific-novelty assessment remain separate evidence programs.
6. P0 — Whole-Language Acceptance Horizon
6.1 Question
What externally meaningful language capability and completion evidence must the FormaSL candidate demonstrate to count as complete, without prejudging the internal decomposition that P1/P2 must discover?
P0 defines the acceptance contract, not the internal semantic owner graph.
6.2 Required outputs
P0 must determine:
- a complete trace from every CML-E item to higher authority;
- confirmation that the horizon contains every traced CML-E obligation;
- required externally meaningful language capabilities beyond CML-E, if any;
- required semantic lifecycle reachability;
- required result/failure/unresolved/completion behavior;
- required category-changing transitions;
- required composition scenarios;
- required realization/execution reachability;
- required authoring, diagnostics and tooling capability;
- required conformance/assurance evidence classes;
- explicit non-constitutive exclusions/deferrals;
- canonical positive whole-language witnesses;
- canonical negative/collapse witnesses;
- evidence needed at P9 for each terminal Whole dimension.
P0 must not freeze operator decomposition, AST/IR structure, storage, runtime internals or owner boundaries that belong to later discovery.
6.3 Exclusion ledger
Every explicit exclusion is classified:
NON-CONSTITUTIVE-DEFERRED
ECOSYSTEM-ONLY
DOMAIN-PACK / LIBRARY
FUTURE EXTENSION
RESTRICTED-HORIZON-OMISSION
Any RESTRICTED-HORIZON-OMISSION forces:
FORMASL_LANGUAGE_COMPLETE_ELIGIBLE = NO
6.4 P0 gate
CML_E_TRACE = COMPLETE
CML_E_COVERAGE = PASS
WHOLE_LANGUAGE_ACCEPTANCE_HORIZON = CLOSED
FORMASL_LANGUAGE_COMPLETE_ELIGIBLE = YES
HORIZON_BLOCKING_UNKNOWN = NONE
A restricted horizon may continue through the roadmap for engineering purposes, but the terminal claim must remain HORIZON_COMPLETE.
7. P1 — Total Language Obligation Map
P1 derives the internal obligation universe required to satisfy P0 and higher authority. It is not derived from a presumed operator list.
7.1 Authority-scan manifest
Before constructing the obligation universe, P1 must build a versioned authority-scan manifest over every applicable normative owner revision.
For every numbered clause, invariant, explicit requirement, STABLE design commitment, or other semantically operative unit, record one of:
IN-U
NON-REQUIREMENT / EXPLANATORY
NOT-APPLICABLE — WITH JUSTIFICATION
SUPERSEDED — WITH OWNER/REVISION
Where a source lacks numbered clauses, use a stable section/anchor citation sufficient to reconstruct the scan.
The scan must cover at least:
- all Intent I1–I13 clauses and their operative consequences;
- every applicable World Model normative commitment;
- every active Semantic Invariant;
- every mandatory Semantic Continuity obligation;
- every applicable CLOSED/STABLE FormaSL architecture commitment;
- every protected capability stated by
FORMASL.md; - every P0 acceptance criterion.
This closes the false-pass in which the project simply omits a requirement while constructing U.
Gate condition:
UNCLASSIFIED_APPLICABLE_AUTHORITY_UNIT = NONE
AUTHORITY_SCAN_COVERAGE = PASS
7.2 Finite source-requirement universe
From the manifest construct the versioned finite source universe U:
U = all authority units classified IN-U
Additionally maintain:
V1 MATERIAL CAPABILITY CROSSWALK
FLC / WHOLE-LANGUAGE OBLIGATION CROSSCHECK
V1/FLC are evidence/control inputs. They do not outrank the normative source universe.
7.3 Bidirectional traceability
Forward:
FOR EVERY u IN U:
u -> one or more obligation rows
A source requirement may be discharged by a closed existing owner, but that discharge must still be recorded.
Reverse:
FOR EVERY obligation o:
o -> at least one source requirement in U
OR explicit P0 acceptance criterion
An obligation with no trace is unsupported until justified by a competent owner.
7.4 Required obligation row
Every material obligation records at least:
ID
QUESTION
ACCEPTANCE-HORIZON ROLE
SOURCE-REQUIREMENT TRACE
SEMANTIC OWNER
DEPENDENCIES
HIGHER AUTHORITY
V1 DESIGN / SURFACE EVIDENCE
V1 FORMALIZATION EVIDENCE
V1 IMPLEMENTATION EVIDENCE
V1 TEST / OBSERVED EVIDENCE
THEORY / STANDARD / COMPARATIVE EVIDENCE
V1 SURFACE DISPOSITION
CONTINUITY DIMENSIONS
POSITIVE WITNESS
NEGATIVE / COLLAPSE WITNESS
FORMALIZATION RISK
DX EXPOSURE
BLOCKING UNKNOWNS
STATUS
V1 disposition remains:
PRESERVE
PRESERVE + GENERALIZE
REFINE
REPLACE
DROP WITH JUSTIFICATION
Evidence disagreement remains visible.
7.5 Coverage classes
The working coverage scaffolding includes at least:
A — CONSTITUTIVE LANGUAGE INFRASTRUCTURE
semantic artifacts / standings
theory / ontology / definition structure
program/modules/imports/binding/resolution/linking
formation / semantic type contracts
results / dependence / failure / completion
B — SEMANTIC CAPABILITY REGIMES
query
analysis
reasoning
validation/conformance/admission interfaces
hypothetical worlds
evolution/revision
semantically relevant projection/export
C — INTEGRATIVE CONTRACTS
heterogeneous composition
source/program lifecycle
elaboration + phase architecture
whole-language Semantic Continuity
failure/unresolved/completion algebra
D — TRUST / TOOLING / USABILITY
diagnostics/source correspondence
conformance/regression model
basic toolchain
editor/interactive tooling
libraries/packages/version lifecycle
core/stdlib/domain-pack boundary
E2E usability/product acceptance
These classes do not predetermine final ontology, operator or implementation decomposition.
7.6 Dependency-graph sufficiency
An edge:
X -> Y
means Y cannot be sufficiently closed without a decision/contract owned by X.
Implementation-call dependencies do not create semantic/design edges by themselves.
Every material upstream dependency discovered from obligation rows, semantic transitions or composition boundaries must be classified.
Strongly connected components indicate joint closure candidates.
The graph is sufficient only when:
UNMAPPED_REQUIRED_SOURCE_REQUIREMENT = NONE
UNSUPPORTED_OBLIGATION = NONE
UNCLASSIFIED_MATERIAL_DEPENDENCY = NONE
MATERIAL_OBLIGATION_WITHOUT_OWNER = NONE
UNRESOLVED_OWNER_COLLISION = NONE
UNRESOLVED_SEMANTIC_SCC = NONE
UNTRACKED_REQUIRED_V1_CAPABILITY = NONE
After SCC condensation, the closure-order graph must be acyclic or every remaining cycle must have an explicit joint-closure owner.
7.7 P1 gate
AUTHORITY_SCAN_COVERAGE = PASS
TOTAL_LANGUAGE_OBLIGATION_COVERAGE = PASS
BIDIRECTIONAL_TRACEABILITY = PASS
V1_CAPABILITY_DISPOSITION_COVERAGE = PASS
FLC_CROSSCHECK = PASS
CLOSURE_DEPENDENCY_GRAPH = SUFFICIENT
P1_BLOCKING_UNKNOWN = NONE
TOTAL is relative to the fully scanned and frozen authority universe, not to whichever rows happen to be present.
8. P2A — Local / Bundle Language Closure
P2A closes dependency-derived bundles. It does not execute a fixed sequence of operator names.
Each bundle exposes:
INPUT KINDS
OUTPUT KINDS
SEMANTIC STANDING
DEPENDENCIES
FAILURE / UNRESOLVED / COMPLETION
ALLOWED NEXT OPERATIONS
CATEGORY-CHANGING TRANSITIONS
CONTINUITY OBLIGATIONS
SURFACE / DX EXPOSURE
Each required bundle follows DESIGN-METHOD.md and additionally receives:
- critical composition attack against adjacent bundles;
- Semantic Continuity loss accounting;
- positive and negative/collapse witnesses;
- formative surface/DX validation when user-exposed;
- selective formalization when materially required;
- explicit remaining-unknown classification.
ALL_BUNDLES_LOCALLY_CLOSED
-/-> LANGUAGE_DEFINITION_CLOSURE
P2A gate
For every required bundle:
REQUIRED_BUNDLE_LOCAL_CLOSURE = PASS
LOCAL_BLOCKING_UNKNOWN = NONE
9. P2B — Integrated Language-Definition Audit
P2B attacks the composition of locally closed bundles as one language definition.
It exists to prevent:
EACH PART CORRECT
=> WHOLE LANGUAGE CORRECT
9.1 Required integrated attacks
P2B covers at least:
- every required cross-bundle input/output category transition;
- every category-changing transition that changes semantic standing;
- all required composition paths from P0;
- source/program lifecycle transitions;
- binding/module/resolution interactions with semantic identity/reference;
- formation/type judgments crossing into dynamic semantic judgments;
- result/dependency/provenance continuity across heterogeneous operations;
- failure/unresolved/completion propagation across compositions;
- hypothesis isolation/promotion boundaries;
- revision/source-incorporation boundaries;
- execution/observation/source-authority boundaries;
- whole-language Semantic Continuity dimensions across composed paths.
At least one full lifecycle witness must exercise, where required by P0:
AUTHORITATIVE SEMANTIC SOURCE
-> semantic construction / assertion
-> query / computation / reasoning
-> validation / admission / decision
-> execution attempt
-> occurrence / effect
-> observation
-> explicit semantic incorporation / revision
Negative variants include at least execution without effect, effect without observation, conflicting observations, incomplete computation and later reassessment without historical erasure.
9.2 Inter-bundle ownership
No material interface may exist only because adjacent bundles happen to make compatible assumptions.
IMPLICIT INTER-BUNDLE AGREEMENT = DEFECT
Every material inter-bundle relation has an explicit owner/contract.
9.3 Executable Semantic Interface Contract
P2B produces or synchronizes the Executable Semantic Interface Contract consumed by P3. It fixes everything P3 must preserve but may not redefine, including:
- source semantic categories/standings;
- admissible program/result categories;
- required semantic coordinates/dependencies;
- category-changing transitions;
- semantically authorized loss/erasure, if any;
- failure/unresolved/completion distinctions;
- source/realization/run/storage authority boundaries;
- result reconstruction obligations;
- mandatory return-to-P2 conditions.
9.4 P2B gate
LANGUAGE_SEMANTIC_CLOSURE = PASS
LANGUAGE_DEFINITION_CLOSURE = PASS
INTEGRATED_COMPOSITION_AUDIT = PASS
WHOLE_LANGUAGE_CONTINUITY_AT_DEFINITION = PASS
INTER_BUNDLE_OWNERLESS_INTERFACE = NONE
EXECUTABLE_SEMANTIC_INTERFACE_CONTRACT = CLOSED
DESIGN_BLOCKING_UNKNOWN_FOR_P3 = NONE
Do not yet set terminal SEMANTICALLY_WHOLE or LINGUISTICALLY_WHOLE.
10. P3 — Executable Language Architecture Closure
P3 realizes the P2B executable semantic interface without inventing new semantic meaning.
The architecture may select zero, one or many intermediate representations.
ONE UNIVERSAL IR = NOT ASSUMED
10.1 Complete correspondence ledger
For every material representation/transformation boundary record:
P2 SEMANTIC OBLIGATION IDS
SOURCE DENOTATION / CONTRACT
TARGET REPRESENTATION DENOTATION
CORRESPONDENCE RELATION
PRESERVED DISTINCTIONS
DERIVED INFORMATION
P2-AUTHORIZED INTENTIONAL ERASURE, IF ANY
PROHIBITED ACCIDENTAL LOSS
FAILURE / COMPLETION CORRESPONDENCE
SOURCE / DIAGNOSTIC TRACEABILITY
VERIFICATION STRATEGY
MATERIAL UNKNOWN STATUS
Every P2 executable-semantic obligation must appear in at least one applicable correspondence row or be explicitly preserved unchanged across the architecture.
At every material transformation boundary:
ACCIDENTALLY_LOST = NONE
UNAUTHORIZED_INTENTIONAL_ERASURE = NONE
MATERIAL_UNKNOWN = NONE
10.2 Semantic-invention return rule
P3 has no jurisdiction to introduce a new semantic category, standing, category-changing transition, authority rule, failure/completion meaning or material information erasure.
If required:
NEW SEMANTIC DECISION REQUIRED
-> STOP P3
-> RETURN TO P2 OWNER
-> CLOSE / SYNCHRONIZE SEMANTIC CONTRACT
-> RESUME P3
10.3 P3 gate
EXECUTABLE_LANGUAGE_ARCHITECTURE = CLOSED
EXECUTABLE_SEMANTIC_INTERFACE_SATISFIED = PASS
CORRESPONDENCE_LEDGER_COVERAGE = PASS
UNMAPPED_EXECUTABLE_SEMANTIC_OBLIGATION = NONE
ACCIDENTALLY_LOST_AT_P3_BOUNDARY = NONE
UNAUTHORIZED_ERASURE_AT_P3_BOUNDARY = NONE
MATERIAL_BOUNDARY_UNKNOWN = NONE
REALIZATION_SEMANTIC_BOUNDARY = PASS
RUNTIME_SEMANTIC_BOUNDARY = PASS
NEW_SEMANTIC_DECISION_REQUIRED = NO
P3_BLOCKING_UNKNOWN = NONE
P3 does not authorize implementation code.
11. P4 — Implementation-Readiness Audit
P4 asks:
Can a competent implementer, while following all current authorities/contracts, still make a locally reasonable choice that changes required meaning, standing, authority, category, Semantic Continuity, failure/completion or normative observable behavior?
If yes, return to the appropriate owner.
If no:
IMPLEMENTATION_READINESS = PASS
IMPLEMENTER_SEMANTIC_FREEDOM = NONE MATERIAL
CONTRACT_AMBIGUITY = NONE MATERIAL
P4_BLOCKING_UNKNOWN = NONE
Open choices about data structures, cache layout, physical graph storage, indexes, threading, allocation or non-semantic optimization do not block by themselves.
12. P5 — Implementation / Conformance Contract
P5 freezes the implementation acceptance interface:
- scope;
- observable behavior;
- formation/admission/rejection behavior;
- runtime/failure/unresolved/completion behavior;
- diagnostic obligations;
- representation/realization correspondence;
- trusted/untrusted boundaries;
- V1 regressions;
- canonical positive/negative cases;
- conformance suite;
- intentionally free implementation choices;
- implementation verification gate.
12.1 Formalization-obligation ledger
Every material formalization risk/obligation produced by P1–P4 is classified:
REQUIRED-PRE-IMPLEMENTATION
DEFERRED-NON-BLOCKING
NOT-APPLICABLE
ALREADY-DISCHARGED — WITH CONTRACT/EVIDENCE
No row may remain unclassified.
A REQUIRED-PRE-IMPLEMENTATION row must have a closed formalization contract and satisfy its acceptance interface before implementation authorization.
UNCLASSIFIED_FORMALIZATION_OBLIGATION = NONE
UNSATISFIED_REQUIRED_PRE_IMPLEMENTATION_FORMALIZATION = NONE
A deferred formal question may not hide semantic/contract ambiguity needed by implementation.
12.2 P5 gate
IMPLEMENTATION_CONFORMANCE_CONTRACT = CLOSED
CONFORMANCE_ACCEPTANCE_INTERFACE = FROZEN
FORMALIZATION_OBLIGATION_COVERAGE = PASS
UNSATISFIED_REQUIRED_PRE_IMPLEMENTATION_FORMALIZATION = NONE
FIOP_READY = YES
IMPLEMENTATION_CODE_AUTHORIZED = YES
This is the first roadmap phase that authorizes FormaSL reference-implementation code.
13. P6 — Reference Implementation
FIOP is the implementation control plane and does not perform language design.
Prefer end-to-end vertical semantic slices:
.fsl
-> parse
-> resolve
-> form/type
-> elaborate
-> semantic operation
-> lower/realize
-> plan
-> execute
-> semantic result
-> diagnostic / inspection surface
A slice may be functionally narrow but may not redefine the contracted language.
If implementation exposes a material semantic or contract ambiguity:
STOP IMPLEMENTATION
-> RETURN TO THE OWNER
P6 gate
REFERENCE_IMPLEMENTATION_FOR_HORIZON = COMPLETE
FIOP_VERIFICATION = PASS
IMPLEMENTATION_BLOCKING_UNKNOWN = NONE
14. P7 — Whole-Language Conformance Campaign
P7 combines complementary evidence:
mechanized properties where required
+ reference/executable semantic oracle where appropriate
+ conformance suite
+ V1 capability regression
+ differential testing where applicable
+ generated / fuzz testing where applicable
+ negative-collapse tests
+ representation-correspondence checks
+ failure/completion tests
+ E2E Semantic Continuity witnesses
FORMAL PROOF != COVERAGE
CONFORMANCE TEST != SEMANTIC PROOF
REFERENCE INTERPRETER != IMPLEMENTATION CORRECTNESS
FUZZING != SPECIFICATION
14.1 Claim/evidence dependence matrix
Every material P7 acceptance claim records:
CLAIM ID
FAILURE IMPACT
EVIDENCE SOURCES
SHARED IMPLEMENTATION PATHS
SHARED SPECIFICATION PATHS
INDEPENDENCE CLASSIFICATION
ACCEPTANCE BASIS
A claim is CRITICAL when a false positive could cause the final candidate to misrepresent required semantic meaning, authority, identity, category transition, Semantic Continuity or failure/completion behavior.
Every CRITICAL claim requires at least one non-circular acceptance route relative to the implementation path whose correctness is being claimed.
An executable oracle that shares the same parser, elaborator, lowering, evaluator or bug-relevant semantic implementation may provide consistency evidence but cannot be the sole independent evidence for that shared layer.
Suitable independent routes may include:
- mechanized theorem against an independently stated acceptance proposition;
- independently implemented reference semantics;
- translation validation / independent checker;
- property/metamorphic relation not computed by the same implementation path;
- genuinely independent differential implementation/baseline;
- another route explicitly justified by the applicable contract.
14.2 P7 gate
LANGUAGE_IMPLEMENTATION_CONFORMANCE = PASS
WHOLE_LANGUAGE_CONTINUITY = PASS
CONTRACTED_CAPABILITY_COVERAGE = PASS
CLAIM_EVIDENCE_DEPENDENCE_MATRIX = COMPLETE
CRITICAL_CLAIM_WITH_ONLY_CIRCULAR_EVIDENCE = NONE
ASSURANCE_DEPENDENCE_AUDIT = PASS
P7_BLOCKING_FINDING = NONE
Do not yet set terminal EXECUTABLY_WHOLE.
15. P8 — Usability / Product Closure
Formative DX occurs during P2. P8 performs summative/product acceptance for the contracted horizon.
Where required by P0, P8 closes:
- authoring workflow;
- diagnostics;
- editor / interactive support;
- package/version workflow;
- core / stdlib / domain-pack support required by the horizon;
- debug / explain / inspect facilities;
- documentation;
- agent-oriented authoring/consumption;
- realistic E2E tasks;
- operational observability;
- performance/scale acceptance where material;
- usability validation.
The gate concerns support required by the language horizon, not completion of the broader ecosystem.
P8 gate
AUTHORING_ACCEPTANCE = PASS
DIAGNOSTIC_ACCEPTANCE = PASS
TOOLCHAIN_ACCEPTANCE = PASS
REQUIRED_LANGUAGE_SUPPORT_SURFACE = PASS
E2E_PRODUCT_ACCEPTANCE = PASS
USABILITY_ACCEPTANCE = PASS
P8_BLOCKING_FINDING = NONE
16. P9 — Final Whole-Language Integrity Audit
P9 is the only phase authorized to set terminal Whole flags or FORMASL_LANGUAGE_COMPLETE = YES.
Its purpose is to prevent scope-shrunk, cross-version or stale evidence from composing into a false PASS.
16.1 Frozen final candidate
P9 freezes an immutable candidate baseline identifying at least:
APPLICABLE NORMATIVE OWNER REVISIONS
P0 HORIZON / CML-E TRACE REVISION
P1 AUTHORITY-SCAN / U / TRACEABILITY REVISION
P2 LANGUAGE-DEFINITION / EXECUTABLE-SEMANTIC CONTRACT REVISIONS
P3 EXECUTABLE-ARCHITECTURE / CORRESPONDENCE REVISION
P5 IMPLEMENTATION/CONFORMANCE CONTRACT REVISION
REFERENCE IMPLEMENTATION REVISION
CONFORMANCE / TEST / TOOLING REVISION SET
All terminal evidence must be attributable to this candidate or have a verified non-impact relation to it.
16.2 Change-impact / staleness closure
Every material change after an accepted evidence artifact was produced must have an impact row:
CHANGE ID
CHANGED OWNER / ARTIFACT
AFFECTED OBLIGATIONS
AFFECTED ACCEPTANCE CLAIMS
AFFECTED EVIDENCE
DISPOSITION
Disposition is one of:
EVIDENCE RE-RUN AGAINST FINAL CANDIDATE
VERIFIED NON-IMPACT — WITH DEPENDENCY JUSTIFICATION
EVIDENCE INVALIDATED / NOT COUNTED
No material change may remain unclassified.
For semantic, linguistic, executable-correspondence or acceptance-contract changes, a VERIFIED NON-IMPACT disposition must identify why no dependency path reaches the evidence/claim in question; assertion alone is insufficient.
UNCLASSIFIED_POST-EVIDENCE_MATERIAL_CHANGE = NONE
CHANGE_IMPACT_COVERAGE = PASS
16.3 P9 rechecks
Against the same frozen candidate, P9 establishes:
- P0 still contains every traced CML-E obligation; no scope shrink has converted the candidate into a restricted horizon.
- P1 authority-scan manifest covers the current applicable authority revisions.
- P1 bidirectional traceability remains complete against those current authorities.
- no required obligation or protected V1 capability disappeared without explicit disposition.
- P2B integrated composition/continuity remains valid after all later changes.
- P3 correspondence ledger still satisfies the P2 executable semantic interface and has no material unknown/unauthorized erasure.
- P5 contract and all required pre-implementation formalization evidence remain aligned.
- P7 conformance/assurance evidence applies to the final implementation and contains no critical circular-only claim.
- P8 usability/product evidence applies to the final language/tooling surface.
- every material change since each evidence artifact was produced has passed change-impact/staleness closure.
- all material reopen triggers discovered during P3–P8 are repaired/reverified or explicitly non-blocking under the frozen horizon.
- no unresolved cross-owner contradiction exists.
16.4 Terminal properties
Only after those rechecks pass may the project set:
SEMANTICALLY_WHOLE = PASS
LINGUISTICALLY_WHOLE = PASS
EXECUTABLY_WHOLE = PASS
USABLY_WHOLE = PASS
Interpretation:
SEMANTICALLY_WHOLE: the final candidate still realizes the closed semantic definition without downstream semantic invention.LINGUISTICALLY_WHOLE: complete admitted programs can actually be authored, structured, resolved, checked, composed and diagnosed under the final language/toolchain.EXECUTABLY_WHOLE: admitted programs traverse realization/planning/runtime and produce contract-conformant results/failures/completion.USABLY_WHOLE: the final candidate satisfies the P0/P8 real-use acceptance contract.
16.5 Terminal gate
FINAL_CANDIDATE_BASELINE = FROZEN
CML_E_COVERAGE = PASS
FINAL_AUTHORITY_SCAN_COVERAGE = PASS
FINAL_AUTHORITY_TRACEABILITY = PASS
CHANGE_IMPACT_COVERAGE = PASS
STALE_EVIDENCE_AUDIT = PASS
INTEGRATED_DEFINITION_RECHECK = PASS
EXECUTABLE_CORRESPONDENCE_RECHECK = PASS
IMPLEMENTATION_CONFORMANCE_RECHECK = PASS
USABILITY_RECHECK = PASS
P9_BLOCKING_FINDING = NONE
SEMANTICALLY_WHOLE = PASS
LINGUISTICALLY_WHOLE = PASS
EXECUTABLY_WHOLE = PASS
USABLY_WHOLE = PASS
FORMASL_LANGUAGE_COMPLETE = YES
FORMASL_LANGUAGE_COMPLETE does not imply:
FORMASL_RELEASE_COMPLETE
MARKET_VALIDATION_COMPLETE
PRODUCT_WEDGE_VALIDATED
ECOSYSTEM_COMPLETE
SCIENTIFIC_NOVELTY_ESTABLISHED
17. Cross-phase policies
17.1 No global late formalization phase
Formalization remains selective/risk-driven whenever material closed claims require mechanized falsifiability.
SEMANTIC CLOSURE != FORMALIZATION
17.2 No late composition phase
Composition and Semantic Continuity are attacked locally in P2A, globally in P2B and operationally again in P7/P9.
17.3 DX is transversal
For user-exposed language decisions:
FORMATIVE SURFACE / DX PROBE = REQUIRED BEFORE LOCAL CLOSURE
P8 remains summative product/usability acceptance.
17.4 No semantic invention downstream
P3 / P4 / P5 / P6 DISCOVERS MISSING SEMANTIC DECISION
-> RETURN TO P2 OWNER
Later phases may falsify closure; they may not silently repair missing semantics themselves.
17.5 Prohibited shortcuts
OPERATOR_MAP_COMPLETE -/-> LANGUAGE_COMPLETE
ALL_OPERATORS_CLOSED -/-> LANGUAGE_DEFINITION_CLOSED
ALL_LOCAL_BUNDLES_CLOSED -/-> INTEGRATED_LANGUAGE_CLOSED
SELF-SELECTED REQUIREMENT UNIVERSE -/-> TOTAL COVERAGE
SEMANTIC_METAGRAPH_VERIFIED -/-> LANGUAGE_SEMANTIC_CLOSURE
TYPECHECKING_AGDA -/-> SEMANTIC_CLOSURE
GRAMMAR_COMPLETE -/-> LANGUAGE_COMPLETE
COMPILER_RUNS -/-> EXECUTABLY_WHOLE
DEMO_WORKS -/-> CONFORMANCE
ONE GREEN ORACLE -/-> INDEPENDENT ASSURANCE
OLD PASS -/-> CURRENT PASS
RESTRICTED HORIZON COMPLETE -/-> FORMASL_LANGUAGE_COMPLETE
RUNTIME_OUTPUT -/-> AUTHORITATIVE_SOURCE_UPDATE
REFERENCE IMPLEMENTATION -/-> PRODUCT ACCEPTANCE
PRODUCT_WEDGE_VALIDATED -/-> LANGUAGE_SEMANTICS CORRECT
18. Mandatory destructive acceptance-interface attacks
Before a roadmap phase is promoted where applicable, attempt the corresponding false-pass class.
RA-01 — Horizon shrink
Remove one traced CML-E capability while keeping all remaining P0 criteria green.
Expected:
FORMASL_LANGUAGE_COMPLETE_ELIGIBLE = NO
RA-02 — Authority omission before U
Omit one applicable normative authority unit from the source scan.
Expected:
AUTHORITY_SCAN_COVERAGE = FAIL
RA-03 — Requirement omission after U
Keep a source requirement in U but remove all mapped obligations.
Expected:
BIDIRECTIONAL_TRACEABILITY = FAIL
RA-04 — Unsupported invented obligation
Add an obligation with no source requirement/P0 acceptance criterion.
Expected:
UNSUPPORTED_OBLIGATION != NONE
RA-05 — Hidden semantic dependency
Remove a material prerequisite edge and attempt to close the downstream obligation by local assumption.
Expected:
CLOSURE_DEPENDENCY_GRAPH != SUFFICIENT
RA-06 — Local-green / global-red composition
Make all P2A bundles locally pass while one required inter-bundle composition loses a material continuity dimension or changes category implicitly.
Expected:
INTEGRATED_COMPOSITION_AUDIT = FAIL
RA-07 — P3 semantic invention
Introduce a new failure meaning, standing, semantic category or erasure in a lowering/IR boundary not authorized by P2.
Expected:
NEW_SEMANTIC_DECISION_REQUIRED = YES
P3 = STOP / RETURN TO P2
RA-08 — Formalization omission before code
Leave one REQUIRED-PRE-IMPLEMENTATION formal obligation unsatisfied while all other P5 fields are green.
Expected:
IMPLEMENTATION_CODE_AUTHORIZED = NO
RA-09 — Circular oracle
Make implementation and sole semantic oracle share the same bug-relevant implementation path for a critical claim.
Expected:
CRITICAL_CLAIM_WITH_ONLY_CIRCULAR_EVIDENCE != NONE
P7 = FAIL
RA-10 — Stale PASS
Change a material semantic/linguistic/executable artifact after its acceptance evidence is produced and do not rerun or justify non-impact through dependency tracing.
Expected:
CHANGE_IMPACT_COVERAGE = FAIL
P9 = FAIL
A written gate that still accepts one of these constructions contains an acceptance-interface defect and must be repaired before progression.
19. Current state under this roadmap
Adoption of this roadmap refines routing; it does not reopen already-closed foundations or the Semantic Metagraph.
SEMANTIC_METAGRAPH_ARCHITECTURE = CLOSED
SEMANTIC_METAGRAPH_FORMALIZATION = VERIFIED / TERMINAL
POST_MERGE_MECHANIZATION_INTEGRITY = PASS
CURRENT_STAGE = LANGUAGE CLOSURE RECOVERY
CURRENT_ROADMAP_PHASE = P0 -> P1 TRANSITION
WHOLE_LANGUAGE_ACCEPTANCE_HORIZON = NOT YET CLOSED
CML_E_TRACE = NOT YET COMPLETE
CML_E_COVERAGE = NOT YET PASS
FORMASL_LANGUAGE_COMPLETE_ELIGIBLE = NOT YET ESTABLISHED
AUTHORITY_SCAN_COVERAGE = NOT YET PASS
TOTAL_LANGUAGE_OBLIGATION_COVERAGE = NOT YET PASS
BIDIRECTIONAL_TRACEABILITY = NOT YET PASS
CLOSURE_DEPENDENCY_GRAPH = NOT YET SUFFICIENT
LANGUAGE_SEMANTIC_CLOSURE = NOT PASS
LANGUAGE_DEFINITION_CLOSURE = NOT PASS
EXECUTABLE_SEMANTIC_INTERFACE_CONTRACT = NOT YET CLOSED
EXECUTABLE_LANGUAGE_ARCHITECTURE = NOT YET AUTHORIZED
IMPLEMENTATION_READINESS = NOT ESTABLISHED
IMPLEMENTATION_CONFORMANCE_CONTRACT = NOT AUTHORIZED
FIOP_READY = NO
IMPLEMENTATION_CODE_AUTHORIZED = NO
FINAL_WHOLE_LANGUAGE_INTEGRITY_AUDIT = NOT AUTHORIZED
FORMASL_LANGUAGE_COMPLETE = NO
The immediate work is P0, followed by P1. Completing operator charters is subordinate work inside that process.
20. Reopen and change discipline
The reopen burden and finding-admission rules of DESIGN-METHOD.md apply.
This roadmap adds a specific acceptance-interface trigger:
A demonstrated construction in which the written gate returns PASS while a required in-horizon Whole-Language property is false is a material finding against the acceptance interface.
The smallest responsible roadmap/contract boundary reopens.
The following do not reopen a closed semantic subject by themselves:
- another plausible semantics;
- a richer future language horizon;
- a cleaner implementation;
- a stronger theorem;
- a future ecosystem capability.
A roadmap repair must not be used to reopen the closed Semantic Metagraph absent an independently valid reopen trigger.
FormaSL — Whole-Language Roadmap P3L Amendment
Status: STABLE
Authority: PROJECT-ROADMAP / ACCEPTANCE AMENDMENT
Amends: WHOLE-LANGUAGE-ROADMAP.md
Trigger: ../P4-IMPLEMENTATION-READINESS-AUDIT.md
Acceptance horizon: V2-WHOLE-LANGUAGE-H1
Date: 2026-08-22
Purpose: repair the progression false-pass exposed when P4 found that semantic closure plus executable architecture closure still leaves concrete .fsl/.fsp language design to the implementer.
1. Authority and precedence
This amendment has the same progression/acceptance authority class as WHOLE-LANGUAGE-ROADMAP.md and is subordinate to the semantic authority hierarchy.
For the progression segment between P3 and P5, this later amendment supersedes the original sequence:
P3 -> P4 -> P5
with:
P3
-> P3L LINGUISTIC / SURFACE ARCHITECTURE CLOSURE
-> P4 IMPLEMENTATION-READINESS AUDIT
-> P5 IMPLEMENTATION / CONFORMANCE CONTRACT
All other roadmap phases/rules remain unchanged unless this amendment explicitly says otherwise.
This amendment does not change P2 or P3 meaning.
2. Defect being repaired
P2 correctly deferred concrete grammar while closing semantics. P3 correctly deferred final source syntax while closing executable architecture.
The original roadmap nevertheless moved directly from those closures into implementation readiness.
That permits this invalid progression:
SEMANTIC CONTRACT CLOSED
+ EXECUTABLE ARCHITECTURE CLOSED
+ CONCRETE LANGUAGE SURFACE OWNER MISSING
-> IMPLEMENTER INVENTS SURFACE / ELABORATION
An implementation that must decide what the language looks like is not merely implementing the language.
Therefore:
SEMANTIC CLOSURE
+ EXECUTABLE ARCHITECTURE CLOSURE
-/-> IMPLEMENTATION READINESS
IMPLEMENTATION READINESS
requires
LINGUISTIC / SURFACE ARCHITECTURE CLOSURE
3. P3L jurisdiction
P3L answers:
What concrete authored language is FormaSL H1, and how does every admitted
.fsl/.fspsurface construct map unambiguously to the already-closed semantic and executable contracts without introducing new meaning?
P3L owns language-facing representation and correspondence, not semantic invention and not parser/runtime implementation.
P3L SURFACE CONTRACT
!= P2 SEMANTIC CONTRACT
!= P3 EXECUTABLE ARCHITECTURE
!= AST IMPLEMENTATION
!= PARSER IMPLEMENTATION
!= TOOLCHAIN IMPLEMENTATION
4. Required P3L closure subjects
P3L-L1 — lexical/source-unit contract
Close concrete H1 source lexical conventions and source-unit/document boundaries sufficiently for deterministic parsing/source correspondence.
P3L-L2 — .fsl concrete grammar
Close concrete syntax for all required H1 source-program constructs, including as applicable:
module/import/export/package-facing source declarations
bindings/declarations/references/qualification
semantic type declarations and type parameters/bounds
specialization/inheritance/subtyping declarations where authored
Theory/Ontology/Rule/Constraint/Policy declaration surfaces
Claim/assertion/adoption surfaces
Query/Analysis/Reasoning/Transformation surfaces
validation/governance/lifecycle transition surfaces
hypothetical/scenario surfaces
revision/source-evolution authoring surfaces
composition/reusable-composition surfaces
outcome/completion/iteration constructs where language-facing
The final surface decomposition need not mirror V1 families.
P3L-L3 — .fsp concrete realization language
Close the authored realization-plane language for:
realization selectors/loci
capability/provider references
hard execution/assurance constraints
resource constraints
preferences
binding groups / joint realization when authored
operational budgets/policies
secure external references
The surface may not admit semantic parameters as realization overrides.
P3L-L4 — surface binding/resolution syntax
Close how source notation expresses the already-closed module/binding/reference resolution model, including qualification, ambiguity, aliases/views and version/revision references where material.
P3L-L5 — surface type/static contract
Close concrete formation/type syntax needed to express the H1 static kernel and operation-specific static signatures already closed by P2.
P3L-L6 — surface-to-semantic elaboration contract
For every concrete construct class define/refer to a deterministic correspondence:
surface construct
-> parsed/resolved construct class
-> semantic declaration/application/transition/composition role
-> exact semantic contract refs
-> static/source bindings
-> source correspondence
-> applicable formation/type/admission requirements
Surface sugar may elaborate to several semantic applications/stages when the mapping is explicit and reconstructible.
P3L-L7 — surface-to-realization elaboration contract
For .fsp define/refer to deterministic mapping:
surface selector/binding
-> exact source/application/composition locus
-> RealizationRequirement ref
-> hard/preference constraint structure
-> RealizationBinding candidate input
P3L-L8 — ambiguity/rejection/recovery contract
Close normative parser/resolver-level distinctions sufficient to avoid implementation-dependent acceptance:
valid
syntactically invalid
ambiguous
unresolved
kind/type incompatible
unsupported horizon feature
invalid realization selection
Parser recovery strategy may remain implementation-specific if it cannot turn invalid source into admitted source silently.
P3L-L9 — source/locus/diagnostic correspondence
Every admitted/rejected material construct must support source correspondence sufficient for later diagnostics, explanation and P3 application/binding traceability.
P3L-L10 — V1 syntax/DX disposition
For every material V1 surface capability relevant to H1 record one of:
PRESERVE
PRESERVE + GENERALIZE
REFINE
REPLACE
DROP WITH JUSTIFICATION
V1 syntax is evidence, not authority.
P3L-L11 — whole-language surface composition probe
A complete representative H1 program must be expressible without external semantic glue across the lifecycle/composition path required by P0.
5. Governing non-collapses
P3L must preserve:
SIMPLE SURFACE != SIMPLIFIED SEMANTICS
SURFACE CONSTRUCT != SEMANTIC FAMILY
SURFACE SUGAR != NEW SEMANTIC MEANING
CONCRETE SYNTAX != AST REPRESENTATION
CONCRETE SYNTAX != EXECUTABLE IR
.fsp SURFACE != SEMANTIC OVERRIDE
SOURCE TEXT ORDER != SEMANTIC ORDER by default
SOURCE NAME != SEMANTIC IDENTITY
PARSE SUCCESS != WELL-TYPED
WELL-TYPED != CONFORMANT != ADMISSIBLE != AUTHORIZED
DIAGNOSTIC CATEGORY != SEMANTIC STANDING
A single surface construct may elaborate into multiple distinct semantic transitions while preserving their category/authority/completion differences.
6. P3L design method
For each surface subject:
P2/P3 CLOSED CONTRACT
-> V1 SYNTAX/DX EVIDENCE
-> THEORY / LANGUAGE-DESIGN EVIDENCE WHERE MATERIAL
-> CANDIDATE SURFACE
-> FORMATIVE DX PROBE
-> COMPOSITION PROBE
-> SEMANTIC CONTINUITY / SOURCE-CORRESPONDENCE AUDIT
-> ADVERSARIAL AMBIGUITY ATTACK
-> STABLE SURFACE CONTRACT
Do not reopen semantics for prettier syntax.
If no faithful surface can express a required closed distinction without hidden state, that is a material return trigger to the competent P2/P3 owner.
7. P3L gate
P3L passes only when:
FSL_CONCRETE_SURFACE_CONTRACT = CLOSED
FSP_CONCRETE_SURFACE_CONTRACT = CLOSED
SURFACE_TO_SEMANTIC_ELABORATION = CLOSED
SURFACE_TO_REALIZATION_ELABORATION = CLOSED
MODULE_BINDING_REFERENCE_SURFACE = CLOSED
TYPE_STATIC_SURFACE = CLOSED
SURFACE_AMBIGUITY_REJECTION_CONTRACT = CLOSED
SOURCE_DIAGNOSTIC_CORRESPONDENCE = CLOSED
V1_SYNTAX_DX_DISPOSITION_COVERAGE = PASS
WHOLE_LANGUAGE_SURFACE_COMPOSITION_PROBE = PASS
SURFACE_SEMANTIC_CONTINUITY = PASS
SURFACE_ACCIDENTALLY_LOST = NONE
SURFACE_REQUIRES_NEW_SEMANTIC_DECISION = NO
P3L_BLOCKING_UNKNOWN = NONE
P3L = PASS
P3L does not set terminal LINGUISTICALLY_WHOLE; that remains a P9 acceptance property over the implemented/tooling candidate.
8. Revised progression state after the triggering P4 audit
At adoption of this amendment:
P0 = PASS
P1 = PASS
P2A = PASS
P2B = PASS
P3 = PASS
P3L = ACTIVE / NOT PASS
P4 = FAIL — PREMATURE UNDER OLD ROADMAP; RE-RUN AFTER P3L
P5+ = NOT AUTHORIZED
IMPLEMENTATION_READINESS = NOT PASS
IMPLEMENTATION_CONFORMANCE_CONTRACT = NOT AUTHORIZED
FIOP_READY = NO
IMPLEMENTATION_CODE_AUTHORIZED = NO
The P4 failure is preserved as evidence of the roadmap defect; it is not rewritten into a pass.
9. P4 re-entry rule
After P3L PASS, rerun P4 against the combined frozen contract set:
P2 semantic definition
+ P3 executable architecture
+ P3L linguistic/surface architecture
P4 then asks whether any competent implementer can still make a locally reasonable choice that changes required semantic or language-facing normative observable behavior.
Only a fresh P4 PASS may authorize P5.
10. Anti-false-pass rules added
SEMANTICALLY SPECIFIED -/-> PARSEABLE LANGUAGE SPECIFIED
EXECUTABLE ARCHITECTURE CLOSED -/-> CONCRETE SOURCE LANGUAGE CLOSED
SURFACE EXAMPLE -/-> GRAMMAR CONTRACT
PARSER IMPLEMENTATION -/-> LANGUAGE SURFACE AUTHORITY
V1 SYNTAX -/-> FormaSL SURFACE BY DEFAULT
ONE PRETTY EXAMPLE -/-> COMPOSITIONAL DX
.fsp SERIALIZATION FORMAT -/-> REALIZATION LANGUAGE CONTRACT
P3L PASS -/-> LINGUISTICALLY_WHOLE
11. Closure consequence
This amendment repairs progression ownership only.
P2 REOPEN = NO
P3 REOPEN = NO
ROADMAP REOPEN = YES -> REPAIRED BY THIS AMENDMENT
NEXT ACTIVE STAGE = P3L LINGUISTIC / SURFACE ARCHITECTURE CLOSURE
FormaSL — Whole-Language Capability Adequacy Amendment
Status: STABLE / OWNER DECISION / ACCEPTANCE-PROGRESSION AMENDMENT
Authority: PROJECT-ROADMAP / WHOLE-LANGUAGE ACCEPTANCE AMENDMENT
Amends: WHOLE-LANGUAGE-ROADMAP.md, WHOLE-LANGUAGE-ACCEPTANCE-CONTRACT.md, and the progression constraints of WHOLE-LANGUAGE-ROADMAP-P3L-AMENDMENT.md
Method authority: DESIGN-METHOD.md
Semantic authorities: ../foundations/FORMASL-INTENT.md, ../foundations/FORMAL-WORLD-MODEL.md, ../foundations/SEMANTIC-INVARIANTS.md, ../foundations/SEMANTIC-CONTINUITY.md, applicable STABLE FormaSL design decisions
Acceptance horizon: V2-WHOLE-LANGUAGE-H1
Date: 2026-08-22
Trigger: owner review of H1 Query / MATCH demonstrated that semantic closure alone does not establish functional sufficiency
Purpose: require sufficient H1 functional capability without turning comparative feature discovery into an independent normative requirement universe or a mandatory deep re-audit of every already-closed regime.
1. Decision
Preserve:
SEMANTIC CLOSURE
!= FUNCTIONAL SUFFICIENCY
THEORY ADEQUACY
!= CONTEMPORARY CAPABILITY ADEQUACY
but do not turn these distinctions into independent waterfall campaigns.
FormaSL shall test functional sufficiency as an integrated acceptance concern governed by the same problem-led method that governs semantic closure.
CAPABILITY ADEQUACY
= TRIGGERED H1 FUNCTIONAL-SUFFICIENCY GATE
!= SECOND REQUIREMENT UNIVERSE
!= UNIVERSAL COMPARATOR CHECKLIST
!= FEATURE-PARITY CAMPAIGN
!= RE-AUDIT OF EVERY CLOSED REGIME
The normative source universe remains authority-derived through P0/P1. This amendment does not create U-CAP-H1 or any equivalent parallel normative universe.
External theory, standards, competitors, benchmarks and workloads remain evidence. They may support, challenge, bound, falsify or expose gaps in a FormaSL decision, but they do not define FormaSL.
2. Defect being repaired
The original capability-adequacy campaign repaired a real false pass:
SEMANTICALLY COHERENT
+ CONSTITUTIVELY SUFFICIENT
+ FUNCTIONALLY DEFICIENT
-> FALSE WHOLE-LANGUAGE PROGRESS
Query demonstrated this failure class materially.
The subsequent universalization of that successful campaign introduced a second failure mode:
REGIME NAME
-> CONTEMPORARY FEATURE INVENTORY
-> CANDIDATE H1 REQUIREMENTS
-> DEEP REGIME CAMPAIGN
That ordering is not the FormaSL method.
The corrected ordering is:
MATERIAL PROBLEM / QUESTION
-> PROJECT AUTHORITY
-> V1 EVIDENCE
-> RELEVANT THEORY
-> WORKLOAD / STANDARD / COMPARATOR EVIDENCE
-> COUNTEREVIDENCE
-> MINIMUM H1 DECISION
-> COMPOSITION + SEMANTIC CONTINUITY
Feature discovery may reveal a problem. It does not itself create a requirement.
3. Trigger rule
A deep functional-sufficiency review is required only when a material trigger exists.
Material triggers include:
H1 workload not expressible or only expressible through semantic distortion
protected V1 capability apparently lost
P0/P1 requirement lacks an adequate mechanism
material composition failure
theory exposes a limitation relevant to an H1 obligation
standard/comparator supplies a relevant practical counterexample
surface probe cannot express an already-required capability
runtime/implementation would have to invent language meaning
blocking UNKNOWN for current H1 acceptance
Without such a trigger:
DO NOT RE-AUDIT EVERYTHING
Perform only a proportional functional-sufficiency check sufficient to establish that no demonstrated material H1 gap is being ignored.
A comparator feature, literature topic or broader possible calculus is not a trigger by itself.
4. Correct evidence order
For each material question, use this order.
4.1 Question
State the problem or capability to be decided.
Do not start from:
competitor feature list
operator keyword list
V1 family decomposition
Start from:
WHAT PROBLEM MUST H1 SOLVE?
4.2 Project authority
Determine what FormaSL already requires, permits, excludes, defers or leaves open.
Normative authority remains, in order:
- FormaSL Intent;
- Formal World Model;
- Semantic Invariants;
- Semantic Continuity;
- applicable STABLE FormaSL decisions;
- closed downstream contracts;
- P0/P1 acceptance obligations where applicable.
4.3 V1 evidence
Use V1 as frozen evidence baseline and distinguish:
SPECIFIED
FORMALIZED
IMPLEMENTED
TESTED
OBSERVED
For each material inherited capability use, as applicable:
PRESERVE
PRESERVE + GENERALIZE
REFINE
REPLACE
DROP WITH JUSTIFICATION
V1 mechanism does not define FormaSL mechanism.
4.4 Theory
Use the relevant theoretical corpus to answer primarily:
- which concepts and relations must remain distinct;
- which semantic structures and result classes are known;
- which limits, impossibilities, trade-offs or conditions are established;
- which serious alternative mechanisms exist;
- which composition problems are known;
- whether an apparently obvious design is only historical convention;
- whether a known semantics prevents avoidable reinvention.
Theory may:
SUPPORT
CHALLENGE
FALSIFY
BOUND
GENERALIZE
OFFER ALTERNATIVES
Theory does not automatically:
DEFINE FORMASL
FORCE A MECHANISM
FORCE A SYNTAX
FORCE A CALCULUS
FORCE A FEATURE
Use classifications such as:
THEORY-SUPPORTED
THEORY-CHALLENGED
INFERENCE
when material.
For a new important decision, seek the best supporting theory and the best serious competing theory/mechanism before closure.
4.5 Standards, comparators and workloads
Use standards, languages and products to establish practical capability evidence, including:
- what competent users can actually do today;
- capabilities recurring across independent system classes;
- realistic workloads that would be impossible or artificially difficult in FormaSL;
- productive baseline rather than product-specific preference;
- practical edge cases that expose under-specified contracts;
- evidence that a claimed FormaSL capability is or is not usable.
Comparators function as:
CAPABILITY WITNESSES
COUNTEREXAMPLES
PRODUCTIVE-BASELINE EVIDENCE
WORKLOAD EVIDENCE
They do not function as architectural authority.
For every concrete comparator feature F, ask first:
WHAT PROBLEM / CAPABILITY DOES F WITNESS?
Then ask:
Does that problem belong to H1?
Does FormaSL already solve it by another mechanism?
If not, is the absence materially limiting?
Only then classify the underlying capability.
4.6 Counterevidence
For a new important decision seek, where applicable:
BEST SUPPORTING THEORY
+ BEST COMPETING THEORY / MECHANISM
+ BEST PRACTICAL COUNTEREXAMPLE
Do not perform ritual counterevidence collection against decisions already closed by higher authority when no reopen trigger exists.
4.7 Minimum H1 decision
Choose the smallest FormaSL decision that satisfies the present H1 problem.
A witnessed capability may be classified:
REQUIRED-H1
SATISFIED-BY-DIFFERENT-FORMASL-MECHANISM
EXCLUDED-WITH-JUSTIFICATION
NOT-COMPARABLE
DEFERRED-RESTRICTED-HORIZON
UNKNOWN
UNKNOWN blocks only when material to the current acceptance horizon.
5. Gap taxonomy
Every discovered problem shall be classified before changing owner decomposition.
5.1 Evidence-trace gap
EVIDENCE-TRACE GAP
= existing decision may already be sufficient,
but its supporting authority/evidence/counterevidence/rationale
is not reconstructible enough
Repair traceability. Do not reopen semantics merely because citations or historical reasoning are incomplete.
5.2 Semantic gap
SEMANTIC GAP
= required meaning is not sufficiently determined
Return to the competent semantic owner.
5.3 Functional depth gap
FUNCTIONAL DEPTH GAP
= capability/regime exists,
but its contract is too narrow for a material H1 workload
Perform targeted hardening without automatically reconsidering the capability topology.
Query was the canonical demonstrated case.
5.4 Capability topology gap
CAPABILITY TOPOLOGY GAP
= material H1 capability cannot be honestly owned by any current
capability/regime without distortion or semantic glue
Only this class justifies reconsidering fundamental capability decomposition.
NEW FEATURE
-/-> CAPABILITY TOPOLOGY GAP
5.5 No material gap
If the problem is already satisfied by an existing FormaSL mechanism, or the evidence only demonstrates an optional/future frontier:
NO MATERIAL H1 GAP
Record the rationale and stop.
6. Diagnostic adequacy lenses
The original capability campaign used four useful lenses. They remain valid as diagnostic questions, but they are not four mandatory independent research campaigns for every regime.
For a material triggered review ask:
A — CONSTITUTIVE SEMANTIC FLOOR
Does the decision preserve applicable FormaSL authority?
B — H1 FUNCTIONAL SUFFICIENCY
Does it solve the demonstrated material H1 problem/workload?
C — FORMASL-NATIVE EXPLOITATION WHERE MATERIAL
Does it preserve/use native semantic structure when that structure
changes correctness or capability?
D — COMPOSITIONAL CAPABILITY
Does it survive realistic composition and Semantic Continuity?
Floor C is proportional.
MATERIAL NATIVE DIMENSION
-> must be preserved / usable by the capability as required
IRRELEVANT NATIVE DIMENSION
-/-> mandatory direct exposure merely to satisfy a checklist
A regime need not demonstrate direct use of every FormaSL semantic dimension.
7. Composition and Semantic Continuity
Every material new decision or targeted hardening must survive a composition attack appropriate to its jurisdiction.
Check, where material:
- input/output standing;
- identity/reference continuity;
- attribution/authority;
- time;
- context/scope/frame;
- epistemic standing/conflict;
- typed dependence/provenance;
- representation correspondence;
- completion/failure/unresolved propagation;
- source/realization/run/storage authority separation.
Use the Semantic Continuity dispositions:
PRESERVED-DIRECTLY
PRESERVED-BY-REFERENCE
DERIVABLE
INTENTIONALLY-ERASED
ACCIDENTALLY-LOST
NOT-APPLICABLE
UNKNOWN
ACCIDENTALLY-LOST = DEFECT
UNKNOWN != PASS
Only materially applicable dimensions need affirmative preservation treatment.
8. Query precedent
The Query capability campaign remains valid evidence and its ratified hardenings remain closed.
This methodological correction does not reverse findings merely because the original campaign was broader than the corrected default process.
Preserve the demonstrated Query hardenings, including the closed capability for materially required:
optional / outer matching
presence-aware partial bindings
ordered selection / slicing / top-k
compositional heterogeneous paths
path/group bindings and path-local predicates
metagraph-native path reuse semantics
graph/subgraph Query views
graph-to-graph Query composition
completion-aware negative/existence behavior
The Query campaign is precedent for what to do when a real functional-depth trigger exists, not precedent that every regime requires an equally large campaign.
8.1 Query theory disposition
The Query theory corpus includes material evidence on:
graph-to-graph compositionality
graph-query foundations
paths with data/path memory
temporal query semantics / temporal regular paths
continuous query semantics
query completeness
certain / consistent answers
provenance
open / federated traversal
These subjects must be classified by current H1 relevance rather than imported wholesale.
Use:
REQUIRED FOR H1 NOW
THEORY-SUPPORTED FUTURE CAPABILITY
NON-BLOCKING FRONTIER
The existence of a theory-supported capability does not by itself make it H1-required.
9. Temporal control case
Temporal semantics shall be used as a control case for this method.
The FormaSL already preserves distinctions including:
valid time
!= observation time
!= knowledge time
!= decision time
!= transaction / recording time
VERSION != TIME
That semantic foundation does not by itself establish that every H1 temporal workload is functionally supported.
Relevant theory, including temporal database design, valid-time indeterminacy, bitemporal semantics, temporal path querying and hypothetical temporal databases, may expose missing H1 obligations.
The method must therefore ask:
Which concrete H1 temporal problem is required?
What semantic relation/algebra is needed to solve it?
Can current FormaSL contracts express it without invention?
Do not infer either:
TIME IS FIRST-CLASS
-> TEMPORAL CAPABILITY COMPLETE
or:
TEMPORAL THEORY IS RICH
-> NEW PRIMITIVE / UNIVERSAL TEMPORAL ALGEBRA REQUIRED
Absent a demonstrated material H1 failure, exact temporal algebra remains an open design subject, not an automatic reopen trigger.
10. Evidence trace
For every new material decision or capability hardening preserve a reconstructible non-normative trace:
DECISION / CLAIM
-> PROJECT AUTHORITY
-> V1 EVIDENCE
-> THEORY SUPPORT / CHALLENGE
-> STANDARD / COMPARATOR / WORKLOAD EVIDENCE
-> COUNTEREVIDENCE
-> REJECTED ALTERNATIVES
-> FINAL RATIONALE
The trace may live in gate evidence or an existing evidence owner. Do not overload the normative semantic contract with literature review when that harms its function.
Missing trace alone is not proof that the semantic decision is wrong.
11. Whole-language functional-sufficiency gate
Whole-H1 progression requires absence of demonstrated unresolved material functional gaps, not completion of a universal comparator matrix.
H1_FUNCTIONAL_SUFFICIENCY = PASS
requires
MATERIAL_TRIGGERED_GAPS_RESOLVED = YES
PROTECTED_CAPABILITY_REGRESSIONS = NONE
UNJUSTIFIED_H1_FUNCTIONAL_RESTRICTIONS = NONE DEMONSTRATED
MATERIAL_COMPOSITION_FAILURES = NONE
MATERIAL_FUNCTIONAL_UNKNOWN = NONE
A regime already closed by P2 and previous adequacy work does not require a new deep campaign unless a material trigger is demonstrated.
A proportional check may close with:
NO MATERIAL TRIGGER FOUND
+ NO H1 WORKLOAD FAILURE DEMONSTRATED
+ NO PROTECTED CAPABILITY LOSS
-> FUNCTIONAL-SUFFICIENCY CHECK COMPLETE
This is not a claim of maximal expressiveness or parity with every mature system.
12. Progression rule
The roadmap progression is interpreted as:
P2 LANGUAGE CLOSURE
+ INTEGRATED/TRIGGERED H1 FUNCTIONAL-SUFFICIENCY CHECKS
-> P3 EXECUTABLE ARCHITECTURE / CHANGE-IMPACT REVALIDATION WHERE REQUIRED
-> P3L SURFACE CLOSURE
-> P4 IMPLEMENTATION-READINESS
Capability adequacy is not a second serial phase inserted between P2 and P3 for every regime.
When a triggered review produces a material semantic capability delta:
CAPABILITY DELTA
-> competent P1 trace update where required
-> competent P2 owner hardening
-> Semantic Continuity + composition recheck
-> P3 correspondence/change-impact revalidation
-> P3L surface recheck where affected
When no material semantic delta is found:
NO MATERIAL DELTA
-> preserve existing closure evidence
-> record proportional sufficiency rationale
-> continue
No downstream phase may invent a missing capability or use provider extensibility as a waiver for an H1 obligation.
13. Reopen discipline
This amendment does not lower the existing reopen burden.
Already-closed semantic/design/capability decisions remain closed unless a material trigger satisfies the applicable DESIGN-METHOD.md finding-admission/reopen rules.
In particular:
MISSING CITATION
!= REOPEN TRIGGER
NEW COMPETITOR FEATURE
!= REOPEN TRIGGER
RICHER THEORY EXISTS
!= REOPEN TRIGGER
OPEN FUTURE CAPABILITY
!= CURRENT DEFECT
Material triggers may include a demonstrated H1 workload failure, capability regression, authority contradiction, composition failure, formal inconsistency, implementation impossibility or another accepted current-horizon counterexample.
The Semantic Metagraph remains closed absent its existing material reopen triggers.
14. Anti-false-pass attacks
Before a new material capability decision is accepted, attempt the applicable attacks.
CA-01 — Semantic-richness waiver
A required H1 workload fails, but the omission is justified only because FormaSL has a richer semantic model.
Expected:
FUNCTIONAL SUFFICIENCY = FAIL
CA-02 — Provider/extension waiver
A required H1 capability is absent from the language contract but could be supplied by an arbitrary provider/extension.
Expected:
H1 LANGUAGE CAPABILITY = NOT SATISFIED
CA-03 — Comparator-copy trap
A comparator feature is imported without first identifying its underlying problem/capability and FormaSL jurisdiction.
Expected:
REQUIREMENT DERIVATION = INVALID
CA-04 — Theory-import trap
A known elegant calculus/mechanism is made mandatory merely because literature supports it.
Expected:
FORMASL REQUIREMENT = NOT ESTABLISHED
CA-05 — No-trigger re-audit
An already-closed regime is subjected to a full capability campaign without a material current-horizon trigger.
Expected:
DEEP RE-AUDIT = REJECT
PROPORTIONAL CHECK ONLY
CA-06 — Evidence-trace reopen
A decision is reopened solely because historical evidence trace is incomplete, with no material counterexample against the current contract.
Expected:
REPAIR TRACEABILITY
DO NOT REOPEN SEMANTICS
CA-07 — Composition false pass
A local hardening solves an isolated feature but fails when composed with material basis, standing, identity, conflict, time, dependence or completion semantics.
Expected:
CAPABILITY HARDENING = FAIL
15. Closure rule
The corrected capability-adequacy method is closed as an acceptance/progression rule.
SEMANTIC CLOSURE != FUNCTIONAL SUFFICIENCY = PRESERVED
PROBLEM-LED EVIDENCE ORDER = REQUIRED
THEORY / COMPARATOR JURISDICTION = CLOSED
DEEP REVIEW REQUIRES MATERIAL TRIGGER = REQUIRED
EVIDENCE-TRACE GAP != SEMANTIC GAP = CLOSED
SEMANTIC / FUNCTIONAL DEPTH / TOPOLOGY GAPS = CLOSED TAXONOMY
QUERY RATIFIED HARDENINGS = PRESERVED
UNIVERSAL REGIME-BY-REGIME CAMPAIGN = RETIRED
UNIVERSAL COMPARATOR FEATURE CHECKLIST = PROHIBITED
PARALLEL CAPABILITY REQUIREMENT UNIVERSE = PROHIBITED
IMPLEMENTATION = NOT AUTHORIZED BY THIS AMENDMENT
The next material capability work shall use the corrected method: begin from the H1 problem and authority, retrieve theory and practical capability evidence proportionally, harden only demonstrated gaps, preserve evidence trace, and stop when the present decision is sufficiently supported.
FormaSL — Whole-Language Roadmap Post-P6 State Amendment
Status: STABLE / CURRENT STATE SYNCHRONIZATION
Authority: PROJECT-ROADMAP / ACCEPTANCE STATE AMENDMENT
Amends: WHOLE-LANGUAGE-ROADMAP.md §19 current-state snapshot only
Does not amend: roadmap phase definitions, acceptance criteria, destructive attacks, semantic contracts, P3L amendment, capability-adequacy method
Parent state owner: ../FORMASL.md
Date: 2026-08-27
Purpose: synchronize the roadmap’s mutable current-state snapshot through P6 reference implementation, canonical FormaSL promotion, P7 whole-language conformance, P8 usability/product closure and terminal P9 whole-language integrity closure under the current acceptance horizon.
1. Scope and precedence
WHOLE-LANGUAGE-ROADMAP.md remains the progression/acceptance authority. Its phase definitions, gates, false-pass attacks and terminal P9 acceptance model remain unchanged.
The original roadmap §19 recorded the project state at roadmap adoption. That snapshot is historical and MUST NOT be read as current state.
For current roadmap position only:
THIS AMENDMENT
> WHOLE-LANGUAGE-ROADMAP.md §19 ADOPTION-TIME STATE SNAPSHOT
P8 human-evidence handling is additionally governed by:
P8-USABILITY-PRODUCT-ACCEPTANCE-HUMAN-EVIDENCE-AMENDMENT.md
Terminal P9 evidence and the whole-language completion decision are recorded by:
P9-FINAL-WHOLE-LANGUAGE-INTEGRITY-AUDIT.md
This state amendment does not supersede semantic authority and does not convert a later engineering result into an earlier semantic decision.
STATE SYNCHRONIZATION
!= SEMANTIC REOPEN
!= ROADMAP REDESIGN
2. Current whole-language progression state
SEMANTIC_METAGRAPH_ARCHITECTURE = CLOSED
SEMANTIC_METAGRAPH_FORMALIZATION = VERIFIED / TERMINAL CURRENT HORIZON
POST_MERGE_MECHANIZATION_INTEGRITY = PASS
P0 WHOLE-LANGUAGE ACCEPTANCE HORIZON = PASS
P1 AUTHORITY / OBLIGATION COVERAGE = PASS
P2A/P2B LANGUAGE CLOSURE = PASS
P3 EXECUTABLE LANGUAGE ARCHITECTURE = PASS
P3L NORMATIVE SURFACE CLOSURE = REVERIFIED / PASS
P4 IMPLEMENTATION READINESS = REVERIFIED / PASS
P5 IMPLEMENTATION / CONFORMANCE = REVERIFIED / CLOSED
P5DX FORMATIVE DX = RE-CLOSED / VERIFIED / PASS
P5H HARDENED PRE-CODE GATE = VERIFIED / PASS
P5AR = VERIFIED / PASS
P6 REFERENCE IMPLEMENTATION = VERIFIED / CLOSED
CANONICAL FORMASL PROMOTION = VERIFIED / CLOSED
P7 WHOLE-LANGUAGE CONFORMANCE = VERIFIED / CLOSED
P8 NON-HUMAN / AGENT SCOPE = COMPLETE / VERIFIED
P8-HU-02 / P8-HU-03 = NOT VERIFIED / NOT EXECUTED — NON-BLOCKING
REAL_HUMAN_EMPIRICAL_GATE = NOT REQUIRED FOR CURRENT HORIZON
P8 = VERIFIED / CLOSED
P9 FINAL WHOLE-LANGUAGE INTEGRITY = VERIFIED / CLOSED
CURRENT_ROADMAP_PHASE = TERMINAL FOR CURRENT ACCEPTANCE HORIZON
SEMANTICALLY_WHOLE = PASS
LINGUISTICALLY_WHOLE = PASS
EXECUTABLY_WHOLE = PASS
USABLY_WHOLE = PASS
FORMASL_LANGUAGE_COMPLETE = YES
The canonical current implementation is the root Rust workspace. The current formalization is the generation-neutral formal/** workspace. P7 closed implementation conformance/whole-language continuity for the contracted horizon. P8 closed after the project owner removed mandatory real-human HET from the terminal P8 evidence set while preserving WLH-16 and all human-usability capability requirements. P9 then re-entered the current authorities, correspondence, conformance, Semantic Continuity and evidence-staleness boundaries against one frozen final candidate and closed the terminal whole-language integrity gate.
Preserve:
FORMASL_LANGUAGE_COMPLETE = YES
!= RELEASE_COMPLETE
!= PRODUCT_COMPLETE
!= DEPLOYMENT_READY
!= MARKET_VALIDATION_COMPLETE
!= FUTURE_HORIZON_COMPLETE
3. P6 / P7 closure consequence
P6 produced and closed the reference implementation campaign. The canonical promotion then moved that implementation onto the current repository surface. P7 subsequently attempted to falsify whole-language conformance, found and remediated the material clause-level source-to-semantics defect F-1 under R2, and closed the roadmap §14.2 conformance gate.
The following implication remained intentionally invalid at P7 closure:
P6 REFERENCE IMPLEMENTATION VERIFIED / CLOSED
P7 WHOLE-LANGUAGE CONFORMANCE VERIFIED / CLOSED
-/-> FINAL WHOLE-LANGUAGE INTEGRITY
-/-> FORMASL_LANGUAGE_COMPLETE
P9 subsequently supplied the separate final-integrity evidence required to set FORMASL_LANGUAGE_COMPLETE = YES; it did not retroactively change what P6 or P7 had established.
The pre-promotion P6 terminal is preserved as historical/evidence state at commit:
p6-reference-implementation-terminal (former tag, now retired; see docs/evidence/RETIRED-GIT-REFS.md)
-> e480cfa5ade3ad25417fa6ac4ab85f3cfac479b7
The current implementation is no longer named or routed as a v2 implementation. Historical V2-* campaign/WP/audit identifiers remain historical provenance.
4. P8 closure consequence
P8 was the roadmap’s summative usability/product acceptance phase for the contracted horizon. The campaign completed the agent/non-human acceptance scope, including public toolchain, user documentation, diagnostics, agent cold-start evidence, product E2E tasks, false-pass audit and bounded repairs triggered by P8 findings.
The former remaining obligation was:
P8-HU-02 / P8-HU-03
= real-human cold-start empirical evidence under PR-H
On 2026-08-27 the project owner explicitly removed that evidence class from the terminal P8 evidence requirement for the current horizon. The binding decision is recorded in:
P8-USABILITY-PRODUCT-ACCEPTANCE-HUMAN-EVIDENCE-AMENDMENT.md
The decision does not fabricate human evidence and does not remove human-usability capability requirements.
Preserve:
P8-HU-02 / P8-HU-03 = NOT VERIFIED / NOT EXECUTED
PR-H = PRESERVED OPTIONAL FUTURE EMPIRICAL PROTOCOL
NOT REQUIRED != VERIFIED
LANGUAGE CAPABILITY != ACCEPTANCE EVIDENCE METHOD
WLH-16 REMAINS REQUIRED
The P8 closure falsification therefore resolved to four NO answers under the revised evidence contract and P8 is VERIFIED / CLOSED.
5. P8 / P9 boundary and terminal consequence
The following was the required boundary at P8 closure:
P7 PASS -/-> FORMASL_LANGUAGE_COMPLETE
P8 PASS -/-> FORMASL_LANGUAGE_COMPLETE
P9 TERMINAL ACCEPTANCE
requires the roadmap's complete terminal gate set.
P9 was therefore executed as a distinct final-integrity phase. It included the P8 human-evidence amendment in change-impact/staleness analysis and independently checked that:
REMOVAL OF MANDATORY HET GATE
= ACCEPTANCE-EVIDENCE CHANGE
-/-> P0/WLH-16 CAPABILITY SHRINK
-/-> SEMANTIC CONTRACT CHANGE
-/-> EXECUTABLE ARCHITECTURE CHANGE
-/-> IMPLEMENTATION / CONFORMANCE CHANGE
P9 closed with all terminal gates and all four whole-language properties passing against frozen final candidate:
f5caea8468abd391f2a6736d8c639b30d1f908a2
Therefore, under the current acceptance horizon:
P9 = VERIFIED / CLOSED
FORMASL_LANGUAGE_COMPLETE = YES
There is no P10 or other next whole-language phase authorized by the current roadmap. Future language evolution, release engineering, productization or a widened acceptance horizon require their own explicit authority rather than being inferred as a continuation of P9.
6. Historical snapshot rule
Earlier roadmap/amendment blocks such as:
CURRENT_STAGE = LANGUAGE CLOSURE RECOVERY
CURRENT_ROADMAP_PHASE = P0 -> P1 TRANSITION
P3L = ACTIVE / NOT PASS
P5+ = NOT AUTHORIZED
P6 = AUTHORIZED / NOT STARTED
P7 = NEXT / NOT STARTED
P8 = NEXT / NOT STARTED
P8 = OPEN / HUMAN GATE
P9 = NEXT / AUTHORIZED / NOT STARTED
FORMASL_LANGUAGE_COMPLETE = NO
remain valid only as adoption-time, decision-time or campaign-time historical state in the documents that recorded them.
They MUST NOT be used to reconstruct current project state.
Current state lookup is:
docs/FORMASL.md
-> this amendment for roadmap-position synchronization
-> docs/design/P8-USABILITY-PRODUCT-ACCEPTANCE.md
-> docs/design/P8-USABILITY-PRODUCT-ACCEPTANCE-HUMAN-EVIDENCE-AMENDMENT.md
-> docs/design/P9-FINAL-WHOLE-LANGUAGE-INTEGRITY-AUDIT.md
-> ACTIVE-WP.md for transient execution state
-> live Git/GitHub for repository revision/branch state
7. Closure consequence
ROADMAP_PHASE_DEFINITIONS_REOPENED = NO
P0..P8 REOPENED = NO
CURRENT_ROADMAP_STATE_SYNCHRONIZED = YES
P7 = VERIFIED / CLOSED
P8_NON_HUMAN_SCOPE = COMPLETE / VERIFIED
P8_HUMAN_GATE = NOT REQUIRED FOR CURRENT HORIZON
P8 = VERIFIED / CLOSED
P9_EXECUTION_STARTED = YES
P9 = VERIFIED / CLOSED
SEMANTICALLY_WHOLE = PASS
LINGUISTICALLY_WHOLE = PASS
EXECUTABLY_WHOLE = PASS
USABLY_WHOLE = PASS
FORMASL_LANGUAGE_COMPLETE = YES
NEXT_WHOLE_LANGUAGE_ROADMAP_PHASE = NONE AUTHORIZED FOR CURRENT HORIZON
The current roadmap is terminal for the contracted whole-language horizon. Any future continuation begins from a new explicit objective/horizon; it does not reopen or extend P9 by default.
FormaSL — P8 Usability / Product Acceptance Human-Evidence Amendment
Status: STABLE / BINDING OWNER DECISION
Authority: P8 ACCEPTANCE-EVIDENCE CONTROL AMENDMENT
Amends: P8-USABILITY-PRODUCT-ACCEPTANCE.md terminal human-evidence route, §2 terminal gate, §5 actor/evidence interpretation, §10 human-evidence owner decision, and any current-state consequence derived solely from mandatory PR-H execution
Does not amend: P0 whole-language capability horizon, WLH-16 human-and-agent usability capability, semantic contracts, concrete language surface, implementation/conformance contracts, P7 conformance evidence, or P9 terminal whole-language integrity criteria
Owner decision date: 2026-08-27
Reason: explicit project-owner decision that real-human cold-start evidence is not required for the current whole-language acceptance horizon.
1. Decision
The project owner closes the prior P8 requirement that real-human cold-start empirical evidence under PR-H must be obtained before P8 may close.
For the current whole-language acceptance horizon:
REAL-HUMAN COLD-START EVIDENCE
= NOT REQUIRED FOR TERMINAL P8 ACCEPTANCE
P8-HU-02 / P8-HU-03
= NOT VERIFIED / NOT EXECUTED
= NON-BLOCKING FOR CURRENT P8 TERMINAL ACCEPTANCE
= PRESERVED AS FUTURE EMPIRICAL / PRODUCT-RESEARCH EVIDENCE
PR-H
= PRESERVED / REPRODUCIBLE EMPIRICAL PROTOCOL
= OPTIONAL FUTURE HUMAN-EVIDENCE ROUTE
!= CURRENT P8 TERMINAL GATE
This decision MUST NOT be represented as if human evidence had been executed.
NOT REQUIRED
!= VERIFIED
!= EXECUTED
!= EMPIRICALLY CONFIRMED
No synthetic participant, LLM, project owner, or other proxy is used to fabricate HET evidence.
2. What changes and what does not
This amendment changes the acceptance-evidence requirement, not the language capability horizon.
The P0 obligation remains:
WLH-16 — Usability for humans and agents
The final candidate must still provide a language/tooling surface that supports practical human and agent authoring, diagnostics, inspection and composition. Removing mandatory HET from P8 does not remove or weaken that capability.
Preserve:
LANGUAGE CAPABILITY
!= ACCEPTANCE EVIDENCE METHOD
HUMAN-USABLE CAPABILITY REQUIRED
!= REAL-HUMAN HET REQUIRED AS TERMINAL P8 EVIDENCE
USABILITY_ACCEPTANCE(P8 CURRENT HORIZON)
!= HUMAN_EMPIRICAL_USABILITY_VERIFIED
No semantic, syntactic, executable, runtime, storage or implementation contract is modified by this decision.
3. Evidence disposition
All P8 non-human/agent evidence already executed and verified remains countable subject to ordinary P9 staleness/change-impact analysis.
The existing HU rows remain an honest record of evidence that was not executed. Their prior blocking meaning is superseded only for terminal P8 acceptance.
P8-HU-02 / P8-HU-03 EVIDENCE STATE
= NOT VERIFIED
P8-HU-02 / P8-HU-03 TERMINAL DISPOSITION
= NON-BLOCKING / OUTSIDE CURRENT REQUIRED TERMINAL EVIDENCE SET
Historical documents and the PR-H protocol MUST remain available as provenance. They are not rewritten to imply that the human gate never existed.
4. Revised P8 terminal gate
The already-verified P8 non-human/product gates remain:
AUTHORING_ACCEPTANCE = PASS
DIAGNOSTIC_ACCEPTANCE = PASS
TOOLCHAIN_ACCEPTANCE = PASS
REQUIRED_LANGUAGE_SUPPORT_SURFACE = PASS
E2E_PRODUCT_ACCEPTANCE = PASS
P8_BLOCKING_FINDING = NONE
Under this amendment, and given the existing P8 record that the human gate was the only remaining material obligation:
REAL_HUMAN_EMPIRICAL_GATE = NOT REQUIRED FOR CURRENT HORIZON
USABILITY_ACCEPTANCE = PASS — CURRENT P8 ACCEPTANCE HORIZON
P8 = VERIFIED / CLOSED
P9 = NEXT / AUTHORIZED / NOT STARTED
FORMASL_LANGUAGE_COMPLETE = NO
The P9 and FORMASL_LANGUAGE_COMPLETE values in this section record the decision-time transition state immediately after this amendment closed P8. They are preserved as provenance and are not the current post-P9 project state; see §8.
5. P8 closure falsification after the decision
The prior P8 closure audit had exactly one remaining required item: HU-02/HU-03. This amendment removes that item from the current terminal evidence set without marking it verified.
Re-evaluated closure questions:
1. Known behavior contrary to active authority? = NO
2. Required requirement/evidence/gate still NOT VERIFIED? = NO
3. Triggered conditional scope unresolved/ungated? = NO
4. Residual risk that would falsify P8 completion if true? = NO
Therefore P8 may close under the revised acceptance-evidence contract.
6. P9 consequence
At the time of this decision, P9 became authorized to start after repository state synchronization.
P9 was required to include this owner decision in its change-impact/staleness ledger and verify the following relation rather than assuming it:
REMOVAL OF MANDATORY HET GATE
= ACCEPTANCE-EVIDENCE CHANGE
-/-> P0 CAPABILITY SHRINK
-/-> SEMANTIC CONTRACT CHANGE
-/-> EXECUTABLE ARCHITECTURE CHANGE
-/-> IMPLEMENTATION / CONFORMANCE CHANGE
That verification was subsequently executed by P9 and passed; current terminal routing is recorded in §8 and P9-FINAL-WHOLE-LANGUAGE-INTEGRITY-AUDIT.md.
7. Precedence and historical preservation
For the exact subject of mandatory real-human P8 terminal evidence:
THIS AMENDMENT
> P8-USABILITY-PRODUCT-ACCEPTANCE.md PRIOR HUMAN-GATE RULES
> WHOLE-LANGUAGE-ROADMAP-POST-P6-STATE-AMENDMENT.md PRIOR HUMAN-GATE SNAPSHOT
> ACTIVE-WP.md PRIOR BLOCKED STATE
docs/FORMASL.md and the mutable current-state surfaces must be synchronized to this decision.
Historical campaign records remain evidence of what was previously required and why execution stopped. They do not override this later explicit owner decision.
8. Post-P9 state synchronization
This section records only the later project-state consequence after the terminal P9 audit. It does not alter the human-evidence decision in §§1–7 and does not retroactively rewrite the transition-time state preserved in §4/§6.
P9 included this amendment in its change-impact/staleness analysis, independently checked that removal of mandatory HET did not shrink P0/WLH-16 or alter semantic/surface/executable/conformance contracts, and closed its terminal gate against the frozen final candidate.
Current post-P9 state:
REAL_HUMAN_EMPIRICAL_GATE = NOT REQUIRED FOR CURRENT HORIZON
P8-HU-02 / P8-HU-03 = NOT VERIFIED / NOT EXECUTED — NON-BLOCKING
PR-H = OPTIONAL FUTURE EMPIRICAL PROTOCOL
P8 = VERIFIED / CLOSED
P9 = VERIFIED / CLOSED
FORMASL_LANGUAGE_COMPLETE = YES
The terminal P9 evidence/decision surface is:
P9-FINAL-WHOLE-LANGUAGE-INTEGRITY-AUDIT.md
Preserve:
P9 VERIFIED / CLOSED
-/-> HU-02 / HU-03 VERIFIED
-/-> PR-H EXECUTED
-/-> HUMAN EMPIRICAL USABILITY VERIFIED
FORMASL_LANGUAGE_COMPLETE = YES
!= RELEASE_COMPLETE
!= PRODUCT_COMPLETE
!= MARKET_VALIDATION_COMPLETE
Post-P9 contract tree — known validation debt (D235 era)
Owner of record: Post-P9 contract tree (docs/contracts/post-p9/, global
freeze gate active).
Status: REGISTERED, NOT FIXED — tree intentionally untouched by PJS.
Evidence: python3 docs/contracts/post-p9/scripts/validate_contracts.py
fails with 23 checks on a clean HEAD worktree; reproduced identically before
and after PJS-00 (non-owned; PJS diff does not touch docs/contracts).
Root cause
Amendment D235 (owner post-freeze amendment: T10 benchmark contract v2,
protocols/benchmark.md) was applied to the frozen tree without
re-synchronizing the tree-owned validation artifacts.
Failures (23) and required repair
MANIFEST _sha256 == synchronized tree digest(6×) — MANIFEST.toml section digests stale. Repair:validate_contracts.py --dump-tree-digestsand refresh the six*_sha256fields.MANIFEST global_freeze = ACTIVEandfreeze decision range == DECISIONS range— MANIFEST saysACTIVE_WITH_POST_FREEZE_AMENDMENTandD001..D234; DECISIONS range isD001..D235. Repair: validator must accept the post-amendment state, or the manifest/decision range must be reconciled by the tree owner.topic T10 section present: ## Contract—topics/T10.md(D235 rewrite) lacks the mandatory## Contractsection.benchmark-calibration.schema.json closed top-level object+positive fixture accepted— schema has no top-leveladditionalProperties=false;fixtures/benchmark-calibration.valid.jsondoes not satisfy the contract-v2 minimal calibration grid (W02..W17 families).stale dynamic final-seal fixture rejects(8×) —fixtures/final-seal-candidate.stale-dynamic-identities.valid.jsonstill carries the pre-D230 era digests (000…/7777/8888placeholders) whileevidence/t26-finalnow holds the current identities; the D233 stale rejection predicates no longer fire. Repair: regenerate the stale candidate against current evidence identities.eliminated-generation labels absent from contract surface—DECISIONS.toml:152,MANIFEST.toml:45/49,SUPERSESSIONS.toml:55,protocols/benchmark.md:1contain standalonev2tokens caught by the T03 scan ((?<![\$\w])[Vv][12]\b). Repair: rename the labels (e.g.contract-2) or amend the scan by tree-owner decision.
Scope note
Repairs 1–6 require editing the frozen docs/contracts/post-p9 tree and/or
its validator; that is a decision of the Post-P9 tree owner, not the PJS
campaign. PJS gate runs validate_contracts.py only to prove the frozen tree
is unchanged (it is).
FormaSL — Governance Evidence-Bound Authorization Bounded Amendment
Status: STABLE / MATERIALIZED — CURRENT (evidence-bound authorization, phase 1)
Materialized: 2026-10-24 from campaign gov-evidence-authorization-v0.1 (branch campaign/gov-evidence-authorization-v0.1; implementation commits 52415b0a7, 75a3f2843)
Parent owners: Governance Capability Contract (N15) §10 and §13; Governance Judgment Semantics (N15)
Ratification: owner dispatch 2026-10-24 — decision menu D-F2.1–D-F2.4 and D-F3.1–D-F3.4 ratified (“segue as decisões recomendadas e implemente”); documentary materialization ordered by the owner follow-up dispatch (“prossiga”)
Scope: temporal point conditions in the policy where kernel and named policy sets with explicit combination contracts for A1/Z1 evidence-bound authorization — phase 1 only
1. Jurisdiction
This amendment closes two demonstrated under-specifications of the parent governance contract for the evidence-bound authorization capability:
TEMPORAL CONDITIONS: the pure-condition catalog lists `temporal predicates` and admits dates/timestamps "when corresponding types are admitted" (parent §10); no admitted type or comparison form was specified.
COMBINATION PHASE: parent §13 lists four mandatory H1 combination classes; no admitted phase-1 subset, no member-resolution law and no verdict-identity law were specified for the evidence-bound route.
It does not reopen: clocks or wall time inside the kernel, duration or interval types, PERMISSION_OVERRIDES or PRIORITY_TIERED classes, inline (unnamed) policy-set syntax, an aggregate decision identity class, ConditionEvaluationFailure semantics, negative default semantics (parent §14), or the deconfliction law of parent §13.
2. Temporal conditions (D-F2)
2.1 Time source
The kernel where contains no clock.
TemporalNow != KernelConditionInput
Every compared instant arrives from the evidence the policy names. World-recency authority remains with the guards (IA-GAP-01 / WP-2b); the where only compares instants that the evidence carries.
2.2 Admitted type
The admitted temporal type is the strict UTC instant literal:
YYYY-MM-DDTHH:MM:SSZ
Lexically validated (calendar month, real day-of-month, hour ≤ 23, minute/second ≤ 59); a well-shaped but invalid spelling rejects as INVALID_TIMESTAMP_SPELLING. Equality is exact canonical spelling — the canonical fixed-width spelling makes textual equality equal instant equality. Durations, intervals and wall-clock dates without a zone are NOT admitted in this phase.
2.3 Comparison form
Phase 1 admits point comparison only. A timestamp literal on the compared side of a kernel comparison projects to epoch seconds by a deterministic, order-preserving function and feeds the SAME three-valued comparison kernel — no second comparison mechanism.
TimestampPointCompare(t1, op, t2) == Compare(epoch(t1), op, epoch(t2))
A malformed timestamp spelling on the compared side is a typed non-kernel-form rejection, never Unknown.
2.4 Recency and completion
When a compared binding projects from a role carrying multiple instants, the decisive integer is the most recent instant (max epoch); non-timestamp values contribute nothing; a role with no instants projects no integer, and comparisons over it stay Unknown. The projection is gated on derivation completeness: gas exhaustion yields Unknown → UNRESOLVED — never Denied, and never an implicit empty-set False behind a negation.
3. Named policy sets (D-F3)
3.1 Surface
policy_set_decl = "policy" "set" NAME "combines" CLASS "{" member ( "," member )* "}" ;
CLASS = "PROHIBITION_OVERRIDES" | "ALL_REQUIRED" ;
A named set is a declaration with its own identity and revision pin (the WP-2b pin law applies unchanged). Inline (using P1, P2 ...) sets and implicit combination inside one policy are NOT admitted: the winner, when there is one, must be a declared contract, never an accident of syntax.
3.2 Phase-1 classes
Of the parent §13 mandatory classes, phase 1 admits:
PROHIBITION_OVERRIDES
ALL_REQUIRED
PERMISSION_OVERRIDES and PRIORITY_TIERED remain listed by parent §13 and are admitted in a later phase.
3.3 Deconfliction and member resolution
The DECLARED CONTRACT ITSELF is the deconfliction basis. Parent §13 law is unchanged: conflicting effective authoritative policies without an authorized deconfliction basis yield UNRESOLVED, not an implicit winner. Members resolve fail-closed at elaboration; a member that is missing or ambiguous among POLICY declarations is a typed rejection (PolicySetMemberMissing), never skipped.
3.4 Combination and verdict identity
Members are evaluated independently against the same evidence atom source (denotational: evaluation order, storage order and source-text order never enter). Combination is deny-biased over the three-valued member verdicts:
any member Denied -> Denied
else any member Unknown -> Unknown (UNRESOLVED)
else -> Granted
For A1 the same law applies over admission verdicts, with Conditional beating Admitted below the Unknown level.
The attributable decision remains PER POLICY: the outcome records each member’s own verdict plus the set context {set, contract, members}. No third (aggregate) decision identity class is introduced.
Phase-1 note: PROHIBITION_OVERRIDES and ALL_REQUIRED coincide operationally over the three-valued verdict model. They remain distinct contracts; the contract name is recorded in every set outcome, so a later phase that gives them divergent biased semantics is a carrier-level reinterpretation, not a silent change.
4. Existing authority disposition
Parent §10 keeps its catalog and its pure-function clause; this amendment instantiates the conditional admission for timestamps in the evidence-bound scope. Parent §13 keeps its class list, its denotational law and its no-implicit-winner law; this amendment admits the phase-1 subset and adds member-resolution and verdict-identity laws. ConditionEvaluationFailure orthogonality and the parent §14 negative-default distinctions are untouched.
5. Implementation locality and evidence
Implementation lives in campaign gov-evidence-authorization-v0.1 (kernel where compare/contains, bridge projection, A1/Z1 route outcomes SetEvaluated { verdict, set, contract, members }), with the F10 witness fixture, permanent gates and mutation-oracle proofs recorded in the campaign ledger research/gov-evidence-authorization-v0.1/CAMPAIGN-STATE.md. This amendment authorizes no global identity subsystem and no second reasoning engine.
6. Reopen trigger
Reopen only on a material counterexample: an already-authoritative temporal or combination behavior the phase-1 model cannot express without a new semantic mechanism, or a phase-2 class admission that the recorded outcome shape cannot carry.
FormaSL — Application Layer Retirement State Amendment
Status: STABLE / CURRENT STATE SYNCHRONIZATION
Authority: APPLICATION-LAYER STATE AMENDMENT (bounded)
Amends: Application Modules Architecture (N26) — its live-tree claims only: the three-layer diagram presenting application-kit/** and application-products/** as shipped trees (§1), the supersession bookkeeping that keeps “historical artifacts … in the tree as evidence” (§4), and the canonical-catalog claims bound to application-kit/** (§3.2 item 5, §7–§8 campaign-gate state)
Does not amend: the Application Module definition, the boundary/disposition vocabulary, the Single-Host Module Law, the Essential-Obligation Ownership Law, the composition and consumption discipline, the governance rule that module-boundary decisions are owner-gate outcomes, K notation, or experiment honesty
Date: 2026-10-27
Purpose: synchronize the application-architecture owner with the owner decision of 2026-10-16 that retired the application layer from the live tree.
1. Retired state
By owner decision of 2026-10-16, the reconstructed application layer —
application-kit/** (module kit: sealed K0 modules, catalog, fixtures,
witnesses) and application-products/** (the reconstructed applications) —
was abandoned and removed from the live tree. The removal was published
at master revision 752e15945 and is recorded in the root state file
ACTIVE-WP.md; the benchmark families that exercised the products are
marked RETIRED (owner decision 2026-10-16) in crates/benchmark/src/pf/
with the same date.
The delivered layer — its sealed modules, catalog, applications, gates and
receipts — is preserved as Git history, resolvable at the pre-removal master
revision 8f4efbc6. No tree, gate, harness or receipt of the layer remains
in the live repository; nothing in that history may be re-read as a current
claim.
The governance contract already binds this disposition.
Autoridade e governança dos contratos
records that the old architecture of application-kit and
application-products was abandoned and must not be restored as a reuse
authority. This amendment synchronizes the architecture owner with that
recorded state; it creates no new architectural decision.
2. Live demonstration surface
The repository’s live demonstration surface is the unarchived demos corpus:
demos/**— restored additively from the untouchedarchive/demos/pedigree (E2b, owner-ratified G2a strategy B, revision6e9199a51), together with the current product-line demos and their frozen denominators (demos/forma-ccaas/DENOMINATOR.md,demos/forma-marketing/DENOMINATOR.md,demos/forma-cdp/DENOMINATOR.md).demos/README.mdowns the inventory and the preservation rules.- The restored trees are historical evidence, not semantic authority, and
are not guaranteed to compile or run on the current engine
(
demos/README.md).
3. Documentation disposition
- The delivered-system package Application Layer v0.1 remains in the book as the historical record of the removed layer: every path, command, gate and receipt it names describes the pre-removal state.
- The user-book page Applications documents the same removed layer under the same disposition.
- The campaign gate ladder of the architecture owner (CONFERENCE-0 … CONFERENCE-5) is the historical record of a concluded campaign; no live gate applies to a removed tree.
- Nothing here reopens a module boundary, re-admits a module or product, or authorizes a replacement kit: those remain owner-gate outcomes under the unamended rules of the architecture owner.
FORMA-FRONTEND-GRAPH-UI-v0.1 — CAMPAIGN STATE (genealogia preservada na integração)
Este documento preserva o estado operacional da campanha Graph UI (WPs 01-07, incluindo o fechamento WP-07 REVIEWED/CLOSED e a re-acreditação pós-auditoria H1/H2) que residia em ACTIVE-WP.md na branch da campanha. Na árvore integrada, ACTIVE-WP.md permanece com o estado operacional VIVO do master (decisão do despacho §8/§9: o WP ativo de outra campanha nunca é sobrescrito por um snapshot histórico). Fonte: branch impl/forma-frontend-readonly-v0.1 @ 721cebad8. REPATRIAÇÃO (pré-landing WP-I1): os registros finais da branch histórica — re-acreditação
0b6366e05e erratad3481f769— foram incorporados na seção “WP-07 RE-ACCREDITATION” logo abaixo; a branch histórica permanece publicada @d3481f769.
WP-07 RE-ACCREDITATION (repatriada da branch histórica)
REVIEW = deleg_b7cb2d66 — independente não-autora, pós-fechamento
WP-07: APPROVE; FIOP 4×NO. Registros originais em
ACTIVE-WP.md na branch histórica (0b6366e05 + d3481f769).
H1 CONFIRMED = colisão de identidade S3: a chave derivava de coordenada
admitida incompleta — ocorrências distintas colapsavam.
REMEDIADO @721cebad8: S3 derivado da coordenada admitida
COMPLETA (SubjectRef integral); oracle S2 em
topology_profile.rs (declared vs literal com mesmo texto
permanecem dois nós distintos).
H2 CONFIRMED = associação permissiva de extremos de incidência por SUFIXO.
REMEDIADO @721cebad8: correspondência EXATA dos extremos;
ambiguidade → falha tipada fail-closed
(ambiguous_higher_order_target_fails_closed).
TESTES = 9 testes novos em scene.test.ts: 7 discriminantes verdadeiros
(falham no código pré-fix, passam no pós-fix — reintrodução
provada) + 2 controles bidirecionais. ERRATA @d3481f769: a
mensagem de 721cebad8 dizia "8 discriminants"; contagem
correta = 7 + 2 (SHA publicado deixado intocado); NB-2
(texto de erro do endpointAt carrega só o token) DEFERIDO
com rationale: a obrigação contratual é a rejeição tipada
fail-closed; enriquecimento de mensagem é cosmético.
GATES PÓS- = graph-ui 16/16 + tsc; sui-client 21/21 + tsc + Node E2E;
REMEDIATION app 2/2 + tsc; Chrome E2E 20/20; semantic-ui-native 52/52;
fmt/clippy clean (executados na branch histórica, 721cebad8).
PROVENIÊNCIA = 721cebad8 (remediação) → 0b6366e05 (registro de re-acreditação
+ higiene de header do ACTIVE-WP) → d3481f769 (errata), todos
na branch histórica publicada @d3481f769. 721cebad8 é
ANCESTRAL do candidato integrado (via 7eef5cf9d) — os reparos
H1/H2 e seus witnesses estão presentes na árvore integrada;
esta seção repatria os DOIS registros documentais que a cópia
de genealogia (feita a partir de 721cebad8) não continha.
WP-07 ↔ WP-I1 = WP-07 fechou e foi re-acreditado no substrato histórico
(Airspace; branch publicada); WP-I1 reancorou o host em s38
sob FORMA-GRAPH-HOST-DECISION-0.1 e re-acreditou o candidato
integrado (deleg_3ac714b1) RE-DERIVANDO as testemunhas na
árvore s38 (topology_profile 11/11 inclui o oracle S2 e o
fail-closed de ambiguidade; graph-ui 16/16 inclui os 7+2
testes de discriminação). Nenhuma reintrodução de defeito na
reancoragem.
ACTIVE-WP — FORMA-FRONTEND-GRAPH-UI-v0.1 / WP-06 (Ratification Materialization & Topology Contract)
WP = WP-06 — FF-01/FF-05 RATIFICATION MATERIALIZATION & TOPOLOGY
CONTRACT (owner ratification 2026-10-17)
CAMPANHA = FORMA-FRONTEND-GRAPH-UI-v0.1 (ratification dispatch owner
2026-10-17 #3)
MÉTODO = FIOP · MODE = NORMATIVE MATERIALIZATION → CONTRACT REVIEW →
(then derive M4 WP)
STATUS = REVIEWED / CLOSED — INDEPENDENT CONTRACT REVIEW (deleg_b75802ed,
baseline 3ab4605df): APPROVE — sufficient to derive M4; ZERO
residual constitutivo (no MATERIAL_CONTRACT_FAILURE). 2 doc
repairs REMEDIATED @ this commit: (1) pending §4.8–4.9
citation expanded; (2) sibling precedence cross-reference
added (RATIFICATION = decision record; NATIVE-PRESENTATION-0.2
@3419d4755 = M4 materialization contract, owner-landed,
verified consistent — zero contradiction).
NEXT = WP-07 M4 ACTIVE — see contract below.
### WP-07 — M4 Native Read-Only Metagraph Presentation (ACTIVE)
```text
WP = WP-07 — M4 NATIVE READ-ONLY METAGRAPH PRESENTATION
CAMPANHA = FORMA-FRONTEND-GRAPH-UI-v0.1 (ratification dispatch #3)
MÉTODO = FIOP · MODE = IMPLEMENTATION (R2 — ratification consumed R3)
AUTHORITY = FORMA-GRAPH-NATIVE-PRESENTATION-0.2 (owner @3419d4755,
mechanics) + FORMA-GRAPH-TOPOLOGY-RATIFICATION-0.2 (decision,
invariants). 0.1 FROZEN.
PHASES = A host: crates/semantic-ui-native/src/topology.rs
(project_topology_profile + TopologyPresentation/TypedIncidence/
HigherOrderRef/TypedCount/StructuralBindingKey; disclosure
scope trusted-side; fail-closed), wire FORMA-FRONTEND-WIRE-0.2
(kind enum 0.2 = 0.1 ∪ {topology}), GET /topology (same real
admission chain). B client: sui-client 0.2 (readTopology,
UnknownKind on 0.1-side, ProfileMismatch on version
divergence). C @forma/graph-ui NEW (topological scene: Relation/
Participant nodes, typed incidences, participation drawn
WITHOUT semantic identity; S3 = admitted coordinates; S4
slots/epoch; picks LOCAL_VISUAL). D app: native surface with
OWN label (no EXPERIMENTAL containment label; zero preview
code). E conformance C1-C12 + E2E Chrome + review + close.
NON-GOALS: GPU/workers/SSR/authoring/effectuation/FF-02..07.
S2 DISCIPLINE = instance refs are admission-minted per atom occurrence
under basis (content+applicability bound — never list
position); native_identity present ⇒ used exactly;
StructuralBindingKey correlates participations, never
SemanticIdentity.
GATES = Rust (semantic-ui-native, app-server, product, fmt, clippy)
+ TS (sui-client 0.2, graph-ui, app; 0.1 regressions green)
+ C1-C12 + browser E2E real + independent review + FIOP 4xNO
+ push/readback.
BASELINE = WP-06 close (post 3419d4755).
STATUS = REVIEWED / CLOSED — INDEPENDENT REVIEW (deleg_1cb27a8e, 19m,
baseline b05ab9da7): REQUEST_CHANGES 2 blocking + 6 NB; ALL
gates re-executed from zero by the reviewer (native 49, app-
server 13/13, product 28, clippy workspace exit 0, sui-client
21/21 + Node E2E, graph-ui 7/7, ui 13/13, app 2/2, Chrome
19/19 re-run) + oracle correspondence across Rust/wire/DOM.
Remediation @ 608b7d596: B1 (A6 exactness — count-universe
list travels INSIDE the admission; exact round-trip check,
injection removed; CountUniverse::parse_debug_name closed),
B2 (B-19 reads via retry helper; committed evidence replaced
by a real 20/20 capture), NB-3 (Ambiguous* tested ×2),
NB-4 (dead null branch), NB-5 (HigherOrderRef.binding on the
wire + client), NB-6 (per-surface disclosure witnessed: native
shows DECLARED participant, 0.1 panel keeps REALIZED TWA1),
NB-7 (POST /topology → 405), NB-8 (lifecycle honesty). Gates
re-run post-fix: topology_profile 10/10, host_conformance
13/13, native lib 23, sui_presentation 8/8, clippy CLEAN,
Chrome 20/20 (fresh m4-browser-e2e.txt). Falsification audit
4×NÃO (review §Falsification + remediation re-verified).
NEXT = M4 delivered. No artificial WP-08: next material step is a
NEW owner dispatch (residual normative questions from the
review are recorded as conscious choices: per-surface DAL2
disclosure NB-6; HigherOrder binding now lossless NB-5).
### WP-07 Phase A correspondence matrix (REV.0.2.2 @ 213672738) — DONE @ 75a628256
```text
REQ (despacho §4) | IMPL ATUAL | COUNTEREXAMPLE | RESULT | REMEDIATION | WITNESS
A1 StructuralBindingKey| era (instance,role, | triplo repetido + | FIXED | binding = | C5 negative
contrato+papel+ordem+ | occurrence_under_ | participantes distintos| | (contract, | (coords never
participante | basis (colapsava) | colapsavam | | role,order, | become nodes)
A2 RoleOrder | enumerate() | ordem de transmissão | OK | doc pinado | C1 orders 0..2
ordem declarada | | ≠ declarada | | (portador | (declared order)
A3 ReferenceClass | Declaration/ | declaração ≠ | FIXED | DomainReferent | A4 test (kind
pinado §3.2 | DomainReferent s/kind | referente de domínio | | + kind contract | contracts)
A4 CountUniverse | 3 variantes | enum fechado tem 7 | FIXED | 7 variantes + | counts opt-in
7 universos | | | | subject opt-in | test (hidden
A5 higher-order 1st | find() por signature | 2 instâncias da mesma | FIXED | AmbiguousHigher| (not added yet —
ambíguo | | declaração = 1º match | | OrderTarget | see below)
A6 cadeia real | admission de fixture | scope/basis incompat. | PENDING| Fase B (teste | —
A7 tautologia || true | C5 antigo | não falsificava | FIXED | negative test | C5 rewritten
Fase A CLOSED. Fases B–E seguem (wire 0.2 + /topology, client 0.2, @forma/graph-ui, C1–C12 integrados, E2E, revisão, close, push). RISK = R2 (ratification already consumed the R3 decision — FF-01/ FF-05 CLOSED by owner; residual normative gaps, if any, are MATERIAL_CONTRACT_FAILURE back to owner) BASELINE = 5ba5541cce81db7e689fb4b8d12f03b2d1b6840d (WP-05 close) BRANCH = impl/forma-frontend-readonly-v0.1 WORKTREE = ~/workspace/FormaSL-frontend-readonly-v0.1
### Genealogia — WP-02 (CLOSED)
```text
WP = WP-02 — M3 Application Shell + Component Foundation (read-only)
CAMPANHA = FORMA-FRONTEND-GRAPH-UI-v0.1 (resume dispatch owner 2026-10-15 #3)
MÉTODO = FIOP · MODE = IMPLEMENTATION (autonomous campaign)
STATUS = REVIEWED / CLOSED — M3 APPLICATION FOUNDATION
INDEPENDENT REVIEW (não-autor, read-only, deleg_1a5fca08):
APPROVE — 0 blocking. Revisor re-executou TODOS os gates do
zero e reproduziu contagens exatamente (fmt/clippy/check CLEAN;
app-server 11/11; sui_presentation 8/8; sui-client 14/14 + npm
ci; ui 13/13; app 2/2 + build; graph-preview 6/6; Node E2E 7/7;
browser app 10/10; browser sui-client ALL PASS; índice sem
node_modules; NB-1/NB-2 do WP-01 permanecem corrigidos).
Remediation aplicada: NB-A (filtro de falha do poll espelha
read: Disposed/StaleResponse nunca no painel), NB-B (trace de
rejeição não-tipada), NB-C (shell possui o próprio root —
dispose completo em produção), NB-D (options via DOM pura, sem
innerHTML), NB-E (asserção B-8 renomeada). NB-F DEFERRED com
rationale (agregado completion = autoridade do host testada no
Rust; re-admissão client-side seria segunda autoridade).
FALSIFICATION AUDIT (revisor): 4xNO com evidência.
EXECUTED+REMEDIATED @ ea6473a81 (d988e9f23 + daf8d0c59 +
ea6473a81). PUSH terminal autorizado. MERGE = NUNCA.
NEXT = WP-03 ACTIVE (promoted 2026-10-15 dispatch #4). SEE contract below.
RISK = R2 ceiling (R3 exige decisão explícita do owner; FF-01..FF-07 +
R3-OBS-03 ABERTOS — nenhum consumível por este WP)
BASELINE = 304e3e17bd9130fd888f710b4cfb25edd0f3eca5 (origin/master, intocado)
BRANCH = impl/forma-frontend-readonly-v0.1 @ 46d2418ab (WP-01 CLOSED, 7/0)
WORKTREE = ~/workspace/FormaSL-frontend-readonly-v0.1 (limpa, reconciliada)
PUSH = AUTORIZADO (não destrutivo, branch apenas). MERGE/FORCE/DELETE =
NUNCA.
PREDECESSOR= WP-01 REVIEWED/CLOSED (46d2418ab; revisor independente APPROVE 0
blocking; NB-1/NB-2 fixados). NÃO reaberto; regressões novas seriam
tratadas como regressão real, não como reabertura.
OBJECTIVE = primeira fundação real de aplicações Forma sobre Solid rc.15,
subordinada ao Semantic UI: shell de aplicação (inicialização,
superfícies, navegação LOCAL visual, descarte), componentes
read-only tipados (tabela/lista, inspector, completion honesto,
estado de admissão/lifecycle, basis, error boundary), estados
honestos DETERMINÍSTICOS (completion 6 variantes ≠ completo;
Current/Invalidated/StalePending/NotAdmitted/TransportFailure),
aplicação testemunha com build de produção e browser real sobre o
host/cadeia REAIS (precursora Forma Ledger — sem exigi-lo inteiro).
WRITE = packages/@forma/ui/** (novo: shell + componentes);
packages/@forma/app/** (novo: aplicação testemunha + browser E2E);
packages/@forma/sui-client/** (mínimo: reuso de client/wire —
sem quebrar contrato 0.1);
ACTIVE-WP.md; .gitignore (se necessário);
crates/formasl-app-server/** SOMENTE se um defeito concreto exigir
(escopo condicional; gates das camadas afetadas).
CONDITIONAL= manifests compartilhados justificados por gate.
FORBIDDEN = crates/semantic-ui-*; Agda; R3 por código; authoring/effectuation;
SSR/hidratação (FF-07 aberto); store-cliente-autoridade; nova
linguagem de views; scheduler/compiler Solid próprio; worktrees
estrangeiras; merge/force-push/delete.
GATES = TS: npm ci reprodutível; typecheck REAL por pacote (strict);
baterias node --test (glob) — componentes, lifecycle, disposal,
erros tipados, adversariais (frame sem admissão; basis obsoleta;
resposta atrasada; completion não-completa; transporte; disclosure;
troca de apresentação; múltiplos observadores; unmount em update;
seleção visual ≠ ato semântico); build de produção; E2E Node
(host real); E2E browser real (perfil temporário isolado);
auditoria deps; zero node_modules versionados.
Rust (escopo não modificado — gates de regressão): fmt --all
--check; cargo test -p formasl-app-server -p
formasl-product-airspace; cargo check --workspace.
ORÁCULOS = native > admitted presentation > structured renderer > visual.
CLOSURE = falsification audit 4xNO + revisão independente não-autor + push
terminal + readback. CONTINUAÇÃO: próximo WP por dependência
material (fundações Graph UI read-only R0–R2).
GENEALOGIA (preservada — fechamentos anteriores)
WP-01 (CLOSED @46d2418ab) — Contract Foundation + First Read-Only Vertical Slice
PACOTE PESQUISA = guilhermeleste/forma-frontend-graph-ui-re @ 42f0c48a (evidência/proposta; NÃO é ratificação normativa automática) PREDECESSOR= PERF-04-MACRO-01: TERMINAL (CAMPAIGN_COMPLETE/RELEASE_CANDIDATE, LANDED pending readback — histórico vive na branch impl/perf-04-critical-bottlenecks-v0.1; não reaberto)
OBJECTIVE = contratos de implementação determinados (M0) e a primeira cadeia executável FormaSL → Semantic UI (admit_read real) → Rust host → wire canônico → @forma/sui-client → SolidJS rc.15 → apresentação reativa; testemunha executável (tabela/lista + inspector); invalidação + readmission demonstradas; ponte gráfica experimental SOMENTE como protótipo local rotulado (S1..S4 separados, sem standing nativo) ou estado graficamente indisponível.
WRITE = docs/contracts/forma-frontend-graph-ui-v0.1/** (3 contratos — deliverable do owner deste despacho); crates/formasl-app-server/** (novo); packages/@forma/sui-client/** (novo); packages/@forma/graph-preview/** (novo, EXPERIMENTAL rotulado); ACTIVE-WP.md (esta branch apenas); Cargo.toml workspace members (escopo condicional: novo member). CONDITIONAL= ajustes mínimos de manifests compartilhados, justificados por gate. FORBIDDEN = modificação em crates/semantic-ui-*; decisão FF-01..FF-07; authoring/effectuation originado no browser; Agda; PERF-04 e worktrees estrangeiras; push/merge/force-push/delete de branches; criação de repositório remoto; publicação externa.
GATES = Gate A (M0: contratos determinados) → Gate B (M1: nenhuma ambiguidade material de autoridade para M2) → Gate C (M2: apresentação semântica real atinge o SolidJS através de admit_read real, vinculada à basis, com invalidação→readmission demonstradas) → Gate D (ponte gráfica: correspondência de identidade sem promoção a semântica, OU exclusão registrada como resultado correto). EVIDENCE = código + testes + runs; sem diários. Conformance: baterias SUI existentes re-executadas nos crates afetados + negativos novos (admissão/wire/cliente) + identidade gráfica T-ID-01/02/04/05, T-DEL-01, T-ARC-01 quando a Fase E executar. ORÁCULOS = 1) resultado nativo FormaSL; 2) apresentação admitida SUI; 3) renderer textual determinístico; 4) observação de UI subordinada. DEPENDENTS = WP-02 (M3+ shell/componentes; M4 grafo read-only pós-FF-01) — fora deste despacho.
## EXECUTADO (estado terminal do WP-01)
```text
M0/Gate A-B = 3 contratos FROZEN em docs/contracts/forma-frontend-graph-ui-v0.1/
(impl frontend, graph-ui EXPERIMENTAL preview, wire-0.1); nenhum
documento pré-existente com essas responsabilidades (busca feita).
M2/Gate C = crates/formasl-app-server (host read-only): cadeia REAL peça-a-peça
pública (bridge check → airspace lens → run gas 2M → discovery →
exact spec → admit_read → projection RG-07) sobre fixture
synthetic-claims do produto; wire-0.1 canônico; oracle
structured-render; transporte std-TCP mínimo (8091);
7/7 conformance (equivalência vs present_tick, TWA1-not-DAL2,
determinismo byte, digest cross-basis, fail-closed rejection).
packages/@forma/sui-client: validação fail-closed (12/12 tests),
AdmittedView lifecycle (Current/Invalidated/StalePendingReAdmission)
sobre @solidjs/signals rc.15, T-DEL-01.
Fase D = witness executável: tabela reativa + inspector (leitura adicional
real) + invalidação→readmission explícita (rev 7→8).
Fase E/Gate D = @forma/graph-preview EXPERIMENTAL rotulado: containment-only
sobre estrutura admitida; S3 derivado de coordenadas admitidas;
epoch + stale-pick typed rejection; T-ID-01/02/04, T-ARC-01.
Nenhuma topologia nativa alegada; FF-01/FF-05 não exercidos.
GATES FINAIS= fmt CLEAN; clippy -D warnings CLEAN; host tests 7/7;
sui_presentation 8/8 (bateria re-executada na árvore);
tsc CLEAN; client tests 12/12; E2E ALL PASS (host real + DOM);
git diff --check CLEAN; NO-STUBS hooks PASS; escopo confinado.
BENCHMARKS = evidence/forma-frontend-graph-ui-v0.1/{bench-host,bench-client}.txt
(dev profile; raw numbers, sem metas inventadas): chain ~37.6ms
p50; wire JCS ~0.12ms; oracle ~0.02ms; client fetch+validate+bind
~1.77ms p50 (n=10, node 24.16).
TERMINAL = VERIFIED (executor) — READ-ONLY VERTICAL SLICE; fechamento formal
condicionado ao review R2 (ver REVIEW/REMEDIATION abaixo).
PUSH/MERGE = push da branch EXECUTADO 15-10 com autorização explícita do owner
(readback: remote HEAD = a43e6c571; master remoto intocado em
304e3e17b). MERGE NUNCA executado.
NOT_VERIFIED→RESOLVED (review G): browser-real E2E EXECUTADO (Chrome do
sistema, perfil temporário isolado em /tmp, host real, same-origin
harness): 8/8 PASS (bootstrap, TWA1-not-DAL2 no DOM, estados
honestos, preview rotulado, pick real→inspector, invalidação rev
7→8, sem vazamento, disposal). Witness Node E2E (linkedom) 7/7.
R3 = FF-01..FF-07 + R3-OBS-03: nenhum consumido; nenhum resolvido.
REVIEW / REMEDIATION (continuation dispatch 2026-10-15 #2)
Falsification findings CONFIRMED and FIXED (before independent review):
A = admission_ref provenance: client validates FORM only; end-to-end
provenance is a property of the trusted single-session transport (loopback
dev). Documented as a REAL LIMIT in wire-0.1 §1.1; no crypto invented;
FNV digest remains a change probe, never authenticity.
B = completion aggregate: first-node + Complete-fallback could report success
without evidence. NOW: whole-forest walk, worst-state precedence
(Failed > Unsupported > ResourceExhausted > Unresolved > Partial >
CompleteUnderProfile); EMPTY forest => Unresolved. 4 discriminant tests.
C = lifecycle races: arrival gate now discards superseded in-flight frames as
StaleResponse (T-DEL-01) instead of surfacing BasisMismatch as a visible
failure; Disposed guard added. Deterministic interleaving test (held
response) + disposal test.
D = epoch law moved INTO the scene: applyProjection() no longer accepts an
external epoch — every full rebuild advances the scene-owned epoch, so a
pre-rebuild pick can never share the post-rebuild epoch. 6 discriminating
S3/S4 tests (incl. reorder-betrayal counterexample).
E = former "two sessions" test retitled: parser-level projection only, NOT a
host session-isolation proof (0.1 host is single-session, no auth).
F = 1511 versioned node_modules files REMOVED from the git index (they
violated the repo's own UI-supply-chain rule); node_modules gitignored;
package.json + package-lock.json versioned; `npm ci` reproducibility
proven (tests 14/14 after clean install; lockfile stable).
G = real-browser E2E: Chrome (system binary) + isolated throwaway profile in
/tmp + same-origin witness harness served by the host (/witness routes,
dev-only static assets) — 8/8 PASS. The transient stale-state observation
in-browser is best-effort sampling (window in ms); the state machine is
covered deterministically by TS T-DEL-01 and Node E2E-4.
Post-remediation gates (executor): host 11/11; sui_presentation 8/8; client
14/14; s3 6/6; tsc CLEAN; fmt/clippy CLEAN; Node E2E 7/7; browser E2E 8/8.
INDEPENDENT REVIEW = DONE (adversarial, non-author, read-only re-execution of
every gate from scratch). VERDICT: APPROVE — 0 blocking findings. All
reported gate counts reproduced exactly (host 11/11, sui_presentation 8/8,
client 14/14, s3 6/6, fmt/clippy clean, Node E2E 7/7, browser E2E 8/8;
git index zero node_modules). Non-blocking findings FIXED and re-gated:
NB-1 npm test script Node>=24-fragile (directory positional) → glob
`test/*.test.ts` (client 14/14 via npm test);
NB-2 graph-preview typecheck was a no-op (typecheck key outside scripts,
no tsconfig, no @types/node) → real tsconfig + scripts (strict tsc CLEAN;
npm test 6/6).
CLOSE formal = REVIEWED / CLOSED — READ-ONLY VERTICAL SLICE.
NEXT — WP-03 (Graph UI Read-Only Foundations) ACTIVE — contrato operacional
WP = WP-05 — Cross-Basis Identity and Interaction Continuity Remediation
CAMPANHA = FORMA-FRONTEND-GRAPH-UI-v0.1 (resume dispatch owner 2026-10-17 #2)
MÉTODO = FIOP · MODE = VERIFICATION → IMPLEMENTATION (conditional; both
hypotheses CONFIRMED)
STATUS = REVIEWED / CLOSED — CROSS-BASIS IDENTITY AND INTERACTION
CONTINUITY REMEDIATION (2026-10-17)
### NEXT — MATERIAL DEPENDENCY (após WP-05)
O ciclo R0–R2 do preview de containment está completo: cadeia vertical
(WP-01), shell (WP-02), cena (WP-03), interações/render/perf (WP-04),
identidade de ocorrência e continuidade de interação (WP-05). Refinamento
adicional do preview é prolongamento artificial — NÃO há WP-06 R0–R2
derivável sem nova autoridade. O próximo passo material exige decisão R3
do owner — pacote mínimo:
FF-01 (pergunta): como a topologia do metagrafo tipado por incidência é
REPRESENTADA E ADMITIDA? Hoje a view admitida carrega apenas containment
(children). Topologia nativa exige relations/incidences como cidadãos de
primeira classe. Alternativas: (A) estender ViewSpec/payload (wire 0.2 —
afeta host, client, graph); (B) nova view kind topológica separada; (C)
derivar topologia client-side do containment — PROIBIDA (segunda
autoridade). Impactos: wire-0.1 (kind fechado), Semantic UI view spec,
s3/s4 identity (S3 precisa absorver incidências?), graph renderer.
FF-05 (pergunta): disclosure topológico read-only — existência de
relações, incidências, graus, vizinhanças: o que pode ser exposto e sob
quais gates de admissão?
Menor decisão suficiente para iniciar M4: escolher (A)×(B) + shape
mínimo do disclosure (grau/vizinhança).
RISK = R2. WRITE = crates/formasl-app-server/** (chain.rs occurrence
id), crates/semantic-ui-airspace/src/present.rs (oracle match —
necessary dependency), packages/@forma/graph-preview/src/index.ts
(handler-less preserve), packages/@forma/app/src/main.ts
(handlers object), tests, ACTIVE-WP.md, evidence/**.
FORBIDDEN = contracts FROZEN (unchanged), semantic-ui-core/
normative ViewAdmissionId (unchanged), Agda, R3.
CONFIRMED = INV-A: host minted a CONSTANT admission_ref ("adm-view-airspace")
across ticks — empirically captured (tick 7 and tick 8 frames
with identical refs, distinct digests) — contradicting
ViewAdmissionId = "identifier of ONE admission occurrence"
(semantic-ui-core/admission.rs:8) and impl-0.1 §2 (tick change
⇒ new admission). Cascade: identical S3 across bases; B-14 was
observing identity REUSE, not a distinct new admission.
INV-B: handler-less re-render replaced the live handler map with
{} — after Escape every subsequent click was dead (reproducer:
onSelect not fired).
REPAIR = chain.rs + present.rs: admission_id = adm-{VIEW_INSTANCE}-
{tick} (occurrence per tick; oracle-matched); renderer:
handler-less re-render PRESERVES live handlers (empty object
never replaces a working set); app passes the same handlers
object on every render; B-14 rewritten to the CONTRACT behavior
(cross-basis ⇒ new admission_ref ⇒ rebuild ⇒ selection
invalidated deterministically, never remapped).
GATES = Rust: formasl-app-server 11/11, formasl-product-airspace 28/28
(incl. sui_presentation 8/8 — pinnado sobre semantic-ui-airspace,
que não tem testes próprios; NB-1 do review), fmt CLEAN, clippy
CLEAN; TS: graph-preview 47/47 + tsc strict CLEAN, sui-client
14/14 + Node E2E ALL PASS, ui 13/13, app 2/2 + tsc + build;
E2E Chrome app 15/15 (B-14 refChanged=true, refs -8 → -10,
selectedGone=true); git diff --check CLEAN; node_modules 0.
REVIEW = deleg_9bd35af5 (não-autor, read-only, baseline 686e13db3):
APPROVE — 0 blocking; re-executou TODOS os gates + probe
empírico próprio (tick 7/8 refs distintos) + browser 15/15.
NB-1 (contagens doc) REMEDIADO nesta seção; NB-2 (handlers só
substituíveis, nunca removíveis — dispose cobre teardown) e
NB-3 (basis_digest codifica o tick em dobro via revision E
admission_id — inofensivo, digest é change probe) REGISTRADOS
como escolhas semânticas conscientes. Falsification audit
4×NÃO.
CLOSURE = falsification audit 4xNO + revisão independente não-autor +
remediation + push terminal + readback.
Genealogia — WP-04 (CLOSED)
MÉTODO(04) = FIOP · MODE = IMPLEMENTATION (autonomous campaign)
STATUS(04) = REVIEWED / CLOSED — GRAPH INTERACTION, RENDERING & PERFORMANCE
INDEPENDENT REVIEW (não-autor, read-only, deleg_138d871f,
baseline c1f7d8c86): APPROVE — 0 blocking; 6 non-blocking.
Revisor re-executou TODOS os gates (graph-preview 42/42 + tsc;
sui-client 14/14; ui 13/13; app 2/2 + build; fmt/clippy CLEAN;
browser E2E 15/15 — evidência byte-idêntica; contratos FROZEN
diff vazio; escopo confinado). H-04-A/B CONFIRMADAS E
CORRIGIDAS (probes independentes do revisor). Remediation
b1defddb2: NB-1 highlight único imediato; NB-2 handlers vivos
por host (WeakMap); NB-3 limit-note exercitada pelo caminho
real (nota única, troca, recuperação; catch limpa o render
inteiro — nota carrega o label obrigatório); NB-4 foco
devolvido ao svg na remoção do nó focado; NB-5 audit de
exports do graph-preview; NB-6 cosmético registrado.
FALSIFICATION AUDIT (revisor): 4xNO. DRIFT master 83ff08d7f
(83 commits, zero interseção) registrado como observação.
MERGE = NUNCA.
NEXT = WP-05 derivado por dependência material — interações/perf
restantes R0-R2 ou pacote de decisão R3 (FF-01/FF-05) quando
a topologia nativa se tornar o próximo passo material.
Genealogia — WP-03 (CLOSED)
STATUS(03) = REVIEWED / CLOSED — GRAPH UI READ-ONLY FOUNDATIONS
INDEPENDENT REVIEW (não-autor, read-only, deleg_c97c4a30,
baseline 9e8e72226): APPROVE — 0 blocking; 5 non-blocking
(NB-1 material: diffProjections nunca emitia deltas — cláusula
dimensionalmente errada caía em rebuild sempre; doc falsa e
teste não-discriminante). Remediation afe65ae17 (NB-1: regra
conservadora CORRETA — remoções/updates order-preserving e
appends estritos com edge-set exato; reorder/middle-insert/
cross-admission ⇒ rebuild; doc corrigida; testes discriminam a
SEQUÊNCIA de ops. NB-2: catch do grafo discrimina SceneDisposed
e loga o resto. NB-3: disposeGraph roda o disposer do último
render. NB-4: código morto removido. NB-5: teste de época sob
projeção inválida). Re-gates: graph-preview 35/35 + tsc strict
CLEAN; sui-client Node E2E ALL PASS; app 2/2 + build; browser
E2E app 12/12 (evidence refresh). FALSIFICATION AUDIT do
revisor: 4xNO. Contratos FROZEN intactos (diff vazio). HIPÓTESE
A (cena possuidora de arestas) e B (parentagem de ocorrências
duplicadas, estendida pelo revisor a raiz+filho+neto duplicados:
6/6 ids distintos, parentagem 100%) FALSIFICADAS E CORRIGIDAS.
MERGE = NUNCA.
NEXT = WP-04 derivado por dependência material — ver §NEXT abaixo.
RISK = R2. WRITE = packages/@forma/graph-preview/** + ACTIVE-WP.md.
CONDITIONAL (com evidência): @forma/app (superfície graph
LOCAL_VISUAL), evidence/**, manifests pertinentes. FORBIDDEN =
crates/semantic-*, Agda, contratos FROZEN, authoring/effectuation,
GPU/workers, topologia nativa, FF-01..FF-07 + R3-OBS-03.
OBJECTIVE = núcleo de cena correto: SceneDelta tipado ATÔMICO (transição
privada antes de publicar; inválido → estado inalterado, erro
tipado), cena possuidora de nós E arestas (fix hipótese A),
projeção com ocorrências corretas sob blockId duplicado (fix
hipótese B), seleção local tipada por S3 (nunca remapeia;
remoção → invalidação determinística; pick nunca é ato
semântico), lifecycle create/project/update/invalidate/dispose
(dispose idempotente; pós-dispose falha tipada), layout
containment determinístico puro com limites explícitos,
renderer exercitando delta de fato (DOM incremental por s3Id,
rebuild com disciplina de época), bateria adversarial
discriminante (identidade/consistência/concorrência/renderer).
GATES = npm ci reprodutível; tsc strict CLEAN; node --test (glob):
scene+layout+delta baterias; E2E Node 7/7; E2E Chrome real dos
fluxos afetados (app 10/10); audit de exports (T-ARC-01);
Rust: fmt + check workspace + clippy (regressão — Rust não
muda); git diff --check; zero node_modules.
CLOSURE = falsification audit 4xNO + revisão independente não-autor +
remediation + push terminal + readback.
NEXT — WP-02 (M3) DERIVED (handoff para execução autônoma) — CLOSED, genealogia
WP = WP-02 — M3 Application Shell + Component Foundation (read-only)
AUTHORITY = continuation dispatch 2026-10-15 #2 (campaign authorization, R2);
arquitetura: pacote de pesquisa docs 07/09/10/20 (evidência, não
norma); contratos FROZEN wire-0.1 + impl-frontend-0.1; Semantic
UI v0.4 autoridades intocadas.
BASE = impl/forma-frontend-readonly-v0.1 (estado atual reconciliado).
OBJECTIVE = application shell reativo sobre @forma/sui-client + Solid rc.15:
inicialização de app Forma; superfícies/layout tipados; componentes
read-only (tabela/lista, inspector, estados de erro/obsoleto,
completion honesta, contexto de basis/admission); navegação LOCAL;
seleção visual local isolada (FF-02 NÃO ratificada — nada de lei
nova); app testemunha com build de produção (esbuild) sobre fluxo
nativo real (host existente). Sem authoring/effectuation; sem
nova fonte de autoridade; sem store-cliente-autoridade.
GATES = componentes com baterias (node --test, glob); typecheck real por
pacote; E2E Node (host real) + browser real (harness same-origin
existente); pins rc.15; npm ci; NO-STUBS; fmt/clippy; oráculos
independentes (native > admitted > structured > visual).
R3 = FF-01..FF-07 + R3-OBS-03 permanecem ABERTOS: qualquer necessidade
material deles interrompe com pacote de decisão compacto.
NOTES = lições runtime rc.15 (createEffect two-phase; --conditions=browser;
strip-types sem parameter properties; @solidjs/html quebra em
linkedom) já registradas; reusar harness browser.e2e.mjs.
Arquitetura lógica e metagrafo
Autoridades: a arquitetura e os fundamentos de definição da linguagem estão carregados verbatim em Autoridades — este capítulo é pedagógico e não os substitui. A arquitetura lógica do FormaSL organiza entidades, relações e outros elementos semânticos em um metagrafo de incidência de papéis tipados (typed role-incidence metagraph). Nessa estrutura, relações possuem unidade e identidade próprias, seus participantes ocupam papéis definidos por contratos e os elementos representados podem participar de relações de ordem superior.
O metagrafo fornece a organização lógica utilizada pela linguagem para declarar, referenciar, consultar e compor estruturas semânticas. Sua forma de armazenamento é determinada pela realização: tabelas, índices, estruturas chave-valor e outros mecanismos podem representar os mesmos elementos, desde que conservem as propriedades exigidas pelo contrato.
Relações como unidades semânticas
Uma relação n-ária é representada como uma instância semântica de relação, com participantes associados a papéis. A unidade da relação permanece identificável mesmo quando a realização a distribui por várias estruturas físicas.
Considere uma remessa de medicamentos organizada entre fabricante, transportadora e destinatário. O domínio pode declarar uma relação de remessa que vincula o lote transportado, a organização remetente, o operador logístico e a organização destinatária. Cada participante ocupa um papel próprio nessa relação. A identidade da remessa permite que aplicações diferentes façam referência à mesma instância sem reconstruí-la a partir de pares isolados de informações.
O contrato da relação determina quais participantes são admitidos em cada papel e quais propriedades caracterizam sua participação. Também define, quando necessário, a quantidade de participantes, a possibilidade de repetição, a multiplicidade, a ordenação e a utilização de posições ou chaves semânticas.
Uma remessa pode, por exemplo, envolver vários destinatários. O contrato estabelece se eles constituem participações distintas, se a ordem de atendimento importa e quais qualificações pertencem à relação inteira ou a cada participação. Essas decisões seguem o significado do domínio, de modo que relações diferentes podem adotar regimes diferentes de multiplicidade e ordenação.
Papéis e participações
A ligação de um participante a um papel possui um ponto estrutural de participação, utilizado pela representação lógica para organizar o vínculo. Esse ponto pode receber chaves e registros internos, conforme o mecanismo empregado.
A identidade semântica de uma participação é uma questão distinta. Em uma relação que apenas exige identificar o remetente e o destinatário, os vínculos estruturais podem ser suficientes. Em outra, pode ser necessário acompanhar uma participação específica ao longo de revisões, transformações ou operações de referência. Nesse caso, o contrato estabelece a participação como referente semântico e define como sua identidade permanece reconhecível.
A quantidade de declarações que contribuem para uma relação e a quantidade de registros utilizados para representá-la também são distintas de sua multiplicidade semântica. Duas declarações podem acrescentar informações sobre uma mesma participação, ou registrar participações diferentes, conforme o contrato aplicável.
Essa separação permite correlacionar informações provenientes de módulos diferentes sem confundir contribuição documental, vínculo estrutural e participação no domínio. Quando uma correlação reúne informações sobre uma participação, a proveniência de cada contribuição continua identificável nas condições em que for relevante.
Estruturas de ordem superior
O metagrafo admite referências tipadas a relações e outros elementos semânticos. Assim, uma relação pode participar de outra relação, e estruturas compostas podem ser tratadas como objetos de consulta, avaliação e transformação.
Uma decisão de retenção de um lote, por exemplo, pode referir-se à relação de remessa, às observações de temperatura e aos critérios utilizados na avaliação. A decisão, por sua vez, pode ser referenciada por uma revisão posterior. Cada referência conserva o tipo semântico e a identidade do elemento ao qual se dirige.
Esse mecanismo permite representar relações entre informações sem reduzi-las a textos ou identificadores genéricos. Uma referência à Claim emitida pela transportadora é diferente de uma referência ao conteúdo da afirmação; uma referência à decisão de retenção é diferente de uma referência à ação executada em consequência dela.
Estruturas recursivas e cíclicas também podem fazer parte do metagrafo quando admitidas pelos contratos envolvidos. Sua interpretação depende das relações e dos papéis declarados. Os contratos de cada domínio determinam ainda quais posições são assimétricas: papéis como origem, destino, responsável ou beneficiário podem introduzir direção semântica nas relações em que aparecem.
Identidade e resolução de referências
A linguagem distingue designadores de origem, referências semânticas resolvidas e referentes. Um nome, caminho ou identificador é interpretado sob uma base de resolução. Quando essa base determina um referente, a linguagem produz uma referência semântica tipada; quando a determinação ainda depende de informação adicional, a obrigação de resolução permanece explícita.
Por isso, módulos diferentes podem utilizar o mesmo nome para elementos distintos. Também podem utilizar nomes diferentes para o mesmo referente, desde que a correspondência esteja estabelecida pela base de resolução aplicável. Depois de resolvida, a referência conserva a identidade do elemento interpretado, mesmo que nomes, caminhos ou registros físicos sejam reorganizados.
A base de resolução possui função específica na linguagem. Contextos, frames, jurisdições e escopos ontológicos podem participar da interpretação do domínio, mas exercem responsabilidades diferentes da resolução de nomes e referências.
Na composição entre módulos, uma correspondência de mesmo referente (same-target correspondence) reconhece referências que já designam o mesmo elemento semântico. Ela permite reunir contribuições relativas a esse elemento. A reconciliação de identidades anteriormente distintas, por sua vez, é uma operação semântica própria, com contrato explícito.
Essa distinção também vale quando um agente afirma que duas entidades do domínio são a mesma. A afirmação pode ser representada, avaliada e utilizada nas operações apropriadas. A identidade das referências resolvidas pela linguagem continua determinada por seu contrato de resolução.
Conteúdo e estatuto semântico
A presença de uma estrutura no metagrafo indica que ela participa do domínio semântico representado. Seu estatuto semântico é determinado pela categoria e pelas qualificações com que essa estrutura aparece.
Uma relação pode integrar o conteúdo de uma Claim, constituir o objeto de uma observação, aparecer como premissa hipotética ou compor um resultado derivado. Essas utilizações conservam seus significados próprios. A estrutura relacional fornece uma forma de representar e relacionar o conteúdo; Claims, avaliações, observações e outros elementos expressam as posições assumidas perante ele.
O mesmo cuidado vale para as categorias ontológicas. Uma entidade pode ser classificada sob determinado escopo ontológico, enquanto tipos e contratos da linguagem determinam a formação e a compatibilidade das construções. Relações de uma ontologia, contratos de relação e regras de inferência podem utilizar estruturas associadas, cada qual com sua função semântica.
Essa organização permite utilizar estruturas relacionais compartilhadas por agentes que adotam classificações ou interpretações diferentes. O contrato de cada operação determina como as posições e os escopos pertinentes entram no processamento.
Ontologias e interpretação do metagrafo
O metagrafo fornece a estrutura lógica de entidades, relações, papéis e referências. Ontologias e teorias semânticas organizam os conceitos e compromissos de interpretação sob os quais essas estruturas são utilizadas. Uma ontologia é um artefato intensional referenciável, com conteúdo interpretado segundo seu contrato e sua base de formalismo.
A mesma instância de remessa pode participar de uma ontologia logística e de uma ontologia contratual. A primeira organiza conceitos ligados ao transporte; a segunda relaciona a remessa às condições de recebimento e cumprimento de obrigações. As referências à remessa permanecem estáveis enquanto as categorias e os compromissos de cada ontologia conservam seu escopo.
Contratos de tipos e relações determinam as condições de formação e participação da linguagem. Categorias ontológicas e classificações situadas expressam interpretações de domínio. O tratamento completo dessas relações, dos axiomas e da composição entre teorias está em Ontologias e teorias semânticas.
Composição de módulos e fragmentos
Módulos FormaSL podem contribuir com estruturas que serão relacionadas em uma composição. O processo utiliza referências resolvidas, contratos de relação e regras de correlação para formar um resultado com significado determinado.
Considere dois módulos que tratam da mesma remessa. O primeiro declara a relação com o lote e a organização remetente; o segundo acrescenta informações sobre a transportadora e o destinatário. Quando ambos designam a mesma instância semântica e seus contratos permitem a composição, as contribuições podem ser reunidas preservando os papéis envolvidos.
O tratamento de contribuições sobrepostas depende do contrato. Duas informações sobre o mesmo papel podem corresponder à mesma participação, a participações distintas ou a uma correlação ainda não resolvida. O resultado conserva essa condição até que exista base suficiente para determiná-la. A igualdade estrutural, a ordem de leitura dos arquivos e a quantidade de registros físicos não substituem as regras de correlação.
Quando as contribuições pertencem a contratos diferentes, uma base de correlação específica da operação estabelece quais papéis ou participações podem ser relacionados, sob qual escopo e com quais obrigações de preservação. Essa base orienta a composição e conserva a identidade dos contratos de origem.
A composição preserva os elementos, as qualificações relevantes e as dependências de interpretação que continuam necessárias. A aceitação de uma contribuição como entrada também é governada pelo contrato da operação consumidora. Assim, informações compartilhadas podem ser utilizadas em novas operações com escopo, critérios de admissibilidade e autoridade determinados para cada uso.
Quando diferentes ordens de composição satisfazem o mesmo contrato de completude e utilizam as mesmas bases de resolução, correlação e julgamento, os resultados mantêm os observáveis semânticos exigidos por esse contrato. A organização incidental da carga dos módulos não passa a determinar identidade, autoridade ou precedência semântica.
Visões, projeções e dependências de interpretação
Consultas e projeções apresentam recortes do metagrafo. Uma visão pode selecionar relações de determinado tipo, participantes de um papel ou estruturas aplicáveis a certo contexto. Ela expressa o resultado daquele recorte e conserva as qualificações necessárias para interpretá-lo.
Uma consulta às remessas destinadas a um centro de distribuição, por exemplo, pode apresentar lote, destinatário e previsão de chegada. Outras participações da relação permanecem disponíveis segundo o contrato e as condições de acesso. O recorte pode ser utilizado por uma aplicação operacional sem converter a estrutura selecionada em uma nova relação de domínio.
Além da identidade do referente, algumas operações dependem do estado de uma base de interpretação: o contrato de relação utilizado, a versão de uma política, o escopo considerado ou a base normativa de um julgamento. Quando esses elementos afetam o resultado, a dependência conserva tanto a identidade quanto o papel semântico e o estado relevante da base utilizada.
Isso permite que uma operação posterior reconstrua o significado da informação recebida, inclusive quando a base corrente já evoluiu. A continuidade da identidade de um referente e a continuidade de sua interpretação são responsabilidades relacionadas, mas distintas.
Relação com a linguagem e a realização
A arquitetura lógica do metagrafo pertence ao plano do contrato semântico. É nesse plano que são definidos a identidade das relações, os papéis, os critérios de participação, as referências e as obrigações de composição.
Os arquivos .fsl constituem a fonte semântica autoritativa. A organização em módulos e arquivos estrutura a autoria e a resolução de designadores. A topologia desses arquivos pode diferir da topologia das estruturas semânticas declaradas.
Os arquivos .fsp especificam vínculos de realização para capacidades e recursos concretos. O static weaving resolve esses vínculos, produzindo uma associação executável com o contrato semântico preservado. O runtime avalia as operações definidas nesse contrato sobre os dados e os recursos disponíveis.
Na representação física, uma instância de relação pode ocupar diversas tabelas, registros ou índices. Da mesma maneira, diferentes relações podem compartilhar estruturas de armazenamento. A realização mantém recuperáveis a identidade das instâncias, a participação tipada, as qualificações relevantes e as relações de referência exigidas pelo modelo lógico.
O metagrafo funciona, assim, como a estrutura lógica comum sobre a qual a linguagem expressa relações, realiza consultas e compõe informações semânticas. A escolha dos mecanismos de execução e armazenamento pertence às camadas responsáveis por realizar essas operações.
Ontologias e teorias semânticas
O FormaSL utiliza ontologias para organizar os conceitos e os compromissos de interpretação de um domínio. Uma ontologia estabelece uma base semântica identificável sob a qual categorias, relações e enunciados podem ser declarados, relacionados e utilizados por aplicações e operações computacionais.
As ontologias convivem com outras estruturas da linguagem. O modelo de mundo estabelece as categorias semânticas fundamentais; o metagrafo fornece a organização lógica de entidades, relações, papéis e referências; as ontologias e teorias definem compromissos conceituais sob bases de interpretação próprias. As operações do FormaSL utilizam esses elementos conforme seus contratos.
Essa organização permite que diferentes aplicações compartilhem estruturas e referentes sem concentrar suas interpretações em uma ontologia única.
Ontologia como artefato semântico
Uma ontologia é um artefato semântico intensional, identificado e referenciável, interpretado sob um contrato de ontologia ou teoria. O caráter intensional diz respeito aos conceitos e compromissos que organizam um domínio: o que suas categorias expressam, quais relações são reconhecidas e como determinados enunciados devem ser interpretados.
No FormaSL, ontologias pertencem à família de artefatos semelhantes a teorias. Uma teoria semântica organiza declarações, sentenças, premissas, regras, restrições e outros conteúdos sob uma base de formalismo identificada. A ontologia é uma forma desse artefato voltada à conceitualização de um domínio, com o significado de seus conteúdos determinado pelo contrato correspondente.
O artefato possui identidade e pode ser referenciado por outras declarações. Seus conteúdos são interpretados segundo a revisão e a base aplicáveis. A composição de programas pode utilizar essa referência sem confundir a ontologia com o módulo que a disponibiliza ou com o pacote que a distribui.
Uma ontologia logística, por exemplo, pode organizar os conceitos de remessa, carga, custódia, entrega e recebimento. Sua interpretação estabelece as distinções pertinentes ao domínio logístico. Aplicações diferentes podem utilizar esses conceitos para consultar movimentos, avaliar condições de transporte ou relacionar acontecimentos a obrigações contratuais.
Conceitos e esquemas de classificação
Os conceitos identificam categorias e significados utilizados na organização de um domínio. Um esquema de conceitos reúne classificações e relações entre conceitos sob uma referência comum, permitindo que diferentes esquemas coexistam.
A biblioteca std::world::classification oferece uma base reutilizável para essa modelagem. Ela define Concept e ConceptScheme, além das relações ConceptInScheme, ClassifiedAs, BroaderConcept e RelatedConcept.
ClassifiedAs relaciona um sujeito, um conceito e o esquema ao qual a classificação pertence. BroaderConcept representa uma relação entre conceitos mais amplos e mais específicos dentro de um esquema; RelatedConcept associa conceitos relacionados no mesmo esquema. O módulo também contém regras que derivam a participação de conceitos em seus esquemas a partir dessas relações e tornam RelatedConcept simétrica.
Considere um lote de medicamentos. Em um esquema regulatório, ele pode ser classificado como produto farmacêutico. Em um esquema logístico, pode receber a classificação de carga termossensível. As duas classificações referem-se ao mesmo lote e atendem a finalidades diferentes. Uma operação de conformidade regulatória e uma consulta de planejamento de transporte podem utilizar essas classificações sob seus respectivos esquemas.
Classificação e ontologia possuem funções relacionadas. O esquema organiza conceitos e associações classificatórias; a ontologia reúne compromissos mais amplos sobre o domínio, podendo incluir sentenças, relações e axiomas interpretados sob um formalismo. O vocabulário de uma ontologia pode ser expresso por declarações e referências admitidas em sua base.
Categorias ontológicas e contratos de tipos
O FormaSL distingue a categoria atribuída a algo no domínio dos contratos estáticos que governam as construções da linguagem.
Uma categoria ontológica expressa uma classificação ou compromisso conceitual dentro de uma ontologia. Uma classificação situada relaciona um referente a uma categoria sob determinadas condições e pode integrar o conteúdo de uma Claim. Já um contrato de tipo semântico estabelece as garantias utilizadas pela linguagem para formação, compatibilidade e substituição de construções.
A mesma separação aparece nas relações. O contrato de uma relação define papéis tipados, participantes admissíveis e regras de participação. Uma categoria ontológica de relação ou de papel expressa uma interpretação de domínio. Uma relação de transporte pode possuir papéis de remetente e destinatário definidos pelo contrato da linguagem, enquanto uma ontologia comercial interpreta as responsabilidades que esses participantes assumem em determinado processo.
Um julgamento de classificação pode ser revisto, contestado ou situado em uma ontologia específica. O sistema de tipos conserva sua própria identidade e suas regras de formação. As duas estruturas podem ser relacionadas por contratos explícitos quando uma operação precisa considerar ambas.
Ontologias sobre o metagrafo
O metagrafo é a representação lógica comum das estruturas semânticas do FormaSL. Ele organiza instâncias de relações, participantes, papéis, referências tipadas e estruturas de ordem superior. Ontologias utilizam essa infraestrutura para declarar e relacionar seu conteúdo intensional.
Uma relação de remessa representada no metagrafo pode conectar o lote, o remetente, a transportadora e o destinatário. Uma ontologia logística interpreta essa relação como parte de um processo de transporte; uma ontologia contratual pode utilizar o mesmo referente para estabelecer o significado de entrega, aceite e responsabilidade. Os compromissos de cada ontologia permanecem identificados por suas bases de interpretação.
O metagrafo também permite referenciar elementos de uma ontologia, afirmações sobre esses elementos e resultados que dependem deles. Assim, uma avaliação pode apontar para uma classificação, uma revisão pode referir-se a um compromisso anterior e uma operação de inferência pode conservar as declarações utilizadas como base.
A pertença de um elemento ao grafo, sua adoção por uma ontologia e sua classificação sob um esquema são relações com funções distintas. O contrato de cada uma determina quais informações ela acrescenta à interpretação.
Escopo ontológico
Os compromissos ontológicos podem possuir escopo próprio. O escopo identifica a base sob a qual determinadas categorias, relações e interpretações são aplicáveis.
Na linguagem, esse escopo é distinto do context frame, do ambiente de tipos e do recorte de uma consulta ou visão sobre o metagrafo. Essas estruturas podem participar da mesma operação, mas cumprem funções específicas: uma ontologia estabelece compromissos conceituais; um frame situa a interpretação; o ambiente de tipos governa julgamentos estáticos; uma visão seleciona informações a apresentar ou processar.
O lote de medicamentos pode ser considerado simultaneamente por ontologias logística, farmacêutica e contratual. Cada uma organiza categorias pertinentes à sua finalidade. Uma operação pode consultar informações sob uma delas ou relacionar compromissos de várias, utilizando explicitamente as bases envolvidas.
O escopo acompanha a interpretação quando necessário. A revisão de uma ontologia ou a seleção de outra base conceitual pode alterar as conclusões admitidas em determinada operação, mesmo quando as identidades dos referentes consultados permanecem iguais.
Teorias, axiomas e regras
Os conteúdos de uma ontologia são interpretados sob uma base de teoria ou formalismo. Essa base estabelece o significado das sentenças e das relações de teoria utilizadas pelas operações que consomem o artefato. O vocabulário pertinente é reconstruído a partir das declarações e referências admitidas e da base formal correspondente.
Um axioma ontológico expressa um compromisso dentro desse formalismo. Uma regra de inferência participa de um contrato de raciocínio e estabelece condições para produzir consequências semânticas. Uma restrição de validação define condições para examinar um alvo em um mundo de validação. Uma política de governança estabelece condições normativas para julgamentos e decisões.
Esses conteúdos podem estar relacionados e ser reutilizados por uma aplicação. Cada um conserva a interpretação e os efeitos definidos por sua função. Uma condição de cardinalidade, por exemplo, pode ser formulada como garantia constitutiva de um papel, axioma de uma teoria ou restrição de validação; sua finalidade determina o contrato que a governa.
Uma ontologia pode adotar declarações e enunciados sob sua própria base intensional. Essa adoção estabelece pertença ao artefato e mantém a identidade e a categoria semântica dos elementos adotados. Afirmações situadas de agentes e conclusões derivadas por computação possuem suas próprias transições de produção.
Relações e composição entre ontologias
Ontologias podem ser utilizadas conjuntamente por meio de relações explícitas entre teorias. A arquitetura distingue inclusão, extensão, mapeamento, interpretação e refinamento. Cada relação possui significado definido pelo contrato de teoria aplicável.
Um mapeamento pode relacionar o conceito de entrega em uma ontologia logística ao conceito de cumprimento de obrigação em uma ontologia contratual. Essa relação pode estabelecer uma correspondência parcial ou condicionada, permitindo que uma operação considere informações das duas bases. Os referentes e as categorias de origem conservam suas identidades.
A composição de teorias é diferente da composição de módulos de linguagem. Importar um módulo disponibiliza declarações segundo regras de visibilidade e resolução; incluir ou relacionar teorias estabelece uma ligação semântica entre seus conteúdos. Da mesma forma, uma correspondência ontológica tem significado diferente de um alias de nome ou de uma identidade de referente.
A linguagem pode expressar múltiplas ontologias sobre estruturas compartilhadas. As operações que as combinam identificam quais compromissos foram utilizados, qual relação entre teorias foi aplicada e como as dependências pertinentes participam do resultado.
Ontologias e raciocínio
As ontologias podem servir como bases de autoridade semântica para operações de raciocínio. Um ReasoningContract determina quais premissas são admitidas, como são interpretadas, qual relação de consequência se aplica e em quais condições a operação é considerada completa.
O FormaSL dispõe de perfis de raciocínio que abrangem dedução recursiva positiva, raciocínio estratificado com negação e agregações controladas, e regras existenciais positivas sob restrições específicas. Esses perfis são selecionados e utilizados segundo seus contratos, preservando os conteúdos e as dependências das conclusões produzidas.
Uma ontologia farmacêutica pode fornecer conceitos e compromissos para interpretar informações sobre um lote; uma teoria operacional pode associar essas informações a regras específicas de avaliação. O raciocínio utiliza as premissas admitidas sob a base selecionada e produz consequências semânticas atribuíveis ao contrato de inferência.
As consequências podem ser consultadas, relacionadas a outras informações e utilizadas em operações posteriores. Uma decisão ou Claim que adote determinado resultado introduz uma passagem semântica própria. No raciocínio existencial, os termos testemunhais usados internamente pelo mecanismo permanecem distintos da identidade de referentes do domínio.
Revisões e evolução ontológica
Ontologias podem evoluir com o domínio que descrevem. Novos conceitos podem ser introduzidos, relações podem receber outra interpretação e compromissos anteriores podem ser revisados ou substituídos sob regras de evolução apropriadas.
As revisões preservam bases identificáveis para a interpretação histórica. Uma classificação emitida sob determinada versão de uma ontologia continua associada àquela base. Uma operação posterior pode utilizar outra revisão e, quando necessário, relacionar as duas por uma transição ou mapeamento explícito.
Isso também vale para teorias adotadas por aplicações. O resultado de uma inferência depende da teoria, das regras, do regime de premissas e da base de interpretação utilizados. Essas dependências participam da continuidade semântica e permitem recuperar o significado do resultado após mudanças no corpus.
A distribuição das ontologias por módulos e pacotes é organizada pela infraestrutura de fonte e resolução do FormaSL. A correspondência entre identidades de artefatos em revisões distintas é estabelecida pelas referências e relações de sucessão previstas nos contratos correspondentes.
Superfície da linguagem
A forma declarativa e os caminhos operacionais estão reunidos na referência da superfície.
Documentação relacionada
A Arquitetura lógica e metagrafo descreve a estrutura sobre a qual os conteúdos ontológicos são representados. O Modelo de mundo define as categorias semânticas fundamentais, enquanto Invariantes semânticos e Continuidade semântica especificam a preservação das distinções e dependências ao longo das operações.
Tipos, contratos e substituibilidade
O sistema de tipos do FormaSL determina como as construções da linguagem são formadas, quais garantias acompanham seu uso e em que condições uma construção pode ocupar o lugar de outra. Ele participa da definição de entidades, relações, papéis, referências e operações semânticas, conectando as declarações de origem aos contratos utilizados durante a computação.
Os tipos possuem identidade semântica, contratos identificáveis e regras de compatibilidade. A linguagem também permite parâmetros de tipo, especialização, subtipagem e diferentes formas de exposição de definições. Esses mecanismos são interpretados sobre um ambiente estático de declarações e referências resolvidas.
O sistema de tipos opera em conjunto com o metagrafo e com as ontologias. Os contratos estáticos definem as condições de formação e substituição das construções; as ontologias organizam categorias e compromissos de domínio; as classificações situadas expressam posições sobre referentes concretos.
Formação e resolução de tipos
Uma declaração de tipo introduz uma identidade reconhecida pela linguagem e um contrato que determina as condições de sua utilização. Os tipos podem ser referenciados por nomes qualificados, empregados em declarações de relações ou utilizados nas assinaturas de operações. A resolução vincula cada referência à declaração pertinente sob uma base de módulos, interfaces, importações e revisões.
O FormaSL distingue a formação de uma expressão de tipo, a validade de uma declaração e os julgamentos de compatibilidade entre tipos. Uma expressão bem formada utiliza referências resolvidas e argumentos admissíveis. Uma declaração bem formada atende às regras de sua categoria. A compatibilidade, por sua vez, é determinada pelas garantias e relações estabelecidas pelos contratos envolvidos.
Essas verificações pertencem ao ambiente estático da linguagem. A elaboração de um programa utiliza as declarações admitidas e suas bases de resolução para construir uma representação semântica explícita, na qual as identidades, revisões e dependências estáticas relevantes permanecem recuperáveis.
Identidade e contrato de tipo
A identidade de tipo determina qual tipo semântico está sendo referenciado. O contrato de tipo estabelece as garantias que outras construções podem utilizar, e sua revisão identifica a versão dessas garantias considerada em determinado julgamento.
Uma mesma identidade pode atravessar revisões de contrato. O uso histórico permanece vinculado à revisão sob a qual foi formado, enquanto novas declarações e operações podem utilizar uma revisão posterior. A equivalência entre contratos e a relação de subtipagem são julgamentos próprios, determinados sobre as bases correspondentes.
Considere um domínio de manutenção industrial. Uma declaração pode introduzir o tipo de um equipamento e oferecer garantias estáticas utilizadas por relações que o referenciam. Uma revisão do contrato pode modificar as condições de utilização desse tipo. O referente semântico de um equipamento e a identidade do tipo ao qual uma construção se vincula continuam sendo questões diferentes: um descreve o elemento do domínio; a outra governa a formação e a compatibilidade da construção.
As representações físicas utilizadas para realizar esses tipos podem variar. A relação entre a identidade semântica de um tipo e sua representação em Rust, em um formato serializado ou em um banco de dados é estabelecida nas fronteiras apropriadas de realização.
Declarações, aliases e visibilidade
O FormaSL dispõe de formas declarativas para tipos nomeados, parametrizados, distintos, opacos e aliases. Cada forma determina como identidade e informação contratual são expostas aos consumidores.
Um alias de tipo acrescenta uma designação para uma identidade já existente. O novo nome participa da resolução sem introduzir outro tipo semântico.
Um tipo distinto transparente possui identidade própria e pode expor informações selecionadas de sua definição ou representação. A transparência permite utilizar as informações publicadas pelo contrato, preservando a identidade distinta do tipo.
Um tipo opaco expõe sua identidade e as garantias disponibilizadas pela interface, mantendo outros detalhes de definição sob a responsabilidade do módulo que os declara. O consumidor utiliza o contrato visível, inclusive quando a implementação interna ou a representação mudam.
As interfaces de módulos controlam a visibilidade dessas definições. Um módulo pode exportar um tipo com um conjunto determinado de garantias, e outro módulo pode utilizá-lo pela interface publicada. Alias, reexportação e exposição de interface possuem efeitos específicos sobre os vínculos de nomes e sobre a informação disponível, preservando a identidade dos referentes que designam.
Parâmetros e polimorfismo
O FormaSL admite polimorfismo paramétrico em declarações de tipos e relações. Uma declaração parametrizada estabelece variáveis de tipo que serão vinculadas a argumentos na instanciação. Os parâmetros podem possuir limites, e cada argumento precisa satisfazer as condições correspondentes.
Essa capacidade permite definir contratos reutilizáveis sem fixar antecipadamente todos os tipos participantes. A relação ClassifiedAs<T> da biblioteca std::world::classification, por exemplo, utiliza um parâmetro para o tipo do sujeito classificado, mantendo os demais papéis associados a conceitos e esquemas de classificação.
A instanciação verifica a resolução do construtor, a quantidade de argumentos, a formação dos tipos fornecidos e os limites declarados. Quando um limite utiliza subtipagem, o julgamento de subtipagem aplicável determina a admissibilidade do argumento.
A compatibilidade entre diferentes instanciações também pertence ao contrato do construtor. Uma relação de subtipagem entre S e T só se propaga para F<S> e F<T> quando uma regra de variância ou substituição estabelecida para F admite essa passagem. Assim, o contrato do tipo parametrizado define as garantias disponíveis para cada uso.
Especialização e herança
A especialização tipada permite declarar uma relação explícita entre uma construção especializada e uma construção de origem. O contrato de especialização determina quais estruturas e garantias são herdadas, reutilizadas ou refinadas.
Uma aplicação de manutenção pode definir um tipo geral de equipamento e especializações para equipamentos de classes operacionais distintas. Essas especializações podem compartilhar aspectos declarativos e acrescentar elementos específicos, conforme os contratos correspondentes.
A especialização organiza a relação entre as declarações. Sua utilização como substituta do tipo de origem é determinada separadamente pelo julgamento de subtipagem. Isso permite reutilizar estruturas entre tipos mesmo quando seus contratos não autorizam todos os mesmos usos.
Os ciclos de especialização estrita seguem as regras de formação da linguagem. Já as relações recursivas presentes no metagrafo, como equipamentos que referenciam outros equipamentos em uma configuração, possuem seus próprios contratos e podem formar ciclos sem alterar as regras de identidade de tipos.
Subtipagem e substituição segura
A subtipagem expressa a possibilidade de utilizar um elemento admissível de tipo S onde um consumidor exige tipo T. Essa substituição preserva todas as garantias estáticas que o consumidor de T tem direito de utilizar.
O julgamento considera as garantias do contrato de destino e verifica se o tipo candidato as satisfaz sob as regras aplicáveis. Uma declaração explícita de subtipagem participa desse processo segundo as condições de aceitação da linguagem. Também existem relações autorizadas por propriedades como reflexividade, transitividade e regras próprias de determinadas categorias de declaração.
Em um sistema de manutenção, suponha que uma operação aceite um tipo de equipamento cujo contrato assegure determinada interface semântica de identificação e referência. Um tipo especializado pode ser utilizado nessa posição quando seu contrato preserva essas garantias. Características adicionais da especialização permanecem disponíveis nos usos que as conhecem, enquanto a operação consumidora pode depender das propriedades asseguradas pelo tipo exigido.
A substituição também pode envolver contratos de relações e papéis. Quando uma relação exige determinadas garantias de participação, cardinalidade, multiplicidade ou ordenação, as regras estáticas correspondentes precisam ser consideradas para preservar aquilo que seus consumidores utilizam.
Conversão é uma operação diferente. Ela estabelece como produzir uma construção de destino a partir de outra, sob um contrato próprio. A subtipagem, em contraste, autoriza a utilização substitutiva de uma construção dentro das garantias já estabelecidas.
Tipos e contratos de relações
Os contratos de relações utilizam o sistema de tipos para definir participantes admissíveis e referências a elementos semânticos. Um papel pode indicar um tipo de participante ou utilizar outro contrato de admissibilidade apropriado à relação.
No metagrafo de incidência de papéis tipados, os participantes podem ser entidades, relações ou outros referentes admitidos pelas regras de formação. Uma relação de inspeção, por exemplo, pode definir papéis para o equipamento inspecionado, o responsável e o resultado registrado. A tipagem contribui para que cada participação seja formada conforme seu contrato.
As regras de participação abrangem, quando materiais, quantidade de ocorrências, multiplicidade, repetição, ordenação, chaves e qualificações associadas aos papéis. Essas garantias pertencem ao contrato da relação e são expressas sob sua unidade semântica de contagem e correlação.
Uma restrição de validação pode examinar posteriormente um conjunto de informações sob critérios específicos. Um axioma ontológico pode estabelecer condições interpretadas dentro de uma teoria. Já uma garantia constitutiva de participação define o que a relação admite ou exige em sua própria formação. As três estruturas utilizam informações relacionadas, cada uma sob o contrato responsável por sua interpretação.
Tipos, ontologias e classificações situadas
Uma categoria ontológica representa um compromisso conceitual sob uma ontologia. Uma classificação situada relaciona um referente a uma categoria em determinado esquema, contexto ou posição atribuível. O tipo da linguagem participa de julgamentos estáticos sobre declarações e construções.
Um equipamento pode ser classificado como crítico por uma equipe de operação e receber outra avaliação sob um esquema de manutenção. Essas posições podem coexistir e mudar ao longo do tempo. As declarações tipadas utilizadas para representar o equipamento e as relações em que participa conservam sua identidade e seus contratos.
Uma aplicação pode consultar classificações situadas e utilizá-las em análises, inferências, validações ou decisões. As operações interpretam essas classificações como informações de domínio. As regras estáticas de tipos continuam sendo determinadas pelo ambiente de declarações e contratos resolvidos.
Essa separação também orienta o uso de conceitos ontológicos em relações tipadas. Uma correspondência entre uma categoria ontológica e um tipo pode ser declarada ou utilizada por uma operação sob um contrato próprio, respeitando o significado de ambos.
Tipagem, resultados e governança
A formação tipada é uma das condições para utilizar uma construção em uma operação semântica. Outros julgamentos aplicam contratos próprios sobre entradas e resultados.
A validação examina informações sob restrições e um mundo de validação. A conformidade expressa o julgamento correspondente. A admissão e a autorização dependem de bases de governança, enquanto uma decisão constitui uma transição atribuível sob condições declaradas. Essas etapas podem consumir construções tipadas e acrescentar julgamentos de domínio ou de autoridade.
Os resultados computacionais possuem ainda um estatuto semântico. Uma assinatura de saída tipada especifica aspectos da interface estática do conteúdo produzido; o contrato de resultado determina se ele é uma resposta de consulta, uma consequência de inferência, um valor analítico ou outro resultado, incluindo suas bases, dependências e condições de completude.
Ao compor operações, o FormaSL verifica a formação estática das entradas e as condições de aceitação definidas pelo consumidor. A compatibilidade de tipos participa dessa verificação, juntamente com o estatuto do resultado, sua base de interpretação e os requisitos semânticos próprios da operação seguinte.
Contratos históricos e realização
Os julgamentos de tipo são relativos a uma base estática identificável. Ela reúne as declarações, interfaces, vínculos e revisões necessários para interpretar cada construção. Quando esses elementos evoluem, os julgamentos históricos permanecem relacionados à base utilizada originalmente.
A elaboração transforma o programa resolvido e admitido em um programa semântico explícito, preservando as identidades e garantias estáticas relevantes. Os contratos chegam, assim, às etapas de composição, realização e execução como informações definidas pela linguagem.
A realização pode selecionar diferentes representações físicas, mecanismos de armazenamento ou componentes de execução. O vínculo entre tipos semânticos e representações operacionais segue os contratos aplicáveis, permitindo que a implementação evolua enquanto as garantias publicadas continuam sendo respeitadas.
Documentação relacionada
A Arquitetura lógica e metagrafo apresenta as relações e participações que utilizam contratos tipados. Ontologias e teorias semânticas desenvolve as categorias conceituais e classificações de domínio. Operações semânticas e transições descreve os consumidores dessas construções, enquanto Invariantes semânticos estabelece as distinções preservadas ao longo da computação.
Módulos, interfaces e resolução de referências
Os módulos organizam a autoria e a reutilização de programas FormaSL. Eles reúnem declarações, estabelecem quais nomes ficam disponíveis a outros módulos e oferecem interfaces estáticas pelas quais tipos, relações, teorias e operações podem ser utilizados. A resolução de referências conecta os designadores escritos no programa às declarações e aos referentes semânticos apropriados.
Essa organização permite desenvolver um domínio em partes e compô-las sob contratos identificáveis. Um módulo pode declarar relações logísticas, outro pode utilizar essas relações em avaliações de risco e um terceiro pode publicar operações destinadas a aplicações. A ligação entre eles conserva a identidade das declarações, suas revisões e as garantias expostas pelas interfaces.
Unidades de fonte, módulos e pacotes
Uma unidade de fonte (SourceUnit) contém material autorado da linguagem: texto FormaSL ou uma representação equivalente. Um módulo (LanguageModule) é uma unidade de vinculação, visibilidade, importação, exportação e definição de interface. Um pacote reúne fontes e módulos para distribuição, seleção de versões e reprodução de uma base de resolução.
Na superfície concreta H1, cada arquivo de fonte .fsl contém uma declaração de module. Essa organização facilita o trabalho com arquivos, enquanto a identidade semântica do módulo é determinada pelo contrato da linguagem. O nome do arquivo e seu caminho físico são informações de autoria e localização.
Um módulo pode declarar tipos, relações, conteúdos, teorias, regras e aplicações semânticas. As referências que esses elementos estabelecem alcançam outros módulos por vínculos resolvidos. O conjunto das declarações de um módulo pode contribuir para muitas regiões do metagrafo, assim como uma região semântica pode reunir contribuições de diferentes módulos.
Os pacotes dão a essas fontes uma unidade de distribuição. O sistema de projetos utiliza forma.toml para declarar o pacote, suas fontes, dependências e alvos. A base de dependências resolvida pode ser fixada em forma.lock, incluindo as versões e os artefatos selecionados. Essa base fornece as coordenadas necessárias para reproduzir a resolução e os contratos usados por um programa.
Nomes, vínculos, declarações e referentes
Ao encontrar um nome em uma expressão, o FormaSL resolve um vínculo de linguagem sob a base aplicável. O vínculo identifica a designação disponível naquele escopo. Uma declaração tem identidade própria; quando introduz ou designa um referente semântico, esse referente possui outra identidade.
Essa diferença aparece no uso de aliases. Um módulo pode publicar um nome alternativo para um tipo existente. O alias cria outra forma de alcançar a declaração, conservando a identidade do tipo. Uma reexportação realiza uma operação semelhante na fronteira entre interfaces: o nome visto pelo consumidor pode mudar enquanto o referente continua sendo o mesmo.
Uma nova declaração com significado próprio segue o contrato de introdução correspondente. Ter o mesmo nome de uma declaração anterior, inclusive após uma revisão do pacote, é uma propriedade textual e de resolução; a sucessão entre declarações ou referentes é determinada pelas relações de identidade e evolução apropriadas.
Considere uma relação de remessa utilizada por dois módulos. O módulo logístico pode disponibilizá-la com seu nome original, enquanto um módulo de integração a publica sob um alias ajustado à interface de seus consumidores. As duas designações podem resolver para a mesma relação sem criar duas instâncias de remessa. A identidade das instâncias concretas continua pertencendo ao domínio semântico representado.
Importações e exportações
As importações tornam declarações de outros módulos acessíveis sob regras de resolução e visibilidade. As exportações determinam quais vínculos um módulo publica para seus consumidores. A linguagem admite referências qualificadas e renomeação explícita quando o autor deseja selecionar nomes específicos na interface.
Um módulo de avaliação de qualidade pode importar os tipos e relações usados para descrever uma inspeção. Essa importação disponibiliza o contrato da relação, seus papéis e as garantias necessárias ao uso. A operação de avaliação pode então consultar informações do domínio e produzir resultados segundo seu próprio contrato, sem precisar redeclarar os elementos importados.
Importar uma teoria e adotar uma teoria são ações distintas. A importação dá acesso a declarações pela infraestrutura de módulos; inclusão, extensão, mapeamento e interpretação entre teorias estabelecem relações semânticas próprias. O mesmo vale para políticas: a disponibilidade de uma declaração não estabelece automaticamente sua aplicabilidade ou sua autoridade em determinado julgamento.
A ordem dos arquivos ou das importações não é utilizada como critério de precedência entre declarações concorrentes. Quando existem alternativas com a mesma especificidade, a resolução conserva a ambiguidade para que o programa escolha uma designação qualificada ou estabeleça um vínculo explícito.
Interfaces como contratos estáticos
Uma interface de módulo descreve o que os consumidores podem utilizar. Para cada vínculo exportado, ela disponibiliza as informações necessárias à formação estática: a categoria da declaração, o tipo ou contrato envolvido, suas garantias públicas, a visibilidade e a base de revisão correspondente.
O contrato de interface pode ser apresentado por uma declaração explícita ou obtido pelas regras de formação aplicáveis ao módulo. Uma InterfaceView representa o conjunto de garantias efetivamente exposto ao consumidor em uma fronteira de importação ou exportação.
Uma mesma declaração pode ser vista por consumidores diferentes através de interfaces diferentes. Um módulo pode publicar a identidade de um tipo opaco e operações que o utilizam, enquanto outro consumidor tem acesso a uma interface mais detalhada. A identidade do tipo é preservada; as informações que cada consumidor pode usar dependem da visão de interface selecionada.
A compatibilidade entre interfaces é direcional. Um módulo fornece uma interface requerida quando disponibiliza os vínculos necessários com garantias estáticas compatíveis. Elementos adicionais publicados pelo provedor podem permanecer fora do contrato exigido pelo consumidor.
A verificação é específica da categoria de cada declaração. A compatibilidade de tipos considera contratos de tipos e substituibilidade; a de relações leva em conta papéis e garantias relevantes de participação; outras categorias utilizam seus próprios contratos. Essa disciplina permite compor módulos preservando o significado das construções que atravessam suas interfaces.
Resolução sob uma base identificada
A resolução de um nome depende de uma base de resolução (ResolutionBasis). Essa base reúne as revisões de módulos e interfaces, as importações e aliases admitidos, as regras de visibilidade, os contratos esperados para o alvo e o caminho de escopos aplicável.
A linguagem pode determinar um vínculo de maneira única, identificar vários candidatos admissíveis ou concluir que a referência não foi resolvida. Também distingue uma referência ausente, uma referência de categoria incompatível, um conflito de visibilidade e um ciclo de aliases sem declaração de origem.
A qualificação explícita restringe o caminho de busca. Em escopos lexicais aninhados, um vínculo local admissível mais próximo possui precedência sobre vínculos lexicais mais distantes. Uma declaração ou alias explícito no módulo corrente também é mais específico que vínculos alcançados apenas por importação não qualificada. Entre importações concorrentes com igual prioridade, o autor resolve a escolha mediante qualificação, alias ou seleção de interface.
A categoria esperada pelo consumidor participa da resolução. Uma posição que exige referência a uma teoria é avaliada segundo esse contrato, assim como um papel de relação precisa de um participante admissível. A coincidência de grafia entre duas declarações de categorias diferentes não transforma uma na outra.
Uma referência resolvida permanece vinculada à base que determinou seu significado. Atualizar um pacote, alterar um alias ou revisar a interface de um módulo pode produzir uma nova resolução para programas posteriores. Os vínculos históricos conservam a referência e a revisão sob as quais foram interpretados.
Resolução de linguagem e identidade de domínio
A resolução de nomes é uma operação da linguagem. A identidade das entidades representadas pode, por sua vez, ser discutida, avaliada ou contestada dentro do domínio semântico.
Uma Claim pode afirmar que duas designações externas se referem à mesma organização. Uma avaliação pode aceitar essa correspondência em determinado contexto. Essas posições têm valor para as operações que as admitem, enquanto a resolução constitutiva de nomes do programa continua fundamentada em sua própria base.
Na composição do metagrafo, uma correspondência de mesmo referente reconhece que referências resolvidas apontam para um elemento semântico compartilhado. Já a reconciliação de identidades anteriormente distintas requer uma relação semântica de identidade ou co-referência com seu contrato específico.
Também é importante distinguir a base de resolução de um escopo ontológico ou de um context frame. O primeiro determina a interpretação de designadores da linguagem; o escopo ontológico estabelece compromissos conceituais; o frame situa informações sob condições próprias de interpretação. Uma operação pode depender dos três, preservando a função de cada um.
Resolução, tipos e contratos de relações
O sistema de tipos utiliza as referências resolvidas para verificar a formação de expressões e declarações. Uma referência a tipo deve identificar uma declaração admissível e a revisão de seu contrato; parâmetros e limites devem ser satisfeitos sob as regras estáticas aplicáveis.
Nos contratos de relações, a resolução identifica papéis e participantes admissíveis. Quando o contrato distingue multiplicidade, ordenação, identidade de participação ou chaves semânticas, essas informações acompanham o significado da declaração. A infraestrutura de módulos preserva as garantias necessárias para que aplicações consumidoras utilizem corretamente a relação.
A resolução também alcança elementos de ordem superior: teorias, ontologias, políticas, regras e operações são referenciados segundo sua categoria declarativa. O compartilhamento da infraestrutura de nomes permite utilizar todas essas declarações no mesmo programa, mantendo seus contratos semânticos próprios.
Composição de módulos e composição semântica
Um programa pode combinar módulos para disponibilizar declarações, formar aplicações e estabelecer interfaces reutilizáveis. Essa composição ocorre no plano de autoria e resolução. A composição semântica do metagrafo trabalha com as estruturas e os referentes definidos ou utilizados por esses módulos.
Considere três módulos: um descreve relações entre equipamentos e inspeções; outro declara operações de avaliação; um terceiro compõe consultas, julgamentos e decisões. O primeiro fornece referências tipadas, o segundo publica contratos de operações e o terceiro utiliza esses contratos em aplicações. As interfaces determinam o que cada consumidor conhece e quais garantias pode utilizar.
Quando as operações fazem referência ao mesmo equipamento ou à mesma inspeção, a identidade compartilhada decorre dos referentes resolvidos e das correspondências semânticas estabelecidas. Essa identidade pode atravessar várias contribuições documentais, sem depender da quantidade de arquivos que participam da composição.
A composição de aplicações acrescenta outras obrigações: compatibilidade das entradas e dos resultados, bases históricas, dependências de dados e condições de autoridade. Elas são governadas pelos contratos das operações e pelo contrato de composição, complementando a formação e a resolução de módulos.
Revisões, dependências e reprodutibilidade
Módulos, interfaces e pacotes podem evoluir em ritmos diferentes. Uma nova revisão pode acrescentar uma declaração, modificar uma interface ou alterar o contrato de um tipo. A base resolvida do programa identifica as revisões que efetivamente participaram de sua formação.
O vínculo histórico conserva a identidade da declaração consultada, a visão de interface exposta e o contrato utilizado. Uma mudança posterior de nome, de localização física ou de versão publicada não redefine retrospectivamente o significado do programa já resolvido.
Os projetos FormaSL podem fixar suas dependências por meio do manifesto e do arquivo de lock. A seleção exata das fontes e de suas revisões fornece a base para repetir verificações e execuções conforme os contratos pertinentes. A distribuição de um pacote e a autoridade semântica de uma afirmação continuam sendo responsabilidades diferentes.
Da fonte ao programa semântico explícito
O FormaSL parte das unidades de fonte, resolve as declarações e verifica sua formação estática. Um programa admitido e resolvido passa pela elaboração, que torna explícitos ou reconstruíveis os vínculos, as identidades e os contratos necessários às etapas seguintes.
Nessa passagem permanecem a correspondência com a fonte, a identidade das declarações e referentes, as revisões dos tipos e relações e as dependências estáticas relevantes. Os mecanismos de execução recebem um programa cujo significado foi determinado pelas regras da linguagem.
A realização, especificada em .fsp, vincula requisitos semânticos a capacidades e recursos. O planejamento e o runtime podem selecionar mecanismos apropriados ao programa elaborado, preservando os contratos que recebem. Assim, o módulo organiza a autoria, a interface governa o compartilhamento e a resolução estabelece os referentes sobre os quais a computação atuará.
Documentação relacionada
Tipos, contratos e substituibilidade detalha os julgamentos estáticos utilizados pelas interfaces. Arquitetura lógica e metagrafo descreve as identidades e relações semânticas às quais os módulos fazem referência. Ontologias e teorias semânticas apresenta os artefatos de domínio que podem ser disponibilizados e relacionados entre módulos. Operações semânticas e transições desenvolve as aplicações que consomem essas estruturas.
Contextos, tempo e espacialidade
O FormaSL representa e computa sobre informações cujo significado depende das condições em que foram produzidas, interpretadas e utilizadas. Uma afirmação pode valer para determinado período, uma autorização pode abranger apenas uma região operacional e uma observação pode ter sido realizada sob um sistema de referência específico. Essas condições participam do significado das informações e das operações que as consomem.
Contexto, tempo e espacialidade são dimensões da interpretação semântica. Elas permitem relacionar informações sobre referentes compartilhados sem apagar diferenças entre perspectivas, intervalos de validade, posições de observação ou representações espaciais. O modelo de mundo estabelece as distinções fundamentais; os contratos de operações determinam quais delas são relevantes em cada avaliação e como atravessam os resultados.
Bases de interpretação situadas
Uma informação situada é interpretada sob uma base identificável. Essa base pode reunir uma revisão da fonte semântica, teorias e regras selecionadas, contexto, escopo, jurisdição, frame, perspectiva e referências temporais. Também pode incluir políticas, premissas hipotéticas e outros elementos exigidos pelo contrato de uma operação.
Essas dimensões cumprem funções diferentes. Contexto identifica condições sob as quais uma informação é interpretada ou utilizada. Escopo delimita a abrangência de uma relação, regra ou operação. Jurisdição situa competências e disposições normativas. Perspectiva identifica a posição a partir da qual um agente conhece ou avalia informações. Um frame estabelece uma referência de interpretação para as grandezas ou relações que dele dependem.
Em uma rede ferroviária, a equipe de manutenção e o centro de controle podem consultar o mesmo trecho sob bases distintas. A primeira avalia inspeções técnicas; o segundo considera também a janela de circulação autorizada e a situação operacional registrada. As informações conservam suas identidades, enquanto as operações indicam quais bases, políticas e perspectivas foram utilizadas.
O FormaSL preserva as dimensões que são materiais para o contrato da operação. Uma consulta a dados de inspeção pode não precisar de um frame espacial; uma correlação entre medições georreferenciadas pode depender dele. A base de interpretação é composta por papéis semânticos identificáveis, conforme as necessidades do resultado, e pode ser preservada diretamente ou por referência histórica estável.
Contexto da informação e contexto da avaliação
O contexto pode fazer parte da própria informação ou ser vinculado à operação que a utiliza. Uma Claim emitida por um agente conserva as qualificações de seu ato de afirmação. Uma consulta, por sua vez, pode selecionar um intervalo, uma jurisdição ou um ponto de vista sob os quais examina Claims já existentes.
Essas duas situações podem ocorrer juntas. Uma avaliação consulta informações historicamente situadas e acrescenta sua própria base de interpretação. O resultado identifica tanto as qualificações relevantes das entradas quanto o contexto sob o qual a avaliação foi realizada.
Um registro de restrição de circulação, por exemplo, pode indicar o trecho e o período aos quais se aplica. Uma consulta feita por outro operador pode restringir os resultados a uma região maior e a um horário específico. O recorte da consulta determina a seleção; o registro original conserva o significado e o histórico de sua restrição.
Os contratos estabelecem as regras de combinação entre essas bases. Quando duas entradas possuem contextos, revisões ou frames que precisam ser correlacionados, o consumidor determina a correspondência admissível. Os contratos das famílias de contexto, escopo e perspectiva determinam essas regras de combinação.
Perspectivas, visibilidade e pluralidade
Os agentes do FormaSL atuam a partir de posições epistêmicas locais. Podem observar, receber, avaliar ou desconhecer informações diferentes sobre um mesmo referente. A existência de um elemento semântico, sua visibilidade para um agente e sua aplicabilidade a uma operação são propriedades distintas.
Uma informação pode estar fora do recorte de uma consulta, indisponível ao observador ou oculta por condições de acesso. Quando essas distinções participam da interpretação, a linguagem conserva os estados de desconhecimento, ausência de observação, ocultação, não aplicabilidade, falsidade e inexistência de forma diferenciada. Uma resposta vazia informa o resultado de uma consulta sob sua base e seu critério de completude; seu significado depende do contrato utilizado.
A pluralidade também se aplica às avaliações. Duas autoridades podem produzir posições incompatíveis sobre a condição de uma área de operação. As posições coexistem com suas atribuições, contextos e bases normativas. Uma seleção de informações correntes ou uma visão restrita não executa, por si só, uma reconciliação. Quando a reconciliação ocorre, ela tem uma relação semântica e uma história identificáveis.
Políticas de divulgação podem determinar quais informações um consumidor recebe. A transformação de uma visão sob essas políticas tem suas próprias regras de restrição e exposição. As condições de acesso pertencem à governança da visão; o estatuto semântico do que permanece fora dela continua ligado às informações e aos contratos de origem.
Tempo como parte do significado
O tempo participa de diferentes acontecimentos e julgamentos. O tempo de validade indica quando uma informação, condição ou relação se aplica no domínio. O tempo de observação situa a aquisição de informações por um observador ou instrumento. O tempo de conhecimento indica quando a informação se tornou disponível para determinado agente ou base. O tempo de decisão situa um ato decisório. O tempo de registro ou transação identifica sua entrada em determinado sistema ou histórico de fonte.
Considere uma inspeção realizada às 9h, transmitida ao centro de controle às 9h20 e incorporada à fonte autoritativa às 10h. A decisão de liberar a via pode ser tomada às 10h15, com validade a partir das 11h. Esses horários pertencem a papéis diferentes. Uma consulta histórica pode perguntar quais condições eram válidas às 11h ou quais informações estavam disponíveis ao decisor às 10h15; as duas perguntas utilizam bases temporais distintas.
As operações preservam os papéis temporais materialmente relevantes, inclusive quando seus valores coincidem. O instante em que uma observação foi registrada não substitui automaticamente o instante em que aconteceu. Quando um acontecimento teve seu horário original desconhecido, a falta dessa informação permanece representável até que uma base apropriada permita determiná-lo.
A cronologia também participa de relações que não são puramente temporais. Uma decisão pode anteceder uma execução, e uma observação pode ocorrer depois de uma ação. A ordem dos acontecimentos, a derivação de um resultado, sua proveniência e uma eventual relação causal são determinadas pelos contratos respectivos.
Referentes e relações temporais
A biblioteca std::world::time fornece vocabulário semântico para representar tempo. Ela declara TemporalEntity, Instant, Interval, TemporalReferenceSystem, TemporalRepresentation e Duration. Instant e Interval especializam TemporalEntity e possuem relações explícitas de subtipagem com ele.
As relações da biblioteca permitem associar uma entidade a sua extensão temporal (TemporalExtentOf), indicar início e fim de intervalos (HasBeginning e HasEnd), representar precedência (Before) e continência temporal (TemporalContains). RepresentsTemporal e UsesTemporalReferenceSystem relacionam referentes temporais às representações e aos sistemas de referência empregados; DurationOf associa uma duração a uma entidade temporal.
As regras declaradas no módulo incluem a transitividade de Before e da continência temporal em suas condições específicas. Uma aplicação pode combinar esse vocabulário com contratos de validade, observação, decisões e outras ocorrências de domínio.
O referente temporal e a função que ele desempenha em um julgamento permanecem distintos. Um mesmo intervalo pode ser utilizado como extensão de uma inspeção e como período de validade de uma autorização, mas cada utilização é interpretada sob a relação e o contrato correspondentes. A representação de calendário, o relógio e as conversões necessárias à realização seguem as fronteiras definidas pelos respectivos contratos.
Versões, revisões e história
A versão de uma fonte, teoria, regra ou modelo identifica uma base de interpretação. O tempo indica quando informações e acontecimentos participam do mundo modelado ou de seus registros. Versão e tempo podem ser relacionados, mas possuem identidades e funções próprias.
Uma revisão de política pode entrar em vigor após sua publicação; uma Claim anterior continua sendo um ato histórico emitido sob sua base original. Um resultado que utilizou determinada revisão de teoria conserva essa dependência, mesmo que uma revisão posterior passe a ser selecionada para novas operações.
A história semântica também inclui correções, retrações e sucessões. Esses atos modificam posições ou sua aplicabilidade segundo contratos de evolução, preservando os vínculos com as ocorrências anteriores. A organização física do armazenamento pode variar, contanto que as referências e relações históricas necessárias à interpretação continuem recuperáveis.
Nas avaliações prolongadas, o contrato estabelece como a base temporal e de versão é vinculada: pode utilizar uma base fixada para aquela avaliação ou uma sequência de revisões e janelas explicitamente definida. O resultado conserva a base efetivamente utilizada, incluindo o instante relevante de vinculação quando ele influencia seu significado.
Lugares, regiões e relações espaciais
A espacialidade do FormaSL parte de referentes espaciais e relações qualitativas. O módulo std::world::space declara os tipos Place, Region, SpatialReferenceSystem e SpatialRepresentation, além das relações necessárias para ligar entidades, regiões, representações e sistemas de referência.
Uma região pode participar de uma relação de continência (SpatialContains), sobreposição (SpatialOverlaps), adjacência (SpatialAdjacent) ou disjunção (SpatialDisjoint). Essas relações descrevem propriedades espaciais do domínio sem exigir que os referentes sejam reduzidos a coordenadas.
O módulo inclui regras de transitividade para SpatialContains e de simetria para SpatialOverlaps, SpatialAdjacent e SpatialDisjoint. As conclusões derivadas dependem das relações admitidas e das regras declaradas. Outros compromissos espaciais podem ser definidos pelos contratos e ontologias das aplicações que os utilizam.
Em um pátio ferroviário, uma zona de manutenção e uma zona de circulação são regiões identificáveis. Uma informação pode estabelecer que uma área de inspeção está contida na zona de manutenção ou que duas áreas são adjacentes. Essas relações podem participar de consultas e inferências mesmo quando as aplicações utilizam representações geométricas diferentes para as mesmas regiões.
Referente, representação e sistema espacial
A linguagem relaciona os elementos espaciais por três estruturas centrais. SpatialExtentOf<T> associa um sujeito a uma região que expressa sua extensão. RepresentsSpatial indica que determinada representação corresponde a uma região. UsesSpatialReferenceSystem vincula essa representação ao sistema espacial de referência utilizado.
Um referente Region pode possuir mais de uma representação. Uma área operacional pode ser representada por uma geometria utilizada em cálculos e por outra representação destinada à visualização. A identidade da região permanece distinta dessas representações e dos identificadores físicos que elas empregam.
O SpatialReferenceSystem é um referente semântico ao sistema de referência aplicável. Os identificadores de sistemas de coordenadas, as convenções de eixos, os parâmetros de projeção e as transformações numéricas pertencem às especificações e capacidades concretas necessárias à realização. Sua relação com o referente e sua aceitação dependem dos contratos pertinentes.
Essa organização permite que as estruturas semânticas sobre regiões sejam compartilhadas por aplicações que utilizam mecanismos de geometria, visualização ou percepção diferentes. A correspondência entre resultado calculado e referente espacial continua explicitamente identificável.
Frames e transformações espaciais
Um frame estabelece as condições em que uma representação espacial é interpretada. Sistemas de referência de mapa, representações locais de um equipamento e frames de uma câmera podem participar de operações diferentes. A compatibilidade entre frames determina se certas informações podem ser relacionadas segundo o contrato escolhido; a transformação efetiva produz outra representação sob uma correspondência definida.
Uma câmera, por exemplo, fornece detecções em coordenadas de imagem. Para correlacionar essa informação a uma região do pátio, a realização pode utilizar um artefato de calibração, uma homografia e os sistemas de referência de origem e destino declarados. A transformação conserva as referências à calibração e às condições de aquisição que sejam necessárias para interpretar seu resultado.
O FormaSL mantém a transformação numérica no plano de realização. Os mecanismos de geometria e conversão de sistemas de referência produzem evidências operacionais sob suas garantias. A entrada dessas informações no domínio semântico ocorre pela ponte de admissão e interpretação definida pelo contrato da aplicação.
Assim, um teste geométrico que indica continência ou sobreposição precisa ser relacionado ao significado de SpatialContains ou SpatialOverlaps sob a base de autoridade correspondente. A conclusão de mecanismo fornece a informação utilizada nessa passagem; a relação semântica possui sua própria regra de introdução.
Percepção espacial e posições epistêmicas
Sistemas de percepção podem produzir imagens, detecções, estimativas de posição e propostas de correlação. Esses resultados são interpretados segundo a identidade do instrumento, do modelo, do frame, da aquisição e das garantias declaradas. A identificação de um objeto no mundo semântico ocorre por relações e transições próprias.
No pátio ferroviário, um detector pode relatar um objeto com determinada classe e uma caixa delimitadora na imagem. Um mecanismo de correlação pode associar essa detecção a uma região do pátio. A aplicação considera a evidência admitida, as condições de observação e as políticas pertinentes antes de derivar uma avaliação sobre presença numa área restrita.
O mesmo princípio vale para sensores e sistemas de rastreamento. Uma trajetória estimada pode ser uma hipótese de acompanhamento; sua associação a um veículo específico conserva a base e a confiança da correlação. A posição de observador, a identidade do referente e as avaliações realizadas por outros agentes podem ser utilizadas conjuntamente sem perder seus estatutos próprios.
Uma projeção cartográfica também possui esse caráter representacional. O elemento desenhado numa interface pode apontar para um referente semântico por uma correspondência tipada e reconstruível. Uma mudança de escala, estilo ou geometria de exibição modifica a representação apresentada, enquanto o referente e as informações situadas utilizadas permanecem sujeitos aos seus contratos originais.
Espaço e tempo nas operações
As relações espaciais podem ter aplicabilidade temporal. A restrição de uma zona ferroviária, por exemplo, pode vigorar durante uma janela de manutenção. A região possui identidade espacial, a regra de restrição possui escopo e autoridade, e o período de vigência integra a base temporal sob a qual a regra se aplica.
Uma consulta que seleciona zonas restritas em determinado horário pode combinar referentes de std::world::space e std::world::time com os contratos operacionais da aplicação. Uma inferência pode utilizar a continência entre regiões e as condições de vigência para produzir um resultado relativo ao instante considerado. Uma decisão posterior exige também suas próprias condições de admissão e autoridade.
Quando as entradas provêm de observadores distintos, a operação registra as correspondências necessárias entre frames, regiões e papéis temporais. Uma observação feita às 9h em um frame de câmera e uma restrição aplicável às 9h em um frame operacional podem ser relacionadas por transformações e bases explícitas. A coincidência temporal sozinha não estabelece identidade espacial, causalidade ou ocorrência de um efeito.
A composição preserva as qualificações que seus consumidores necessitam. O resultado pode restringir um recorte espacial ou temporal, derivar uma relação ou transformar uma representação; cada passagem tem seu contrato de continuidade semântica.
Contextos hipotéticos no espaço-tempo
Os cenários do FormaSL permitem avaliar operações sob premissas situadas. Uma definição de cenário estabelece as alterações ou condições hipotéticas, enquanto cada instância de contexto é vinculada a uma base de fonte, a revisões relevantes e a parâmetros de escopo, frame e tempo.
Uma equipe pode analisar a hipótese de interdição de uma zona do pátio durante duas horas e calcular os percursos operacionais disponíveis nesse intervalo. A área interditada, a duração assumida e a base dos demais dados integram o contexto hipotético. Os resultados conservam sua dependência das premissas utilizadas.
A avaliação do cenário mantém a base original identificável. Seu resultado pode servir de informação para uma decisão real mediante a transição semântica apropriada, que explicita como a conclusão hipotética foi considerada e quais condições de autoridade regem a decisão.
Continuidade contextual, temporal e espacial
O FormaSL conserva, em cada operação e composição, as qualificações necessárias para que o resultado possa ser interpretado sob a base correta. Isso inclui os papéis temporais, o contexto e o escopo aplicáveis, as referências aos frames e sistemas de referência, os vínculos de proveniência e a natureza epistêmica dos conteúdos utilizados.
Uma operação pode preservar essas informações diretamente, transformá-las com correspondência explícita, derivar novas propriedades, restringir o resultado ou descartar qualificações quando o contrato autoriza essa perda. A seleção depende das condições em que o resultado será utilizado, e as dependências materiais permanecem reconstruíveis.
Essas propriedades conectam contextos, tempo e espaço ao restante da linguagem. As ontologias estabelecem interpretações de domínio; o metagrafo organiza as relações; as operações utilizam informações situadas; e a realização fornece os mecanismos de cálculo e aquisição previstos pelos contratos semânticos.
Documentação relacionada
Modelo de mundo apresenta as categorias fundamentais da informação situada. Arquitetura lógica e metagrafo descreve as estruturas relacionais que recebem qualificações de tempo e espaço. Continuidade semântica trata da preservação dessas qualificações em operações e resultados. Operações semânticas e transições explica a passagem entre computações, julgamentos, ações e observações. Do programa semântico à realização descreve a realização dos cálculos e das fronteiras de aquisição.
Operações semânticas e transições
Autoridades: os contratos integrais de Query, Analysis, Reasoning e Transformation, as fronteiras de regime e a emenda R2 estão carregados verbatim em Autoridades de capacidade e regime — este capítulo é pedagógico e não os substitui. As operações do FormaSL aplicam contratos semânticos a informações de um domínio. Uma operação determina como suas entradas são interpretadas, que relação estabelece com os resultados e quais condições devem ser satisfeitas para que esses resultados possam ser utilizados em outras computações.
O FormaSL reúne consultas, análises, inferências, transformações e julgamentos governados em um mesmo ambiente semântico. Também permite declarar atos de afirmação, decisões, contextos hipotéticos e transições que relacionam a fonte autoritativa à execução e às novas informações obtidas no mundo. Cada capacidade possui seu contrato, suas entradas e seu modo de produzir resultados.
O metagrafo fornece a estrutura lógica sobre a qual essas operações trabalham. As ontologias e teorias oferecem bases de interpretação; os contratos de tipos e relações determinam as condições de formação e participação. A continuidade semântica mantém recuperáveis as qualificações necessárias quando o resultado de uma operação passa a integrar outra.
Contratos e aplicações semânticas
Uma operação é definida por um contrato semântico identificado e por uma base de interpretação. O contrato estabelece as entradas admitidas, o significado da computação, a natureza dos resultados e as condições de conclusão. Também determina as dependências relevantes, os resultados negativos ou inconclusivos e, quando aplicável, as condições de autoridade necessárias à sua realização.
Uma aplicação semântica vincula esse contrato a entradas e parâmetros determinados. Ela identifica a revisão do contrato utilizada, as referências resolvidas e as informações que deverão estar disponíveis durante a avaliação. A declaração de uma aplicação em .fsl pertence ao programa semântico; sua execução concreta ocorre posteriormente, sob uma vinculação de realização e uma instância de execução.
Duas aplicações podem utilizar a mesma definição e produzir resultados diferentes por receberem entradas ou bases de interpretação distintas. A identidade da aplicação, a identidade de cada execução e a identidade dos resultados permanecem recuperáveis conforme os respectivos contratos.
Essa organização permite compor operações de naturezas diferentes. Uma consulta pode fornecer elementos para uma análise; uma inferência pode produzir conteúdo para uma nova consulta; uma validação pode fornecer um julgamento utilizado em uma decisão. A passagem entre elas respeita o contrato da operação consumidora.
Consulta
A consulta, expressa pela família match, seleciona e relaciona informações sob um QueryContract. Seu resultado é uma resposta à consulta, interpretada sobre a base semântica utilizada na avaliação.
O FormaSL consulta entidades, instâncias relacionais, papéis e referências tipadas do metagrafo. Padrões podem combinar relações e condições sobre os participantes, enquanto projeções, agrupamentos, agregações e ordenações organizam as respostas. Percursos também podem ser consultados segundo contratos que determinam os passos admissíveis, a reutilização de elementos e a seleção de caminhos.
A resposta mantém as informações necessárias para interpretar sua origem, seus vínculos e sua completude. Uma projeção pode apresentar apenas parte das qualificações disponíveis na base consultada, de acordo com o contrato da consulta. Uma visão de grafo produzida por consulta continua sendo uma visão sobre essa base.
Por exemplo, uma consulta ao histórico de manutenção de uma estação de bombeamento pode selecionar inspeções de um equipamento, relacionar cada inspeção ao responsável e identificar medições obtidas durante um intervalo. O resultado conserva as referências necessárias para que uma análise posterior utilize as medições e suas condições de produção.
Análise e predição
A família analyze aplica um AnalysisContract a entradas interpretadas sob uma base definida. Ela abrange operações analíticas, estatísticas, algorítmicas e baseadas em modelos, incluindo análises sobre estruturas relacionais e previsões.
O contrato estabelece a relação entre entradas e saídas, os parâmetros semânticos da operação e a natureza do resultado. Uma análise pode ser exata, aproximada ou estocástica. Quando estimativas, incertezas, critérios de avaliação ou condições de reprodução participam do significado, essas propriedades acompanham o resultado.
Uma análise de risco de falha, por exemplo, pode utilizar medições, histórico de inspeções e características de um ativo para produzir uma estimativa. O resultado possui a interpretação definida pelo modelo e pela base analítica selecionados. Ele pode integrar outras operações como informação analítica, mantendo sua origem e suas condições de produção.
Modelos, treinamento, avaliação e inferência possuem identidades e responsabilidades próprias. Um artefato aprendido pode ser referenciado por sua revisão; a utilização desse artefato em determinada execução produz um resultado com dependências da versão do modelo e dos dados efetivamente empregados.
Raciocínio semântico
A família infer produz consequências semânticas segundo um ReasoningContract. Esse contrato identifica a teoria ou ontologia, as regras aplicáveis, o regime de premissas e a relação de consequência utilizada.
Uma premissa é admitida sob as condições da operação. Uma Claim, uma observação ou um resultado analítico pode participar de uma inferência quando o contrato estabelece como seu conteúdo será interpretado nessa posição. A consequência produzida conserva sua relação com a teoria, as premissas e a derivação pertinente.
Os perfis de raciocínio do FormaSL incluem dedução positiva recursiva, raciocínio estratificado com condições negativas e agregações, e regras existenciais positivas controladas. Cada perfil define suas condições de formação, segurança, conclusão e produção de testemunhos.
Uma teoria de manutenção pode estabelecer consequências sobre a necessidade de uma inspeção a partir de condições observadas nos equipamentos. A inferência produz o conteúdo derivado sob essa teoria. Uma eventual decisão de intervenção utiliza o resultado segundo a política e a autoridade da operação decisória.
O raciocínio também pode produzir artefatos de derivação, referências às dependências e informações de completude. Esses elementos permitem consultar e utilizar as consequências sem confundir o resultado da inferência com um novo ato de afirmação atribuível a um agente.
Transformação semântica
A família transform constrói artefatos semânticos de destino a partir de informações de origem, segundo um TransformationContract. O contrato descreve a correspondência entre origem e destino, a formação do novo conteúdo e o tratamento das qualificações relevantes.
Uma transformação pode reunir informações, reorganizar relações, construir novas instâncias ou produzir estruturas destinadas a outra aplicação. O artefato resultante possui significado próprio, vinculado à transformação que o produziu.
A diferença entre consulta e transformação aparece no contrato do resultado. Uma consulta que constrói uma visão ou apresenta valores derivados continua produzindo uma resposta à consulta. Uma transformação constitui um estágio próprio quando estabelece um artefato de destino sob uma correspondência semântica entre origem e destino.
A transformação também declara como trata identidade, proveniência, dependências e demais qualificações materiais. O resultado pode preservar propriedades, derivar informações novas, alterar explicitamente determinadas condições ou restringir o conteúdo conforme o contrato.
Uma transformação entre um modelo de inspeções e uma estrutura de avaliação operacional, por exemplo, pode relacionar diferentes registros a um artefato de acompanhamento de um equipamento. A correspondência entre as informações de origem e os elementos construídos permanece recuperável para uso posterior.
Resultados e condições de conclusão
Cada operação produz resultados cujo estatuto semântico decorre de seu contrato. Uma resposta de consulta, um valor analítico, uma consequência de raciocínio e um julgamento de conformidade possuem interpretações próprias.
O resultado reúne, conforme sua natureza, conteúdo, base de interpretação, dependências, proveniência e informações de completude. Essas dimensões formam a interface semântica que permite utilizar o resultado em composições. A presença de campos ou estruturas semelhantes em dois resultados não estabelece, por si só, que possam ser consumidos sob o mesmo contrato.
Completude indica se o critério de conclusão definido pela operação foi satisfeito para a base considerada. Uma consulta pode terminar com um conjunto completo de respostas, uma avaliação pode permanecer inconclusiva e uma inferência pode produzir resultados parciais sob um orçamento limitado. Os estados de completude acompanham os resultados quando são relevantes para seu uso.
O gas delimita o trabalho computacional lógico. Seu esgotamento encerra ou limita uma execução segundo as regras aplicáveis e mantém distinguível essa condição da conclusão semântica. Uma execução pode terminar operacionalmente sem que a operação tenha satisfeito seu critério de completude.
Da mesma forma, uma consulta vazia, um julgamento negativo, uma informação desconhecida, um resultado inconclusivo e uma falha de mecanismo possuem significados diferentes. O contrato do produtor determina quais resultados são admissíveis e como podem ser encaminhados à operação seguinte.
Validação e julgamentos governados
A família validate examina um alvo sob um ValidationContract. A avaliação considera um mundo de validação, critérios de seleção e restrições admitidas, produzindo resultados e achados segundo as condições de conformidade desse contrato.
A validação utiliza o mundo e os critérios de sua própria operação. Um julgamento de conformidade pode ser utilizado por processos de governança, preservando a identidade dos critérios, das informações avaliadas e da base considerada.
As famílias admit, authorize e decide realizam outros papéis:
- Admissão examina a passagem de um candidato por uma fronteira governada, sob as políticas e condições aplicáveis.
- Autorização avalia a posição de um agente perante determinada ação ou capacidade, considerando sua autoridade e o escopo relevante.
- Decisão registra um ato atribuível de seleção ou adjudicação sob uma base normativa e informacional determinada.
Essas operações podem compartilhar informações e julgamentos sem perder suas responsabilidades. Uma inspeção pode atender às restrições de qualidade de um equipamento, enquanto sua utilização em determinada atividade depende de admissão e da autorização do agente responsável. A decisão operacional associa as condições pertinentes ao resultado assumido pelo decisor.
A efetividade normativa de uma decisão é determinada pelas relações de governança aplicáveis. Seu registro constitui um acontecimento semântico identificável, com sujeito, responsável, base e tempo próprios.
Afirmações, revisões e posições semânticas
O FormaSL também dispõe de transições que introduzem ou modificam posições atribuíveis.
A emissão de uma Claim cria a identidade de um ato de afirmação, associando conteúdo, emissor e condições de interpretação. A adoção de uma informação ou de um resultado como afirmação própria introduz uma nova Claim quando constitui um novo ato atribuível. A comunicação e a recepção de uma Claim já existente conservam sua identidade.
Uma posição pode ser revista ao longo do tempo. Retração, correção e substituição por sucessão possuem relações históricas próprias. A retração registra a mudança de posição sob a autoridade pertinente; a correção pode introduzir conteúdo novo associado ao anterior; a sucessão estabelece como uma posição passa a ser considerada em relação a outra.
Essas transições preservam a história das afirmações e as condições em que foram utilizadas. Uma consulta ao estado corrente pode selecionar a posição aplicável, enquanto uma consulta histórica recupera as afirmações e revisões que contribuíram para decisões anteriores.
A família revise participa das transições semânticas de revisão segundo o contrato correspondente. A evolução da fonte autoritativa, tratada adiante, constitui uma responsabilidade adicional.
Cenários e avaliações hipotéticas
A família scenario estabelece um contexto de avaliação a partir de uma base determinada e de premissas ou alterações locais. O contexto resultante permite executar operações sobre informações hipotéticas, mantendo sua relação com a base de origem.
Um cenário pode acrescentar hipóteses, restringir elementos visíveis, substituir informações para a avaliação, introduzir conteúdo local ou aplicar transições hipotéticas autorizadas por seu contrato. As aplicações executadas nesse contexto produzem resultados cujas dependências das premissas permanecem reconstruíveis.
Uma equipe responsável pelo abastecimento de água pode avaliar a operação da rede supondo que uma estação de bombeamento permaneça indisponível durante determinado período. A consulta às rotas de distribuição e uma análise da capacidade restante são realizadas sob essa base hipotética. Seus resultados podem apoiar uma avaliação posterior, preservando a origem das premissas empregadas.
A definição de um cenário, a instância de contexto criada para determinada base e os resultados obtidos são elementos diferentes. A utilização posterior de um resultado hipotético em uma afirmação ou decisão ocorre por uma transição explícita, com as qualificações e dependências correspondentes.
Requisição de execução e observação
As operações semânticas podem conduzir a ações realizadas por mecanismos externos. A família execution_request expressa uma requisição vinculada a um contrato de ação, com entradas, solicitante e condições de governança pertinentes.
A realização da requisição envolve uma fronteira operacional. Uma tentativa de execução possui identidade, executor, condições de início e resultado próprios. O mecanismo responsável pode fornecer registros ou recibos que descrevem o processamento realizado sob as garantias de sua interface.
Os efeitos ocorridos no ambiente são interpretados por relações apropriadas, incluindo a base causal quando necessário. A família observe relaciona informações adquiridas por agentes, instrumentos ou serviços àquilo que foi observado, conservando método, tempo, contexto e proveniência relevantes.
Considere uma decisão que solicita o desligamento de uma bomba. A requisição encaminha a ação ao sistema responsável; a tentativa de execução produz seu resultado operacional; uma leitura posterior pode fornecer informação sobre o estado do equipamento. A decisão, a tentativa, o acontecimento externo e a observação integram a mesma história semântica por relações explícitas.
A observação pode participar de novas avaliações, inferências e decisões. Sua incorporação ao corpus autoritativo segue a transição de fonte aplicável.
Evolução e incorporação à fonte
A fonte .fsl constitui o plano de significado e dados semânticos autoritativos. A execução de uma operação pode produzir resultados e artefatos utilizáveis em outras computações; a evolução da fonte introduz um novo estado autoritativo sob um contrato de mudança.
O FormaSL distingue a autoria do material de fonte, a evolução de seu estado autoritativo e a revisão dos elementos semânticos nela representados. Uma alteração de arquivo pode produzir uma nova versão de fonte sem constituir, por si só, uma nova identidade de cada elemento. Uma revisão semântica pode relacionar elementos históricos sem exigir mutação física do registro anterior.
A superfície evolve source descreve mudanças de fonte a partir de uma base identificada. A família incorporate realiza a incorporação governada de informação, conforme as condições de autoridade, aceitação e publicação estabelecidas pelo contrato aplicável. O resultado dessas transições determina quando uma nova fonte autoritativa passa a existir.
Essa separação mantém a rastreabilidade entre o estado utilizado na computação, o resultado produzido, a decisão que eventualmente o adotou e a revisão de fonte que recebeu a informação. Também permite conservar diferentes tempos de ocorrência, observação, registro e vigência.
Composição de operações
Uma composição relaciona aplicações semânticas e suas dependências. Ela define como resultados são encaminhados entre etapas, quais condições determinam os caminhos de execução e que resultados ou transições integram sua conclusão.
A aceitação de uma entrada considera o tipo e a categoria do resultado, seu estatuto semântico, a base de interpretação, as dependências relevantes e a condição de completude. Operações com exigências adicionais, como admissão de premissas em raciocínio ou autoridade para decisões, aplicam seus próprios critérios.
O contrato de composição distingue a dependência entre informações da precedência semântica declarada. O escalonamento efetivo pertence à execução e pode utilizar diferentes estratégias desde que preserve as condições exigidas. Quando etapas precisam ser introduzidas de forma acoplada, o contrato de composição estabelece essa relação.
Uma composição também determina o tratamento de resultados alternativos, etapas condicionais, resultados inconclusivos e falhas. Sua conclusão semântica depende dos resultados e transições exigidos pelo contrato, enquanto a terminação de uma execução descreve o encerramento do processamento correspondente.
A interrupção de uma etapa não elimina acontecimentos semânticos ou efeitos externos já realizados. Revisões, retrações e compensações são novas transições, cuja relação com a história anterior permanece identificável.
Relação entre fonte, computação e mundo
O percurso operacional do FormaSL conecta a fonte semântica às aplicações e aos mecanismos que realizam seus contratos. Uma fonte é resolvida e elaborada em um programa semântico; aplicações selecionam entradas e produzem resultados; julgamentos e decisões podem desencadear requisições de execução; observações e informações posteriores podem alimentar novas operações.
Quando há incorporação governada, esse percurso produz um novo estado de fonte. Cada passagem conserva as identidades, bases de interpretação, autoridades e dependências necessárias à continuidade semântica.
A referência detalhada da linguagem descreve a sintaxe e os parâmetros de cada família de operações. Os contratos específicos de consulta, análise, raciocínio, transformação, validação, governança e ciclo de vida estabelecem sua semântica e suas condições de execução.
Documentação relacionada
A Arquitetura lógica e metagrafo descreve a estrutura dos elementos sobre os quais essas operações trabalham. Ontologias e teorias semânticas apresenta suas bases conceituais. Invariantes semânticos e Continuidade semântica definem as propriedades preservadas quando informações e resultados atravessam operações e transições.
Do programa semântico à realização
Autoridades: o contrato correspondente está carregado verbatim em Autoridades — este capítulo é pedagógico e não o substitui. O FormaSL separa a definição semântica de uma aplicação dos mecanismos utilizados para executá-la. Os programas
.fsldeclaram estruturas, contratos e operações que constituem seu significado. A realização associa essas declarações a capacidades, provedores e recursos concretos, preservando as condições em que os resultados devem ser interpretados.
Essa passagem percorre a resolução das declarações, a formação do programa semântico explícito, a identificação dos requisitos de realização e a vinculação desses requisitos a mecanismos disponíveis. O plano resultante pode então ser executado sobre um estado determinado. As informações produzidas pelo runtime são interpretadas segundo os contratos da operação e podem participar de novas computações ou transições semânticas.
A fonte semântica
Os arquivos .fsl constituem a fonte autoritativa de significado e dados semânticos. Eles reúnem declarações de tipos, relações, teorias, regras e aplicações, além do conteúdo de fonte admitido pela linguagem. Uma aplicação utiliza essas estruturas sob contratos que estabelecem suas entradas, operações e resultados.
A semântica declarada conserva sua base de interpretação: identidades resolvidas, revisões de contratos, informações de tempo e contexto e relações de autoridade ou dependência pertinentes. Um programa pode ser empregado em ambientes operacionais diferentes porque essas condições pertencem à definição da linguagem, e a escolha dos mecanismos concretos ocorre em outra etapa.
Módulos e pacotes organizam a autoria e a distribuição dessas declarações. A resolução fixa quais contratos e referentes foram selecionados; o caminho do arquivo, o nome de um pacote ou a ordem de carregamento não substituem essa base.
Resolução, verificação e elaboração
Antes da realização, o FormaSL determina a estrutura do programa. A linguagem reconhece as construções de fonte, resolve vínculos e referências e aplica os julgamentos estáticos de formação, tipos e interfaces. O resultado é um programa admitido e resolvido, com uma base de declarações suficientemente determinada para a etapa seguinte.
A elaboração leva esse programa a uma representação semântica explícita. Nela, o significado das construções continua associado aos seus contratos, às identidades dos referentes e à origem no texto de fonte. A correspondência inclui, quando relevante, as revisões dos tipos, dos contratos de relação e das operações, bem como os requisitos de entrada, de resultado e de continuidade semântica.
O programa semântico explícito é uma função contratual da arquitetura. Compiladores e ferramentas podem empregar representações intermediárias próprias, desde que mantenham a correspondência com a fonte e os observáveis semânticos exigidos pela linguagem.
Aplicações e requisitos de realização
Uma aplicação semântica vincula um contrato a entradas e condições de utilização. Ela pode representar uma consulta, uma análise, uma inferência, uma transformação ou uma operação governada. A declaração da aplicação e a instância de execução são identificadas separadamente, permitindo que o mesmo contrato seja realizado e executado sob bases diferentes.
Quando uma aplicação necessita de mecanismos externos à definição semântica, ela estabelece um RealizationRequirement. Esse requisito descreve, de forma independente de um provedor específico, a capacidade necessária para realizar a operação. Conforme o contrato, pode incluir a classe de capacidade, a revisão exata do operador ou modelo, o regime de exatidão ou aproximação, as garantias de completude e determinismo, os requisitos de asseguração e a fronteira de confiança para entradas externas.
Uma aplicação de análise pode exigir um operador cuja saída tenha determinada interpretação estatística; uma observação pode exigir aquisição por um instrumento com garantias identificadas; uma operação de ação pode exigir uma capacidade de execução apropriada. Cada requisito permite examinar o que o ambiente oferece sem alterar o contrato semântico da aplicação.
A admissão semântica do programa, a satisfação de suas necessidades de realização e a prontidão para executar são estados diferentes do percurso. Essa separação permite identificar precisamente se uma dificuldade pertence à declaração, à disponibilidade das capacidades ou à execução.
O papel dos arquivos .fsp
Os arquivos .fsp especificam a realização. Eles selecionam ou restringem mecanismos, provedores, recursos e políticas operacionais para satisfazer requisitos previamente estabelecidos pelo programa semântico.
A superfície da linguagem oferece uma declaração realization, com alvos de vinculação. Um alvo for app se refere a uma declaração de aplicação; for stage identifica um locus específico de aplicação dentro de uma composição. Também existem alvos de módulo, fonte, composição e capacidade, segundo os contratos que os admitem.
As cláusulas têm responsabilidades próprias. bind associa um slot de realização a um valor ou mecanismo. require declara uma exigência, limit estabelece um limite, prefer expressa uma preferência e budget especifica um orçamento aplicável ao slot correspondente. Grupos permitem formular condições conjuntas sobre alvos relacionados. Essas escolhas são interpretadas conforme o esquema exato de realização e as regras de especificidade da linguagem.
Um perfil pode, por exemplo, vincular uma análise a um operador disponível em determinada infraestrutura e estabelecer requisitos de recursos. Outro perfil pode selecionar uma alternativa compatível para o mesmo programa. A vinculação conserva a identidade da operação, a revisão de seu contrato e as garantias que o mecanismo escolhido deve satisfazer.
Resolução estática da realização
O static weaving é a etapa que resolve a relação entre requisitos semânticos e escolhas de realização. A partir do programa declarado e da configuração .fsp, o FormaSL determina os vínculos aplicáveis e obtém uma associação executável com o contrato original preservado.
A resolução considera as capacidades exigidas, as garantias oferecidas pelos mecanismos candidatos, os alvos selecionados e as restrições operacionais. Quando o ambiente satisfaz essas condições, os vínculos podem ser incorporados ao plano de realização. Quando uma referência permanece ambígua ou uma capacidade necessária não pode ser satisfeita, o resultado expressa a condição correspondente.
A identidade de uma aplicação e a escolha do mecanismo são registradas em planos diferentes. O static weaving estabelece como realizar um contrato, preservando o contrato que foi definido na fonte .fsl.
Planejamento e representação executável
Uma realização resolvida oferece ao planejador as operações, dependências e restrições necessárias para construir um plano executável. Esse plano pode utilizar índices, algoritmos especializados, transformações intermediárias, paralelismo, lotes e mecanismos de armazenamento adequados à infraestrutura selecionada.
O planejamento distingue dependência de dados, ordem semântica e escalonamento operacional. A dependência de dados indica que uma etapa consome o resultado de outra. A ordem semântica estabelece precedências necessárias ao significado, como a introdução de uma decisão antes de uma requisição que a utiliza. O escalonamento organiza a execução efetiva, respeitando essas condições.
Com isso, uma consulta pode ser otimizada sem alterar o significado de seus resultados, e etapas independentes podem ser executadas conforme as possibilidades do ambiente. As transformações e otimizações conservam os observáveis semânticos materiais: identidade, base de interpretação, ordem exigida, estatuto dos resultados, dependências e completude, entre outros.
Recursos e realização física
As escolhas de realização também podem envolver requisitos físicos e posicionamento de componentes. O contrato de PhysicalRealization relaciona um plano de realização, os provedores resolvidos, uma atribuição de posicionamento e os requisitos de recursos necessários para examinar sua adequação a um dispositivo ou topologia.
A admissão dessa realização pode determinar que os requisitos estão satisfeitos, que alguma condição comprovadamente não foi satisfeita ou que a informação disponível ainda é insuficiente para o julgamento. Essa avaliação utiliza evidências de capacidades, recursos, posicionamento e garantias exigidas, mantendo a base que fundamentou o resultado.
Memória, capacidade de processamento, latência, energia e largura de banda podem integrar os requisitos físicos. O gas possui outra função: delimita o trabalho computacional lógico segundo o contrato de execução. Os dois conjuntos de requisitos podem atuar sobre a mesma aplicação sem perder suas responsabilidades.
Instâncias de execução e estado dinâmico
O runtime executa aplicações vinculadas sobre um estado determinado. Cada instância de execução identifica a aplicação, a base de interpretação pertinente, os recursos empregados e os acontecimentos operacionais necessários à reconstrução de seus resultados.
Algumas entradas só existem durante a execução. Uma operação pode consumir uma observação recém-adquirida, uma identidade introduzida por uma transição anterior ou um resultado produzido em outro estágio. A definição semântica fixa a natureza da entrada exigida e a regra de vinculação; o runtime fornece o valor concreto por um caminho admitido.
O contrato também determina quando a base de interpretação é fixada. Em avaliações prolongadas, pode ser relevante operar sobre uma revisão congelada ou sob regras explícitas de evolução da base. O registro da execução conserva as revisões e os instantes que participaram efetivamente do resultado.
O término de uma tarefa operacional é registrado separadamente da completude semântica do resultado. Assim, a exaustão de gas, uma falha de provedor, uma resposta parcial e uma consulta concluída possuem os estados correspondentes aos contratos que as produziram.
Provedores e reconstrução de resultados
Provedores e motores especializados realizam capacidades sob interfaces definidas. Um mecanismo pode executar uma consulta, realizar uma análise, acessar um serviço ou adquirir uma informação externa. Sua saída operacional atravessa uma fronteira de interpretação antes de adquirir o estatuto semântico previsto pelo contrato consumidor.
Essa fronteira verifica ou reconstrói, conforme a operação, a compatibilidade dos valores e tipos, a revisão do contrato utilizado, a base de interpretação, as garantias de completude ou precisão, a proveniência e a correspondência entre fonte, aplicação, execução e resultado.
Um modelo analítico pode devolver uma estimativa acompanhada de informações sobre sua execução. O resultado semântico correspondente é constituído sob o AnalysisContract que o admite. Um instrumento pode fornecer uma leitura, utilizada como evidência por um contrato de observação. Cada passagem conserva a natureza e as garantias da informação produzida.
Reutilização, incrementalidade e continuidade
A realização pode utilizar resultados previamente produzidos, caches, execução incremental e otimizações por fusão quando os contratos permitem. A reutilização considera as dimensões que participam do significado: revisões de fonte e teoria, contexto, escopo, temporalidade, proveniência, identidade dos resultados e condições de completude.
Um resultado incremental pode ser consumido antes da conclusão total quando um contrato de consumo incremental estabelece os estados parciais admitidos, sua evolução e os efeitos permitidos ao consumidor. A transmissão em fluxo é um mecanismo de entrega; a semântica dos incrementos pertence ao contrato do resultado.
A continuidade semântica se aplica ao percurso inteiro: da fonte à representação elaborada, do vínculo de realização ao plano, da execução ao resultado reconstruído. Uma otimização pode reorganizar os cálculos, mas preserva as distinções exigidas para que outras operações interpretem seus resultados corretamente.
Um percurso de realização
Considere uma aplicação que acompanha a conservação de medicamentos durante o transporte. Seus módulos .fsl declaram lotes, relações de remessa, observações de temperatura, critérios de qualidade e operações de avaliação. Uma composição consulta as medições pertinentes, produz uma análise e encaminha o resultado às operações governadas que decidem a destinação do lote.
A resolução fixa as identidades das declarações, dos contratos e de suas revisões. A elaboração explicita as aplicações e dependências. Um perfil .fsp associa os requisitos de consulta, análise e aquisição às capacidades disponíveis no ambiente. O static weaving produz os vínculos, e o planejamento organiza a execução sob as precedências declaradas.
Durante a execução, um mecanismo de aquisição pode fornecer leituras segundo seu contrato, enquanto outro mecanismo calcula uma estimativa de risco. O runtime recebe as saídas e as relaciona às instâncias de execução pertinentes. As fronteiras de interpretação constituem os resultados semânticos que serão consumidos pelas etapas seguintes, preservando a dependência das medições, dos critérios e dos modelos utilizados.
Se a decisão exigir uma ação externa, ela pode fundamentar uma requisição de execução. A tentativa operacional, o eventual efeito sobre o lote e as observações posteriores acrescentam acontecimentos distintos à história. A incorporação de informações à fonte autoritativa ocorre por uma transição governada, produzindo uma nova base de fonte para computações posteriores.
O mesmo programa semântico pode ser vinculado a outra infraestrutura que satisfaça seus requisitos. As escolhas de realização mudam; as responsabilidades das operações e as condições de interpretação permanecem determinadas pelos contratos de origem.
Documentação relacionada
Módulos, interfaces e resolução de referências apresenta a organização da fonte e dos vínculos. Operações semânticas e transições descreve os contratos aplicados durante a computação. Continuidade semântica define as obrigações de preservação que acompanham as transformações e a execução.
Aplicações semânticas e composição
O FormaSL permite construir programas maiores pela composição de aplicações semânticas. Cada aplicação utiliza um contrato identificado, recebe entradas sob condições definidas e produz resultados ou transições com significado próprio. A composição determina como essas operações se relacionam, quais informações podem atravessar suas fronteiras e quais acontecimentos constituem a conclusão do programa composto.
Consultas, análises, inferências, transformações e julgamentos governados podem participar da mesma composição. Os contratos dos produtores e consumidores estabelecem as condições dessa integração. O programa resultante possui uma interface semântica que pode ser utilizada por outras composições, preservando as garantias de seus componentes e a história das transições materialmente relevantes.
Aplicações vinculadas a contratos
Uma aplicação semântica vincula uma revisão específica de contrato a declarações, argumentos e requisitos de entrada. Na representação semântica explícita do programa, essa vinculação torna recuperáveis a identidade da aplicação, sua origem na fonte, as entradas exigidas, a base de interpretação e o contrato dos resultados que ela pode produzir.
A declaração de uma aplicação e a sua invocação exercem papéis distintos. Uma mesma aplicação declarada pode ser utilizada por várias composições e executada diversas vezes. Cada execução recebe argumentos e uma base de avaliação identificáveis; os resultados preservam a correspondência com a aplicação e com o contrato que os produziu.
Dentro de uma composição, um estágio identifica o lugar de uma aplicação no programa composto. O nome do estágio serve para relacionar resultados, dependência e ordenação. Ele não substitui a identidade da aplicação semântica nem a identidade de uma ocorrência de execução.
Resultados que preservam seu significado
Uma operação produtora define um ResultContract. Esse contrato descreve o conteúdo que pode ser entregue, o estatuto semântico (standing) desse conteúdo, a base necessária para interpretá-lo, suas dependências e o critério de completude. Também identifica os resultados alternativos e as garantias de asseguração pertinentes.
Uma resposta de consulta, um valor analítico, uma consequência de inferência e um julgamento de conformidade podem conter dados estruturalmente semelhantes e ainda representar coisas diferentes. O resultado conserva o estatuto atribuído pelo contrato que o produziu. O consumidor recebe essas informações sem precisar reconstruir o significado a partir de um formato de armazenamento ou de uma convenção local de runtime.
A dependência também tem papel tipado. Um resultado pode depender de uma premissa de derivação, de evidência utilizada por uma avaliação, de uma teoria que define sua interpretação ou de uma transformação que produziu sua representação. Quando essas relações afetam a interpretação, o contrato preserva seu papel específico, diretamente ou por referência.
A identidade de um resultado se torna especialmente relevante quando ele será referenciado, comunicado, revisto ou usado como suporte de outro julgamento. Nesses casos, o contrato fornece uma maneira estável de designar o resultado ou o fragmento pretendido, de acordo com a semântica da operação produtora.
Admissibilidade entre produtor e consumidor
A ligação entre duas aplicações é governada pelo contrato de entrada da operação consumidora. A verificação considera a formação estática e os tipos, o estatuto efetivo do resultado, a compatibilidade entre as bases de interpretação, as dependências necessárias e a sua condição de completude. Operações especializadas acrescentam os julgamentos de admissibilidade e autoridade correspondentes.
O FormaSL distingue a admissibilidade de um resultado concreto da composibilidade direta entre contratos. Um contrato produtor é diretamente composível com o contrato de entrada de um consumidor quando todos os seus desfechos admissíveis para aquela ligação incondicional satisfazem as exigências do consumidor. Quando o produtor admite estados alternativos, uma ramificação ou uma transformação explícita pode selecionar os resultados apropriados antes da passagem.
A aceitação de várias entradas é examinada conjuntamente quando seu significado depende de relações entre elas. Duas entradas individualmente admissíveis podem pertencer a revisões históricas incompatíveis, a frames que exigem transformação ou a contextos cuja correlação ainda não foi estabelecida. O contrato consumidor define como avaliar o conjunto.
Uma consequência de raciocínio, por exemplo, pode ser consultada como artefato semântico. Para funcionar como premissa de outra inferência, passa também pelas regras de admissão de premissas dessa segunda operação. Se for utilizada por um julgamento de autorização, os critérios de governança correspondentes se aplicam de maneira independente.
Dependências e entradas vinculadas durante a execução
A composição declara as dependências de dados e resultados entre suas etapas. Uma operação pode consumir a resposta de uma consulta, a revisão de fonte introduzida por uma transição anterior ou o identificador de uma decisão produzida no próprio programa.
Alguns valores só são conhecidos durante a avaliação. Nesses casos, o programa semântico define antecipadamente de qual resultado ou transição o valor será obtido, qual papel desempenha e como será selecionado. A vinculação pode exigir um único referente, admitir uma entrada opcional ou operar sobre um conjunto segundo o contrato aplicável. O runtime fornece os valores concretos preservando essas regras.
A base de interpretação também participa da vinculação. A revisão de uma política, o estado de fonte consultado, o instante relevante de autorização ou um contexto hipotético podem alterar o significado da operação. Valores de ambiente materialmente relevantes, como o relógio consultado ou a seleção de uma revisão corrente, integram entradas ou dependências semanticamente identificadas. A composição registra como essas bases são fixadas e como continuam associadas aos resultados, inclusive quando o ambiente evolui durante uma avaliação prolongada.
Dependência, ordem semântica e escalonamento
A dependência de dados indica que uma etapa necessita de determinada informação produzida ou disponibilizada por outra. A ordem semântica estabelece precedência quando a constituição do significado exige que um acontecimento ou julgamento exista antes de outro. O escalonamento de execução organiza quando e onde o trabalho será realizado pelos mecanismos concretos.
Uma decisão utilizada como fundamento de uma requisição estabelece uma relação de precedência semântica. Uma consulta que consome dados já disponíveis pode depender desses dados sem exigir uma nova execução do produtor. Duas análises independentes podem ser realizadas em paralelo quando seus contratos garantem a ausência de interferências semânticas relevantes.
A composição explicita as interações entre transições que alteram autoridade, fonte ou outras posições semânticas. Quando necessário, estabelece ordenação, acoplamento, isolamento sobre uma base compartilhada ou regras de não interferência. O planejador utiliza essas informações para definir o escalonamento, preservando os vínculos e as garantias declaradas. A ordem do texto-fonte só determina precedência quando o contrato da construção lhe atribui esse papel.
Encaminhamento de resultados e alternativas
Os caminhos de uma composição podem depender dos resultados das etapas anteriores. O FormaSL utiliza resultados e vocabulários de desfecho tipados para determinar essas alternativas. Uma resposta vazia, um julgamento de conformidade violada, uma admissão negada, uma informação desconhecida e um resultado inconclusivo podem conduzir a caminhos diferentes conforme o contrato composto.
A indisponibilidade de um provedor ou o esgotamento de recursos pertence ao canal de resultado operacional. O contrato de composição especifica como essa condição é apresentada ou encaminhada, incluindo alternativas de recuperação ou interrupção quando aplicáveis.
Uma ramificação pode encaminhar um resultado negativo válido a uma etapa de revisão, utilizar uma consulta vazia como condição semântica ou devolver uma composição inconclusiva quando faltam evidências. A interpretação de cada caminho depende do resultado efetivamente recebido e das regras declaradas para aquele ramo.
Etapas condicionais que não foram alcançadas conservam a condição de não alcançadas. Sua ausência de execução possui significado distinto de uma tentativa realizada que falhou ou de uma avaliação que terminou sem conclusão.
Conclusão do programa composto
Toda composição possui um CompositeCompletionContract. Ele determina quais resultados finais e transições são necessários, quais desfechos alternativos são admissíveis e quais ramos participam da conclusão sob determinadas condições.
Um estágio pode ser obrigatório para a conclusão, condicional a um julgamento ou opcional sob um contrato que o trate como não bloqueante. Essa atribuição integra a definição da composição e permite interpretar corretamente uma execução que produziu alguns resultados, mas ainda possui outras obrigações pendentes.
Um resultado intermediário pode ficar disponível antes de o programa composto satisfazer suas condições de conclusão. Da mesma forma, o término operacional de uma invocação não estabelece sozinho a completude semântica da composição. A interface final conserva as diferentes classes de conclusão quando elas participam do significado.
Quando uma entrada relevante é incompleta, o consumidor aplica seu próprio contrato de completude. Ele pode demonstrar que a parte ausente não afeta seu critério de conclusão, admitir um resultado parcial ou conservar a incompletude no resultado seguinte. Essas condições acompanham a informação até a etapa que as resolve ou utiliza explicitamente.
Consumo incremental e fluxo de resultados
Uma operação pode disponibilizar resultados em incrementos. A composição pode consumi-los antes da finalização quando um contrato de consumo incremental estabelece quais incrementos possuem significado utilizável e em quais condições podem ser encaminhados.
Esse contrato identifica a classe de parcialidade de cada incremento, sua ordenação ou revisão, a possibilidade de substituição e o critério de finalização. Também define quando o consumidor pode emitir resultados e quais transições podem ocorrer antes de a entrada se tornar completa.
Um acompanhamento de transporte, por exemplo, pode receber novas leituras de temperatura durante uma viagem. Uma visualização pode aceitar atualizações parciais, enquanto uma decisão irreversível sobre a destinação de um lote pode exigir um conjunto de evidências completo ou uma política que admita expressamente determinada decisão antecipada.
O fluxo de transporte das mensagens e a admissibilidade semântica dos incrementos são tratados por seus respectivos contratos. Isso permite utilizar streaming e processamento incremental sob condições específicas, preservando a interpretação dos resultados ao longo das atualizações.
Iteração, recursão e composições aninhadas
A composição ordinária de aplicações possui estrutura finita e bem fundada. Quando o programa necessita de iteração ou recursão entre aplicações, um contrato específico define o estado inicial, a relação de passo, o critério de conclusão e as condições de parcialidade ou divergência.
Essa disciplina convive com estruturas cíclicas do metagrafo e com a recursão própria de consultas e inferências. Uma consulta de percursos pode operar sobre um grafo cíclico segundo seu contrato; isso não exige que a composição que a invoca também seja recursiva.
Uma composição pode utilizar outra composição nomeada como componente. A composição interna publica as garantias necessárias para que a externa conheça suas entradas, resultados, transições e requisitos de autoridade. A hierarquia organiza a reutilização, enquanto as interações semânticas materiais continuam recuperáveis.
Composições nomeadas e interfaces reutilizáveis
Uma composição nomeada publica um CompositionContract com identidade e revisão próprias. Sua interface determina os contratos das entradas, os resultados e desfechos exportados, as condições de conclusão e os requisitos de realização. Ela também descreve as interações de ciclo de vida que importam para outros programas.
O LifecycleInteractionSummary informa, conforme o caso, a introdução de Claims ou decisões, as mudanças de fonte autoritativa, as requisições de ações externas, as aquisições de observações e as condições de autoridade ou ordenação envolvidas. Essas informações permitem que a composição seja utilizada como uma unidade sem ocultar transições que afetem seus consumidores.
A implementação interna pode evoluir. Uma nova implementação conserva a compatibilidade com o contrato publicado quando preserva as garantias que outros programas utilizam, inclusive as classes de completude, os desfechos alternativos e as interações de ciclo de vida. A igualdade do valor final apresentado ao usuário é apenas uma das propriedades que podem participar dessa compatibilidade.
Reutilização, repetição e histórico
O runtime pode reutilizar resultados existentes quando um contrato de equivalência ou de ReuseAdmissible estabelece que eles satisfazem as exigências do novo consumo. A comparação considera as dimensões relevantes do resultado, como a revisão da teoria ou do modelo, a base temporal e contextual, a autoridade, as dependências e o estado de completude.
A composição também distingue reutilizar um resultado, repetir a entrega de uma mesma requisição e iniciar uma nova execução. Essa diferença é particularmente importante quando as etapas produzem ocorrências históricas ou interagem com mecanismos externos. A semântica da operação determina quais identidades e registros devem ser preservados em cada caso.
O histórico pode ser armazenado ou referenciado por artefatos especializados, desde que as relações necessárias para reconstruir o percurso permaneçam disponíveis. A composição conserva as revisões dos contratos, as bases admitidas em cada ligação e as referências aos resultados e transições materiais.
Composição de julgamentos e efeitos
Algumas composições integram julgamentos governados e transições de ciclo de vida. Uma validação pode produzir um julgamento de conformidade; uma política pode participar da admissão de um candidato; uma decisão pode fundamentar uma requisição de execução. Cada etapa acrescenta seu resultado ou ocorrência sob a autoridade correspondente.
O contrato de composição determina as precedências e os efeitos semânticos exigidos. Quando duas introduções precisam ocorrer de forma acoplada, a relação de acoplamento pertence ao contrato semântico; a realização seleciona mecanismos capazes de respeitá-la. As escolhas de infraestrutura para agrupar etapas não estabelecem, por si, um novo compromisso de atomicidade semântica.
Uma falha posterior pode interromper a composição ou exigir uma transição de compensação. Os acontecimentos já introduzidos preservam sua história. Retificações, retratações e compensações são representadas por suas próprias transições e vinculadas ao percurso que motivou sua realização.
Um exemplo de composição
Considere uma aplicação destinada a acompanhar a liberação de um lote de medicamentos transportado sob controle de temperatura. A composição utiliza uma consulta ao histórico de transporte, uma análise das medições, um julgamento de conformidade e uma etapa governada de decisão.
A consulta seleciona as observações pertinentes ao lote e aos intervalos exigidos pelo contrato. A análise utiliza as medições admitidas sob uma revisão identificada do modelo de risco. A validação considera as restrições aplicáveis ao produto, enquanto a etapa de decisão recebe os resultados e as bases de autoridade exigidas para determinar a destinação.
Essas entradas precisam ser correlacionadas ao mesmo lote e a bases temporais compatíveis. Um julgamento de conformidade pode depender de um intervalo completo de observação; uma estimativa analítica pode ser produzida antes disso e permanecer marcada como parcial. O contrato de composição determina quais caminhos admitem essa parcialidade e quais exigem dados adicionais.
Se a evidência estiver completa e as condições normativas forem satisfeitas, o programa pode produzir a decisão aplicável sob a autoridade do decisor. Se as informações forem insuficientes, um resultado inconclusivo pode encaminhar o lote a nova avaliação. A decisão pode fundamentar uma requisição posterior ao sistema de estoque. A emissão dessa requisição constitui outra transição; sua execução é acompanhada sob as garantias do mecanismo responsável.
A composição publica os resultados e as interações relevantes para outros sistemas: o julgamento efetuado, a decisão tomada, as dependências consideradas e as eventuais requisições de execução. Operações posteriores podem consultar esse percurso ou utilizá-lo como base, preservando as revisões e as condições em que cada resultado foi produzido.
Relação com a realização
No programa .fsl, a composição expressa os contratos, as aplicações, os resultados e as relações de dependência, ordenação e conclusão. A superfície concreta inclui composition, let, stage, order, couple, case, return e unresolved, com significados determinados pela estrutura e pelos contratos utilizados.
A elaboração preserva essas relações no programa semântico explícito. A realização .fsp associa requisitos a capacidades concretas, e o runtime executa os estágios por um caminho de invocação e vínculo tipado. O planejamento pode otimizar ou paralelizar etapas quando conserva as obrigações da composição.
A cadeia entre fonte, aplicação, contrato, realização, execução e resultado permanece reconstruível. Assim, uma composição maior pode aproveitar tanto os resultados semânticos de suas etapas quanto a história e as garantias que definem como foram produzidos.
Documentação relacionada
Operações semânticas e transições apresenta as famílias de operações utilizadas na composição. Continuidade semântica define como suas qualificações atravessam as fronteiras entre etapas. Do programa semântico à realização explica como esses contratos chegam ao planejamento e ao runtime. Módulos, interfaces e resolução de referências descreve a publicação de declarações e contratos reutilizáveis.
Resultados situados, completude e proveniência
Autoridades: o contrato correspondente está carregado verbatim em Autoridades — este capítulo é pedagógico e não o substitui. No FormaSL, um resultado computacional é interpretado a partir do contrato que o produz e das condições sob as quais foi obtido. Uma resposta de consulta, uma estimativa analítica, uma consequência de inferência e um julgamento de conformidade podem apresentar conteúdos semelhantes, mas exercem funções semânticas diferentes. Para utilizar esses resultados em novas operações, a linguagem conserva as qualificações necessárias para determinar o que foi produzido, sob qual base, de que depende e em que medida está concluído.
A arquitetura de resultados situados reúne essas informações em uma interface semântica comum. Essa interface é dimensional e aberta: cada operação define o conteúdo e o estatuto próprios de seus resultados, enquanto as dimensões relevantes para composição permanecem disponíveis ou reconstruíveis. Cada família define a organização de seus resultados e a realização correspondente.
O contrato de um resultado
Um ResultContract determina o significado e as garantias do que uma aplicação pode produzir. Ele inclui um contrato de estatuto semântico (StandingContract), um contrato para o conteúdo (PayloadContract), as obrigações relativas à base de interpretação e às dependências, o critério de completude, a política para resultados parciais, os desfechos semânticos admitidos e as condições de vinculação a artefatos de asseguração.
Essas partes não precisam aparecer como campos idênticos em todos os resultados. Uma operação pode preservar determinadas informações diretamente; outra pode referenciá-las por identidades estáveis. O contrato define quais informações continuam materialmente necessárias para interpretar o resultado e como podem ser recuperadas.
Os resultados conservam a referência à revisão exata do contrato produtor. Quando uma aplicação é revisada, os resultados históricos permanecem interpretados sob a revisão que os produziu. A reutilização de um nome ou de uma estrutura de dados em outra versão não altera retroativamente o estatuto, os critérios de conclusão ou as garantias de um resultado anterior.
Conteúdo e estatuto semântico
O conteúdo (payload) é a informação produzida segundo a operação: registros selecionados, um valor estimado, uma relação derivada ou os achados de uma avaliação. O estatuto semântico (standing) determina o que esse conteúdo significa e quais usos o contrato autoriza.
Uma consulta pode produzir um QueryAnswer; uma análise, um AnalyticalValue; uma inferência, uma SemanticConsequence; uma validação, um ValidationFinding ou um ConformanceJudgment. Outros contratos podem produzir julgamentos de aplicabilidade e resultados hipotéticos. Esses exemplos representam uma família aberta de estatutos, cujas definições pertencem às operações responsáveis.
Considere a informação de que uma estação de bombeamento apresenta pressão abaixo de determinado limite. Ela pode aparecer como valor medido numa observação, como elemento de uma resposta de consulta, como conclusão de uma regra ou como conteúdo de uma Claim emitida por um operador. A semelhança textual do valor não identifica esses atos. A consulta responde a uma pergunta sob determinada base; a inferência expressa uma consequência sob uma teoria; a Claim constitui uma afirmação atribuível.
Uma operação computacional, portanto, produz resultados segundo seu próprio contrato. A passagem de um resultado à condição de afirmação, decisão ou observação depende de uma transição apropriada, com as condições de autoria, autoridade ou aquisição exigidas.
Identidade de resultados e fragmentos
Nem todo valor temporário produzido durante uma avaliação precisa adquirir identidade semântica independente. A identidade se torna necessária quando um resultado será designado por outras operações, comunicado, revisto, usado como evidência ou associado a um artefato de asseguração.
Nessas situações, o contrato oferece uma referência estável ao resultado ou ao fragmento relevante. Uma resposta de consulta pode conter vários itens com dependências diferentes; a referência a um deles precisa respeitar os critérios de identidade, equivalência e ordenação definidos pela consulta. A posição ocasional desse item numa lista de runtime ou numa representação serializada só funciona como designador semântico se o próprio contrato a reconhecer como tal.
Dois resultados com valores iguais podem ter origens, bases e identidades diferentes. Da mesma forma, o identificador de uma execução ou o resumo criptográfico de uma representação não constitui, por si só, a identidade semântica do resultado. Essas informações podem integrar a correspondência e a verificação, conforme o contrato aplicável.
Bases de interpretação
A Interpretation Basis identifica os elementos que determinam o significado do resultado. Suas dimensões possuem papéis tipados: uma revisão de fonte, uma teoria ou regra, um contrato normativo, o escopo e o frame considerados, um regime de fechamento, um contexto hipotético ou uma referência temporal podem participar dessa base conforme a operação.
Uma análise de pressão hidráulica, por exemplo, pode depender da revisão de um modelo, do intervalo de medições e do sistema de unidades admitido. Um julgamento de conformidade pode depender também de uma política e da revisão das restrições aplicadas. A base do resultado conserva aquilo que é necessário para interpretar essas saídas depois que os dados, modelos ou políticas correntes tiverem mudado.
Base de interpretação e dependência específica são papéis diferentes. Uma teoria pode estabelecer o regime geral sob o qual uma inferência ocorre e, ao mesmo tempo, uma de suas sentenças pode ser uma premissa material de determinada conclusão. O resultado pode referenciar o mesmo artefato nos dois papéis sem tratá-los como equivalentes.
As qualificações temporais também permanecem diferenciadas. O tempo de validade de uma informação, o instante de observação, o momento em que ela se tornou conhecida, o tempo de decisão e o registro de uma transação podem ser relevantes para resultados distintos. A indicação de uma versão de fonte não substitui esses papéis temporais.
Dependências tipadas
Um resultado pode depender de vários elementos, cada um por uma razão diferente. O FormaSL utiliza papéis de dependência tipados para recuperar essa relação sem reduzi-la a uma lista indiferenciada de identificadores.
Entre os papéis pertinentes estão a origem ou linhagem de fonte, a premissa de derivação, o suporte ou evidência, a dependência de interpretação, a dependência hipotética, a base normativa, a linhagem de transformação ou representação, a dependência causal e o vínculo com registros operacionais de execução. Essa família permanece aberta aos contratos especializados.
Por exemplo, uma estimativa de risco de falha de uma bomba pode utilizar medições como entradas analíticas, um modelo como base de interpretação e uma inspeção anterior como evidência adicional. Uma regra posterior pode consumir essa estimativa como premissa, preservando o papel pelo qual ela participa da inferência. Se um julgamento depender apenas de determinados intervalos de medição, as dependências podem ser associadas aos fragmentos pertinentes, conforme o contrato de resultado.
A existência de uma dependência não identifica automaticamente sua natureza causal. Uma medição pode anteceder uma falha e ainda não estabelecer que a causou. Da mesma forma, relações circulares entre registros não produzem, apenas por sua circularidade, evidência independente ou prova. A introdução de relações causais e de garantias de suporte segue os contratos que autorizam esses significados.
Proveniência, derivação e rastro operacional
A proveniência semântica descreve como o conteúdo depende de informações de origem, seleções, transformações e outras operações sob o contrato produtor. Ela permite reconstruir a linhagem de um resultado e, quando pertinente, as contribuições que deram origem a cada fragmento.
Uma derivação explicita uma relação de inferência segundo regras e premissas. Um rastro operacional (runtime trace) registra aspectos do processamento realizado por mecanismos de execução. Esses artefatos podem estabelecer correspondências úteis, mas possuem funções distintas. Uma mudança de plano de execução pode alterar o rastro operacional sem modificar a proveniência declarativa exigida pelo contrato da consulta ou da inferência.
Também é possível registrar a linhagem da representação de um resultado: quando ele foi serializado, publicado, projetado ou transportado e por quais transformações passou. Essa história da representação pode ser relevante para auditoria e comunicação, mas não substitui a origem semântica das afirmações ou conclusões que a representação carrega.
Os contratos das operações determinam os mecanismos de proveniência adequados para preservar ou reconstruir a linhagem material, inclusive referências, estruturas de derivação e correspondências entre fragmentos.
Completude relativa a um critério
A completude semântica descreve se um resultado satisfaz o critério de conclusão definido pelo contrato produtor sob determinada base de interpretação. Ela constitui uma propriedade do resultado, não apenas do término de uma execução.
O contrato distingue os papéis conceituais CompleteUnder(Criterion, Basis), IncompleteUnder(Criterion, Basis, GapOrReason) e CompletenessUndetermined(Criterion, Basis, Reason). O primeiro indica que a conclusão foi estabelecida para o critério e a base identificados; o segundo expressa uma incompletude determinada; o terceiro indica que existe um resultado, mas as informações disponíveis não permitem estabelecer se seu critério de conclusão foi satisfeito.
Uma consulta pode percorrer completamente os registros disponíveis num estado de fonte e, ainda assim, essa fonte não conter observações de todos os sensores esperados. Completude da consulta sobre sua base e cobertura observacional do domínio são critérios diferentes. Um consumidor que exige cobertura completa deve verificá-la pelo contrato apropriado, mesmo quando a resposta da consulta está completa sob o critério de busca.
A introdução de um resultado completo requer a evidência admitida pelo contrato de completude. Conforme a operação, essa evidência pode resultar de uma verificação estrutural, de um certificado conferido por validador, de uma atestação de produtor confiável sob condições determinadas ou de uma regra que deriva completude a partir de subresultados. Um indicador emitido pelo runtime só possui essa força quando o contrato o admite sob a garantia correspondente.
Resultados parciais e terminação da execução
Uma execução pode terminar normalmente, ser interrompida, esgotar seu orçamento de gas, sofrer uma falha externa ou ser cancelada. Esses são acontecimentos do processamento. A disponibilidade e a completude de resultados semânticos são determinadas separadamente.
Nem toda execução interrompida produz um resultado parcial interpretável. A política de resultados parciais do produtor estabelece se existe um artefato utilizável e qual é seu estatuto. Uma consulta pode oferecer um subconjunto conhecido sob uma condição explícita de incompletude; uma análise pode produzir um intervalo ou limite inferior; outra operação pode não ter resultado semântico definido antes de concluir o trabalho exigido.
Quando um resultado parcial existe, ele conserva a ligação com a execução e a razão pertinente para sua incompletude. O esgotamento de gas, em particular, registra a limitação do trabalho realizado e não se converte em prova de ausência de respostas, conclusão de fixpoint ou julgamento negativo.
Uma operação consumidora pode utilizar informações incompletas quando seu próprio contrato admite essa entrada. Para publicar um resultado completo que dependa delas, precisa estabelecer que a parte ausente é irrelevante para seu critério de conclusão; caso contrário, a dependência da incompletude continua visível no resultado seguinte.
Ausência, desconhecimento e julgamentos negativos
O FormaSL diferencia os estados que podem surgir quando uma operação não apresenta uma resposta afirmativa. Seus significados pertencem aos contratos que os produzem.
- Vazio (
EMPTY) descreve uma coleção sem membros sob o critério e a base consultados. - Desconhecido (
UNKNOWN) indica que a base disponível não determina o conteúdo ou estatuto solicitado. - Não observado (
UNOBSERVED) indica ausência de observação pertinente sob a base observacional declarada. - Oculto (
HIDDEN) indica indisponibilidade ao observador por condições de visibilidade ou divulgação. - Não aplicável (
NOT_APPLICABLE) é um julgamento concluído que situa o alvo fora do domínio de aplicação do contrato. - Não resolvido (
UNRESOLVED) indica uma condição semântica material ainda sem resolução sob o contrato da operação. - Inconclusivo (
INCONCLUSIVE) identifica um julgamento realizado que não estabeleceu nem a posição afirmativa nem a negativa previstas.
A inexistência (NONEXISTENT) e um resultado negativo ou falso exigem, por sua vez, uma base com escopo, fechamento e autoridade suficientes para que o contrato os estabeleça. Não localizar um elemento numa consulta não equivale automaticamente a demonstrar que ele inexiste no mundo modelado.
A ausência de uma prova qualificada também possui significado específico. Uma busca que não produziu prova pode ter esgotado seus recursos ou operado sob um regime incompleto de exploração. Somente uma relação de consequência e uma condição de completude apropriadas permitem transformar a ausência de prova em um julgamento sobre não implicação.
Essas distinções acompanham a passagem entre operações. O resultado de uma falha de execução não adquire automaticamente estatuto de julgamento semântico negativo; a visibilidade restrita também não redefine a existência da informação de origem. Quando uma política de divulgação precisar ocultar a diferença entre informação não acessível e inexistente, a restrição será uma transformação explicitamente governada para aquela visão.
Conflitos e resultados sobre informações incompatíveis
Conflitos entre Claims, observações ou avaliações podem participar da base de uma computação. Um produtor que depende materialmente desse conflito preserva sua presença e as posições envolvidas, ou aplica uma transformação cujo contrato especifica como a divergência foi tratada.
Uma consulta pode apresentar afirmações incompatíveis. Uma avaliação pode selecionar informações segundo um critério declarado ou produzir um resultado que se mantém válido para todas as alternativas admissíveis. Uma decisão pode adjudicar o conflito sob uma autoridade determinada. Esses comportamentos possuem significados e bases diferentes.
O resultado posterior mantém reconstruível o que a operação fez com o conflito. Escolher uma posição para uma finalidade específica não apaga as demais Claims nem reescreve sua história. A existência de conflito tampouco transforma automaticamente o resultado em falha de runtime ou desconhecimento.
Testemunhos, provas e artefatos de asseguração
Alguns resultados são acompanhados por artefatos que oferecem informações adicionais sobre sua produção ou verificabilidade. O contrato de asseguração identifica a classe do artefato, o alvo a que se refere, a garantia alegada e o verificador ou base confiável aplicável.
Um testemunho pode apresentar um objeto que satisfaz determinada condição. Uma derivação registra a aplicação de regras. Uma prova ou um objeto de prova deve ser interpretado perante o sistema formal e as regras que lhe dão validade. Um certificado expressa garantias verificáveis segundo um esquema de alegação e um validador específicos. Rastros, proveniência, explicações e relatórios possuem contratos próprios.
Uma derivação pode ser transformada em prova quando uma verificação adequada estabelece que ela satisfaz as regras formais pretendidas. Um testemunho pode fundamentar um certificado sob o validador apropriado. A proveniência indica dependências; uma explicação apresenta informações destinadas à compreensão; um relatório comunica resultados. A garantia atribuída a cada artefato é determinada por sua classe e pelo contrato que autoriza sua utilização.
O FormaSL conserva as ligações entre esses artefatos e os resultados correspondentes sem impor uma representação única de provas, certificados ou explicações a todas as operações.
Execução, recibos e responsabilização
Uma ocorrência de execução identifica o processamento concreto realizado. Um ExecutionReceipt pode registrar a identidade dessa ocorrência, a realização e o provedor empregados, o contexto ou snapshot de entrada, o estado dos recursos, a condição de terminação e referências às saídas e aos registros de execução.
O recibo permite documentar o acontecimento operacional sob as garantias do emissor e de seu verificador. A integridade de um recibo pode estabelecer que determinado mecanismo atestou uma execução e um digest de saída; a correção semântica do resultado depende das verificações e pontes exigidas pelo contrato correspondente.
A responsabilização conserva papéis como operação produtora, invocação, executor, agente solicitante e eventual emissor de uma Claim posterior. Esses papéis podem pertencer a agentes diferentes. O resultado computacional não recebe um emissor de afirmação apenas por ter sido produzido, assim como a identidade da execução não substitui a identidade de um resultado semanticamente referenciável.
Comunicação, uso e adoção
Um resultado pode ser comunicado, recebido e utilizado em novas avaliações. Essas ocorrências acrescentam história de circulação e uso sem alterar por si só o estatuto semântico, a base ou a origem do material transportado.
O recebimento de uma consequência de inferência permite que outro agente a consulte ou utilize, conforme seu contrato de admissão. A adoção como afirmação própria constitui uma transição distinta: um agente pode emitir uma nova Claim sobre o conteúdo, com identidade, emissor e base de atribuição próprios, conservando a relação com o resultado que a motivou.
A mesma distinção vale para Claims que atravessam sistemas. A retransmissão conserva o ato de afirmação original; uma nova emissão atribuível introduz outra Claim. Aceitação, utilização, comunicação e reasserção podem coexistir como ocorrências distintas relacionadas ao mesmo conteúdo.
Consumo por outras aplicações
Uma aplicação consumidora examina o resultado de acordo com o contrato da entrada esperada. A formação estática é uma condição dessa passagem; a admissibilidade também considera o estatuto semântico efetivo, a base de interpretação, as dependências exigidas, a completude, as garantias de asseguração e as restrições de divulgação.
A compatibilidade entre contratos de produtor e consumidor pode ser estabelecida para uma ligação incondicional ou por meio de uma ramificação que selecione desfechos admissíveis. Um resultado particular pode satisfazer uma entrada mesmo quando o contrato produtor também admite outros desfechos que exigiriam um tratamento diferente.
A passagem historicamente relevante conserva as revisões dos contratos e a base sob a qual foi admitida. Uma revisão posterior de uma operação consumidora não altera o significado da composição anterior. Os contratos de continuidade determinam como preservar ou transformar informações quando um resultado é projetado, agregado ou comunicado em outro formato.
Um percurso de resultados situados
Considere o acompanhamento da qualidade da água numa rede de abastecimento. Sensores e equipes de coleta fornecem medições associadas a estações, horários, procedimentos e referências de aquisição. Uma consulta seleciona amostras de determinado período; uma análise calcula indicadores; uma avaliação confronta esses indicadores com os critérios de qualidade aplicáveis.
A consulta pode estar completa para os registros presentes na revisão de fonte selecionada. Entretanto, se uma estação deixou de fornecer medições durante parte do período exigido, o conjunto consultado pode não satisfazer o contrato de cobertura observacional. Uma análise que depende dessa cobertura pode devolver um resultado incompleto ou um resultado com completude indeterminada, conforme a informação disponível e sua política de parcialidade.
A avaliação preserva as dependências relevantes: os dados que efetivamente utilizou, a revisão da análise, os critérios normativos e a condição de cobertura. Se os requisitos para um julgamento definitivo estiverem satisfeitos, ela produz o desfecho correspondente sob sua base. Se faltarem evidências materiais, o resultado conserva o estatuto de desconhecimento, ausência de observação ou inconclusão aplicável ao caso; cada condição é interpretada pelo contrato responsável.
Um operador pode receber esse resultado e decidir solicitar nova coleta. Essa decisão constitui uma ocorrência governada, relacionada às informações utilizadas. A execução da coleta pode gerar um recibo operacional e, posteriormente, uma nova observação. Cada novo resultado conserva sua identidade, sua base de interpretação e sua relação com o percurso anterior.
Com isso, consultas, análises, avaliações e decisões podem utilizar informações compartilhadas sem confundir o que foi observado, calculado, concluído, comunicado ou decidido. A completude e a proveniência acompanham os resultados de maneira suficiente para determinar seus usos seguintes.
Documentação relacionada
Continuidade semântica descreve a preservação das informações materiais através de operações e representações. Operações semânticas e transições apresenta os produtores e as transições que podem utilizar resultados. Aplicações semânticas e composição desenvolve os contratos entre consumidores e produtores. Contextos, tempo e espacialidade aprofunda as bases temporais, contextuais e espaciais que podem participar da interpretação de cada resultado.
Cenários e avaliação hipotética
Autoridades: os contratos hipotético e de revisão e seus perfis H1 estão carregados verbatim em Autoridades — este capítulo é pedagógico e não os substitui. Um cenário estabelece uma base de avaliação composta por informações selecionadas e alterações hipotéticas explícitas. Aplicações semânticas executadas nessa base permitem examinar alternativas, comparar consequências e preparar decisões. O cenário conserva a relação entre suas premissas e os resultados que delas dependem.
Definição, instância e resultado
A definição de cenário descreve os parâmetros, a base requerida, as alterações admitidas e as operações que podem ser avaliadas. Uma instância de contexto vincula essa definição a revisões e entradas determinadas. Um resultado hipotético é produzido por uma operação dentro dessa instância.
A mesma definição pode ser aplicada a bases diferentes. Cada instância conserva sua identidade e as revisões da fonte, das teorias, dos modelos e das regras utilizados. Essa distinção permite comparar alternativas sem perder a origem das diferenças observadas.
Base de avaliação
A base reúne as informações não hipotéticas selecionadas para aquela avaliação. Sua identificação inclui as referências históricas necessárias, os parâmetros de contexto, o frame e os papéis temporais pertinentes.
Uma análise de manutenção pode utilizar a configuração de uma rede em uma revisão específica e avaliar a retirada de um equipamento durante duas horas. A indisponibilidade assumida pertence ao cenário; a configuração selecionada pertence à base. As duas contribuições permanecem reconhecíveis no resultado.
Alterações locais
O contrato hipotético distingue a introdução de premissas, a restrição de visibilidade, a substituição de entradas, a criação de elementos locais e as transições hipotéticas. Na superfície da linguagem, essas funções aparecem por construções como assume, mask, substitute, introduções locais e transições declaradas.
Uma premissa acrescenta uma condição para a avaliação. Uma máscara altera o recorte disponível. Uma substituição indica qual entrada será utilizada no lugar de outra sob um papel determinado. Elementos locais recebem identidades adequadas ao contexto em que foram introduzidos. Uma transição hipotética produz um estado sucessor quando suas condições são satisfeitas.
As alterações utilizam contratos próprios de admissibilidade. O significado de substituir uma medição, de substituir uma regra e de considerar uma decisão hipotética depende do papel semântico de cada elemento.
Operações dentro do cenário
Consultas, análises, inferências e julgamentos podem atuar sobre o contexto hipotético. Cada operação preserva seu estatuto de resultado e as dependências materiais das premissas assumidas.
Uma consulta às rotas disponíveis pode utilizar uma restrição local de circulação. Uma análise de capacidade pode combinar sua resposta com um modelo identificado. Uma inferência pode derivar consequências sob regras selecionadas. A composição relaciona essas saídas mantendo a identidade da instância de cenário.
Resultados independentes de uma premissa conservam suas próprias dependências. O contrato permite identificar quais conclusões mudam quando determinada hipótese é retirada ou substituída.
Alternativas e comparação
Cenários alternativos podem compartilhar parte da base e variar em premissas específicas. A comparação utiliza correspondências entre referentes, critérios de avaliação e resultados.
Por exemplo, duas alternativas de manutenção podem considerar a interrupção de equipamentos diferentes no mesmo intervalo. Uma terceira pode deslocar a intervenção para outro período. A comparação pode examinar capacidade restante, requisitos operacionais e condições de execução, preservando a base utilizada por cada avaliação.
O contrato de comparação determina quais resultados são comparáveis e como tratar conclusões parciais, conflitos ou critérios sem determinação suficiente.
Encerramento e evolução
A conclusão de uma avaliação hipotética depende dos critérios das operações e do contrato do cenário. Um resultado parcial mantém sua condição de parcialidade. Uma transição recusada conserva o contexto anterior e o julgamento que impediu a introdução do sucessor.
Uma nova avaliação pode utilizar uma base de fonte posterior. Essa passagem produz outra instância vinculada à nova base, permitindo conservar a análise anterior para consulta histórica. O encerramento ou descarte operacional de um cenário segue as obrigações de preservação de seus resultados e referências.
Utilização dos resultados
Uma decisão real pode utilizar os resultados de um cenário como fundamento. O ato decisório identifica quais resultados foram considerados e conserva suas dependências hipotéticas. A autoridade da decisão e os requisitos de execução pertencem ao processo real.
Quando um artefato do cenário é incorporado à fonte, a incorporação preserva seu estatuto. A introdução de outra categoria, como uma Claim ou uma decisão, utiliza a transição correspondente. A aplicação mantém, assim, a relação entre alternativa estudada, decisão assumida e ação solicitada.
Documentação relacionada
Contextos, tempo e espacialidade, Composição e Evolução da fonte.
Estado de aplicação e reatividade
Autoridades: os contratos de ativação reativa (RAC) e de dependência/invalidação/recuperação estão carregados verbatim em Autoridades — este capítulo é pedagógico e não os substitui. O estado de uma aplicação reúne as informações concretas utilizadas em suas avaliações e transições. Sua organização distingue a fonte semântica autoritativa, os estados operacionais, as instâncias de avaliação e os resultados derivados. Essas partes evoluem por contratos diferentes e são relacionadas por identidades e dependências explícitas.
Fonte e estado operacional
A fonte determina quais declarações e dados semânticos constituem a base autoritativa selecionada. O estado operacional registra o andamento do trabalho: invocações, operações duráveis, tentativas, evidências e outros elementos dos mecanismos de execução.
Uma avaliação utiliza uma base definida e produz um resultado. A publicação de um sucessor da fonte pertence ao contrato de evolução. A execução pode, portanto, avançar sem que cada alteração operacional constitua uma nova revisão semântica.
Instâncias de avaliação
Uma instância de avaliação vincula a aplicação às entradas e à base sob as quais será interpretada. Sua identidade permite associar resultados ao conjunto de condições efetivamente utilizado.
A vinculação a outra base é representada por uma nova instância. Essa organização conserva o significado dos resultados anteriores e permite distinguir uma avaliação repetida de uma avaliação realizada sobre informações novas.
O contrato da operação estabelece quais entradas são fixadas no início e quais podem ser vinculadas durante a execução por regras explícitas. Uma referência obtida de uma transição anterior conserva a relação com o estado que a introduziu.
Dependências de leitura
A validade de um resultado pode depender das informações lidas, de suas versões e das condições de presença ou ausência encontradas. Uma consulta que seleciona os registros de um período pode ser afetada tanto pela mudança de um item conhecido quanto pela chegada de um item novo que satisfaça seu padrão.
As dependências utilizadas para reutilização precisam refletir o contrato da operação. As referências aos valores lidos são parte dessa base; restrições de escopo, critérios de seleção e dependências negativas também podem participar do resultado.
Quando uma revisão altera a interpretação relevante, o impacto sobre o resultado é avaliado segundo o contrato de evolução. O resultado pode continuar utilizável, exigir nova computação, permanecer apenas histórico ou ter impacto ainda não determinado.
Atualização reativa
Uma integração reativa relaciona mudanças de entrada às aplicações que delas dependem. A atualização pode recalcular uma operação, reutilizar resultados admissíveis ou processar incrementos sob um contrato específico. A estratégia de execução é escolhida de acordo com as garantias exigidas pelo consumidor.
A aplicação preserva a base de cada resultado publicado. Uma visualização pode receber sucessivas avaliações de uma consulta, enquanto uma decisão consome uma revisão determinada e registra esse vínculo. A atualização da visualização e a atualização da base de uma decisão são operações diferentes.
Uma mudança em política, autorização ou contexto pode ser tão relevante quanto uma mudança no conteúdo dos dados. A integração utiliza as dependências semânticas declaradas, inclusive as bases normativas e temporais necessárias ao julgamento.
Incrementos e resultados parciais
O processamento incremental utiliza um contrato que determina o significado dos estados intermediários, sua ordem, suas revisões e a condição de finalização. O consumidor identifica quais incrementos pode aceitar e quais transições pode realizar antes da conclusão.
Um painel operacional pode apresentar novas medições à medida que chegam. Uma operação que exige cobertura completa de um intervalo acompanha também as lacunas e o estado de conclusão. A apresentação contínua de dados e a autorização para concluir um julgamento seguem critérios próprios.
Concorrência e histórico
Avaliações independentes podem ser executadas em paralelo. Transições que interagem por uma fonte, uma autoridade ou outro estado compartilhado utilizam contratos de ordem, isolamento ou não interferência.
O histórico relaciona os estados selecionados, as avaliações realizadas e os resultados disponibilizados. A recuperação após uma interrupção utiliza essas identidades para retomar o controle ou reconstruir resultados, de acordo com o contrato operacional.
Documentação relacionada
Resultados situados, Composição e Evolução da fonte.
Claims, comunicação e governança epistêmica
Autoridades: as transições de ciclo de vida e o loop ocorrência/efeito/observação/Claim estão carregados verbatim em Autoridades — este capítulo é pedagógico e não os substitui. O FormaSL permite representar afirmações atribuíveis a agentes, acompanhar sua circulação e utilizar seu conteúdo em avaliações e computações. Uma afirmação pode ser recebida, aceita para uma finalidade, contestada, reiterada por outro agente ou posteriormente retraída. Cada acontecimento acrescenta uma relação semântica própria à história da informação.
A Claim é a unidade semântica de um ato de afirmação situado. Sua identidade conserva quem afirmou, o que foi afirmado e as qualificações necessárias para interpretar o ato. Essa organização permite que agentes compartilhem informações sobre os mesmos referentes, mantendo reconhecíveis as posições que assumiram, as bases que utilizaram e as mudanças que ocorreram depois.
A Claim como ato de afirmação
Uma Claim é um token semanticamente identificável de uma afirmação situada e atribuível. Seu conteúdo expressa a proposição ou estrutura relacional afirmada; a identidade do token distingue aquele ato de outros atos que possam apresentar conteúdo equivalente. O emissor, a base de emissão e as qualificações relevantes integram a interpretação da Claim.
Duas organizações podem afirmar que a mesma remessa foi entregue num determinado horário. Cada uma realiza seu próprio ato atribuível, com identidade e história próprias. O conteúdo pode coincidir, mas uma avaliação da afirmação da transportadora e uma avaliação da afirmação do destinatário referem-se a Claims distintas.
Uma Claim também pode atravessar representações diferentes sem mudar de identidade. A serialização, o armazenamento e a retransmissão podem produzir novos artefatos e ocorrências de comunicação, enquanto a referência à afirmação original permanece a mesma. A identidade semântica da Claim é determinada pelo ato de afirmação, de acordo com o contrato aplicável; sua representação física pode variar.
O conteúdo afirmado, a existência da Claim e a verdade do conteúdo exercem funções diferentes. A emissão estabelece a ocorrência atribuível de uma afirmação. A veracidade, a aplicabilidade e a admissibilidade do conteúdo para outras operações são determinadas pelas bases e contratos correspondentes.
Emissor, representante e registrador
A introdução de uma Claim ocorre por uma emissão atribuível. O FormaSL distingue três situações relevantes: a afirmação direta por seu emissor, a afirmação feita por um representante autorizado em nome de um emissor e a importação de uma Claim já existente.
Na afirmação direta, o agente que realiza o ato é seu emissor semântico. Na afirmação por representação, o agente atuante e o emissor representado conservam papéis distintos. A base de delegação ou representação precisa sustentar esse vínculo no escopo e no tempo aplicáveis; a indicação textual de um nome por si só não estabelece representação legítima.
A importação reconhece uma Claim anteriormente emitida e mantém sua identidade. Para isso, a operação necessita de uma base adequada de referência, emissão ou autenticidade que permita identificar aquela mesma afirmação. Um sistema que apenas recebeu o relato de que determinada pessoa afirmou algo pode representar esse relato como informação atribuível ao informante. O relato, por si só, não cria uma Claim histórica da pessoa mencionada.
O registrador é quem incorpora ou registra a informação em determinado sistema. Ele pode coincidir com o emissor, mas também pode exercer apenas uma função documental. Do mesmo modo, o executor de uma rotina de importação não adquire a autoridade de emissão daquele cujo conteúdo está transportando.
Conteúdo, qualificação e base de interpretação
O significado de uma Claim depende do conteúdo afirmado e das condições sob as quais esse conteúdo foi emitido. A base de interpretação pode incluir escopo, jurisdição, frame, tempo de validade, momento de emissão, referências de fonte, documentos de suporte e outras qualificações pertinentes à relação ou ao domínio.
Uma transportadora pode afirmar que um lote permaneceu sob determinada faixa de temperatura durante um intervalo. O conteúdo identifica o lote e a condição alegada; o intervalo estabelece a abrangência temporal da afirmação. A data de registro no sistema do destinatário pode ser posterior à emissão e cumpre outro papel na história.
As qualificações permitem que uma operação trate adequadamente alegações referentes a períodos, contextos e autoridades diferentes. Uma consulta pode selecionar Claims válidas para certo intervalo; uma avaliação pode considerar as fontes de suporte associadas à emissão; uma decisão pode exigir uma base normativa que não integra a própria Claim.
A adoção posterior de uma revisão de fonte ou de política não altera retroativamente a base histórica sob a qual a afirmação foi emitida. Quando uma relação temporal ou contextual for material para a interpretação, ela permanece reconstruível através das operações e representações que utilizam a Claim.
Comunicação como história própria
A circulação de informação envolve atos distintos de transmissão, recepção, aceitação, utilização e retransmissão. Uma mesma Claim pode participar de várias dessas ocorrências, inclusive entre diferentes agentes e sistemas. Cada ocorrência pode ter participantes, tempo, veículo e condições de acesso próprios.
A biblioteca std::world::communication oferece um vocabulário para representar mensagens e ocorrências de comunicação. Ela inclui Message, CommunicationOccurrence, Transmission e Reception, além de relações como CarriesMessage, TransmittedBy, ReceivedBy, ReceptionOf e RetransmissionOf. Essas construções permitem descrever a circulação de artefatos informacionais e as ligações entre seus acontecimentos.
Uma mensagem pode transportar material que referencia uma Claim. O contrato de conteúdo empregado pela aplicação determina a correspondência entre o material transportado e a afirmação semanticamente identificada. A ocorrência de comunicação acrescenta história à circulação; seu registro não substitui a identidade da Claim transportada.
O envio de uma mensagem também não estabelece que o destinatário a recebeu. O recebimento, quando ocorre, pode ser representado com sua própria identidade e sua relação com a transmissão. O destinatário pode então examinar a informação e decidir como utilizá-la, segundo suas políticas e contratos.
Receber, aceitar, utilizar e reassertir
Receber uma Claim significa participar de uma ocorrência de recepção do material que a transporta. Aceitar estabelece uma posição ou relação própria do receptor perante a informação; utilizar indica que ela foi empregada numa operação ou julgamento sob determinada base. Esses atos não constituem automaticamente uma nova afirmação do receptor.
O destinatário de uma remessa pode receber a Claim da transportadora e utilizá-la para iniciar uma verificação. Isso não o torna emissor da Claim recebida nem implica concordância com seu conteúdo. Ele pode aceitar a informação como entrada para uma investigação, mantendo pendente a avaliação sobre a condição real do lote.
Quando outro agente adota uma afirmação como sua, ocorre uma transição diferente. A operação ADOPT-AS-OWN introduz uma nova Claim atribuída ao adotante e conserva uma dependência tipada em relação ao material de origem. A reasserção (REASSERT) é o caso em que o agente assume novamente o conteúdo de uma Claim anterior como uma afirmação própria. A Claim original permanece identificável, com seu emissor e sua história.
A adoção conserva a correspondência de conteúdo exigida por seu contrato. Se um agente produz uma proposição nova a partir de informações recebidas, o ato é uma nova afirmação baseada nas fontes, com a relação de suporte ou derivação pertinente, e não simplesmente a adoção da mesma afirmação.
Resultados computacionais e novas afirmações
O FormaSL produz respostas de consulta, valores analíticos, consequências de inferência e julgamentos governados sob contratos próprios. Esses resultados podem utilizar Claims como entradas sem se tornarem Claims por sua produção.
Uma análise sobre leituras de temperatura pode devolver uma estimativa de risco. Uma inferência pode concluir que determinadas condições de transporte exigem verificação adicional sob uma teoria. Os dois resultados conservam o estatuto de suas operações, os critérios de completude e as dependências que lhes deram origem.
Um agente pode então emitir uma Claim cujo conteúdo se apoie nessa estimativa ou consequência. A transição ASSERT-BASED-ON introduz o novo ato atribuível e preserva a dependência material das informações de suporte. O agente torna-se emissor de sua afirmação; a operação que calculou o resultado permanece identificada como produtora da informação utilizada.
Essa sequência permite reconstruir como uma posição foi formada, distinguindo os dados observados, as hipóteses, os resultados derivados e a decisão de assumir determinado conteúdo como afirmação própria.
Avaliações e posições epistêmicas
Uma avaliação expressa uma posição sobre uma Claim ou sobre conteúdo proposicional. Ela pode considerar a evidência, a fonte, a consistência, o escopo e outros critérios definidos pela operação avaliadora. A avaliação tem identidade e base próprias e conserva a referência à informação avaliada.
Agentes diferentes podem avaliar a mesma Claim de maneiras incompatíveis. Uma equipe de qualidade pode considerá-la insuficientemente sustentada, enquanto o emissor mantém sua posição original. Ambas as informações podem coexistir e ser utilizadas por operações distintas. Uma avaliação posterior também pode revisar a avaliação anterior sem modificar a identidade histórica da Claim examinada.
O FormaSL preserva essa pluralidade epistêmica. A incompatibilidade entre posições é informação do domínio, que pode fundamentar consultas, revisões e decisões. Quando um procedimento seleciona, reconcilia ou adjudica posições, o contrato correspondente determina a transição e conserva a base que a justificou.
A ausência de observação, o desconhecimento, a ocultação por visibilidade, a inconclusão e um julgamento negativo possuem significados específicos. Uma avaliação que não dispõe de dados suficientes pode produzir um resultado inconclusivo; isso não altera a Claim avaliada para falsa nem estabelece que a situação alegada deixou de existir.
Legitimidade de emissão e admissibilidade de premissas
A legitimidade de emissão concerne à base sob a qual a Claim foi introduzida como ato atribuível. A admissibilidade como premissa concerne às condições que permitem a uma operação consumidora utilizar seu conteúdo. Uma Claim pode ter emissão legitimamente atribuída e ainda não satisfazer os critérios de evidência, atualidade, completude ou escopo exigidos por determinada inferência ou decisão.
A admissibilidade pertence ao contrato consumidor. Uma operação pode aceitar a Claim como objeto de análise, enquanto outra exige evidência adicional antes de utilizá-la como fundamento de um julgamento. O aceite por uma aplicação não concede automaticamente admissibilidade em todas as demais.
A governança considera também a jurisdição de quem emite ou avalia uma informação, a autoridade normativa envolvida e a situação histórica da base empregada. Produzir um julgamento sob determinado contrato não estabelece, por si só, o poder de impor uma consequência normativa. A autoridade de emissão, a competência para avaliar, a permissão de executar uma ação e o poder de decidir são relações que podem coincidir num agente, mas exigem fundamentos próprios.
Uma declaração de autoridade contida no próprio material avaliado é conteúdo sujeito a interpretação. A autorização de uma transição que exige autoridade precisa estar fundamentada numa base independente ou previamente estabelecida, sob as regras aplicáveis ao escopo e ao instante em questão.
Governança, decisão e execução
Claims e avaliações podem fundamentar julgamentos de conformidade, admissão e autorização. Uma decisão é outro acontecimento semântico: um decisor seleciona, adjudica ou assume um resultado sob uma base atribuível. O contrato de governança determina quando essa decisão possui efeitos normativos e quais condições devem ser atendidas.
Uma Claim que descreve conformidade não realiza automaticamente a validação correspondente. Um julgamento favorável de conformidade não se converte sem outra transição em admissão de um candidato. Uma decisão sobre o destino de um lote também não constitui sua movimentação física: requisição de execução, tentativa operacional, efeito e observação são acontecimentos diferenciados.
Essas fronteiras conservam as responsabilidades dos agentes e dos mecanismos. A aplicação pode relacionar os acontecimentos numa história comum sem atribuir autoridade normativa ao executor de um processo apenas porque ele executou uma operação.
Retração, correção e sucessão
A história de uma Claim pode receber atos posteriores de revisão. A retração é uma transição atribuível sob a autoridade aplicável, indicando uma mudança de posição em relação à afirmação anterior. Ela preserva o ato histórico que está sendo retraído.
Uma correção pode introduzir novo conteúdo e uma nova Claim, vinculando-a explicitamente ao material corrigido. A sucessão (supersession) estabelece uma relação de substituição ou preferência corrente sob o contrato que a governa. O registro da sucessão permite selecionar uma posição atual para determinados usos, conservando a história das posições anteriores.
O administrador de uma fonte pode desativar uma Claim numa visão corrente do corpus. Esse ato pertence à governança da fonte e não equivale à retração pelo emissor. Da mesma maneira, a substituição de uma afirmação não estabelece automaticamente que a anterior sempre foi falsa ou que deixou de fazer parte da história.
Uma operação que efetivamente reconcilia posições conflitantes declara sua relação de reconciliação e a base utilizada. A seleção de um item corrente, por si só, não apaga nem adjudica todas as divergências existentes.
Registro, revisões de fonte e multiplicidade histórica
Uma mesma Claim pode ser recebida e registrada várias vezes. Quando essas ocorrências possuem relevância semântica, a história conserva sua multiplicidade, mesmo quando todas apontam para o mesmo token de afirmação. O registro de uma Claim e sua retransmissão podem ter horários e responsáveis distintos.
O tempo de emissão situa o ato atribuível. O tempo de transmissão, o de recepção e o de registro cumprem outros papéis. A comunicação ou a importação tardia de uma Claim conserva o instante de emissão quando ele é conhecido; se for desconhecido, permanece a condição epistemicamente apropriada.
O armazenamento e a incorporação na fonte autoritativa seguem seus contratos de fonte. Um novo estado de fonte pode passar a conter determinada Claim sem redefinir seu emissor, sua legitimidade ou a verdade do conteúdo. A sucessão entre estados de fonte e a revisão de posições semânticas possuem identidades e histórias próprias.
A reconstituição de uma ocorrência histórica já identificada, como a releitura de um registro, não constitui uma nova emissão. Uma nova afirmação de fato, mesmo com conteúdo idêntico, introduz outra ocorrência atribuível quando seu contrato assim determina. Essa distinção permite processar novamente arquivos e mensagens sem duplicar atos semânticos apenas em razão da execução técnica.
Claims em contextos hipotéticos e sob visibilidade restrita
As aplicações podem avaliar Claims em contextos hipotéticos ou construir cenários com premissas próprias. A hipótese de que um agente emitirá uma afirmação, ou a utilização hipotética de seu conteúdo, permanece dependente do contexto de cenário. A avaliação hipotética conserva a base de origem e as premissas que contribuíram para o resultado.
Uma simulação de aceitação de um lote pode considerar como premissa uma declaração futura da transportadora. O resultado do cenário pode orientar uma decisão posterior, mas sua execução hipotética não cria retroativamente a afirmação real daquele agente.
As condições de visibilidade e divulgação também podem limitar o que determinado receptor conhece. Uma Claim existente pode ser ocultada de uma visão por política de acesso. Quando a apresentação restringe qualificações ou oculta a própria existência da informação, a transformação é governada pelas regras de divulgação e continuidade semântica; o estado original permanece associado à sua base e às condições de acesso pertinentes.
Superfície da linguagem
A forma declarativa e os caminhos operacionais estão reunidos na referência da superfície.
Um percurso de afirmações entre organizações
Considere uma remessa de medicamentos controlada por fabricante, transportadora e destinatário. Ao concluir o transporte, a transportadora emite uma Claim afirmando que a temperatura permaneceu dentro da faixa contratada durante a viagem. O ato identifica seu emissor, o lote, o período considerado e a base de suporte utilizada.
A transportadora transmite a informação ao destinatário. A recepção registra a chegada da mensagem e sua correspondência com a Claim emitida. O destinatário utiliza a informação para iniciar sua própria verificação, preservando a identidade da afirmação original. A recepção e esse uso não constituem uma reasserção em nome do destinatário.
O sistema de aquisição do destinatário apresenta medições que apontam para uma excursão de temperatura. Essas leituras percorrem a fronteira de observação sob o contrato aplicável. Uma análise utiliza as observações e produz um resultado que pode divergir do conteúdo da Claim. Uma equipe de qualidade emite sua avaliação sobre a evidência e sobre a afirmação recebida, mantendo as dependências das observações e do método analítico.
A divergência permanece representada: a Claim da transportadora, as observações e a avaliação do destinatário conservam identidades e estatutos diferentes. Uma política de qualidade pode orientar a decisão de reter o lote para investigação. O decisor registra sua decisão sob as bases de competência e evidência exigidas; uma eventual ordem de bloqueio ao estoque será outra transição, com a própria execução e seus registros.
Mais tarde, a transportadora identifica um erro na informação de origem e emite uma Claim corrigida, vinculada à anterior por uma relação de sucessão. A história da primeira emissão, seu recebimento e a decisão tomada antes da correção continua recuperável. Uma reavaliação posterior pode considerar as duas Claims, as observações e a revisão normativa aplicável, preservando os tempos e os fundamentos de cada ato.
Esse percurso mostra como a circulação de afirmações pode integrar aplicações de várias organizações. O conteúdo viaja entre sistemas, enquanto autoria, confiança, admissibilidade, conflito, revisão e decisão continuam governados por relações semânticas identificáveis.
Documentação relacionada
Modelo de mundo apresenta a Claim como categoria fundamental e sua relação com agentes, realidade e avaliações. Invariantes semânticos define as distinções preservadas entre afirmação, verdade, comunicação e autoridade. Continuidade semântica desenvolve a preservação da identidade e da história durante transformações. Operações semânticas e transições descreve a utilização de Claims em julgamentos e decisões. Resultados situados, completude e proveniência detalha a interface dos resultados computacionais que podem fundamentar novas afirmações.
Observação, evidência e aquisição
Autoridades: o contrato correspondente está carregado verbatim em Autoridades — este capítulo é pedagógico e não o substitui. O FormaSL permite que informações provenientes de instrumentos, serviços, sistemas externos e outras fontes participem de computações semânticas. Essa passagem é governada por contratos que identificam a origem dos dados, as condições da aquisição e a autoridade responsável por admitir seu conteúdo como observação. O resultado conserva uma base de interpretação própria, que pode ser utilizada em consultas, análises, inferências e julgamentos posteriores.
A observação é uma forma situada de acesso epistêmico ao mundo. Ela registra informação adquirida acerca de um referente ou acontecimento, acompanhada das condições que permitem interpretá-la. A aquisição fornece evidência de uma interação com a fonte; a admissão constitui o registro de observação sob o contrato semântico aplicável. A realidade observada, a evidência recebida e a posição semântica produzida permanecem distinguíveis ao longo desse percurso.
A fronteira entre o mundo e a informação semântica
O modelo de mundo do FormaSL admite que estados e acontecimentos existam independentemente de terem sido observados ou representados. Uma bomba pode parar antes que qualquer sistema registre a falha; um veículo pode passar por uma região sem ser detectado; uma leitura pode chegar depois da decisão que teria sido informada por ela.
A ligação entre o acontecimento externo e o conhecimento disponível é estabelecida por uma fronteira de aquisição e observação. O contrato OBSERVATION-ACQUISITION-CONTRACT define o percurso conceitual:
fonte externa de informação
→ sessão de aquisição e adaptador
→ evidência de aquisição (AdapterReceipt)
→ ponte de observação admitida (ObservationBridge)
→ registro de observação (ObservationRecord)
→ entrada para uma operação semântica posterior
Cada passagem introduz informações sob um contrato específico. O sistema que adquiriu bytes ou recebeu uma resposta pode atestar apenas aquilo que sua interface e suas garantias estabelecem. Para que a informação recebida constitua uma observação, uma ponte de admissão precisa estar autorizada pela declaração semântica resolvida. O registro resultante oferece uma base epistêmica, sujeita às suas qualificações; ele não estabelece por si só a verdade do conteúdo observado.
Fontes, adaptadores e sessões de aquisição
A fonte externa é identificada como o sistema, instrumento ou outra origem de informação que está sendo acessada. Sua identidade é resolvida pelo contrato de admissão. Um adaptador de aquisição realiza a interação técnica com essa fonte, por exemplo por um dispositivo, uma API ou uma interface de leitura de atestações.
Fonte e adaptador possuem identidades distintas. Um adaptador pode atender a várias fontes; a mesma fonte pode ser acessada por adaptadores diferentes. O nome declarado pelo provedor não determina sozinho a identidade semântica da fonte nem a autoridade necessária para admitir informações dela.
Uma AcquisitionSession identifica o episódio de aquisição: requisição, família de adaptador aplicável, escopo das garantias e evidências produzidas. O contrato preserva sua correlação mesmo quando a execução distribui esses elementos em diferentes estruturas operacionais. Uma sessão sem evidência recebida continua sendo um episódio identificável e pode participar de avaliações sobre disponibilidade, cobertura ou falhas de aquisição.
Considere uma remessa de medicamentos acompanhada por sensores de temperatura. O sensor é a fonte de medições; o gateway que recebe suas mensagens realiza uma função de adaptação. Uma nova sessão pode adquirir várias respostas desse sensor, e outro gateway pode realizar aquisição da mesma fonte. A interpretação posterior conserva tanto a origem informacional quanto o caminho técnico empregado.
Evidências e escopo de garantia
O AdapterReceipt é o registro de evidência produzido na fronteira do adaptador. Seu significado é delimitado pela alegação operacional expressa no recibo, pelo escopo de garantia (guarantee scope) e pela base de revisão sob a qual foi produzido. Ele pode atestar, por exemplo, o recebimento de uma resposta numa sessão, com determinadas propriedades de integridade e origem.
O contrato de aquisição estabelece um teto para as garantias que a família de adaptador pode oferecer. Declarações mais fortes emitidas pelo próprio provedor são conservadas como informação de responsabilização, mas não ampliam a garantia efetivamente admitida. Uma resposta malformada também pode deixar evidência de que houve uma interação malsucedida, sem estabelecer o conteúdo que não pôde ser interpretado.
A evidência recebida e a observação possuem responsabilidades diferentes. Um recibo que registra o recebimento de um valor não informa, isoladamente, que o valor foi semanticamente observado, que o acontecimento alegado ocorreu ou que o instrumento estava correto. Essas questões são tratadas por contratos e julgamentos próprios.
O escopo de garantia do recibo acompanha aquilo que a aquisição consegue sustentar. Já o escopo da observação descreve onde e em quais condições a informação admitida possui significado. Os dois escopos podem relacionar-se, mas são preservados separadamente.
A ponte de admissão
A ObservationBridge relaciona a evidência de aquisição a um conteúdo de observação sob uma transformação declarada. A ponte identifica a correspondência exigida entre fontes, evidências, referentes e condições de interpretação. Sua admissão é um ato governado pela autoridade associada à declaração .fsl resolvida, sob a revisão e a base de referência pertinentes.
A admissão verifica que a evidência apresentada pertence à fonte e à família de adaptador admitidas, que as referências necessárias estão correlacionadas e que as condições do contrato foram satisfeitas. Uma apresentação vinculada à fonte errada, a uma revisão incompatível ou a uma autoridade retirada recebe o desfecho tipado correspondente. A interpretação do provedor, sua classificação ou sua pontuação não escolhem a autoridade da ponte.
A transformação declarada pode ser reutilizada em várias aquisições; cada utilização relevante exige a resolução e a verificação da base de admissão corrente. Uma ponte previamente armazenada não torna futuras admissões automaticamente autorizadas. Os registros admitidos anteriormente conservam, por sua vez, a autoridade e a revisão de sua admissão histórica.
O registro da admissão mantém referências à ponte, às evidências usadas e à autoridade responsável. Essa correspondência permite distinguir a regra que interpreta uma leitura, o ato que admitiu a observação e o dado externo que lhe serviu de base.
O registro de observação
Um ObservationRecord é o dado epistêmico admitido pela ponte. Possui identidade própria e conserva, conforme o contrato, os recibos de origem, a identidade da ponte, a referência da autoridade, a revisão da base, o conteúdo observado, o referente, os papéis temporais, o escopo, o frame e as qualificações de garantia.
A observação pode referir-se a uma grandeza, a uma condição ou a uma possível ocorrência do domínio. Em todos os casos, registra o acesso informacional que efetivamente foi admitido. Uma medição de temperatura, por exemplo, oferece informação sobre um lote em determinado contexto. Um registro de observação de um evento oferece evidência acerca desse evento; sua existência não equivale à constatação irrestrita da ocorrência.
O registro admitido é imutável. A chegada de novos dados, a descoberta de conflito ou uma avaliação posterior não altera seus campos históricos. Novas posições sobre esse registro são representadas por outros artefatos e relações, mantendo recuperável o estado no momento da admissão.
A identidade da observação também não se confunde com a identidade da fonte ou da possível ocorrência externa. Duas observações podem referir-se ao mesmo evento, e um mesmo conjunto de evidências pode ser submetido a atos de admissão distintos. As correlações são estabelecidas por referências tipadas, e não pela igualdade casual de timestamps, conteúdos ou identificadores físicos.
Vocabulário de observação na biblioteca de mundo
A biblioteca std::world::observation declara Observation, que especializa std::world::dynamics::Occurrence, e o tipo Assessment. Suas relações oferecem as estruturas básicas para associar observações e avaliações aos seus participantes e conteúdos.
ObservedBy<T> liga uma observação ao observador; ObservationOf<T> identifica seu objeto; ObservationResult<V> relaciona a observação ao valor produzido. Para avaliações, AssessedBy<T>, AssessmentOf<T> e AssessmentValue<V> relacionam o avaliador, o objeto avaliado e o conteúdo da avaliação.
Esse vocabulário permite que aplicações façam referência a observações e avaliações dentro do metagrafo sem perder suas categorias. A biblioteca estabelece a estrutura declarativa; a admissão de informações efetivamente adquiridas segue a fronteira governada de aquisição. Uma declaração de relação sobre uma observação não substitui o ato que a introduziu como registro epistêmico admitido.
Tempo da fonte, aquisição e conhecimento
Uma observação pode envolver vários instantes semanticamente relevantes. O contrato de aquisição distingue o tempo de ocorrência externa, quando conhecido, o tempo de aquisição no adaptador, o tempo de emissão da evidência, o tempo de admissão do registro, o tempo de disponibilização do conhecimento e, quando há anotação posterior, o tempo dessa anotação.
Uma leitura pode ter sido produzida pelo sensor às 13h, chegar ao gateway às 13h02, receber seu recibo nesse momento e ser admitida como observação às 13h03. O registro conserva os papéis que participam do significado, inclusive a base de relógio utilizada em cada tempo. Relógios de fontes distintas não são ordenados por suposição de compatibilidade.
Se o instante do acontecimento externo for desconhecido, ele permanece desconhecido. O tempo de recepção ou admissão não ocupa automaticamente seu lugar. Do mesmo modo, uma observação que chega depois de uma decisão é introduzida em seu tempo efetivo de admissão; a informação tardia pode fundamentar revisão, mas não reescreve retroativamente a base histórica da decisão anterior.
Validade normativa e tempo de decisão pertencem às relações e operações que os exigem, não se tornam campos universais do registro de aquisição. Uma avaliação posterior pode combinar o tempo da observação com a vigência de uma política, preservando o papel de cada um.
Escopo, frame e correlação
A observação é admitida sob um escopo semântico e um frame. O escopo indica as condições de domínio sob as quais seu conteúdo tem significado. O frame situa a informação quanto às referências temporais, espaciais ou contextuais exigidas para interpretá-la. Ambos são definidos pelo contrato e vinculados às coordenadas fornecidas pela aquisição.
Uma leitura de temperatura pode depender da posição do sensor dentro do recipiente, enquanto uma detecção de câmera depende de um frame de imagem e de uma base de calibração. O mecanismo de realização pode calcular uma transformação de coordenadas; sua saída é admitida semanticamente apenas sob a correspondência declarada. As relações qualitativas de std::world::space permanecem distintas das geometrias que as aplicações usam para obtê-las.
O contrato de aquisição recusa valores de referência exigidos que estejam ausentes ou incorretamente correlacionados. A inexistência de uma dimensão espacial para uma fonte que não possui modelo espacial é representada como não aplicável, sem coordenada fictícia ou valor-padrão que introduza significado indevido.
Filtrar uma consulta por região ou frame modifica o recorte apresentado, mantendo recuperável a história das observações admitidas. Observações em frames distintos podem coexistir; sua comparação e eventual reconhecimento de incompatibilidade precisam da base apropriada.
Garantia de admissão e anotações posteriores
O registro possui um AdmissionStanding, fixado no ato de admissão. O contrato de aquisição distingue os graus Admitted-Attested e Admitted-Unqualified. O grau atestado exige evidência compatível com uma garantia de atestação declarada pela sessão e admitida sob o contrato; o grau não qualificado constitui a base inferior de admissão.
Esses graus expressam o estatuto epistêmico reconhecido na fronteira, e não uma escala universal de verdade ou probabilidade. Uma informação atestada pode continuar sendo disputada ou insuficiente para determinado julgamento. O contrato consumidor decide quais garantias exige para seu uso.
Novas informações podem enfraquecer o estatuto utilizável de uma observação. O FormaSL representa esse fato por uma StandingAnnotation: um registro posterior, datado, com identidade, autoridade e base próprias, referindo-se à observação histórica. O EffectiveStanding utilizado pelo consumidor é derivado do grau original e das anotações legitimamente aplicáveis; a observação original permanece imutável.
Anotações de conflito ou de utilização em adjudicação possuem condições específicas de admissibilidade. Elas não fortalecem automaticamente a garantia da observação. Quando um julgamento de resolução de conflito depende de uma autoridade ainda não definida pelo contrato responsável, esse estado permanece fora das transições admitidas, em vez de ser resolvido pelo mecanismo de armazenamento.
Ausência, repetição e evidência tardia
Uma sessão de aquisição pode terminar sem recibos. Esse estado informa que não há evidência recebida naquela sessão sob a base considerada. A ausência pode resultar de indisponibilidade da fonte, de falha do adaptador ou de outra condição registrada. Ela não constitui observação negativa sobre o mundo externo.
A entrega repetida do mesmo material pode produzir outro recibo de aquisição quando ocorre outro ato de entrega. Isso não cria automaticamente outra observação. Por outro lado, uma nova admissão sobre evidências já conhecidas introduz um novo registro de observação e uma nova ocorrência de admissão, sem afirmar que ocorreu um segundo evento externo.
O contrato preserva essas multiplicidades históricas. Quando duas evidências não permitem demonstrar que se referem ao mesmo acontecimento, os registros continuam distintos até que uma relação explícita de correlação ou reconciliação determine outra interpretação. Deduplicação por conteúdo, horário ou heurística de proximidade não substitui esse julgamento.
A evidência atrasada é admitida com seus tempos próprios. O atraso pode ser material para análises de cobertura, decisões anteriores e revisões subsequentes, mas não altera as bases já utilizadas por operações concluídas.
Observações incompatíveis
Duas observações sobre o mesmo referente podem apresentar conteúdos incompatíveis. O contrato de aquisição conserva ambas, com suas identidades, fontes e condições de admissão. A incompatibilidade é reconhecida sob as classes de conteúdo e as regras declaradas pelas transformações responsáveis pelas observações, considerando a compatibilidade de frame pertinente.
A existência de registros diferentes ou de valores numéricos divergentes não determina, por si só, uma contradição formal. O contrato pode identificar incompatibilidade declarada, compatibilidade declarada ou ausência de predicado aplicável. Na última situação, a relação permanece sem julgamento de compatibilidade.
Quando o conflito é estabelecido, a observação pode receber uma anotação contextualizada de conflito, emitida sob a autoridade correspondente. Consultas, índices e agregações continuam preservando os registros conflitantes. O registro mais recente, o provedor preferido ou a ordem de armazenamento não selecionam automaticamente uma observação vencedora.
Uma operação posterior pode avaliar as evidências, solicitar nova aquisição ou adjudicar as posições sob um contrato específico. O contrato de aquisição define as obrigações de preservação e de autoridade dessa passagem, mas não assume a jurisdição de resolver conflitos por conta própria.
Observação, execução e efeitos
Uma ação externa pode gerar evidências operacionais, inclusive recibos da fronteira de execução. Esses recibos descrevem o que o mecanismo consegue garantir sobre a tentativa e seu processamento. Para que sejam utilizados como evidência de observação, precisam entrar por um ato de aquisição governado e atravessar uma ponte de admissão.
A execução e seus efeitos sobre o mundo também possuem papéis próprios. Uma tentativa pode terminar sem que um efeito externo seja estabelecido. Um efeito pode ocorrer sem observação disponível. Uma observação pode relatar uma condição compatível com o efeito esperado enquanto a relação causal permanece incerta. Mesmo uma garantia declarada da fronteira de execução pode coexistir com observações posteriores divergentes.
O contrato de observação conserva a referência à eventual tentativa de execução e às evidências utilizadas. Uma relação causal, quando necessária, depende de um contrato apropriado; a sucessão temporal entre tentativa e observação não a estabelece automaticamente.
Da observação às avaliações e Claims
As observações admitidas podem ser consumidas por consultas, análises, inferências e validações conforme os requisitos de entrada de cada operação. Seus contratos determinam se a garantia, o frame, o tempo, a completude e a proveniência são suficientes para aquele uso.
Um Assessment pode avaliar o conteúdo de uma observação sob critérios declarados, conservando o observador, a base e as evidências pertinentes. Uma Claim surge quando um emissor assume conteúdo em ato de afirmação próprio. A emissão baseada em observações conserva a dependência material da informação que a sustentou e introduz nova identidade de Claim.
A observação, portanto, integra o processo de formação de posições epistêmicas sem precisar se converter automaticamente em uma delas. A fonte autoritativa .fsl pode incorporar ou referenciar observações por transições governadas de fonte. A inclusão preserva o estatuto original do registro; uma nova afirmação ou revisão de autoridade exige a transição específica que a constitui.
Um percurso de aquisição e decisão
Considere um lote de medicamentos em transporte refrigerado. O contrato da aplicação identifica os sensores admitidos, o escopo das medições, as condições de aquisição e a transformação que relaciona cada leitura ao lote e à posição do instrumento.
Durante a viagem, um sensor registra uma leitura referente às 13h. Um gateway recebe o material às 13h02 e produz um recibo dentro do escopo de garantia da sessão. A ponte declarada é admitida sob a autoridade e a revisão do mundo verificado; às 13h03 constitui-se um registro de observação, com referências ao recibo, ao sensor, ao lote e aos papéis temporais. O registro continua distinto da ocorrência física que a medição pretende descrever.
Uma segunda fonte pode produzir leitura divergente para a mesma posição e intervalo. Se as classes e as condições de incompatibilidade declaradas se aplicarem, os dois registros entram no conjunto de conflito. Se não houver predicado de compatibilidade adequado, a relação entre eles permanece sem essa determinação. Em ambas as situações, as observações são conservadas para avaliação posterior.
A aplicação de qualidade consulta o conjunto de observações admitidas e verifica sua cobertura. Uma sessão que não entregou evidências pode tornar a cobertura incompleta, enquanto uma observação tardia pode modificar uma avaliação futura sem reescrever o julgamento anterior. Uma análise estima o risco sob a versão do modelo selecionada; a avaliação de conformidade considera os critérios aplicáveis e o estatuto das observações utilizadas.
Um responsável pode decidir reter o lote, com a base normativa e informacional de sua decisão. A requisição de bloqueio enviada ao sistema de estoque produz sua própria história de execução. Novos dados podem chegar depois, alimentar outra análise e fundamentar eventual revisão. O percurso conserva as identidades e dependências da aquisição, das observações, dos resultados computacionais e da decisão.
Superfície da linguagem
A forma declarativa e os caminhos operacionais estão reunidos na referência da superfície.
Continuidade das informações adquiridas
O percurso da fonte externa ao resultado semântico preserva os vínculos materiais de identidade, atribuição, tempo, escopo, frame, estatuto epistêmico, dependências e responsabilidade. Cada fronteira conserva as informações que permitem recuperar por que uma observação foi admitida e quais garantias a acompanham.
Transformações, projeções e aplicações consumidoras podem selecionar ou restringir essas informações conforme seus contratos, mantendo referências históricas suficientes quando as qualificações continuam relevantes. A representação física das evidências e dos registros pode mudar sem redefinir os acontecimentos semânticos já introduzidos.
Documentação relacionada
Modelo de mundo apresenta as categorias fundamentais de realidade, ocorrência e acesso epistêmico. Operações semânticas e transições descreve a relação entre computação, decisão, execução e observação. Contextos, tempo e espacialidade desenvolve os escopos e frames utilizados na interpretação. Resultados situados, completude e proveniência especifica a interface das evidências e dos resultados consumidos por outras operações. Claims, comunicação e governança epistêmica explica as transições pelas quais um agente pode afirmar algo com base nas observações recebidas.
Ações, execução e efeitos
Autoridades: o contrato correspondente está carregado verbatim em Autoridades — este capítulo é pedagógico e não o substitui. O FormaSL representa ações e seus resultados por meio de contratos que ligam intenções, decisões, requisições, mecanismos externos e acontecimentos do domínio. Uma operação pode solicitar a atuação de um serviço, equipamento ou sistema, acompanhar sua execução e utilizar informações posteriores para avaliar o que ocorreu. As relações entre essas etapas conservam as identidades, as autoridades e as garantias de evidência aplicáveis.
A arquitetura distingue o pedido para agir, a autorização de despacho, a tentativa efetivamente iniciada, o resultado atestado pela fronteira operacional e o efeito atribuído a uma causa. A observação acrescenta acesso epistêmico ao que pode ter acontecido no mundo. Essas partes integram um percurso semântico comum, com contratos específicos para suas transições.
Ações, estados e ocorrências
O modelo de mundo reconhece estados e ocorrências independentemente de sua representação pela linguagem. Uma ação pode ser declarada e discutida antes de ocorrer; sua identidade como possibilidade não estabelece que tenha sido executada. Uma ocorrência efetiva, quando representada sob uma base apropriada, pertence à história do domínio e pode ser relacionada a outras ocorrências e estados.
A biblioteca std::world::dynamics oferece os tipos Occurrence, Event, ActionOccurrence, ProcessOccurrence e State. Eventos, ocorrências de ação e ocorrências de processo especializam Occurrence, com relações explícitas de subtipagem. StateOf<T> relaciona um estado a seu sujeito. EffectOf dispõe papéis para uma ocorrência considerada como efeito e outra considerada como causa.
Essas declarações fornecem vocabulário para representar a dinâmica de um domínio. As condições de atualidade, de autoridade e de causalidade são estabelecidas pelos contratos que utilizam esse vocabulário. Uma mudança de estado representada por uma aplicação pode ser interpretada a partir de acontecimentos, observações e bases causais sem que a presença de um nó ou relação no metagrafo, isoladamente, prove sua efetiva ocorrência.
Da decisão à requisição de execução
Uma decisão é uma ocorrência atribuível em que um decisor seleciona ou assume um resultado sob determinada base. Ela pode fundamentar uma ação posterior, mas o contrato decisório conserva sua própria identidade e autoridade. Para solicitar atuação externa, uma aplicação introduz uma ExecutionRequest, que identifica a ação requerida, seu alvo, os argumentos pertinentes e a base semântica dessa solicitação.
A família execution_request da superfície .fsl utiliza uma assinatura de aplicação e a referência a um contrato apropriado. A emissão de uma requisição é um ato de solicitação: registra o que se pretende realizar e permite relacioná-lo à decisão ou ao julgamento que o motivou. O sistema pode conservar requisições ainda não despachadas, rejeitadas antes da execução ou que dependem de condições adicionais de autoridade e realização.
Uma autorização de domínio e a autoridade necessária para efetuar o despacho têm funções próprias. Um julgamento de autorização pode estabelecer que um agente satisfaz uma política; a autorização operacional de despacho precisa também abranger a requisição concreta, o alvo, a carga e a capacidade selecionada, segundo o contrato da fronteira de execução. Uma requisição pode existir legitimamente sem que esse vínculo operacional esteja pronto.
Vinculação à realização e autoridade de despacho
Uma requisição de execução alcança o plano de realização por um vínculo admitido entre o requisito semântico e uma capacidade concreta. A capacidade selecionada possui identidade, revisão e garantias delimitadas pelo contrato de realização. O mecanismo responsável por sua invocação pode ser um serviço externo, um adaptador de dispositivo ou outra infraestrutura apropriada à ação.
O despacho é a transição autorizada que inicia o encaminhamento de uma requisição a um provedor. O contrato da fronteira externa exige uma cadeia identificável: requisição registrada, vínculo exato de realização, autoridade operacional produzida pelo responsável, elegibilidade do despacho, exclusão de trabalhadores obsoletos ou concorrentes e autorização de exposição para a invocação preparada.
A autorização de exposição está vinculada à operação e à invocação específicas; seu uso consome a possibilidade de realizar aquele despacho. O mecanismo pode empregar controle de concorrência, gerações, cercas (fences) ou permissões de uso único. Esses recursos realizam as garantias do contrato, e seus identificadores operacionais continuam distintos das identidades semânticas de requisição e tentativa.
A fronteira de exposição
O início efetivo da invocação ao provedor constitui a fronteira de exposição. Antes dela, a operação pode estar aceita e preparada, mas ainda não houve tentativa de execução externa. Uma falha de preparação, uma seleção impossível, uma rejeição de autoridade ou um cancelamento comprovadamente anterior à exposição permanece nessa condição prévia.
Uma ExecutionAttempt surge como ocorrência quando a invocação realmente começa. A identidade dessa tentativa é introduzida na primeira representação admissível daquela ocorrência. Em execuções controladas pelo runtime, os dois momentos podem coincidir. Se uma invocação anterior só for conhecida posteriormente, o registro tardio identifica a ocorrência antiga, conservando seu instante original quando conhecido.
A existência da tentativa depende de a invocação ter começado, inclusive quando não havia autorização válida. Uma execução externa não autorizada continua sendo uma ocorrência historicamente representável, acompanhada de seu estatuto de autorização. A rejeição anterior à invocação, em contraste, não introduz tentativa fictícia no histórico.
Depois que a exposição pode ter ocorrido, o sistema acompanha o desfecho sob as evidências realmente disponíveis. A perda da resposta pode deixar incerto o estado do alvo; o desaparecimento de uma conexão não estabelece que o provedor deixou de processar a invocação.
Operação durável e identidades correlacionadas
O contrato de execução externa utiliza uma operação durável como referência estável para o ciclo de controle de uma requisição. A operação existe desde sua aceitação e atravessa espera, preparação, tentativa, reconciliação e eventual repetição autorizada. A mesma operação pode relacionar-se a nenhuma tentativa ou a várias tentativas sequenciais, cada uma introduzida pela própria invocação.
A identidade da requisição, a referência da operação, a identidade da tentativa e a identidade do recibo têm funções distintas. São relacionadas por vínculos tipados e reconstruíveis. Por esses vínculos, uma aplicação pode recuperar qual requisição motivou uma tentativa, qual capacidade foi vinculada, qual alvo foi selecionado e a que tentativa se refere determinado recibo.
Tentativas externas cuja correlação com uma requisição ainda não foi estabelecida também podem ser representadas. Evidências posteriores podem acrescentar a relação de correlação sem alterar retroativamente a identidade nem o momento da ocorrência. A ausência de correlação comprovada permanece explícita até que uma base admissível permita estabelecê-la.
A operação durável pertence ao controle da execução. O resultado semântico de uma consulta ou análise executada pelo runtime é outra categoria de resultado; a homonímia ocasional entre estruturas de execução de componentes distintos não transfere identidades ou autoridade entre planos.
Autorização e desfecho operacional
Uma tentativa possui pelo menos dois eixos de interpretação. O estatuto de autorização informa se sua invocação estava autorizada, comprovadamente não autorizada ou ainda sem determinação suficiente. O desfecho operacional informa o que as evidências permitem concluir sobre o processamento dentro da fronteira vinculada.
Esses eixos podem variar independentemente. Uma invocação não autorizada pode ter sido processada pelo provedor; uma invocação autorizada pode não ter produzido resposta; uma tentativa cujo estatuto de autorização é indeterminado pode ter um desfecho operacional conhecido dentro da fronteira. A conclusão operacional não modifica o estatuto normativo da ocorrência.
A distinção também vale quando existem evidências contraditórias de autorização. O conflito permanece relacionado à base de autorização e não é resolvido pela resposta do provedor. A ausência de evidência suficiente é representada como estatuto não estabelecido; a constatação de não autorização exige sua base própria.
Recibos e limites das garantias
O ExecutionReceipt registra evidência sobre uma tentativa dentro da garantia declarada pela capacidade e pelo adaptador selecionados. Seu significado inclui o desfecho operacional admitido, a base de correlação e o escopo exato daquilo que o mecanismo consegue atestar.
O contrato distingue descrições fornecidas pelo próprio provedor de garantias associadas a uma rota efetivamente verificada. Uma descrição não verificada pode sustentar fatos de transporte ou protocolo dentro de seu escopo, mas não adquire automaticamente força de atestação sobre a aceitação pelo sistema alvo. Respostas que aleguem garantias mais fortes são conservadas como declarações do provedor e interpretadas sob o teto admitido.
Uma confirmação de transporte pode indicar que a mensagem chegou à fronteira contratada; uma confirmação de aplicação pode indicar que o alvo aceitou uma operação dentro de sua garantia. A situação física ou empresarial posterior continua sujeita aos contratos correspondentes. Um recibo operacional também não constitui, por si só, observação admitida, Claim ou atualização autoritativa da fonte.
Respostas malformadas ou associadas à tentativa, ao alvo ou ao provedor incorreto recebem diagnósticos tipados. Elas não encerram arbitrariamente a tentativa como sucesso ou fracasso. Se a invocação pode ter ocorrido, o acompanhamento conserva essa possibilidade até obter evidência adequada.
Falhas antes e depois da exposição
A posição da falha em relação à fronteira de exposição determina o que pode ser afirmado. Quando há evidência de que a invocação não começou, a operação registra a falha anterior à exposição por aquela rota. Nenhuma tentativa é introduzida; o sistema pode selecionar outro mecanismo ou preparar novo despacho conforme as condições aplicáveis.
Após exposição possível, um timeout, a perda do reconhecimento ou uma falha de comunicação podem produzir OUTCOME_UNCERTAIN. Esse desfecho informa que o processamento externo não pôde ser determinado pelas evidências admitidas. Uma resposta inválida também pode conservar a tentativa nesse estado.
Resultados como SUCCEEDED_WITHIN_BOUNDARY e FAILED_NOT_APPLIED são interpretados dentro da fronteira operacional declarada. A expressão não aplicado possui, nesse caso, o alcance que o contrato efetivamente garante para a rota e o alvo. Ela não funciona como afirmação sobre todos os acontecimentos possíveis no mundo externo.
A execução, portanto, conserva resultados negativos, falhas de mecanismo e estados indeterminados de modo suficiente para orientar os próximos passos. A classificação de uma falha permite saber se uma nova tentativa pode ser considerada ou se a operação precisa primeiro descobrir o destino da invocação anterior.
Reconciliação e repetição de tentativas
A reconciliação examina evidências admissíveis sobre uma tentativa cujo desfecho permanece incerto. Ela pode utilizar recibos, consultas ao provedor, registros duráveis e outras fontes admitidas pelo contrato de controle. O resultado da reconciliação conserva a referência à tentativa original e à base que fundamentou a classificação.
Enquanto uma tentativa da mesma requisição permanece com desfecho incerto, o contrato impede um novo despacho cego. A nova tentativa exige resolver o estado anterior e obter autorização específica para o reenvio. Uma garantia independente de idempotência pode fornecer evidência para reconhecer uma entrega repetida sob seu contrato, mas não dispensa a reconciliação de uma tentativa incerta. Se a reconciliação estabelece que a operação foi aplicada dentro da fronteira, a entrega repetida pode ser tratada como repetição de evidência, conforme o contrato. Se estabelece que não foi aplicada, uma nova invocação autorizada introduz outra tentativa, sob a mesma requisição e operação durável.
Uma chave de idempotência identifica a intenção de tratar entregas como repetições de uma operação. A garantia de idempotência externa depende, adicionalmente, de um contrato ou mecanismo de aplicação capaz de sustentá-la no domínio e na janela declarados. A deduplicação de mensagens dentro do sistema de controle e a idempotência do efeito empresarial possuem escopos próprios.
Reexecutar realmente uma ação produz nova tentativa. Reabrir um registro durável, reproduzir um rastro ou reapresentar o recibo de uma execução anterior preserva a identidade da ocorrência já registrada. O controle de repetição utiliza autorização própria, e seu histórico permanece reconstruível ao longo de reinícios do processo.
Cancelamento e concorrência
O cancelamento pode ocorrer enquanto a requisição ainda está em preparação ou depois que sua invocação pode ter sido exposta. Antes da exposição, quando existe evidência suficiente de não invocação, a operação pode terminar como CANCELLED_NOT_EXPOSED, descrevendo precisamente o percurso de execução que foi interrompido.
Depois de exposição possível, solicitar cancelamento não elimina a tentativa existente nem determina que o provedor cessou o trabalho. Uma confirmação de recebimento do cancelamento prova apenas aquilo que o contrato do canal de cancelamento garante. A tentativa pode permanecer em reconciliação quando um reconhecimento de cancelamento e uma confirmação de processamento chegam em competição temporal.
As evidências desses acontecimentos permanecem disponíveis para avaliação. O controle de concorrência evita despachos duplicados indevidos por trabalhadores desatualizados e conserva a associação entre autorização de exposição e invocação preparada. A organização interna desse controle pode variar entre mecanismos, desde que mantenha as propriedades exigidas pelo contrato.
Efeitos e relações causais
Um efeito é uma ocorrência considerada sob uma relação causal admitida. A biblioteca std::world::dynamics dispõe EffectOf, cujos papéis relacionam uma ocorrência tomada como efeito e outra tomada como causa. A introdução de uma relação causal exige a base prevista pelo contrato responsável por esse julgamento.
A tentativa de executar uma ação, a confirmação de seu processamento dentro de uma fronteira operacional e a constatação de um efeito externo são acontecimentos relacionados, com fundamentos próprios. A resposta de uma API pode confirmar a aceitação de um comando; uma observação posterior pode informar o novo estado de um equipamento; a atribuição causal desse estado ao comando depende de uma regra ou evidência que sustente essa ligação.
O contrato de execução mantém essa fronteira. O registro de efeitos no plano de ação exige uma referência a uma base causal independente, como a requerida por ActionJournal::record_effect. Recibos e declarações de provedores podem ser utilizados como evidência dentro de suas garantias; não introduzem automaticamente a relação EffectOf.
A sucessão cronológica também possui significado distinto. O fato de um equipamento ter mudado de estado depois do envio de um comando não basta, isoladamente, para estabelecer que a mudança foi causada por aquela tentativa. O cálculo causal completo pertence ao contrato específico que interpreta a evidência disponível.
Observações após a ação
O domínio pode receber novas observações depois de uma tentativa. A aquisição dessas informações obedece à fronteira de observação: fonte externa, sessão de aquisição, recibo, ponte de admissão e registro de observação. O registro conserva as condições de observador, fonte, tempo, escopo e garantia necessárias à sua interpretação.
Uma observação pode ser compatível com o efeito pretendido sem encerrar todas as dúvidas sobre sua causa. Também podem coexistir uma confirmação operacional e uma observação discordante. Quando essas informações constituem conflito material, a avaliação posterior conserva ou trata explicitamente as posições sob sua base de interpretação.
Esse percurso permite registrar tanto uma ação cuja execução é conhecida e cujo efeito externo permanece indeterminado quanto uma ação associada a um efeito estabelecido sem observação disponível. A observação posterior pode fundamentar uma nova avaliação ou uma Claim atribuível, por transições próprias, sem redefinir retrospectivamente os acontecimentos anteriores.
Tempo, histórico e responsabilização
O percurso de execução utiliza papéis temporais distintos: emissão da requisição, registro da autoridade, despacho, exposição, início efetivo da tentativa, primeiro registro da ocorrência, aquisição de evidência, emissão de recibo, reconciliação e eventual cancelamento. Cada tempo permanece ligado à sua função quando material para a interpretação.
Uma tentativa descoberta tardiamente conserva o tempo de ocorrência conhecido; se esse instante não puder ser determinado, a informação permanece desconhecida. O momento de registro não substitui o início da invocação. De modo semelhante, uma observação posterior não muda a data de uma decisão anterior ou a base que fundamentou sua autorização.
A história relaciona solicitante, decisor, proprietário da autoridade operacional, executor, provedor e, quando houver, observadores e emissores de Claims. Uma pessoa ou serviço pode desempenhar vários papéis, mas as responsabilidades permanecem identificáveis pelos contratos pertinentes.
Registros de controle podem ser persistidos e reabertos por outro processo, conservando as referências e evidências necessárias à reconstituição do estado da operação. Quando a base está incompleta ou corrompida, a fronteira durável aplica o desfecho de recusa tipada, preservando a integridade das conclusões disponíveis.
Ações em cenários hipotéticos
Uma composição pode avaliar um cenário que contempla uma ação ainda não executada. A hipótese identifica premissas, contexto e consequências modeladas; as saídas permanecem dependentes dessa base hipotética. A decisão de realizar uma ação real constitui outra passagem semântica, com autoridade e realização próprias.
Um cenário de interrupção de uma linha de produção pode estimar impactos sobre estoques e entregas. A simulação de desligamento não cria uma tentativa externa. Quando uma decisão real utiliza o resultado do cenário, sua requisição de execução conserva a dependência informacional relevante, mas necessita da autoridade operacional correspondente ao mundo não hipotético.
Uma tentativa real motivada por simulação continua sendo ocorrência real quando a invocação começa. A origem hipotética da motivação pode permanecer em sua proveniência sem transformar sua execução em mero acontecimento simulado.
Um percurso operacional
Considere a retenção de um lote de medicamentos num centro de distribuição. Uma avaliação de qualidade utiliza observações de temperatura e produz um julgamento. Um responsável decide bloquear a liberação do lote e introduz uma requisição para que o sistema de estoque aplique a restrição.
A requisição identifica o lote, a operação solicitada e a decisão que a fundamentou. A realização seleciona a capacidade de bloqueio oferecida pelo sistema de estoque, com suas garantias e revisão. O responsável operacional estabelece a autorização de despacho para a carga e o alvo concretos. A operação durável recebe sua identidade e acompanha o preparo da invocação.
Quando a chamada ao provedor começa, surge uma tentativa. Suponha que o serviço receba a requisição, mas a conexão se encerre antes de devolver uma confirmação utilizável. A tentativa permanece com OUTCOME_UNCERTAIN. A aplicação não a transforma em fracasso nem envia cegamente uma segunda requisição. A operação durável mantém a referência estável e inicia a reconciliação prevista pelo contrato.
Uma consulta de estado ao provedor pode fornecer evidência de que o bloqueio foi aplicado dentro da fronteira garantida. Esse resultado encerra a dúvida operacional segundo a base admitida, sem estabelecer automaticamente todos os efeitos posteriores no depósito. Uma observação independente do sistema de separação pode depois indicar que o lote já não está disponível para expedição. A aplicação avalia essa informação sob o contrato de observação; uma relação causal entre a ordem e o estado observado requer sua base apropriada.
Caso a reconciliação, em vez disso, estabeleça que o bloqueio não foi aplicado, um novo despacho autorizado pode iniciar outra tentativa da mesma requisição. As tentativas e seus recibos são preservados separadamente. Uma decisão subsequente pode considerar o estado efetivo do estoque e as novas observações, mantendo toda a cadeia de dependências históricas.
A sequência torna reconstruível aquilo que foi decidido, solicitado, autorizado, efetivamente invocado, confirmado pela fronteira de execução e observado posteriormente. Cada etapa acrescenta informação ao mundo semântico segundo seu contrato.
Superfície da linguagem
A forma declarativa e os caminhos operacionais estão reunidos na referência da superfície.
Documentação relacionada
Operações semânticas e transições apresenta a relação geral entre computação, julgamentos e ocorrências. Do programa semântico à realização explica a vinculação a capacidades executáveis. Aplicações semânticas e composição trata de dependências e ordenação de etapas. Contextos, tempo e espacialidade desenvolve os papéis temporais e bases de interpretação. Resultados situados, completude e proveniência especifica as garantias dos resultados; Claims, comunicação e governança epistêmica e Observação, evidência e aquisição apresentam os caminhos pelos quais informações operacionais podem fundamentar posições e observações posteriores.
Evolução da fonte, incorporação e revisões autoritativas
Autoridades: as transições de ciclo de vida e o loop ocorrência/efeito/observação/Claim estão carregados verbatim em Autoridades — este capítulo é pedagógico e não os substitui. A fonte FormaSL organiza as declarações e as informações semânticas que uma aplicação utiliza. Ao longo de sua história, essas informações podem ser acrescentadas, substituídas, relocadas ou deixar de integrar determinado estado de fonte. Outros acontecimentos, como a correção de uma Claim ou a revisão de uma teoria, estabelecem relações semânticas entre elementos que continuam historicamente identificáveis. O FormaSL trata cada passagem segundo seu contrato, conservando a origem da mudança, a base sobre a qual ocorreu e a autoridade que a introduziu.
A linguagem distingue autoria de fonte, evolução de estado autoritativo e sucessão semântica. A autoria produz ou edita material .fsl. A evolução introduz outro estado de fonte reconhecido como autoritativo. A sucessão relaciona elementos ou posições semânticas por correção, substituição, retração, depreciação ou refinamento. Uma mesma atividade pode envolver as três responsabilidades, sem que uma execute automaticamente as demais.
A fonte e seus estados
Um AuthoritativeSourceState identifica um estado de fonte admitido sob um escopo determinado. Seu contrato inclui identidade, referências exatas aos estados predecessores, a base semântica utilizada, o conjunto de alterações aceito e a proveniência de autoria, evolução e autoridade. Também conserva os vínculos e as declarações que compõem esse estado, os tempos pertinentes e as dependências históricas necessárias à reconstrução.
Cada estado introduzido permanece imutável. Uma nova revisão produz outro estado e estabelece sua relação com as bases anteriores. A representação pode ser armazenada em arquivos, objetos, bancos de dados ou outros mecanismos; a identidade do estado autoritativo pertence à camada semântica, com correspondências explícitas às representações físicas.
A identidade histórica também distingue estados de fonte que, sob determinado critério, apresentem conteúdo equivalente. A igualdade do texto ou de uma projeção não apaga diferenças de autoria, admissão ou trajetória. Da mesma forma, o endereço de um arquivo e um identificador de commit são coordenadas de representação e de operação, não substitutos universais da identidade do estado semântico.
Autoria e introdução autoritativa
A autoria de fonte envolve criar e modificar unidades .fsl, organizar módulos, declarar relações ou atualizar seu conteúdo. A fonte produzida pode passar por resolução, verificação estática e elaboração antes de ser utilizada. Esse percurso determina se as declarações estão bem formadas e a quais identidades e contratos se vinculam.
A introdução autoritativa acrescenta outra condição: uma transição de fonte é aceita sob uma base e uma autoridade específicas. A transição verifica o escopo afetado, o estado de partida, o conjunto de mudanças e as condições de admissão. Quando ocorre, produz um novo estado autoritativo e uma história de sua introdução.
O FormaSL mantém papéis separados para autor do material, responsável pela evolução, autoridade da fonte, publicador ou registrador e executor do mecanismo. Uma mesma pessoa ou serviço pode exercer vários papéis; o contrato registra em que qualidade atuou e com que fundamento. O mecanismo que gravou um arquivo ou completou uma publicação não adquire por esse fato a competência de introduzir Claims, decisões ou novas autoridades.
Alterações de vínculos e declarações
A evolução utiliza um SourceChangeSet, formado por operações cujos efeitos sobre os vínculos da fonte são definidos pelo contrato. O repertório fundamental inclui adição, remoção, substituição e relocação de vínculos, incorporação de artefatos existentes e anexação de metadados de fonte.
Uma adição introduz um novo vínculo com identidade própria. Uma remoção retira o vínculo da composição do novo estado, mantendo sua ocorrência histórica. Uma relocação estabelece outro vínculo e uma correspondência explícita com a localização anterior. Uma substituição cria a referência sucessora segundo uma relação de representação e um mapeamento determinado. O transporte de um vínculo sem mudanças relevantes preserva sua identidade.
A igualdade entre nomes, caminhos ou fragmentos de texto não decide sozinha a identidade de um vínculo. O histórico permite recuperar onde uma declaração aparecia, sob qual revisão e como passou a integrar outro estado. A remoção de um vínculo de fonte também tem um significado de pertinência: a declaração pode deixar de integrar a revisão selecionada sem que uma afirmação histórica tenha sido retraída ou que seu conteúdo tenha sido estabelecido como falso.
Novas declarações possuem contratos de introdução. Certos elementos semânticos definidos pela própria fonte podem ser cointroduzidos com o estado autoritativo, em uma passagem acoplada. Outros exigem um ato de introdução independente, como ocorre com categorias cujo estatuto decorre de emissão, observação, decisão ou outra transição de ciclo de vida. O conjunto de mudanças registra essa diferença e não utiliza a forma textual da declaração para fabricar o estatuto de uma ocorrência.
Bases exatas e admissibilidade
Toda evolução identifica sua base. O contrato de admissibilidade determina a relação exigida entre os estados de origem e o estado que se pretende introduzir. Os perfis incluem EXACT_BASE_ALLOWED, REQUIRE_EXPECTED_HEAD, REQUIRE_DESCENDANT_OF e MULTI_BASE_RECONCILIATION.
Quando a política permite uma base exata antiga, ela pode originar um ramo independente. Quando exige a cabeça esperada, uma mudança concorrente dessa cabeça torna a candidatura desatualizada e exige o tratamento previsto pelo contrato. A regra de descendência exige correspondência histórica apropriada. A reconciliação de múltiplas bases exige uma relação declarada entre os estados e as mudanças que serão reunidas.
Os estados autoritativos formam um histórico acíclico por referências aos predecessores. Ramificações legítimas podem coexistir. A seleção de um estado corrente é realizada sob um contrato próprio, em vez de ser inferida da ordem de gravação ou da preferência por um publicador.
Quando duas linhas de evolução trazem alterações incompatíveis, a reconciliação de fonte examina vínculos, identidades e diferenças de alteração. A reconciliação semântica de Claims ou posições conflitantes possui autoridade e critérios próprios. Reunir dois conjuntos de arquivos não decide automaticamente qual afirmação de domínio deve prevalecer.
Preparação, admissão e publicação
Uma transição pode produzir primeiro um candidato preparado, contendo a base selada, o conjunto de mudanças, a identidade candidata do novo estado e as verificações que podem ser realizadas antes da introdução. Essa preparação é útil para examinar vínculos, dependências, colisões, admissibilidade e efeitos sobre o programa.
A introdução autoritativa exige completar o procedimento governado. O contrato de evolução prevê um SourceStateAdmissionBundle que reúne os estados de base, o candidato, o conjunto resultante de vínculos, as declarações que podem ser cointroduzidas, as avaliações pertinentes e as evidências de autoridade. A introdução acoplada produz o novo estado e os estatutos cointroduzidos exigidos pelo contrato, ou não produz nenhum deles.
O publicador executa os mecanismos necessários para registrar e disponibilizar o estado. A conclusão física da distribuição pode ocorrer depois do compromisso autoritativo, conforme a fronteira de publicação; problemas de replicação posteriores são acompanhados sem apagar o estado que já foi admitido. As informações de publicação e a história semântica conservam seus papéis próprios.
Incorporação de artefatos existentes
A incorporação (incorporate) permite acrescentar à fonte uma referência a um artefato semântico já existente. Antes dessa passagem, o artefato possui identidade e estatuto estabelecidos por seu contrato de origem. A incorporação é governada pela autoridade da fonte e pela base exata sobre a qual a referência será admitida.
Uma observação adquirida, uma Claim emitida ou uma consequência de raciocínio podem ser selecionadas para integrar um estado de fonte, quando o contrato aplicável admite essa utilização. O ato conserva a identidade do artefato e os atributos que determinam sua interpretação: emissor ou produtor, tempos originais, contexto, dependências e condições de completude ou de observação. O novo vínculo acrescenta a proveniência da incorporação e o locus de fonte correspondente.
Uma incorporação não altera por si só o estatuto do artefato. A presença de uma Claim no corpus autoritativo informa sua inclusão naquela fonte; a verdade do conteúdo e a legitimidade de sua emissão continuam submetidas aos contratos pertinentes. Um resultado hipotético também preserva sua dependência do cenário, mesmo quando é incorporado como artefato para documentação ou uso posterior.
Essa passagem é especialmente relevante no percurso entre runtime e fonte. Uma execução pode produzir resultados, observações ou recibos; o mecanismo de incorporação determina quando e como um desses elementos passa a ser referenciado por uma revisão autoritativa, sem equiparar a saída operacional à autoridade da fonte.
Autoridade, independência e autoconsistência
A autoridade de uma evolução deve ser resolvida a partir da declaração e da revisão admitidas pelo mundo semântico verificado. A mudança não pode produzir, por sua própria inclusão, a autoridade necessária para autorizá-la. As referências à autoridade, ao alvo e às mudanças são confrontadas com a base selada antes de introduzir outro estado.
O papel de autoridade é diferente do papel de autor, e ambos são diferentes da atividade do mecanismo publicador. Um operador autorizado a editar o texto pode ainda precisar de um ato de admissão de fonte para alterar a revisão reconhecida. Uma alteração na representação física também pode não ter efeito sobre a seleção de estados autoritativos até ocorrer a transição correspondente.
O contrato de incorporação pública torna essas verificações observáveis como resultados tipados. Uma falha de resolução, divergência de revisão, tentativa de autovalidação ou ausência do estatuto exigido para um artefato produz uma recusa no ponto responsável. O resultado informa qual condição impediu a admissão, preservando a história já estabelecida.
Sucessão entre elementos semânticos
A evolução da fonte pode acompanhar uma sucessão semântica, mas esta possui seu próprio contrato. O FormaSL representa relações históricas como CORRECTS, SUPERSEDES, RETRACTS, DEPRECATES e REFINES. Cada relação identifica o alvo e, quando aplicável, o sucessor; conserva o agente, a base de autoridade, o contexto, o escopo e os tempos pertinentes.
Uma correção declara, sob autoridade específica, que outro conteúdo foi produzido para corrigir o anterior. Uma substituição por sucessão determina a preferência ou aplicabilidade de um elemento sucessor em determinado uso e intervalo. Uma retração registra o abandono atribuível de uma posição. A depreciação restringe ou desencoraja usos futuros sob o contrato. O refinamento registra uma relação admitida de especialização de conteúdo ou compromisso, sem impor automaticamente uma relação de subtipagem entre declarações.
A existência da relação histórica e sua efetividade são avaliadas separadamente. Uma relação de sucessão alegada pode ser registrada mesmo quando sua admissibilidade ou autoridade ainda é indeterminada. A seleção de um elemento como efetivamente sucessor considera o contrato da relação, a autoridade e o escopo pertinentes.
A história geral de sucessão não precisa ter a mesma topologia do histórico de estados de fonte. Relações entre posições podem ser plurais, conflitantes e sujeitas a avaliações locais, enquanto os estados de fonte mantêm a dependência acíclica de suas introduções. Uma teoria revista também não reinterpreta retroativamente as consequências calculadas sob sua revisão anterior.
Identidade e continuidade na revisão
Cada relação de sucessão declara como afeta as dimensões de identidade envolvidas. Dependendo da categoria, uma referência pode conservar a identidade anterior, introduzir identidade nova ou registrar uma correspondência explícita entre dois elementos. A identidade de uma Claim emitida, por exemplo, permanece associada àquele ato; uma afirmação corrigida por nova emissão possui outra identidade e relação histórica com a anterior.
As mudanças de fonte também precisam conservar a correspondência entre declarações, vínculos e referentes. Uma relocação pode mudar o locus de fonte sem mudar o referente semântico. A introdução de novo contrato de tipo ou de teoria exige as relações de revisão que permitam utilizar as versões corretamente, sem reescrever os julgamentos históricos.
Uma aplicação que produziu resultado sobre um estado anterior conserva essa base. A análise de sua reutilização diante de uma revisão nova é feita por contrato de impacto, que pode concluir REMAINS_VALID_UNDER_NEW_STATE, RECOMPUTE_REQUIRED, HISTORICAL_ONLY ou UNRESOLVED_IMPACT. Acrescentar ou remover informação pode alterar o significado de consultas e inferências, inclusive quando suas referências diretas parecem inalteradas.
Tempos da fonte e seleção histórica
O SourceTransactionTime situa a admissão do estado na história autoritativa. O SourceEffectiveTime, quando aplicável, situa sua efetividade semântica. O instante em que a revisão se torna fisicamente disponível a um consumidor constitui outra coordenada, de natureza operacional. Esses tempos podem coincidir, mas mantêm funções distintas.
A seleção de uma base pode utilizar um estado exato (EXACT_STATE), o estado registrado em certo momento (AS_RECORDED_AT), a efetividade em determinado tempo (EFFECTIVE_AT) ou a resolução temporal de um localizador (RESOLVED_LOCATOR_AT). O resultado pode ser único, múltiplo, ausente ou não resolvido, conforme o histórico e o contrato.
Depois de selecionada a base de fonte, outra operação pode selecionar quais elementos semânticos são efetivos para determinada categoria, período ou escopo. Assim, a revisão de fonte escolhida para uma consulta e a versão efetiva de uma política dentro dela são seleções relacionadas, porém diferentes.
Um registro tardio de correção conserva o momento em que foi introduzido e a eventual vigência declarada. Consultas históricas podem recuperar tanto o que constava numa fonte em determinado momento quanto o que a revisão corrente estabelece sobre um intervalo passado, sem fundir essas perguntas.
Superfície da linguagem e execução corrente
A superfície .fsl declara evolve source com assinatura de aplicação, contrato indicado por using, base indicada por from e bloco de mudanças. O bloco identifica o responsável por by e, quando aplicável, a base adicional de under. As mudanças admitidas incluem add binding, remove binding, replace binding ... with, relocate binding ... to, incorporate e attach metadata ... to.
A família incorporate também possui declaração de aplicação própria, vinculada ao contrato de incorporação. Seus campos incluem as coordenadas exatas do artefato, da fonte de destino, da base, do agente e da autoridade, definidas pelo contrato especializado. A elaboração preserva o tipo de transição e as referências necessárias para sua realização.
Na versão executável documentada, a chamada isolada de evolve source produz um candidato preparado, sob a guarda PreparedOnly, sem publicar ou substituir a fonte. Já a rota produtiva de incorporate executa uma sequência governada de verificações S0 a S7, com resultados de aplicação (APPLIED) ou recusas tipadas (NOT_APPLIED) segundo a condição encontrada. Outros desfechos operacionais, incluindo incerteza de resultado e falha de mecanismo, pertencem ao contrato da fronteira de execução aplicável. A referência de suporte descreve as classes e limites efetivamente disponíveis, inclusive para admissibilidade de bases e reconciliação de múltiplos pais.
A distinção entre essas superfícies mantém clara a semântica de autoria, preparação e introdução autoritativa, independentemente da quantidade de passos que uma realização execute para concluí-las.
Exemplo: revisões de um programa de controle de qualidade
Considere um programa que acompanha a integridade de lotes de medicamentos. Seu estado de fonte F1 define relações de lotes, remessas e inspeções, uma teoria de avaliação e uma política de retenção. Uma equipe revisa o critério de inspeção, preparando alterações nas declarações e nos vínculos da fonte. A preparação identifica o estado F1 como base, forma o conjunto de mudanças e apresenta o candidato à evolução.
Quando a transição é admitida sob a autoridade competente, um novo estado F2 passa a integrar o histórico de fonte. A declaração revisada possui sua identidade ou correspondência conforme o contrato, enquanto resultados calculados sob F1 continuam associados à teoria e à política anteriores. Consultas posteriores podem selecionar F1 ou F2 por referência exata, instante de registro ou efetividade.
Mais tarde, uma observação de temperatura é adquirida e admitida por sua própria fronteira epistêmica. A equipe de qualidade decide incorporá-la ao corpus utilizado na avaliação de determinado lote. A incorporação produz um novo vínculo autoritativo com referência à observação existente, preservando a fonte do sensor, o instante da aquisição, a ponte de admissão e as garantias originais. A observação não se transforma numa Claim da equipe por ter entrado na fonte.
Suponha ainda que a transportadora corrija uma Claim anterior acerca das condições do transporte. A correção gera outra afirmação atribuível e uma relação de sucessão sob a autoridade pertinente. O estado de fonte seguinte pode referenciar ambas e sua relação histórica. Uma avaliação posterior consegue determinar qual posição era conhecida quando uma decisão anterior foi tomada e qual posição foi admitida para uso corrente.
Essa história reúne revisões de declarações, incorporação de observações e sucessão entre Claims. Cada acontecimento altera a base de computação de maneira explícita, e os resultados mantêm as dependências que permitem reconstruir suas interpretações.
Documentação relacionada
Continuidade semântica apresenta as obrigações de preservação que regem evoluções e correspondências. Módulos, interfaces e resolução de referências explica os vínculos e identidades utilizados pela fonte. Do programa semântico à realização descreve como aplicações são preparadas e executadas. Claims, comunicação e governança epistêmica trata das afirmações que podem ser revistas ou incorporadas. Observação, evidência e aquisição descreve a admissão de observações que posteriormente podem participar de estados autoritativos.
Validação e governança
Autoridades: os contratos de validação e governança, a semântica de julgamento e os perfis H1 estão carregados verbatim em Autoridades — este capítulo é pedagógico e não os substitui. A governança do FormaSL organiza os julgamentos e os atos que determinam como informações, agentes e candidatos participam de um processo. Os contratos identificam o alvo de cada julgamento, a base utilizada, a autoridade pertinente e as consequências da decisão. A validação examina restrições; a admissão trata da passagem por uma fronteira; a autorização trata da atuação de um agente; a decisão registra o resultado assumido por um decisor.
Alvos, critérios e mundo de validação
Uma validação aplica um conjunto declarado de restrições a um alvo selecionado dentro de um mundo de validação. O alvo pode ser uma entidade, uma relação, um conjunto de informações ou outra construção admitida pelo contrato. O mundo de validação fixa quais informações estão disponíveis e como serão consideradas.
A aplicação conserva a revisão das restrições, a seleção dos alvos e a base de interpretação. Assim, um julgamento sobre uma inspeção de equipamento pode ser reconstruído com os critérios que vigoravam quando foi produzido. Uma nova revisão de critérios dá origem a outra avaliação sobre uma base identificada.
O resultado apresenta os achados e o julgamento de conformidade previstos pelo contrato. Um achado pode apontar um alvo específico e as informações que fundamentaram a avaliação. A interface do resultado determina quais detalhes precisam ser preservados para seu consumo posterior.
Conformidade
Conformidade é a relação de atendimento às restrições de um contrato ou o julgamento que a estabelece para um alvo. Ela é sempre relativa aos critérios e à base selecionados.
Em uma operação logística, a validação pode examinar se o registro de uma inspeção contém as informações exigidas e se suas relações satisfazem as restrições declaradas. O resultado de conformidade informa o atendimento a esses critérios. A entrada do equipamento em uma operação é examinada por outro contrato, que pode utilizar esse resultado entre suas entradas.
Julgamentos negativos são resultados próprios da avaliação. Falhas de aquisição, ausência de uma base exigida e interrupções do mecanismo são tratadas pelos respectivos desfechos. Essa organização permite encaminhar um problema de conformidade a uma correção de domínio e uma falha operacional à recuperação do processamento.
Admissão de candidatos
A admissão examina se um candidato pode atravessar uma fronteira governada. Seu contrato identifica o candidato, a fronteira, as políticas, a base informacional e os requisitos que precisam ser atendidos.
Um equipamento pode estar conforme ao contrato de inspeção e continuar dependente de condições de capacidade, janela operacional ou compatibilidade com a instalação de destino. A operação de admissão relaciona essas condições ao candidato concreto. Seu resultado pode ser consumido por uma decisão que efetivamente assume a admissão.
A fronteira é parte do significado do julgamento. A aceitação de uma informação como entrada de análise, a admissão de uma observação e a admissão de uma composição em um trecho ferroviário possuem objetos e condições diferentes. Cada contrato define a relação pertinente.
Autorização de agentes
A autorização avalia a posição de um agente em relação a uma ação ou capacidade dentro de um escopo. Sua base pode reunir delegações, políticas, competências, condições temporais e outros elementos normativos do domínio.
O agente responsável por uma manobra e o equipamento utilizado participam do mesmo processo, mas em papéis distintos. A autorização incide sobre a atuação do agente. A admissão considera a passagem do candidato pela fronteira. A composição relaciona os julgamentos necessários à operação.
O instante relevante da autorização pertence ao contrato. Uma ação pode exigir autoridade no momento da decisão, da requisição, da tentativa de execução ou durante um intervalo. O registro conserva a base temporal efetivamente utilizada.
Decisões e efetividade normativa
Uma decisão é um ato atribuível que seleciona, adjudica ou assume um resultado. Ela identifica o decisor, o objeto da decisão, o desfecho, sua base e as condições de contexto e tempo.
A ocorrência de uma decisão e sua efetividade normativa são informações distintas. O domínio pode conservar decisões contestadas, posteriormente anuladas ou emitidas fora da competência aplicável. Os contratos de governança estabelecem como avaliar sua autoridade e seus efeitos.
Estados normativos persistentes também dependem de um contrato. Uma permissão pode ser introduzida por uma transição específica ou derivada de um histórico de decisões e normas. A forma escolhida determina como consultar sua vigência e como registrar concessões, retiradas e revisões.
Composição dos julgamentos
Os julgamentos são combinados segundo a necessidade do processo. Uma composição pode consultar informações, validar um candidato, avaliar a autorização do agente e encaminhar os resultados ao decisor. Outra pode começar pela autorização ou utilizar um julgamento previamente produzido cuja reutilização seja admitida.
Cada ligação conserva o contrato do produtor e as exigências do consumidor. Um resultado válido de admissão pode alimentar uma decisão sem que o cálculo do julgamento seja confundido com o ato decisório. A etapa de execução utiliza uma requisição e uma cadeia operacional próprias.
Histórico de governança
O histórico relaciona critérios, informações, julgamentos, decisões e revisões. Uma alteração posterior de política muda a base de novas avaliações; os resultados anteriores continuam vinculados às revisões que utilizaram.
Essa ligação permite responder quais critérios foram aplicados, quem decidiu, qual autoridade sustentava a decisão e quais informações estavam disponíveis. A governança utiliza as mesmas estruturas de identidade, contexto, proveniência e continuidade que organizam o restante do programa.
Documentação relacionada
Claims e comunicação, Resultados situados, Composição e Ações e execução.
Autorização governada por evidência
Autoridades: a emenda delimitada Governance Evidence-Bound Authorization Bounded Amendment e os contratos de governança Validation and governance e Governance Capability Contract são carregados verbatim em Autoridades. Este capítulo descreve como a implementação cumpre essas leis e não as substitui.
A autorização no FormaSL não consulta um juiz externo. A política declara uma condição where e o núcleo da linguagem a avalia contra um mundo de átomos construído a partir do próprio corpo da aplicação. Cada campo desse corpo declara sua origem; a condição enxerga apenas o que a evidência traz; e a proveniência de cada átomo acompanha o resultado, para que qualquer veredito possa ser reconstruído com os valores que o produziram. Três famílias de condição compõem esse mundo: comparação de inteiros, pertencimento a conjuntos e comparação de instantes.
A fonte de átomos
Um campo com literal booleano entra no mundo como o valor escrito. Um campo com referência $nome é outra coisa: uma exigência de evidência. O nome precisa resolver para exatamente uma aplicação infer de objetivo único; ambiguidade, ausência ou um alvo que não é inferência são recusas tipadas, não resultados.
Resolvida a referência, a derivação da evidência decide o átomo. Com a derivação completa, ao menos uma correspondência de objetivo afirma o átomo como verdadeiro e nenhuma correspondência o produz como falso decisivo. Se o gás acaba antes da completude, o átomo permanece Unknown e a origem fica registrada. A ausência só é decisiva quando a perseguição de provas terminou; essa distinção é o que impede uma política de concluir “não provado, logo negado” sobre uma prova interrompida.
Comparação e pertencimento
Sobre esse mundo, o where avalia comparações e pertencimento pelas operações usuais do núcleo três-valores. A novidade está no que os operandos podem ser. Um átomo ligado a evidência projeta um inteiro: o total de correspondências de objetivo da derivação. Uma referência com papel projetado (campo : $App.papel) projeta um conjunto: os valores daquele papel nas correspondências da derivação.
Ambas as projeções obedecem ao mesmo portão da fonte de átomos: só existem sob derivação completa. O motivo é a assimetria do pertencimento. Um contains sobre um conjunto vazio decide False, e um not contains decide verdadeiro; se a derivação não terminou, um conjunto vazio deixaria a negação afirmar exatamente o que a prova não demonstrou. Por isso uma derivação incompleta não projeta conjunto algum: a comparação fica Unknown e o veredito, não resolvido.
Tempo sem relógio
Condições temporais comparam instantes, e nenhum relógio vive no núcleo. O tipo admitido é o instante UTC estrito YYYY-MM-DDTHH:MM:SSZ, validado lexicalmente com calendário real; um spelling bem-formado mas impossível, como um dia 31 de setembro, é recusa de formação, não um valor.
O instante entra na condição pela mesma porta dos inteiros: uma projeção epoch que preserva ordem alimenta a comparação do núcleo, e não existe um segundo mecanismo de comparação temporal. Quando o átomo projetado carrega vários instantes, o valor decisivo é o mais recente deles, sempre sob o portão de completude. Um piso de validade declarado como where $revisado_em >= 2026-10-01T00:00:00Z fica decisivo quando a evidência traz a data; sob gás esgotado, o resultado é UNRESOLVED, nunca uma negação silenciosa.
Conjuntos nomeados de políticas
Uma aplicação pode apontar para uma política ou para um conjunto nomeado delas:
policy set ReleaseGuardSet combines PROHIBITION_OVERRIDES { SetAllowPolicy, SetDenyPolicy }
authorize AuthorizeGuardSet($actor: Agent) using ReleaseGuardSet {
authority : $ReleaseGovernanceBasis
blocked : $BobSoDBlock
}
O contrato declarado na cláusula combines é a base de deconflicção exigida pelo contrato de governança: conflito sem contrato rende UNRESOLVED, nunca um vencedor implícito. A fase atual admite PROHIBITION_OVERRIDES e ALL_REQUIRED; os membros resolvem de forma fechada, e membro ausente ou ambíguo é recusa tipada com o conjunto e o membro nomeados.
A combinação é denotacional. Cada membro é avaliado contra a mesma fonte de átomos, cada um com sua identidade de fronteira, e a ordem de avaliação não tem autoridade semântica. Sobre os vereditos três-valores vale a lei negativa-ao-negado: qualquer membro negado nega o conjunto; persistindo algum membro não resolvido, o conjunto não se resolve; somente a concessão de todos concede. A decisão atribuível permanece por política, com o conjunto como contexto registrado no resultado.
Executar esse exemplo contra o binário da linguagem mostra os três efeitos na mesma rota:
authorize AuthorizeGuardSet -> SetEvaluated { verdict: Denied, set: "ReleaseGuardSet",
contract: "PROHIBITION_OVERRIDES", members: [("SetAllowPolicy", Granted),
("SetDenyPolicy", Denied)] } (policy ReleaseGuardSet)
authorize AuthorizeOpenSet -> SetEvaluated { verdict: Granted, set: "ReleaseOpenSet",
contract: "ALL_REQUIRED", members: [("SetAllowPolicy", Granted),
("SetAllowAgainPolicy", Granted)] } (policy ReleaseOpenSet)
Com orçamento de derivação insuficiente, a mesma aplicação mantém a forma e troca o conteúdo: o conjunto e cada membro registram Unresolved, e nada decide sob prova interrompida.
Recusas tipadas
A fronteira entre erro de formação e resultado é tipada. Uma referência que não resolve, um papel que nenhum objetivo declara, um membro de conjunto que não nomeia política, um instante mal-formado: cada um tem sua classe própria e o nome exato do que falhou. Nenhuma dessas condições vira Unknown disfarçado; nenhuma delas autoriza um veredito. O resultado registrado preserva a origem dos átomos avaliados, e é essa proveniência que distingue um “não” decidido sob prova completa de um “não sei” sob prova interrompida.
Onde a autoridade mora
As leis desta página têm autoridade na emenda delimitada citada no topo e nos contratos de governança dela derivados. Quando o texto normativo e este capítulo divergirem, vale o texto normativo; a emenda é também o lugar onde uma fase posterior (durações, classes de combinação adicionais) deve ser registrada antes de existir na implementação.
Organização do projeto
Autoridades: o contrato de projetos/pacotes está carregado verbatim em Autoridades — este capítulo é pedagógico e não o substitui. Um projeto Forma organiza fontes semânticas, planos de realização, dependências, alvos e verificações. O manifesto
forma.tomlidentifica o pacote e suas entradas. O arquivoforma.lockfixa a seleção resolvida de dependências para repetir a formação do programa.
Separe as responsabilidades
Mantenha as declarações de domínio em módulos .fsl. Agrupe contratos reutilizáveis em módulos com interfaces definidas e coloque aplicações específicas em módulos consumidores. Os planos .fsp ficam separados das fontes, pois selecionam mecanismos e recursos de realização.
A organização física deve tornar visível a diferença entre vocabulário, operações, aplicações e verificações. Ela pode acompanhar os limites do domínio sem obrigar que cada pasta corresponda a uma região do metagrafo.
Defina os alvos
Um alvo seleciona o conjunto de fontes e a aplicação que será verificada ou executada. Registre no projeto quais alvos são destinados à aplicação, aos exemplos e às verificações. A referência do manifesto fornecida na versão utilizada determina os campos aceitos.
A seleção de fontes precisa conter as declarações das quais o alvo depende. No modo de arquivos explícitos, os operandos fornecem esse conjunto. No modo de projeto, a resolução utiliza as fontes e dependências do manifesto.
Publique interfaces pequenas
Exporte as declarações de que outros módulos precisam: tipos, relações, teorias e aplicações. Preserve detalhes internos que não fazem parte do contrato compartilhado. O consumidor deve conseguir formar suas construções utilizando a interface publicada.
Quando houver ambiguidade entre nomes importados, utilize qualificação ou alias explícito. Essa escolha faz parte da base de resolução do programa.
Registre a base reproduzível
Mantenha o manifesto, o lock e os planos de realização junto do material necessário para reproduzir o alvo. Fixe versões de modelos e artefatos externos exigidos pela realização. O histórico de uma execução deve identificar a revisão efetivamente utilizada, em vez de depender apenas de um nome corrente.
Verifique por alvo
A formação do projeto deve ser verificada antes da execução. Depois, execute as aplicações selecionadas e examine seus resultados tipados. Uma aplicação com dependências externas precisa também de vínculos de realização admitidos e dos recursos exigidos pelo contrato.
Os comandos e formatos correspondentes estão reunidos em Comandos, Formatos e Verificação.
Ciclo de desenvolvimento
O desenvolvimento de uma aplicação FormaSL passa pela definição do domínio, pela formação dos módulos, pela composição das operações e pela vinculação à realização. Cada etapa produz informações que permitem localizar erros e compreender os resultados.
Comece pelo contrato de domínio
Identifique os referentes, as relações e os papéis necessários à aplicação. Defina quais informações são Claims, observações, resultados derivados ou decisões. Especifique os contextos e os papéis temporais que alteram a interpretação.
Escolha os módulos reutilizáveis que já publicam esses contratos. Declare os elementos específicos da aplicação nos módulos consumidores. A definição deve permitir explicar o significado das entradas e saídas sem depender da representação física.
Verifique a formação
Utilize check sobre o conjunto de fontes ou sobre o alvo do projeto. A verificação identifica problemas de sintaxe, resolução, categoria declarativa e contratos estáticos. Corrija a primeira causa indicada pelo diagnóstico antes de interpretar erros decorrentes dela.
Utilize inspect para examinar o programa admitido. Essa etapa é útil para confirmar as declarações selecionadas e as referências resolvidas, especialmente quando há aliases ou vários módulos importados.
Execute as aplicações
Selecione a aplicação pretendida para run. Examine o resultado da aplicação e seu estatuto semântico, além do resumo operacional. Uma consulta, uma análise e um julgamento de governança apresentam resultados próprios.
Para operações limitadas por gas, registre o orçamento utilizado. Compare resultados somente sob bases e condições de conclusão compatíveis. Um resultado parcial pode ser útil quando o contrato do consumidor admite esse uso.
Vincule a realização
Declare no plano .fsp os vínculos e as restrições exigidos. Utilize realize para verificar a seleção das capacidades. A execução externa percorre as interfaces de invocação, evidência e admissão correspondentes à família da operação.
Mantenha a configuração de ambiente separada das declarações de significado. Modelos, instrumentos, serviços e mecanismos de armazenamento devem ser identificados pelas revisões e garantias necessárias à aplicação.
Transforme falhas em verificações
Para cada comportamento corrigido, acrescente um caso que discrimine o resultado esperado da falha anterior. Registre a aplicação, suas entradas, a base e o desfecho. Inclua resultados negativos válidos, ausência de informação, conflitos e interrupções quando esses estados fizerem parte do contrato.
O roteiro de exemplos deste livro contém casos de domínio pequenos, cada um acompanhado de sua finalidade e do critério de verificação.
Dependências e distribuição
Os pacotes distribuem módulos, fontes e alvos FormaSL. A resolução de dependências seleciona os artefatos que formam a base do programa. O lock registra essa seleção, enquanto o processo de selagem organiza uma versão distribuível com identidades e resumos de integridade verificáveis.
Declare dependências de interface
Uma dependência deve publicar as declarações necessárias ao consumidor. Use a interface do pacote para identificar tipos, relações, teorias e operações. Evite depender de caminhos internos que não fazem parte dessa interface.
A compatibilidade é examinada segundo a categoria da declaração. Uma mudança de nome pode ser acomodada por um alias; uma mudança de contrato de tipo ou de resultado requer verificar as garantias utilizadas pelo consumidor.
Fixe a resolução
O arquivo de lock registra versões e artefatos selecionados. Inclua-o no material de reprodução do projeto. Uma atualização de dependência produz outra base de formação e deve ser acompanhada pelas verificações dos alvos afetados.
Referências históricas de resultados continuam vinculadas à base em que foram produzidas. Atualizar uma dependência para novas execuções é uma mudança do programa, não uma reinterpretação dos resultados anteriores.
Sele e verifique a versão
A família package oferece as operações de selagem e verificação. A selagem reúne o material do pacote conforme seu contrato de distribuição. A verificação reconstrói a identidade e confere os resumos dos artefatos.
Conserve o manifesto, o lock, as fontes, os planos e as verificações associados à versão. Identifique separadamente os artefatos externos que a realização exige, como modelos ou calibrações.
Distribuição e execução
Uma versão distribuída disponibiliza artefatos para resolução. A realização seleciona recursos concretos para executar as aplicações. A publicação de um pacote, a publicação de um estado autoritativo de fonte e o início de uma execução possuem contratos próprios.
O guia de atualização descreve como avaliar mudanças de interface e de interpretação antes de substituir uma dependência utilizada em produção.
Verificação de aplicações
Uma verificação útil identifica uma propriedade do contrato e apresenta entradas capazes de distinguir sua preservação de uma falha. O conjunto de testes acompanha os alvos do projeto e registra resultados reproduzíveis.
Formação
Verifique o conjunto de fontes completo. Inclua casos com referências válidas, nomes ambíguos, argumentos incompatíveis e declarações de categorias incorretas. O resultado esperado deve indicar a aceitação ou a classe de diagnóstico pertinente.
Comportamento semântico
Execute aplicações sobre bases pequenas e identificadas. Para consultas, verifique os vínculos e a condição de completude. Para inferências, identifique as premissas, as regras e as consequências esperadas. Para validação e governança, verifique o julgamento produzido e sua base.
Inclua casos em que o resultado correto é vazio, negativo, desconhecido, não aplicável ou inconclusivo. Esses casos exercitam contratos diferentes e devem permanecer distinguíveis na saída.
Composição
Verifique o consumo de resultados entre estágios. Um teste deve mostrar que o consumidor recebe o estatuto, a base e as dependências exigidas. Teste também as alternativas de encaminhamento e a função de cada estágio no critério de conclusão.
Um ramo não alcançado deve ser reconhecido como tal. Uma falha de mecanismo deve ser encaminhada pelo canal apropriado, e uma transição já ocorrida deve permanecer no histórico após uma falha posterior.
Fronteiras externas
Utilize provedores e fontes controlados para verificar aquisição, execução e publicação. Registre o escopo das garantias do mecanismo utilizado. Casos de atraso, duplicação, resposta malformada e correlação incorreta devem produzir desfechos identificáveis.
Para execução externa, exercite falhas anteriores à exposição e perdas de resposta posteriores à exposição. Para observação, exercite a admissão da ponte e a preservação de evidências. Para incorporação, verifique as bases, a autoridade e a publicação do sucessor.
Suítes e recibos
A ferramenta test executa as suítes *.test.toml admitidas pela versão do sistema e produz um recibo agregado. O formato da suíte e os campos de asserção estão na referência de formatos do pacote de implementação.
Mantenha junto do caso a revisão da fonte, a aplicação, os parâmetros, o orçamento e o resultado esperado. O relatório de verificação deve distinguir testes executados de verificações apenas estáticas.
Diagnósticos e investigação de resultados
Os diagnósticos relacionam uma condição encontrada à construção, ao contrato ou à execução responsável. A investigação começa identificando em qual etapa o comportamento apareceu: formação, resolução, realização, avaliação, transição ou fronteira externa.
Formação e resolução
Confirme que todas as fontes necessárias participam do alvo. Verifique a grafia dos nomes qualificados, as exportações e os aliases. Uma posição que espera uma teoria, uma relação ou uma política precisa resolver uma declaração da categoria apropriada.
Quando houver várias declarações admissíveis com igual prioridade, torne a escolha explícita. A ordem dos arquivos não é um critério de resolução.
Realização
Uma recusa de realização indica quais requisitos e candidatos foram considerados. Examine a revisão do requisito, a capacidade selecionada, as restrições, os recursos e as garantias exigidas. A identidade do provedor e a identidade da operação semântica têm papéis diferentes nessa análise.
Resultados de avaliação
Leia primeiro o resultado tipado da aplicação. O resumo agregado informa a situação do conjunto selecionado, mas o resultado de cada aplicação conserva suas próprias condições.
Um conjunto vazio pode ser a resposta completa de uma consulta. Um resultado inconclusivo pode ser o julgamento previsto para a evidência disponível. O esgotamento de gas informa a condição do trabalho computacional realizado. A interpretação de cada um depende do contrato produtor.
Fronteiras externas
Para uma tentativa de execução, determine se a invocação começou e qual evidência sustenta seu desfecho. Uma perda de resposta após exposição possível exige reconciliação.
Para uma observação, recupere a fonte, a sessão, os recibos, a ponte admitida e a revisão de autoridade. Para uma incorporação, recupere a base selada, a classificação do material, o gate responsável e as coordenadas de publicação quando produzidas.
Produza um caso reproduzível
Reduza a entrada até manter somente os elementos que causam o comportamento. Preserve a aplicação, as revisões e os parâmetros materiais. Registre a saída original e a expectativa derivada do contrato. Essa combinação permite distinguir erro de modelagem, erro de implementação e diferença de base.
Integração com Rust
A integração programática utiliza a API pública da versão do FormaSL escolhida pelo projeto. Ela oferece acesso à formação do programa, à invocação de aplicações e às superfícies de realização e ciclo de vida publicadas pelos componentes.
Use a interface pública
Localize a operação necessária na referência de API gerada a partir do código da versão. Utilize tipos e funções exportados, preservando as identidades tipadas de aplicações, bases e resultados. Os módulos internos de um mecanismo não substituem os contratos da API consumidora.
A entrada programática deve identificar o mesmo programa e as mesmas bases utilizadas pela interface de linha de comando. Uma aplicação invocada por código mantém seu contrato de entrada e resultado.
Trate resultados por categoria
Examine os resultados das famílias de aplicação e seus desfechos. Uma resposta de consulta, um julgamento, uma observação admitida e uma conclusão de publicação possuem estruturas e condições próprias. Preserve essas categorias ao integrar o FormaSL a outro sistema.
Ao serializar um resultado, mantenha as coordenadas que o consumidor precisa para reconstruir a aplicação, a base, a proveniência e a completude. A representação de apresentação deve ser derivada desse resultado, em vez de servir como identificador semântico.
Integre capacidades externas
Uma capacidade externa deve atravessar o vínculo de realização e a fronteira de interpretação previstos para sua família. O adaptador fornece evidências e resultados dentro de sua garantia. A aplicação semântica determina como essas informações são admitidas e utilizadas.
As superfícies de execução, aquisição e incorporação usam autoridades e correlações próprias. Mantenha os registros tipados de cada percurso, inclusive quando um único serviço hospeda mais de uma dessas funções.
Versões e verificações
Fixe a revisão da dependência Rust e verifique seus consumidores após atualizações. Gere a documentação de API com a mesma árvore de código utilizada no build. As assinaturas extraídas no catálogo deste pacote funcionam como índice; a documentação gerada pelo compilador fornece os detalhes da API efetivamente compilada.
Consulte API do workspace para navegar pelos componentes encontrados na árvore de implementação disponível.
Provedores e adaptadores
Um provedor realiza uma capacidade exigida por uma aplicação. O requisito semântico descreve o que a operação necessita; o vínculo de realização seleciona uma capacidade concreta cuja revisão e garantias satisfazem esse requisito. O adaptador organiza a interação com o mecanismo e a evidência que atravessa a fronteira.
Defina a capacidade
Identifique a família da operação, seu contrato de entrada e o significado da saída. Declare o regime de exatidão, aproximação, determinismo e completude pertinente. Quando houver artefatos externos, mantenha sua identidade e sua revisão no vínculo.
A capacidade deve expressar somente as garantias sustentadas pela fronteira. Uma atestação de transporte, uma aquisição de sensor e uma saída analítica têm escopos diferentes.
Faça a vinculação
O programa .fsl conserva o requisito. O plano .fsp identifica os alvos e as escolhas de realização. O processo de vinculação verifica identidade, revisão, compatibilidade e restrições antes de produzir uma associação executável.
Registre as diferenças entre requisitos obrigatórios, limites e preferências. Uma preferência orienta a seleção entre alternativas admissíveis; uma exigência participa da admissibilidade do candidato.
Preserve a correspondência
A interação com o provedor deve conservar aplicação, invocação, entradas, vínculo e resultado operacional. Na passagem de volta, a fronteira de interpretação aplica o contrato que constitui o resultado semântico.
Para aquisição, a evidência passa pela ponte de observação admitida. Para execução externa, a invocação atravessa a autorização de exposição e produz uma tentativa. Para uma análise, a saída é interpretada sob o contrato analítico e suas garantias.
Verifique a integração
Use casos com entrada válida, revisão incorreta, artefato externo alterado, resposta malformada e correlação incompatível. Verifique também interrupção e indisponibilidade. O adaptador deve produzir desfechos que permitam ao consumidor decidir a próxima etapa do processo.
Os mecanismos podem compartilhar transporte e armazenamento. A reutilização deve conservar os contratos e as identidades de cada família.
Atualização e migração
Uma atualização pode alterar fontes, contratos, interfaces, modelos ou mecanismos de realização. A migração identifica qual dessas bases mudou e quais consumidores dependem dela. O histórico conserva a interpretação das versões anteriores.
Classifique a mudança
Uma alteração de nome pode ser tratada pela resolução ou por um alias. Uma mudança de interface exige examinar as garantias utilizadas pelos consumidores. Uma mudança de teoria ou política pode alterar consequências e julgamentos. Uma mudança de mecanismo deve preservar o contrato semântico realizado.
Registre as identidades e revisões de origem e destino. Descreva a correspondência entre referentes e artefatos quando houver transformação de representação.
Examine os resultados existentes
O contrato de impacto determina se um resultado continua utilizável na nova base, exige recomputação, permanece apenas histórico ou tem impacto ainda não determinado. A análise deve considerar adições e remoções, inclusive novas informações que passem a satisfazer uma consulta.
Resultados históricos conservam a revisão que os produziu. Uma migração pode criar outra representação ou outro resultado sob contrato explícito, mantendo o vínculo com o material de origem.
Prepare e publique
Uma mudança de fonte utiliza bases exatas e um conjunto de alterações aceito. A preparação produz o candidato; a admissão e a publicação introduzem o estado autoritativo segundo o contrato. A concorrência é tratada pelo regime de base selecionado.
Conserve os artefatos de verificação da migração e as coordenadas da publicação. A recuperação de uma tentativa incerta deve determinar o resultado anterior antes de iniciar outra publicação.
Atualize consumidores
Resolva novamente os alvos afetados, execute suas verificações e examine as diferenças semânticas esperadas. Mantenha referências históricas estáveis para consultas, decisões e auditorias que ainda dependam da base anterior.
A substituição de uma versão de pacote e a seleção de um estado autoritativo de fonte seguem seus respectivos contratos de distribuição e evolução.
O sistema Forma
O sistema Forma reúne a linguagem FormaSL, as ferramentas de desenvolvimento e os componentes que realizam aplicações semânticas. A linguagem define estruturas e operações. A plataforma oferece mecanismos para executá-las, apresentá-las, distribuí-las e integrá-las a outros sistemas.
Linguagem e ferramentas
O núcleo de desenvolvimento resolve fontes, verifica contratos estáticos, elabora aplicações e encaminha sua execução. A ferramenta de linha de comando e a API programática utilizam essas capacidades para formar projetos e produzir resultados.
Módulos e pacotes distribuem definições reutilizáveis. O manifesto e o lock identificam a base selecionada pelo projeto. Os planos de realização vinculam requisitos semânticos a recursos e provedores.
Componentes de plataforma
Interfaces semânticas apresentam projeções e operações sobre referentes identificados. Componentes de agentes utilizam contexto, memória e resultados para conduzir interações. Capacidades de rede e armazenamento transportam e mantêm artefatos sob contratos de identidade, integridade e autoridade.
Esses componentes compartilham as distinções da linguagem. Um elemento visual mantém correspondência com seu referente; uma recuperação de memória conserva a origem da informação; uma transferência de artefato preserva sua identidade; uma gravação operacional mantém seu papel dentro do percurso executado.
Aplicações de domínio
Aplicações combinam módulos reutilizáveis com contratos específicos. Uma solução logística pode utilizar relações de remessa, observações de temperatura e decisões de qualidade. Uma solução de manutenção pode relacionar equipamentos, inspeções, restrições e requisições de intervenção.
A aplicação publica as interfaces que outros consumidores podem utilizar. Seus contratos determinam entradas, resultados, condições de conclusão, interações de ciclo de vida e requisitos de realização.
Navegação pelos componentes
As páginas seguintes descrevem responsabilidades de interfaces, agentes, memória, armazenamento, rede e operação. O Catálogo de produtos identifica as fontes de aplicações encontradas na árvore utilizada pelo gerador. A API do workspace permite localizar os pacotes Rust correspondentes.
Interfaces semânticas
Uma interface semântica apresenta informações e operações do domínio mantendo correspondência com seus referentes. A projeção visual é interpretada sob uma base de contexto, de visibilidade e de versão. As interações do usuário são encaminhadas às operações que possuem o contrato necessário para realizá-las.
Referentes e elementos visuais
Um elemento de tela pode representar uma entidade, uma relação, uma Claim, uma decisão ou um resultado. A correspondência permite recuperar qual elemento semântico está sendo apresentado e sob qual base.
Uma linha em uma tabela de inspeções, por exemplo, pode apontar para a inspeção e para as observações utilizadas em sua avaliação. A ordenação e a paginação modificam a apresentação, preservando as referências aos elementos.
Contexto da visão
A visão seleciona informações por escopo, tempo, perspectiva e condições de divulgação. Seu contrato determina quais qualificações aparecem diretamente e quais permanecem acessíveis por referência.
Uma mesma entidade pode ser apresentada em visões diferentes para operadores, responsáveis por qualidade e auditores. A projeção conserva a base que fundamentou a seleção, incluindo as políticas de acesso relevantes.
Interações e comandos
Uma interação pode selecionar um referente, solicitar uma consulta ou iniciar uma aplicação governada. O comando deve identificar a operação, as entradas e a base sob a qual será avaliado.
A confirmação visual de uma ação acompanha o resultado efetivo de sua operação. Uma decisão registrada, uma requisição enviada e uma tentativa concluída são estados distintos que a interface pode apresentar segundo seus contratos.
Atualizações
A interface pode receber novas projeções à medida que o estado da aplicação evolui. Cada apresentação permanece vinculada à sua revisão e à admissão correspondente. Uma mudança de base invalida a apresentação anterior; uma nova avaliação FormaSL é selada e concluída sob os contratos existentes antes que seus resultados materiais alimentem outra projeção admitida. O cliente pode atualizar a geometria e a cena visual por deltas entre estados já admitidos, mas isso não equivale a consumir semanticamente prefixos incompletos de uma avaliação. O contrato RAC-L01 mantém essa fronteira fechada; nem o transporte incremental da interface nem a reavaliação reativa alteram o regime de completude.
Quando a base de uma interação mudou desde a apresentação, a operação utiliza seu contrato de admissibilidade para decidir como tratar a entrada. O resultado informa a revisão efetivamente considerada.
Mapas e espacialidade
Uma representação cartográfica liga elementos de projeção a referentes espaciais. A geometria utilizada pelo mapa e a região semântica desempenham papéis próprios. A seleção de uma figura pode recuperar o referente e as informações situadas que fundamentaram a projeção.
Transformações de frame, calibrações e evidências de percepção pertencem às fronteiras de realização e observação. A interface utiliza os resultados admitidos para apresentar o domínio.
Topologia gráfica nativa
A arquitetura ratificada para a apresentação gráfica nativa utiliza o perfil tipado project_topology_profile, derivado de computação FormaSL e governado por ReadViewAdmission. Relações N-árias permanecem uma única instância com papéis e incidências explicitamente representados; relações de ordem superior e referências semânticas conservam suas identidades e categorias quando admitidas pelo contrato. A topologia não é reconstruída no cliente a partir de containment ou de equivalência textual.
O contrato separa quatro planos: S1 (identidade semântica nativa), S2 (referência admitida sob uma base), S3 (ocorrência visual baseada em coordenadas admitidas) e S4 (slot/epoch de renderização). A seleção gráfica é estado visual local; não introduz uma ação de autoria ou mudança de autoridade. Mudar a base invalida ocorrências visuais anteriores, e seleções obsoletas são rejeitadas tipadamente.
O perfil divulga apenas as relações, os participantes e as incidências admitidos pela política da visão. Contagens, grau e vizinhança referem-se ao conteúdo divulgado. Uma relação ou participante ocultado não pode reaparecer por inferência de layout. A ponte atual de consequências não transporta AtomApplicability (under, scope, frame, valid_at) pelo wire 0.2; essa informação não é reconstruída heurísticamente pelo cliente.
O host formasl-app-server é infraestrutura independente de domínio para computação e admissão. O mundo ServiceNow s38 constitui a primeira testemunha operacional, sem se tornar fonte de autoridade semântica do host. A genealogia experimental de preview por containment permanece distinta do perfil topológico nativo ratificado. Estas distinções decorrem das decisões FF-01/FF-05 e R3-HOST-01..05 do repositório; a substituição normativa dessas fontes no corpus novo ainda depende do gate N30.
Forma Sheet
Forma Sheet organiza uma superfície de trabalho tabular sobre estruturas semânticas. A planilha pode apresentar referentes, relações e resultados, mantendo a correspondência entre células, informações de domínio e operações que as produzem.
Conteúdo tabular e domínio
Uma linha ou célula é uma posição da representação. O contrato da superfície identifica quais elementos semânticos ela apresenta. Uma tabela de remessas pode mostrar o lote, o destinatário, a condição de transporte e o resultado de uma avaliação, cada qual com sua referência.
A disposição visual pode mudar por ordenação, filtro ou agrupamento. As identidades utilizadas por operações posteriores acompanham os referentes e os contratos, em vez de depender apenas da posição apresentada.
Cálculo e resultados
As operações que alimentam a superfície possuem contratos de entrada e saída. Um valor analítico, uma resposta de consulta e um julgamento podem aparecer em células distintas conservando seu estatuto.
Quando uma edição inicia uma transformação ou uma mudança de fonte, a operação correspondente determina o significado da alteração. A atualização visual apresenta o resultado dessa transição e sua base.
Composição com aplicações
Uma superfície tabular pode atuar como entrada e acompanhamento de uma aplicação maior. Seleções fornecem referências; consultas apresentam recortes; julgamentos exibem suas condições; decisões utilizam a autoridade pertinente.
A integração deve preservar a base temporal e contextual das informações apresentadas. O histórico de uma decisão pode então ser reconstruído a partir dos artefatos que o usuário efetivamente consultou ou selecionou.
Referência de implementação
Os módulos e contratos do produto determinam o conjunto de operações oferecido por cada versão. O catálogo de código do pacote identifica as superfícies encontradas na baseline. Os formatos de arquivo, comandos e APIs específicos devem ser consumidos a partir dessas interfaces publicadas, preservando sua revisão.
Agentes
Um agente utiliza informações, capacidades e contratos para conduzir uma interação ou um processo. No Forma, sua atuação pode ser relacionada a Claims, observações, resultados, decisões e requisições de ação com identidades e bases próprias.
Contexto de interação
O contexto de uma interação reúne o material selecionado para a tarefa: instruções aplicáveis, referências de domínio, resultados de recuperação e estado do trabalho. A seleção conserva a origem e o papel dos itens utilizados.
O histórico completo e o contexto entregue a uma avaliação são artefatos diferentes. Uma recuperação pode selecionar apenas o material pertinente à interação e preservar referências ao restante do histórico.
Capacidades do agente
Uma capacidade publicada identifica suas entradas, seus resultados e as condições de realização. Consultas, análises e inferências produzem informação semântica. Operações governadas estabelecem julgamentos ou decisões. A atuação externa utiliza requisições e o plano de execução correspondente.
O agente pode compor essas operações em vários passos. Cada passo mantém a base consumida e a condição de conclusão, permitindo retomar um processo interrompido ou examinar os fundamentos de um resultado.
Autoridade e responsabilidade
O agente solicitante, o executor de uma capacidade e a autoridade que admite a transição possuem papéis próprios. A aplicação deve identificar qual deles responde por cada ato.
Uma afirmação produzida em nome de uma organização exige a base de representação pertinente. Uma decisão que conduz a uma ação externa utiliza as condições normativas e operacionais do caso concreto.
Agentes persistentes
Processos prolongados mantêm estado e histórico de tarefas, resultados e interações. Uma nova avaliação utiliza a base que seu contrato seleciona, preservando a ligação com avaliações anteriores.
Memória e recuperação fornecem informações para o próximo passo. A incorporação de um resultado ao corpus ou a assunção de um conteúdo como Claim seguem as transições semânticas específicas.
Integração
A implementação do agente utiliza as APIs públicas de contexto, memória, invocação e realização. Os contratos das capacidades continuam governando o significado dos resultados, inclusive quando um modelo de linguagem participa da seleção ou produção de conteúdo.
Memória, recuperação e aprendizado
A memória de um agente organiza material que pode ser reutilizado em interações posteriores. Esse material pode incluir ocorrências de conversa, referências de domínio, resultados, avaliações e registros de decisões. A recuperação seleciona o que é pertinente a uma tarefa e conserva a ligação com suas fontes.
Registro e seleção
O registro histórico conserva o material e as relações necessárias para reconstruí-lo. O contexto de uma interação é uma seleção desse material, construída sob critérios de tarefa, relevância, visibilidade e validade da base.
A mesma informação pode participar de contextos diferentes sem perder sua identidade. Uma síntese acrescenta uma representação própria, cuja relação com as fontes permite recuperar os detalhes necessários.
Proveniência da recuperação
Um resultado de recuperação identifica o item encontrado, a origem e as condições de seleção pertinentes. Quando esse resultado fundamenta uma avaliação, sua dependência pode ser conservada no percurso da aplicação.
A seleção de um item para contexto é uma decisão de utilização. A classificação de seu conteúdo como afirmação, observação ou resultado derivado permanece vinculada ao contrato de origem.
Evolução da memória
Novas informações podem acrescentar relações, atualizar seleções correntes ou indicar que uma informação anterior precisa de revisão. O histórico conserva as referências aos estados e aos atos que produziram essas mudanças.
Uma reativação utiliza material anterior sob uma base atual identificada. O consumidor verifica as condições de tempo, contexto, autoridade e completude pertinentes à nova utilização.
Aprendizado
O aprendizado produz ou revisa artefatos utilizados em avaliações futuras, como modelos, critérios ou estruturas derivadas. A aplicação identifica o material de origem, a operação realizada e a revisão do artefato resultante.
A utilização posterior de um artefato aprendido conserva sua revisão e suas dependências. Quando a mudança afeta uma fonte autoritativa ou uma política, ela percorre o contrato de evolução e a autoridade aplicáveis.
Operação
As superfícies de memória devem tornar recuperáveis o item selecionado, sua base e o papel que ele exerce no contexto. Os detalhes de indexação e armazenamento pertencem à realização e podem evoluir preservando essa interface semântica.
Rede e distribuição
A rede transporta e disponibiliza artefatos entre participantes. O Forma preserva a identidade do material, a revisão de seus contratos e as relações de comunicação necessárias à interpretação. A distribuição de uma representação e sua adoção por um consumidor são acontecimentos distintos.
Artefatos distribuídos
Pacotes, fontes, resultados e evidências podem ser distribuídos com referências e informações de integridade. O destinatário utiliza essas coordenadas para identificar o material recebido e a base que o interpreta.
A distribuição pode produzir novas ocorrências de transmissão e recepção. O conteúdo transportado conserva a identidade e o estatuto exigidos por seu contrato.
Resolução e disponibilidade
Uma dependência de projeto precisa ser resolvida para um artefato e uma revisão determinados. A disponibilidade por uma localização de rede fornece um meio de acesso; o lock e as referências de versão identificam o material selecionado.
Uma alteração de localização pode preservar o artefato. A substituição por outra revisão muda a base de resolução e exige os julgamentos de compatibilidade pertinentes.
Estados e replicação
A replicação física disponibiliza representações de estados ou registros. O contrato do estado determina sua identidade e suas relações históricas. As regras de autoridade e de publicação estabelecem quais transições introduziram a fonte utilizada por consumidores.
Quando participantes mantêm visões diferentes, a comunicação conserva as bases e as condições de acesso. Uma reconciliação de estados é uma operação explícita com seus critérios de conflito, sucessão e conclusão.
Falhas e retomada
A operação distribuída deve conservar a diferença entre indisponibilidade, resposta ausente, conteúdo inválido e resultado semântico negativo. Tentativas de execução externa usam suas próprias regras de exposição e reconciliação.
A recuperação utiliza registros e identidades estáveis para determinar o que foi recebido, aplicado ou ainda não resolvido. A repetição de uma entrega preserva a relação com a operação original conforme o contrato de idempotência admitido.
Fronteiras públicas
As capacidades de registro remoto, consenso e transporte são documentadas por seus contratos e superfícies de implementação. O catálogo do workspace identifica os componentes presentes na baseline; a matriz operacional registra os caminhos efetivamente verificados.
Realização física e hardware
A realização física relaciona um plano executável aos dispositivos, ao posicionamento e aos recursos necessários para processá-lo. Ela utiliza os requisitos semânticos da aplicação e as garantias oferecidas pelos mecanismos selecionados.
Requisitos e posicionamento
Uma realização pode exigir memória, capacidade de processamento, latência, energia ou largura de banda. O contrato identifica quais requisitos participam da admissibilidade e quais evidências sustentam a capacidade do dispositivo ou da topologia.
O posicionamento associa componentes a recursos concretos. A análise deve considerar as dependências entre estágios e os canais utilizados para transportar dados e resultados.
Admissão da realização
O julgamento de realização física determina se os requisitos foram satisfeitos, se alguma condição falhou ou se a informação disponível é insuficiente para concluir. O resultado conserva a base de recursos, provedores e posicionamento examinada.
A capacidade física realiza o contrato recebido. As identidades, os resultados e as condições de conclusão semântica permanecem vinculados à aplicação.
Orçamento lógico e recursos físicos
Gas delimita o trabalho computacional lógico. Tempo de processamento, memória e energia descrevem recursos físicos. Os dois conjuntos de condições podem atuar sobre a mesma execução, cada qual sob seu contrato.
Uma implementação especializada pode alterar a organização dos cálculos e o custo físico para realizá-los. Sua conformidade depende da preservação dos observáveis e das garantias do contrato executado.
Interfaces especializadas
Os artefatos de arquitetura de hardware e de FISA especificam as interfaces próprias dessa realização. Sua utilização por uma aplicação passa pelos mesmos vínculos de requisito, capacidade e interpretação de resultado.
A documentação de API e o catálogo da baseline identificam os componentes efetivamente presentes. As verificações devem registrar a versão dos artefatos de hardware, o dispositivo e o perfil utilizado para realizar cada carga de trabalho.
FormaKV, o motor de persistência
Uma promessa feita a um usuário sobrevive à sessão. Os bytes que sustentam essa promessa precisam sobreviver ao crash. A FormaKV é a parte da plataforma onde acontece essa segunda sobrevivência: um motor de chave-valor embutido e durável sobre o qual se apoia a capacidade de armazenamento da plataforma.
Um motor dentro do processo, não ao lado dele
A FormaKV é uma biblioteca. A aplicação a vincula, entrega um diretório, e o motor toma posse daquele diretório. Não há socket, protocolo, nem segundo processo para instalar, monitorar ou reiniciar: a garantia de durabilidade corre dentro do próprio tempo de vida da aplicação.
Não é um banco de dados. Guarda chaves e valores, e nada sabe sobre schemas, consultas ou significado. Uma camada de banco (a FormaDB, nos planos da família) se assentará sobre ela e herdará suas garantias em vez de reimplementá-las.
Da transação aos bytes duráveis
Uma escrita atravessa um caminho curto. A transação mantém as mudanças em memória. O commit anexa a transação ao log de escrita à frente do motor e emite um fsync. Quando o sync retorna, o commit é reconhecido; a fronteira de visibilidade do motor é o prefixo durável, de modo que um valor se torna legível exatamente no ponto em que perdê-lo deixa de ser possível, salvo falha do dispositivo.
Escritores não esperam o dispositivo um a um. Tudo o que está na fila numa barreira de durabilidade compartilha um único sync. Sob oito escritores concorrentes o motor mede quatro registros por sync, que é a diferença entre um mecanismo de durabilidade e um imposto de durabilidade.
O espaço que a durabilidade reserva
O log reserva espaço antes de usá-lo: 8 MiB por época, apartados na abertura. Um escopo vazio ocupa cerca de 8,4 MB, e esse número é piso, não vazamento. Um checkpoint dobra o log em segmentos selados e devolve a reserva: um escopo com 300 claims passou de 8,4 MB para 108 KB num único checkpoint, com as claims intactas.
Dois números de custo não devem ser confundidos. A reserva é custo de capacidade, limitado por escopo e devolvido no checkpoint. A amplificação de dados, bytes escritos por byte guardado, mede 1,30 no caminho de escrita em regime. Relatórios que citam fatores muito maiores estão citando a reserva.
O que um crash leva
Um crash leva a cauda, e só a cauda. Na reabertura o motor valida o log frame a frame, para no primeiro frame em que não confia, corta o arquivo ali e relata o corte. O sobrevivente é um prefixo exato: toda escrita reconhecida, nada mais. Um commit que chegou ao dispositivo mas cujo reconhecimento nunca chegou ao chamador recupera como confirmado, porque o motor trata como fato o que validou.
Um crash, portanto, trunca. Nunca corrompe o prefixo, nunca perde escrita reconhecida, nunca reinicializa um diretório que já contém dados.
O que custa e o que entrega
Em NVMe de consumo com ajustes padrão, o motor mede 3.517 commits duráveis por segundo para um escritor único, com a barreira de durabilidade a 253 microssegundos na mediana, e cerca de nove vezes o throughput com oito escritores. A corrida canônica de escala escreveu um corpus de 4 GiB sob teto de memória de 2 GiB em 467 segundos com pegada estável de 306 MiB, e reabriu em 7,5 segundos no prefixo exato. Num filesystem de memória, a coordenação sozinha sustenta uma ordem de grandeza a mais, e é por isso que os números de dispositivo são os honestos para planejamento.
Esses números vêm de um protocolo declarado: builds de release, três corridas consecutivas que precisam concordar, antes-e-depois intercalados no mesmo dispositivo. O repositório do motor guarda as tabelas completas, os knobs e as alternativas recusadas com suas medições.
Onde se assenta na plataforma
As aplicações alcançam o motor pelo forma-kv-adapter, que realiza a capacidade de
persistência da plataforma atrás da fronteira de provedor de armazenamento. O binding é
um pin de revisão do repositório do motor, e o pin é o contrato de versão: a revisão
pinada passou seu gate de forma idêntica em três corridas consecutivas, e a suíte do
próprio adapter passa contra exatamente esses bytes. Quando o motor avança, nada muda
para a aplicação até que ela mova o pin e rode de novo seus gates.
Forma-Continuum, o motor de execução durável
Um programa que controla o mundo real não termina na requisição em que nasceu. Ele espera um relógio, responde a um sinal, aguarda um trabalhador externo que pode nunca responder. A Forma-Continuum é a parte da plataforma onde essa espera se torna durável: um motor de execução que mantém um workflow vivo através de crashes, reinícios e ausências, porque cada decisão que ele toma já está registrada antes de precisar dela.
A linguagem executa, o journal decide
O motor não tem runtime próprio de linguagem. Ele recebe um programa .fsl, o elabora pelo próprio compilador da plataforma e avalia o programa pelo motor de avaliação da linguagem, em processo. O que o Continuum acrescenta é o registro ao redor dessa avaliação: um journal append-only, em que cada transição anexa seus eventos em ordinais contíguos sob uma geração monotônica, e um estado de carrier que avança com o journal. A ordem não é convenção. A validação de transição rejeita ordinal que pule e geração que não avance, e essa validação é um único caminho compartilhado por todo backend que queira guardar o journal.
Isso divide a autoridade sem dividir a linguagem. O carrier decide; o journal decide quem pode decidir; e a semântica continua sendo a do programa, porque o payload que semeia cada execução carrega os bytes exatos do fonte, identificados pelo mesmo hash que o compilador calcula.
Replay não é reexecução com dados novos
Quando o motor reabre uma execução, ele não precisa reavalar tudo: precisa conferir que
cada segmento fechado do journal reproduz as mesmas decisões. Para isso a janela de
reavaliação contém apenas o que a avaliação original viu. O par Scheduled/Started que o
motor grava junto ao resultado, e o marcador de conclusão que vem depois da decisão, não
entraram na avaliação e por isso não entram no replay. Um carrier que decide pela forma do
batch recebe a mesma forma que recebeu na primeira vez, e um tamper no journal aparece como
divergência entre o comando registrado e o comando re-derivado, que o motor sela como
NonDeterministic e encerra.
O estado inicial do replay merece atenção separada: ele é o estado semeado no envelope do primeiro evento, não o mais recente. Um carrier com memória própria não diverge por ter dormido.
A atividade é o contrato com o mundo externo
Workflow puro é determinístico por construção. O que traz o mundo para dentro é a atividade: o motor agenda, entrega a um trabalhador e espera um resultado que pode chegar tarde, duas vezes, ou de quem nunca recebeu a tarefa. O Continuum trata cada uma dessas chegadas como suspeita até prova em contrário. A entrega carrega a geração do agendamento; o resultado valida a execução, a geração, a abertura da tentativa e a entrega real, nesta ordem, antes de qualquer transição. Resposta tardia de tentativa expirada, resposta duplicada da mesma geração e resultado de tarefa que nunca foi entregue caem em erros tipados distintos, e nenhum deles escreve uma linha no journal.
O tempo também é contrato. Cada tentativa tem prazo próprio de execução; a atividade tem janela total de agendamento e teto de tentativas. A expiração grava o evento contratado de timeout, não uma falha de trabalhador fingida; quando a janela total se esgota, o evento carrega a causa discriminada, e a janela vale mesmo que o prazo individual da tentativa aberta ainda esteja no futuro.
O crash é o experimento, não a exceção
A suíte de conformidade mata o motor de verdade. Um subprocesso executa o cenário até uma fronteira determinística e chama abort; o que sobrevive é o que o SQLite commitou em WAL com synchronous FULL. O que os cenários mostram é o mesmo desenho: um crash entre o início registrado e o resultado leva embora só o resultado, e a recuperação reagenda a tentativa guardada pela geração, de modo que nenhum poll reabra o que já foi entregue e nenhum prazo fique para sempre sem dono. O motor trata a interrupção como regime normal, e a bateria que prova isso corre igual sobre os dois backends do journal.
Dois backends, uma lei
O journal é um traço, e dois guardadores o implementam: o SQLite em modo durável e a FormaKV, o motor de persistência da plataforma. A bateria de conformidade é a prova de que a abstração existe: os mesmos cenários, as mesmas garantias, backends diferentes. E a camada é disciplinada na direção da linguagem: os substratos do Continuum não dependem do compilador; só o hospedeiro o referencia, porque quem decide a semântica é o host, não o registro.
O journal fala com o mundo reativo
Um journal durável que ninguém consegue observar serve só ao próprio executado. O feed reativo declara um nome de fonte e publica cada evento do journal como uma ocorrência: a posição é o ordinal, a identidade é o id durável da ocorrência, e a leitura confere contiguidade contra a posição do consumidor, de modo que um journal corrompido fora da API falha fechado em vez de continuar a partir do buraco. Evento de execução estranha não se publica sob nome alheio. Do lado do consumidor, uma notificação vira candidato de ativação só para quem declarou depender daquela fonte, e a ativação passa por um portão com política antes de virar ordem. O ciclo fecha: journal, emissão, declaração, candidato, portão, ordem.
O que a execução custa
O motor é embutido: vincula-se como biblioteca e herda a durabilidade do backend escolhido, sem segundo processo. O custo visível é o journal, que cresce com cada decisão e existe para não ser descartado; a recuperação lê prefixos fechados e confere o passado por janelas.
Um workflow que precisa sobreviver não pede mais nada à infraestrutura. Pede um journal que não minta, um replay que não invente, uma entrega que não aceite qualquer um, e um tempo que expire quando o contrato diz. É isso que o Continuum executa.
Catálogo de aplicações
Esta referência identifica aplicações a partir de seus módulos de fonte. Os nomes de operação são declarações encontradas no código; a matriz de verificação registra separadamente sua execução.
Organização das aplicações
As aplicações de domínio combinam módulos de vocabulário, contratos, operações e realização. Os guias de desenvolvimento descrevem como organizar essa composição. A enumeração dos produtos da baseline precisa da árvore de implementação indicada no registro de cobertura.
Forma Orchestrator: visão geral
Um programa semântico consegue declarar como uma implantação deveria estar. Sozinho, ele não consegue continuar olhando: alguém precisa notar que o mundo mudou, avaliar o programa contra a revisão corrente, decidir que trabalho isso implica e conduzir a parte autorizada desse trabalho até os nós que o executam — sem inventar nenhum dos significados envolvidos. O Forma Orchestrator é o componente da plataforma que roda esse loop. É um mecanismo operacional, não uma segunda semântica: cada decisão sobre a qual ele age foi avaliada pelo motor FormaSL, cada autoridade que ele encaminha foi produzida por um owner, cada observação que ele consome entrou pela cadeia governada de aquisição.
O componente existe como o serviço hospedeiro delimitado formasl-orchestrator (o
crate formasl-orchestrator), especificado pelo
contrato Forma Orchestrator v0.1 ratificado
e pelo seu
registro de rastreabilidade.
O problema que ele resolve
Um programa de desired state declara uma situação-alvo e as regras que derivam trabalho a partir da distância entre alvo e realidade. Entre essa declaração e um efeito real num nó real existe uma cadeia com muitos pontos de falha: a avaliação pode exaurir o budget; a decisão pode estar stale no momento em que um efeito rodaria; a admissão de uma realização física pode ser recusada; o despacho pode perder o acknowledgement; o próprio coordenador pode cair entre autorizar e registrar. Cada uma dessas falhas tem um desfecho lawful diferente — e confundi-las (repetir o que já pode ter acontecido, ler um ack perdido como “não aplicado”, reutilizar uma admissão que pertencia a outro contexto) é exatamente a classe de erro que o orchestrator existe para tornar impossível.
O orchestrator portanto é dono de uma coisa: o ciclo operacional level-triggered — ativação sobre um estado de controle designado, avaliação bounded do artefato desejado, coalescência de repetidos wakeups, wiring de dispatches já autorizados através do execution plane, settlement de recibos e publicação durável de checkpoint. Ele paces e encaminha; nunca decide significado.
Do que ele é feito
A arquitetura v0.1, ratificada como Candidate B — Hybrid Minimal Orchestrator, compreende quatro partes com autoridades deliberadamente distintas:
- uma aplicação de orchestrator autoral em
.fsl— modelo de desired state, regras de reconciliação, política de rollout e governança vivem no plano semântico; - planos
.fspcarregando preferências autorais de placement — a autoridade de seleção física pertence ao plano de realização, não ao mecanismo; - um serviço hospedeiro delimitado (
formasl-orchestrator) — ativação, fila, coalescência, agendamento de avaliações bounded, wiring de dispatch, persistência operacional, recuperação, tratamento de roster; - execução por nó através de carriers existentes — o dispatch cruza o execution plane C1 sobre transports declarados até nós executores; a observação volta pela C2.
O host não implementa regra de domínio alguma em Rust. Isso é fronteira ratificada,
não preferência de estilo: a transcrição automática de lógica .fsl para Rust como
fallback de desempenho é explicitamente proibida, e nenhuma política de agendamento
existe no mecanismo — a seleção de placement apenas executa o que o conjunto fechado
da lei de providers admite.
Orquestração não é computação semântica
O loop que o orchestrator roda é operacional: move trabalho através de fronteiras e
registra o que aconteceu em cada uma delas. Ele não afirma verdade. Quando um ciclo
reporta DispatchedAndSettled, isso é uma afirmação sobre um dispatch settled sob um
recibo admitido — não uma claim de que o efeito semântico pretendido agora é verdadeiro
no mundo. Quando reporta DispatchedUncertain, a incerteza é preservada e entregue à
reconciliação; nenhuma quantidade de retry do mecanismo pode resolvê-la. Claim, verdade,
avaliação e observação permanecem carriers distintos, cada um com sua autoridade; o
orchestrator é consumidor dos quatro e produtor de nenhum.
Isso também separa o orchestrator da Forma-Continuum. A Continuum é o motor de execução durável: mantém um workflow vivo através de crashes com seu próprio journal e suas próprias leis de replay. O orchestrator é um coordenador: conduz um loop de reconciliação sobre o estado de controle de uma implantação, consumindo o execution plane para todo crossing externo. Os dois podem se compor — uma aplicação de orchestrator pode despachar para uma atividade hospedada na Continuum —, mas são mecanismos diferentes com contratos diferentes, e nenhum substitui o outro.
O que o v0.1 não faz
O horizonte do contrato exclui, por decisão do owner: estado de controle replicado por consenso, failover automático de coordenador, membership dinâmico e discovery, preempção de trabalho em execução, adjudicação generalizada de observações em conflito (CL4) e multi-tenancy. Nada no componente pode ser lido como provendo isso. Dois tetos merecem suas próprias palavras porque são fáceis de ler demais:
- Fencing é write exclusivity, não execução global exclusiva. Manter a geração corrente de fence sobre o estado de controle designado estabelece que as publicações desta instância vencem; não prova morte de processo, nem cessação de efeitos externos in-flight, e jamais reautoriza uma operação incerta.
- Multinode é single-host, cross-process. A classe de referência demonstrada é um host com processos executores independentes sobre sockets reais. Nenhuma detecção ou prevenção de designação duplicada entre hosts existe ou é reivindicada (BOOT-N4); a exclusão de provisionings simultâneos é procedimental — um ato de owner.
Onde ler a seguir
Arquitetura abre o plano do mecanismo e a separação em seis
planos. O ciclo operacional acompanha um ciclo inteiro, da
avaliação do .fsl ao recibo admitido. CLI e operações mostra
o binário funcionando com saída verificada; durabilidade e recuperação
é o capítulo para ler antes de um incidente. Verificação e limites
fecha com a matriz de aceitação, o método medido de desempenho e o teto exato de
garantias.
Forma Orchestrator: arquitetura
O orchestrator é deliberadamente fino. Não tem runtime próprio, nem registry próprio, nem motor de armazenamento próprio, nem política própria; o que resta é um loop level-triggered que consome cinco carriers existentes e acrescenta exatamente uma nova família de dados do plano do mecanismo. Este capítulo mostra como essa fineza é estrutural: os seis planos que cercam o orchestrator mantêm cada um seu owner, e o orchestrator existe precisamente nas costuras entre eles.
Quatro partes, quatro autoridades
A arquitetura Hybrid Minimal separa os planos que, de outro modo, se corromperiam uns
aos outros. A aplicação .fsl é dona do significado: desired state, regras de
reconciliação, política de rollout e governança, avaliados pelo motor FormaSL. Os
planos .fsp são donos da seleção física: bindings, requirements e preferências
autorais sob o conjunto fechado de seleção da lei de providers. O serviço hospedeiro é
dono do pacing e do wiring: o ciclo, a fila, o checkpoint, o fence. Os nós executores
são donos dos efeitos: trabalho real em alvos reais, alcançado apenas via dispatch C1,
e observado apenas via C2.
A separação em seis planos
| Plano | Owner | Ponto de integração do orchestrator |
|---|---|---|
| Realization | .fsp/Binder + HWR-04 + o crate realization | encaminha pedidos de admissão; placement conforme o conjunto fechado de seleção |
| Backplane MRS | transport / time / trust / effect-adapter / mrs-terminal | consumido por providers e adapters nos crossings declarados |
| Controle de execução | C1 + DOC | referências tipadas apenas; encaminha dentro da lei C1 |
| Observation | C2 | observações entram apenas por atos governados |
| Orchestration | formasl-orchestrator (este componente) | o loop, o checkpoint, o roster |
| Execução física | host PlaneHost + o piso de runtime hospedado | realização de agente por nó do roster |
A lei de dependência da pilha de realização — realization ← provider ← transport —
aplica-se inalterada acima do orchestrator: ele consome providers que consomem o
backplane, e nunca absorve, re-implementa ou substitui qualquer camada. Não há um
segundo registry de providers nem um EffectuationHost neste componente; introduzir
qualquer deles seria violação de contrato, não extensão.
Dois cenários heterogêneos de realização são contratuais e deliberadamente não são forçados por uma topologia única. No Cenário A (realização por serviço externo), o dispatch C1 alcança um effect-adapter sobre o transport, por família de provider. No Cenário B (executor remoto), um artefato HWR é implantado pela cadeia de admissão num nó do roster e o dispatch C1 cruza o transport do nó. O que é compartilhado é a lei: autoridade, tentativa e recibo C1; admissão C2; designação exata de alvo. O que diverge é o caminho do mecanismo — e nenhuma interface de substrato universal é inventada para esconder isso.
O que o mecanismo é dono — e o que recusa ser
A jurisdição do coordenador é o loop operacional: ativação e repetição do ciclo, fila, coalescência e controle de trabalho em progresso, agendamento de avaliações bounded sob condições declaradas, materialização e encaminhamento de decisões já autorizadas, encaminhamento de pedidos de admissão, wiring de dispatch entre C1 e agentes remotos, checkpoints operacionais e recuperação, detecção de disponibilidade, coordenação de rollout como execução de uma política autoral da aplicação, e administração do roster estático.
Ele não é dono de: significado de domínio (.fsl), política de seleção de placement
(.fsp e a lei de providers), julgamento de admissão (HWR), autorização de execução
(a autoridade exact-coordinate produzida pelo owner da C1 — um Decision de aplicação
estabelecido é base semântica que por si não autoriza nada), standing de observação
(C2), nem autorização de retry além da própria lei da C1. O mecanismo pode ordenar a
execução de trabalho; não pode decidir significado, nem promover um fato operacional
a autoridade semântica.
Interfaces reuse-first
Toda interface que o orchestrator toca é um carrier existente, consumido por
referência tipada. O desired state chega como a revisão do artefato .fsl; o estado
observado entra como registros de observação C2 com proveniência; pedidos de avaliação
carregam revisões de base, budget e escopo; a base causal da decisão vai na cadeia de
autoridade C1 D1; o placement chega como closures de aplicação e cláusulas .fsp
conservadas; os alvos como descrições HWR; a admissão como verdicts HWR; o dispatch
como cadeias C1 request/operation/attempt sobre transports declarados; recibos e
reconciliação de desfecho como views C1; o journal de operações como o action journal
da C1.
Os novos dados do mecanismo — e os únicos — são operacionais: o LoopCheckpoint
(referências de posição de journal, estado de fila, revisões de base — não semântico,
sem standing), o registro de roster estático versionado, a cadeia de gerações de
rollout e o registro de composição P4. Cada um é justificado do mesmo modo: é
bookkeeping puramente operacional que existe para tornar verificáveis os invariantes
do próprio loop, e nenhum deles carrega standing semântico. Nenhuma identidade
universal é criada em lugar algum; identidades de aplicação, realização, operação,
tentativa, observação e nó permanecem nos carriers existentes.
O crate e a topologia de processos
formasl-orchestrator é um crate pequeno sobre dependências grandes: os pontos de
entrada do motor formasl (check/run) para o plano semântico; formasl-action
para os carriers de tentativa e observação; formasl-realization para closures,
admissão e composição distribuída; formasl-provider, formasl-effect-adapter (o
sealed transport), formasl-resolver, formasl-result-core (referências de owner
rule) e formasl-time (domínios de relógio). Internamente são quatro módulos:
coordinator (ativação, ciclo, persistência, roster e rollout), executor (o trait
de endpoint executor e o router in-process do caminho vertical), loopback (a
primitiva raw de socket single-host), e dois binários: o CLI operacional
formasl_orchestrator e o processo executor orch_executor.
O executor é um processo de SO separado por design: binda sua própria porta, realiza seus próprios efeitos e reporta honestamente — incluindo falha-após-invocação, que é reportada como exposure may have occurred, nunca como “não aplicado”. O coordenador conecta-se a ele sobre sockets reais pelo perfil nativo da MRS; não existe atalho in-process através dessa fronteira no caminho produtivo.
Onde a autoridade é produzida (não é)
Um leitor procurando o lugar onde o orchestrator “decide” não vai encontrá-lo. A
seleção acontece no conjunto fechado (candidato único, ou preferência autoral
registrada, ou PROVIDER_AMBIGUOUS epistêmico — nunca um tie-break). A admissão é o
verdict HWR, consumido. A autoridade de dispatch é produzida pelo owner e é
exact-coordinate; o mecanismo encaminha referências a ela. A incerteza é uma classe de
desfecho C1, reconciliation-gated para sempre. Até a falha do próprio ciclo em
publicar é reportada como persistence_error tipado em vez de absorvida. Todo o
conteúdo da arquitetura está no que ela recusa inventar — o ciclo
operacional mostra essa disciplina executando, fase a fase.
Forma Orchestrator: o ciclo operacional
Um ciclo é todo o mecanismo em movimento. Este capítulo acompanha uma única passada level-triggered do artefato desejado ao recibo admitido, nomeando a lei que governa cada transição — porque as transições, não as estruturas de dados, são onde vivem as garantias.
Ativação antes de tudo
Nada roda até que uma lei de ativação seja satisfeita. O estado de controle de uma
implantação nasce de um ato de provisioning do owner que designa exatamente uma raiz
de estado de controle e um registro de roster autoritativo; a primeira instância abre
esse estado, estabelece a primeira geração de writer fence e publica o registro durável
inicial (checkpoint, fence, roster, rollout), de modo que um estado provisionado nasce
completo. Toda ativação posterior é uma recuperação: reabrir o estado designado,
restaurar as identidades exatas de request/operation/attempt do snapshot durável,
reivindicar por CAS a geração corrente de fence, hidratar o checkpoint de coalescência
e o conjunto de incertezas. Armazenamento vazio onde o roster designa um estado
existente é recusa tipada ControlStateLost — nunca um fresh start silencioso;
registros ilegíveis são ControlStateCorrupt tipados — nunca um estado operacional
vazio. Uma instância que não consegue abrir o estado designado não se torna
coordenadora.
As cinco fases de um ciclo
EVALUATE → COALESCE → WIRE → SETTLE → CHECKPOINT
Evaluate. O ciclo faz check e run do artefato .fsl desejado pelo motor, dentro do
budget de avaliação declarado da implantação (evaluation_gas — configuração explícita
e versionada, nunca um default do mecanismo). O desfecho do run carrega o trabalho
semântico: cada execution request registrada é uma lane com uma action e um serial. Um
desired state que não passa no check falha fechado para aquele artefato — zero dispatch.
Uma avaliação que exaure o budget produz EvaluationNotEstablished: a decisão não
está estabelecida, registrada com a atribuição de budget, nunca consumida como
estabelecida, nunca gatilho de efeitos. Dados incompletos comportam-se como
insuficiência epistêmica, nunca como fato negativo.
Coalesce. O mecanismo nunca depende de entrega perfeita de eventos. A chave de
checkpoint de cada lane é (artefato desejado, action); se o checkpoint já mantém uma
revisão igual ou acima da revisão desejada corrente, a lane é Coalesced — um dispatch
por revisão por geração de implantação, wakeups duplicados colapsam, e uma notificação
perdida é coberta pelo próximo rescan periódico. A coalescência também vale para lanes
incertas: uma operação com desfecho incerto mantém sua entrada de checkpoint, então a
re-avaliação coalesce em vez de re-disparar.
Wire. Uma lane despacha apenas sob uma autoridade do owner de coordenadas exatas
cuja currentness é a revisão de base da designação. Sem autoridade para as coordenadas
exatas: PendingNoAuthority, com zero contato de fio — o mecanismo não
auto-autoriza nada. Antes de qualquer dispatch, a lane passa pelo gate de admissão HWR:
uma designação que carrega uma application closure despacha apenas sob Satisfied;
NotSatisfied e Unresolved bloqueiam com suas classes preservadas, e nada despacha
naquele ciclo. Antes do wiring, a housekeeping cancela operações staged pré-exposição
cuja action o desired state não pede mais. E a WINDOW LAW guarda toda a ordenação:
uma lane cujo desfecho da decisão anterior ainda é incerto não pode ser re-bound a um
novo desired state — após a emissão congelada da autorização de exposição (D4 frozen),
uma mudança de desired state não pode mais revalidar; os únicos caminhos lawfúis são o
cancelamento pré-exposição ou a reconciliação da resolução aberta. Um novo dispatch
para tal lane é o re-drive proibido, tipado como WindowLawResolutionOpen.
Settle. O dispatch cruza a C1 com a identidade de payload declarada da operação
como corpo do transport — bytes canônicos cruzam verbatim; uma referência de conteúdo
owner-verified cruza com corpo vazio para o nó resolver. Quando o ack do executor volta
e o desfecho da tentativa mantido pela C1 é accepted-pending, o coordenador admite o
recibo do provider sob as coordenadas exatas da tentativa. Um dispatch que nunca
cruzou a fronteira de exposição (sem rota, nó inalcançável) fica staged — cancelável
enquanto o desired state ainda o pedir. Um dispatch que cruzou mas voltou sem resposta
utilizável é DispatchedUncertain: exposição possível, sem mecanismo de recall,
reconciliation-gated para sempre. O coordenador nunca settle incerteza sozinho — nem
por timeout, nem por silêncio, nem por repetição.
Checkpoint. O ciclo publica seu estado operacional de forma durável: o snapshot C1 primeiro (seu erro propaga), depois os registros staged, depois um CAS de writer token que casa a próxima geração de fence, depois os renames, depois uma re-checagem de moeda. Uma publicação que perde o fence — antes, durante ou depois da janela de CAS — é recusada, tipada e reportada; o ciclo nunca alega sucesso sobre um estado que pertence a outra geração.
A cadeia causal, ponta a ponta
Lida como uma frase: uma revisão .fsl verificada é avaliada dentro de um budget
declarado; o motor registra execution requests; existe uma autoridade produzida pelo
owner para as coordenadas exatas do pedido; o verdict de admissão HWR admite a
realização física; o mecanismo stages e despacha a operação pela C1 sobre o transport
declarado; o executor realiza um efeito real e devolve um recibo; o recibo é admitido
sob a tentativa exata; e o checkpoint registra que a lane convergiu. Cada seta nessa
frase é uma fronteira com sua própria lei — e nenhuma delas é uma afirmação de verdade
sobre o mundo. Settled significa o dispatch settled; o que o efeito tornou verdadeiro
é assunto da observação, pela C2, com standing.
Convergência, staleness e budget
O loop é level-triggered: a correção nunca depende de eventos chegarem; depende de o próximo ciclo ver a revisão desejada corrente. O trabalho sempre mira a revisão corrente, então uma decisão derivada sobre um estado superado não autoriza um efeito sobre o estado corrente — a decision-staleness law. A revalidação antes de qualquer efeito cobre toda revisão, autoridade e dependência de realização materialmente relevantes. E quando a avaliação não completa, o desfecho honesto é registrado e o loop continua agindo apenas sobre o que está estabelecido. Um ciclo portanto termina num dos dispositions tipados — settled, uncertain, coalesced, pending-no-authority, admission-blocked, window-law-open ou evaluation-not-established — e o capítulo de API enumera exatamente o que cada classe promete.
Forma Orchestrator: implantação e posicionamento
Placement — a pergunta onde a realização física acontece — é o território onde um
coordenador mais facilmente se tornaria um scheduler não autorizado. A resposta v0.1 é
estrutural: a autoridade de seleção pertence ao plano .fsp sob a lei de providers, e
o orchestrator executa o que essa lei admite. Este capítulo vai das decisões R3 aos
objetos operacionais: a designação de implantação, o roster, as gerações de rollout e
as partições coordenadas.
A lei de placement (R3-01)
O .fsl define requirements, significado e restrições semânticas, e não ganha
autoridade física implícita. A seleção segue o conjunto fechado do contrato de
providers, preservado verbatim pelo orchestrator:
- exatamente um candidato admissível → selecione (a unicidade é a base registrada);
- vários candidatos com uma preferência autoral conclusiva em
.fsp→ selecione e registre a cláusula aplicada; - vários candidatos restantes, sem preferência conclusiva →
UNRESOLVED(PROVIDER_AMBIGUOUS)— um desfecho epistêmico: o dado faltante é a decisão de seleção, nunca um fato de capacidade (zero candidatos é oPROVIDER_UNRESOLVEDdistinto, pré-dispatch).
Proibidos, sempre: first-candidate, ordem de registro, nome, identificador ou qualquer outro tie-break determinístico; converter um conjunto unresolved em satisfied; tratar scoring de preferências como autoridade independente. A consequência é honesta: não existe scheduler semanticamente autônomo no v0.1. O mecanismo de placement executa decisões e admissões autorizadas; qualquer coisa além disso exige uma nova decisão normativa.
O que é uma implantação (a designação)
Uma implantação existe como uma DeploymentDesignation, e cada campo dela é material
provisionado pelo owner — o mecanismo não fabrica nada:
| Campo | Autoridade |
|---|---|
deployment, control_state_root | a identidade designada e a localização do estado de controle do ato de provisioning |
roster | o roster inicial versionado de nós (R3-05) |
basis | a revisão contratual governante do artefato desejado |
adapter | a única configuração de adapter que esta implantação binda (a seleção fechada aconteceu upstream) |
realizations | bindings produzidos pelo Binder, um por alvo exato — nunca minted, nunca retargeted |
observer | a owner rule responsável pelos crossings observados externamente |
evaluation_gas | o budget de avaliação declarado (§14) |
admission_closure | a application closure provisionada pelo owner; presente ⇒ todo dispatch é gated no verdict HWR |
partition_closures, partition_dependencies | os carriers da realização coordenada P4 |
A regra do binding por alvo é um muro contra forja: um binding produzido para o alvo T carrega a correspondência de requirement/provider/revisão de T, então consumi-lo para outro alvo fabricaria essa correspondência. Lookups são exatos; entrada faltante é recusa, nunca fallback.
Roster: estático, explícito, versionado (R3-05)
Membership no v0.1 é um roster de nós estático e versionado. Sem discovery dinâmico, sem reconfiguração de consenso, sem preempção de trabalho em execução. Mudanças de roster passam por um procedimento controlado que valida antes de mutar (roster vazio, nó duplicado: recusas tipadas), publica o novo registro na mesma janela fence-gated que todo outro registro do estado de controle, e faz rollback da mudança se a publicação for recusada — uma mutação não publicada nunca sobrevive. Admissões afetadas são reavaliadas por construção: o gate de admissão roda fresco a cada ciclo, então nenhuma admissão stale sobrevive ao bump de versão. Dois fatos operacionais completam a lei: perda de conectividade não é prova de morte de nó — probes, heartbeats e statuses são evidência operacional situada, nunca verdade semântica — e o registro de roster, não a designação ativante, é o autoritativo em toda recuperação.
Gerações de rollout (P10)
Realizações avançam por gerações admitidas. Admitir a próxima geração exige o verdict
Satisfied da própria closure daquela geração; qualquer outro verdict é recusa tipada
que preserva a classe e deixa a cadeia intacta. A cadeia registra a identidade de
closure de cada geração com a do predecessor, append-only, de modo que a história de
predecessores é reconstruível através de restarts — história perdida é violação de
contrato, e recusa de publicação faz rollback do append. Como no roster, o mecanismo
executa a política de rollout autoral da aplicação; não decide progressão de estágio
nem promove estabilidade de canário semanticamente.
Partições coordenadas (P4)
Uma implantação pode carregar uma realização coordenada sobre várias partições. A lei
é tudo-ou-nada com classes preservadas: uma identidade de plano (a implantação), uma
atribuição de placement cobrindo o conjunto fechado de partições, uma closure distinta
com seu próprio registro de admissão por partição, uma revisão contratual compartilhada,
e toda dependência declarada entre partições dentro do conjunto fechado. Toda
partição é julgada — a falha de uma partição nunca atalha o julgamento de outra, então
o relatório preserva todas as classes de verdict. Qualquer incoerência estrutural ou
qualquer partição não-Satisfied bloqueia a implantação inteira com zero dispatch; uma
composição válida é publicada duravelmente na mesma janela fenceada, e um registro de
composição corrompido na recuperação é corrupção tipada, nunca “sem composição”. O
registro de composição nunca substitui o registro próprio de uma partição — o muro do
plano de realização.
O teto multinó, declarado onde é usado
A classe de referência demonstrada para tudo isso é single-host, cross-process: binários executores reais sobre sockets de kernel reais. Implantação física multinó é uma obrigação de implementação declarada como obrigação, não como capacidade; e BOOT-N4 vale em toda parte: dois hosts com estados de controle independentes e sem referência autoritativa compartilhada são detectados nem como duplicatas nem como fences. A exclusão de provisionings é procedimental — um ato de owner — e as checagens de ativação são localmente conclusivas apenas contra o registro designado. Nenhum texto neste capítulo, e nenhum teste verde na matriz, estende esse teto.
Forma Orchestrator: CLI e operações
O orchestrator entrega um binário operacional, formasl_orchestrator, e um binário
executor, orch_executor. O CLI tem quatro subcomandos — provision, cycle,
status, demo — e uma lei que molda todo o resto: ele não fabrica nada. Toda
identidade, autoridade e input de admissão é restaurada de coordenadas persistidas
que o operador passa explicitamente (OwnerRuleRef::restore e afins — restore não
confere standing e não minta nada), ou lida do envelope canônico de provisioning de
closure, verificado pelo seu próprio digest de identidade. Não há seriais default,
identidades de fallback, autoridades implícitas; flag obrigatória faltando é recusa de
uso, nunca palpite.
Todos os exemplos abaixo foram executados contra os binários reais; as saídas são verbatim.
Build e execução do executor
cargo build -p formasl-orchestrator --bins
O executor é um processo de SO independente: binda uma porta de loopback, realiza efeitos locais reais para os dispatches que recebe, imprime sua porta para o ato de provisioning e atende até ser encerrado:
$ orch_executor <node> <effects-dir>
node=cli-node
PORT=46679
Os efeitos caem em <effects-dir>/<node>/<target>.effect, escritos com os bytes exatos
do payload que cruzou o fio. O label node da entrada de roster nomeia o processo
executor — o diretório de efeitos segue o nome de nó do próprio executor, e o
endpoint (ip:port) é o que roteia os dispatches.
Os quatro subcomandos
provision é o primeiro ato autorizado de provisioning (BOOT-P1): abre o estado
de controle designado, estabelece a primeira geração de fence e publica o registro
durável inicial — checkpoint, fence, roster, rollout — de modo que o estado nasce
completo. Ele escreve um marcador de produção (provisioning.json); um marcador que
não pôde ser escrito significa que o provision não aconteceu. Um segundo provisioning
para o mesmo estado designado é recusado:
$ formasl_orchestrator provision --deployment book-example --root rel2/control ...
provisioned book-example generation Some(2)
$ formasl_orchestrator provision --deployment book-example --root rel2/control ...
activation refused: WriterExclusivityNotEstablished { root: "rel2/control" }
cycle é recovery-only: reabre o estado designado (nunca provisiona outro) e
roda um ciclo level-triggered. Contra uma raiz nunca provisionada ele falha fechado —
o estado ausente nunca é auto-criado (BOOT-N2):
$ formasl_orchestrator cycle --root rel/control ...
activation refused: ControlStateLost { designated: "rel/control" }
Um ciclo que funciona avalia o artefato desejado, despacha sob a autoridade de coordenadas exatas e settle sobre o socket real; um ciclo repetido na mesma revisão coalesce com zero nova exposição:
$ formasl_orchestrator cycle --root control ... --artifact plan.fsl --rev 1 --payload amount=10 --authority-origin plan-decision.fsl --authority-serial 105
DispatchedAndSettled { operation: ExecutionOperationId { origin: ContractRevisionRef { artifact: "plan.fsl", revision: 0 }, serial: 0 } }
wire_exposures 1
$ formasl_orchestrator cycle --root control ... --rev 1 ...
Coalesced { artifact: "plan.fsl", revision: 1 }
wire_exposures 0
status inspeciona o estado de controle persistido — a geração durável de fence e
a contagem de entradas de checkpoint:
$ formasl_orchestrator status --root control
generation 6
checkpoint_entries 1
A geração é um contador de publicação, não um contador de ciclos: cada ciclo a avança
duas vezes (um claim na ativação, uma publicação no checkpoint), então a geração de uma
implantação saudável cresce monotonicamente com a atividade. Numa raiz nunca
provisionada, status reporta generation 0 e checkpoint_entries 0 sem tocar em
nada.
demo existe para mostrar o loop ponta a ponta com uma designação totalmente
sintética — coordenadas fixas, sem proveniência de produção — e o diz a cada execução.
A separação é imposta, não apenas anunciada: o demo recusa dirigir um estado de
controle provisionado em produção.
$ formasl_orchestrator demo --root demo-control --endpoint 127.0.0.1:46679 --node demo-node --target Deploy --artifact demo-desired.fsl --rev 1 --payload demo-payload
=== DEMONSTRATION MODE — synthetic designation, NO production provenance ===
DispatchedAndSettled { operation: ExecutionOperationId { origin: ContractRevisionRef { artifact: "demo-desired.fsl", revision: 0 }, serial: 0 } }
wire_exposures 1
$ formasl_orchestrator demo --root rel2/control ...
=== DEMONSTRATION MODE — synthetic designation, NO production provenance ===
demo refused: rel2/control is a PRODUCTION-provisioned control state
A conveniência reconcile-or-provision do demo não existe em nenhum outro lugar: o
cycle produtivo nunca provisiona.
O conjunto de flags provisionadas
Como nada é fabricado, provision e cycle exigem o conjunto completo de
coordenadas da designação. O conjunto durável (ambos os subcomandos) nomeia a
implantação, a raiz, o nó, o endpoint, o alvo, a action, o artefato de base, as
identidades de binding e requirement com seus artefatos de origem e seriais, a
origem/revisão/serial da capability candidata, o runtime binding, o serial de registro
do adapter, as coordenadas da observer rule, o gas de avaliação e a política
provisionada de classificação de desfechos — --guarantee-claim e
--not-applied-statuses são flags do operador, nunca constantes do binário. O cycle
acrescenta o artefato desejado, sua revisão, o payload e as coordenadas de autoridade
(--authority-origin, --authority-serial). Uma closure de admissão pode vir com
--closure como envelope canônico; ausente, o caminho genérico é preservado.
Omitir uma flag obrigatória é recusa tipada de uso:
$ formasl_orchestrator cycle --root control ... --payload amount=10
missing required --authority-origin
O contrato de saída
| Código | Classe | Significado |
|---|---|---|
| 0 | settled / coalesced / cancelled | as lanes do ciclo alcançaram desfechos definitivos e lawfúis |
| 3 | incerteza | uma lane é DispatchedUncertain ou tem resolução de window-law aberta — uma exposição pode ter ocorrido |
| 4 | recusa tipada | recusa de ativação, admissão, provision ou input de uso (nada fabricado, nada despachado) |
| 5 | erro de persistência | o ciclo não pôde publicar de forma durável — nunca reportado como sucesso operacional |
| 64 | uso | flag obrigatória ausente ou malformada |
As classes dominam numa ordem fixa, e a ordem é a propriedade de segurança: uma recusa de mecanismo nunca se disfarça de falha de persistência, e incerteza domina recusa — um operador nunca deve ler “recusa tipada” (4) num ciclo onde uma exposição pode ter ocorrido. Um ciclo com publicação bloqueada demonstra a honestidade concretamente: o dispatch aconteceu (o executor realizou o efeito — o marcador contém os bytes do payload), mas a saída é 5:
$ formasl_orchestrator cycle --root control ... --rev 2 --payload amount=20 ...
DispatchedAndSettled { operation: ExecutionOperationId { origin: ContractRevisionRef { artifact: "plan.fsl", revision: 0 }, serial: 1 } }
wire_exposures 1
persistence_error: checkpoint write: Is a directory (os error 21)
O remédio é o caminho de recuperação — durabilidade e recuperação o percorre — nunca um re-provision.
Diagnóstico do operador
status é a primeira sonda: geração não-zero e avançando com contagem de checkpoint
estável é uma implantação saudável e convergida. Recusas de ativação são sempre tipadas
e registradas fora do estado de controle que não puderam abrir, num diretório
irmão activation-refusals — o registro nunca depende do estado inacessível. A recusa
tipada nomeia a lei que disparou (ControlStateLost, ControlStateCorrupt,
WriterExclusivityNotEstablished, InitialPublicationRefused), e cada uma mapeia a
um procedimento distinto de recuperação, coberto no próximo capítulo.
Forma Orchestrator: durabilidade e recuperação
Recuperação é onde coordenadores ganham sua honestidade. A lei v0.1 parte de uma admissão: um estado restaurado não cria fatos novos. Restart não cria identidade semântica nova; o checkpoint referencia posições de journal em vez de substituí-lo; um estado operacional recuperado não implica nada sobre efeitos externos observados; um writer stale não recupera autoridade por replay; recuperação sem exclusividade demonstrável falha fechado; e dados corrompidos ou incompletos não recebem defaults otimistas. Tudo neste capítulo são esses sete invariantes, tornados operacionais.
O que é durável, e como é publicado
O estado de controle é um diretório de pequenos registros codificados canonicamente
ao lado da persistência própria do plano C1: checkpoint.tsv (o mapa de coalescência
mais um marcador de publicação __fence — um checkpoint sem ele é corrupção, porque
recuperá-lo como “nada nunca despachado” lawfulmente re-dispararia cada lane),
roster.json e rollout.json (cada um estampado com a geração em que foi publicado),
composition.json (aditivo: ausência significa que a implantação nunca coordenou uma
realização distribuída) e os registros de snapshot, digest e writer fence do plano.
Publicação é uma seção crítica inter-processo: adquirir o publication lock; verificar que o fence mantido ainda é a geração durável; persistir o snapshot C1 primeiro, propagando seu erro; fazer stage de todo registro em arquivos temporários; então vencer o CAS de writer token contra a geração registrada — o vencedor adota e casa a próxima geração, o perdedor descarta seus bytes staged e não publica nada; fsync e rename de cada registro; e re-checar a moeda após os renames, porque um segundo coordenador pode tomar a próxima geração dentro da janela CAS→rename — uma tomada aí é tipada e reportada, nunca um sucesso silencioso sobre um estado que outra geração agora possui. Uma falha de rename após um CAS vencido deixa a instância corrente (ela adotou a geração casada) e livre para repetir lawfulmente; uma instância genuinamente superada recusa toda publicação posterior até um re-claim lawfú.
Duas consequências de design merecem ser ditas em voz alta. Os registros carregam a geração em que foram publicados, então uma publicação rasgada — um rename caiu, outro não — é detectada na recuperação (os registros de roster e rollout discordam sobre a geração) e recusada como corrupção tipada, nunca misturada silenciosamente. E ambos os registros atrasando o fence em uma publicação falhada é recuperável por design: são o último estado publicado mutuamente coerente, re-estampado pela próxima publicação bem-sucedida.
Restart é reopen, não renascimento
Um coordenador em recuperação não “abre do zero e hidrata”. Ele reabre o plano C1 a
partir do snapshot durável, restaurando as identidades exatas de request, operation e
attempt da geração anterior — restore, nunca mint, nunca discard. É isso que torna
evidência tardia adjudicável: uma tentativa que era incerta antes do crash continua
incerta depois dele, com suas coordenadas exatas intactas, então um recibo tardio do
executor pode ser admitido por essas coordenadas em vez de por bookkeeping de
geração. O conjunto recuperado de operações incertas é reconstruído a partir das views
reabertas (tentativas em reconciliation-required e in-flight sobrevivem ao restart); o
checkpoint de coalescência é hidratado; os registros de roster e rollout são relidos,
com o registro durável — não a designação ativante — autoritativo. Registros ausentes
ou malformados são ControlStateCorrupt tipados por registro; um estado designado
vazio é ControlStateLost tipado. O caminho de recovery do CLI nunca provisiona: um
estado perdido passa pelo procedimento controlado de roster como ato explícito de
operador.
Os cinco casos, cada um com sua lei
A lei de trânsito do contrato existe porque esses casos não são o mesmo, e cada um mapeia uma resposta operacional diferente:
| Caso | O que é verdade | O que o mecanismo pode fazer | O que nunca deve fazer |
|---|---|---|---|
| Preparado, ainda não autorizado | nada cruzou | cancelamento §13, CANCELLED_NOT_EXPOSED | tratar como exposto |
| Autorizado, não exposto | permit single-use, D4 frozen | cancelar enquanto não consumido | reapresentar um permit consumido |
| Enviado, resposta perdida em trânsito | exposição pode ter ocorrido | registrar OUTCOME_UNCERTAIN, reconciliar com evidência admitida | re-disparar; ler silêncio como “não aplicado” |
| Mensagem chega após mudança de geração | a validade in-flight é questão da C1 | adjudicação por lei C1, coordenadas exatas e idempotência | descartar por geração; reautorizar por fence |
| Ack duplicado ou tardio | condições de replay | replay settlement, zero mudança de estado | segunda exposição sem permit próprio |
Os muros de escopo do fence merecem linha própria, porque são a garantia mais lida-demais em sistemas assim: write exclusivity não é prova de não-ocorrência; ack perdido não é não-execução; novo fence não é nova autoridade de dispatch; restart não é um novo mundo semântico. A aquisição de fence estabelece exclusividade de publicação sobre o estado de controle designado — nada mais. Ela nunca reautoriza uma operação com desfecho incerto: essas permanecem reconciliation-gated, independentemente de quem mantém o fence. O retomo estende-se apenas a operações cujo estado C1 é definido e cujas decisões revalidam contra a revisão desejada corrente.
O procedimento de recuperação, concretamente
Para um operador segurando uma saída recusada de ciclo, o procedimento é curto e tipado:
- Saída 5 (erro de persistência) — os dispatches do ciclo aconteceram; só a
publicação durável falhou. Corrija a causa da publicação (o detalhe tipado nomeia o
estágio falho:
checkpoint write,roster record rename,fence superseded…), depois rode o próximocycle: a ativação reabre o estado — registros coerentes atrasados são re-estampados — e o loop continua. Não re-provisione; não espere que as entradas de checkpoint do ciclo falhado existam (sua ausência é o motivo pelo qual as lanes afetadas re-avaliam lawfulmente). - Saída 4 com
ControlStateCorrupt— o detalhe tipado nomeia o registro. Uma publicação rasgada entre roster e rollout, um checkpoint ilegível ou um registro de composição malformado falham fechado cada um; o estado não é silenciosamente reconstruído. A recuperação é um ato explícito de operador, journalizado, sob o procedimento de roster — nunca um estado paralelo. - Saída 4 com
ControlStateLost— a raiz designada não mantém mais um estado. A instância recusou apresentar-se como primeiro deployment; restaurar o estado é problema do procedimento controlado, e o registro de recusa emactivation-refusalsé a evidência do que aconteceu. - Saída 3 (incerteza) — nada para reiniciar: uma operação incerta não é re-disparada por ciclo algum. O remédio é evidência admitida — uma observação C2 governada reconcilia a tentativa, e apenas um registro admitido cujo referente não está sob sombra de conflito pode fazê-lo. Recibo de transport não é automaticamente evidência; silêncio nunca é evidência.
Uma última palavra de escopo: durabilidade local é o envelope provado. O estado de controle é uma composição em nível de aplicação acima da C1, dona de sua própria lei, e sua persistência roda pelo plano canônico de storage para que o envelope MVCC/ACID valha. Durabilidade distribuída do estado de controle é trabalho futuro e não é reivindicada — nenhuma promessa de alta disponibilidade ou exactly-once se estende além do que as testemunhas efetivamente demonstram.
Forma Orchestrator: segurança e observabilidade
A postura de segurança do orchestrator é uma disciplina de autoridade mais do que uma história de criptografia: todo ato que poderia ter consequências fora do mecanismo é gated em algo que o mecanismo não produziu. A observabilidade segue a mesma disciplina — o mecanismo reporta o que aconteceu em suas fronteiras, honestamente e em classes tipadas, e cria standing de observação para nada disso.
Autoridade de dispatch é consumida, nunca minted
Um dispatch acontece apenas sob uma autoridade do owner de coordenadas exatas: as
propriedades C1 D1 — emitida pelo owner, nomeando payload, alvo e currentness exatos,
já um fato durável de controle antes que o mecanismo encaminhe qualquer coisa. Um
Decision de aplicação estabelecido é base semântica que suporta tal autoridade e por
si não autoriza nada (C1 D2); o coordenador nunca é o emissor. O CLI incorpora isso
como sua lei de proveniência: toda identidade de rule, binding e capability entra por
restore a partir de coordenadas persistidas que o operador fornece — restore não
confere standing — e o binário de produção não contém caminho de minting de teste
algum.
A chave de idempotência §12a torna a identidade de cada caso de dispatch lossless:
action, serial e payload codificam em hex minúsculo sob o prefixo de domínio de chave
orch/ da implantação. Dois payloads diferentes — incluindo payloads que diferem
apenas em bytes que uma codificação textual lossy colapsaria — nunca compartilham uma
chave; uma action contendo delimitador nunca personifica outro par action/serial; uma
referência de conteúdo owner-verified distinta nunca se dobra em outra por
conveniência.
O que gatilha um dispatch
Quatro gates ficam entre um pedido semântico e o fio, em ordem, e a falha de qualquer deles significa zero exposição:
- Autoridade de coordenadas exatas — sem autoridade para essas coordenadas:
PendingNoAuthority, zero contato de fio. O mecanismo nunca auto-autoriza. - Admissão HWR — uma designação com application closure despacha apenas sob
Satisfied;NotSatisfiedeUnresolvedbloqueiam com suas classes preservadas, nunca conflitadas, e o caso unresolved permanece epistêmico — ausência de evidência nunca é lida como tier inferior. - Window law — uma lane cujo desfecho anterior ainda é incerto não pode ser re-bound; a resolução aberta é dona da lane.
- Exatidão de binding — a operação é staged sob o único binding provisionado para seu alvo exato; binding faltante é recusa, nunca retarget.
Quando uma invocação ocorre sem autoridade — observada na fronteira — o mecanismo a registra honestamente: a ocorrência entra com ambas as arestas de correlação desconhecidas, a ausência de autoridade é admitida e o standing torna-se not-established. O registro é a testemunha durável de que uma invocação não autorizada aconteceu; não existe operação para re-disparar e não existe lavagem de standing em lugar nenhum.
Accountability na fronteira
Todo crossing externo é accountability a uma owner rule provisionada. A classificação
da camada de transport é honesta por construção: uma vez que bytes de request cruzaram
rumo ao nó, qualquer falha posterior — escrita de head ou body, resposta perdida ou
malformada — é ambígua (exposição pode ter ocorrido), e apenas uma falha antes do
primeiro byte (connect refused) é falha simples, que a C1 lawfulmente pode re-disparar.
O contador de exposição é incrementado em exatamente um ponto — rota resolvida e
conexão estabelecida — então wire_exposures num relatório de ciclo é o mesmo número
que a primitiva de transport contou: uma autoridade de contagem, sem cópias
divergentes.
Probes, heartbeats, statuses e recibos são carriers distintos, e nenhum deles é um observation record. A detecção de disponibilidade produz dispositions do mecanismo; onde standing de observação é necessário, a evidência entra apenas por um ato governado de aquisição C2 — sessão, bridge admitida, registro admitido — nunca por um canal de escrita do mecanismo. O coordenador expõe a superfície de aquisição governada (abrir sessão, admitir bridge, registrar recibo, admitir observação) como delegações finas; o plano é dono do journal único. Observações conflitantes sobre um referente coexistem integralmente, o standing efetivo é a menor nota computada, e apenas as decisões materialmente dependentes são bloqueadas — v0.1 não tem adjudicação (CL4), por escopo ratificado.
O relatório de ciclo como registro observável
Cada ciclo emite um relatório tipado e discriminativo: a contagem de revisões avaliadas, a contagem de pedidos semânticos, os dispositions por lane, a contagem de exposições no fio, as fases medidas (avaliação, admissão, persistência, loop total), o budget que governou a avaliação e — quando uma closure foi consumida — o verdict de admissão com seu conjunto tipado completo de razões, além dos verdicts por partição e da identidade de composição para implantações coordenadas. Uma falha de persistência é reportada em campo próprio, nunca dobrada nos dispositions; uma recusa de mecanismo idem. O contrato de saída voltado para o operador preserva exatamente essa separação (CLI e operações).
Duas medidas de tempo merecem uma palavra porque deliberadamente nunca são conflitadas: T_eval é o tempo de avaliação semântica do motor, limitado por gas; T_loop é o tempo do ciclo operacional ao redor dela. A proveniência do budget é o gancho de accountability: todo resultado de avaliação registra o budget que o governou, então uma recusa de budget é auditável com sua atribuição — e o perfil numérico de SLO é congelado a partir de medição, nunca inventado (ver verificação e limites).
A fronteira de confiança, dita com franqueza
Exigido e implementado: identificação do ator operacional; autorização contextual de dispatch; checagens de permissão e revisão; recusa de decisões com fundamentos stale; separação entre autorização, execução e desfecho; história auditável (journal e eventos de controle); proteção contra replay; isolamento de responsabilidade por nó. Multi-tenancy está ausente do v0.1 por decisão de escopo. E a fronteira mais profunda é a que este capítulo repete em diferentes registros: o coordenador pode ordenar a execução de trabalho autorizado e registrar o que aconteceu — não pode tornar nada disso verdadeiro, observado ou autorizado por si mesmo.
Forma Orchestrator: API e desfechos
A superfície da biblioteca formasl_orchestrator é pequena porque é feita sobretudo
de costuras: um coordenador dono de um ciclo, uma estrutura de designação que carrega
material provisionado pelo owner, desfechos tipados para todo caminho de recusa, e um
par executor/transport para o outro lado do fio. Este capítulo é a referência de
integração: o que um integrador deve fornecer, o que recebe de volta, e o que a
superfície nunca fará.
O coordenador
OrchestratorCoordinator é o mecanismo. Dois construtores, um por lei de ativação:
activate_provision(designation, transport, clock, domain)— o primeiro ato de provisioning: abre o estado designado, casa a primeira geração de fence, publica o registro durável inicial. Falha fechado em roster vazio, raiz inutilizável, fence não-reclamável ou publicação inicial recusada.activate_recover(designation, transport, clock, domain)— recuperação: reabre o estado designado (identidades exatas de carrier restauradas, nunca minted), CAS-reclama a geração corrente, hidrata checkpoint e incerteza. Falha fechado em estado perdido, corrompido ou rasgado, ou fence mantido por outro writer.
Ambas as recusas são a ActivationRefusal tipada: ControlStateLost,
WriterExclusivityNotEstablished, InvalidDesignation, ControlStateCorrupt,
InitialPublicationRefused. Cada uma é um fato operacional distinto com remédio
distinto; nenhuma é nunca um estado operacional vazio.
O ciclo em si é run_cycle(desired, authorities, transport_exposures): desired são os
triplos (artefato, revisão, fonte); authorities são as autoridades de dispatch de
coordenadas exatas; o contador de exposições é o mesmo átomo que o transport
incrementa. O resultado é um CycleReport — nunca uma flag simples de sucesso.
O vocabulário tipado de desfechos
Dispositions (por lane, no relatório):
| Disposition | Contrato |
|---|---|
DispatchedAndSettled { operation } | despachado sob coordenadas exatas; settled dentro da fronteira declarada |
DispatchedUncertain { operation } | exposição pode ter ocorrido; reconciliation-gated, nunca re-disparado por ciclo algum |
PendingNoAuthority { action } | sem autoridade do owner para as coordenadas exatas; zero contato de fio |
Coalesced { artifact, revision } | esta revisão já foi despachada para esta lane; convergência, não perda |
AdmissionBlocked { satisfied, unresolved, action } | o verdict HWR recusou a implantação; classes preservadas, zero dispatch |
WindowLawResolutionOpen { action, operation } | o desfecho anterior da lane ainda é incerto; re-bind é proibido |
EvaluationNotEstablished { detail } | a avaliação não completou sob seu budget; nunca gatilho de efeitos |
O relatório carrega as fases medidas (t_eval, t_admission, t_persist, t_loop),
o budget governante, o verdict de admissão e os verdicts por partição com seus
conjuntos tipados de razões, e dois campos que mantém as classes de falha separadas:
persistence_error (a publicação durável foi recusada — os resultados do ciclo são
honestos, mas o estado não está corrente) e mechanism_refusal (uma recusa tipada em
julgar, p.ex. input de admissão provisionado incoerente). O contrato de saída do CLI é
um mapeamento direto sobre estes.
As demais recusas tipadas seguem a mesma disciplina uma-classe-uma-lei:
RosterChangeRefusal (roster vazio, nó duplicado, publicação recusada — a mudança sofre
rollback), RolloutRefusal (verdict não-Satisfied com a classe preservada, input de
admissão recusado, publicação recusada — a cadeia fica intacta),
DistributedDeploymentRefusal (incoerência estrutural vs verdicts por partição vs
publicação — três fatos diferentes), ReconcileWithObservationRefusal
(EvidenceNotAdmitted, ConflictingObservationsPreserved, erro de plano) e
RetryDriveError (uma autorização §12e stale ou estrangeira é recusada pela C1, nunca
orçada pelo mecanismo).
A superfície de reconciliação e censo
Um integrador dirigindo os writers produtivos os encontra como métodos explícitos,
cada um delegando à própria lei da C1: reconcile e reconcile_with_observation (uma
tentativa incerta resolve apenas através de evidência admitida C2 — evidência não
admitida é recusada tipadamente, e um referente sob sombra de conflito mantém ambos os
registros e bloqueia a decisão dependente); cancel_superseded (operações staged
pré-exposição cuja action o desired state não pede mais); replay_last_receipt e
present_duplicate_delivery (o caminho de replay §12a — zero mudança de estado);
drive_retry (apenas sob a autorização §12e do owner); admit_late_receipt
(FENCE-N2: o ack tardio é adjudicado pelas coordenadas exatas restauradas, nunca por
geração); record_unauthorized_invocation (o registro honesto N11); e as delegações de
aquisição C2 governada (open_acquisition_session, admit_observation_bridge,
record_observation_receipt, admit_observation_record). O acesso de leitura espelha
as fronteiras: uncertain_operations, attempt_view, settled_attempt,
effective_standing, admitted_observations, composition_record, roster,
rollout_history, designation.
O que um integrador deve fornecer
O coordenador não constrói nada semântico: um sealed transport (o perfil
request_once do backplane MRS — o LoopbackRawClient do crate é a primitiva de
referência single-host), uma fonte de relógio com seu domínio de tempo, a
DeploymentDesignation completa (todo campo provisionado pelo owner, cf.
implantação e posicionamento) e — por ciclo —
as autoridades e os artefatos desejados. O lado executor é um trait:
EffectHandler::perform(target, payload) -> Result<bytes de recibo, falha>, servido
por ExecutorEndpoint (com evidência de contatos e último payload) ou pelo processo
orch_executor sobre o servidor de loopback.
O que a superfície nunca fará
A API é um contrato sobre ausências tanto quanto sobre presenças. Nenhum construtor minta uma identidade; nenhum método converte um verdict unresolved em satisfeito; nenhum caminho re-dispara uma operação incerta; nenhuma reconciliação aceita tempo ou silêncio como evidência; nenhuma mutação de roster ou rollout sobrevive a uma publicação recusada; nenhum registro de composição substitui a admissão própria de uma partição. Um integrador que precise de qualquer um desses comportamentos precisa de uma mudança normativa, não de um contorno — e o capítulo de verificação mostra exatamente quais testemunhas negativas mantêm cada uma dessas linhas verde.
Forma Orchestrator: verificação e limites
As garantias do orchestrator são exatamente o que suas testemunhas demonstram — nada mais. Este capítulo é o mapa do leitor para essa evidência: a matriz de aceitação, as obrigações de censo, o método medido de desempenho e o teto de garantias dito nas palavras que a ratificação efetivamente usou.
A matriz de aceitação
O contrato define 32 linhas de aceitação e falsificação, cada uma com seus desfechos
permitidos e proibidos, e cada linha mapeia para uma testemunha executável e
discriminativa no crate (o mapeamento vivo está em crates/orchestrator/WITNESS-MATRIX.md):
| Família | Linhas | O que a família prova |
|---|---|---|
| N1–N12 (negativas) | 12 | placement ambíguo é epistêmico; decisões stale nunca autorizam; replays settle com zero mudança; acks perdidos ficam incertos; ativação split-brain falha fechado; restart não minta nada; nós inalcançáveis são dispositions tipadas, nunca fatos de morte; conflitos coexistem e bloqueiam apenas dependentes; admissão recusada bloqueia com classes preservadas; budget exaurido produz not-established; tentativas não autorizadas são registradas com ausência; recuperação inválida recusa |
| P1–P10 (positivas) | 10 | seleção por unicidade e por preferência autoral registrada; dispatch gated em autoridade; realização coordenada de três partições; reconciliação gated em evidência; restart com zero fatos minted; re-avaliação em mudança de desired state; avaliação com budget adequado; mudanças de roster validadas, versionadas e duráveis; gerações de rollout reconstruíveis |
| BOOT-P1, BOOT-N1–N4 | 5 | ato de provisioning e primeiro fence; segundo provisioning recusado; estado perdido recusado; inicialização concorrente — um fence, uma recusa; independência entre hosts é o teto declarado, não uma claim |
| FENCE-N1–N4, FENCE-P1 | 5 | publicação stale recusada; mensagens in-flight adjudicadas pelas coordenadas C1; incerto fica reconciliation-gated; autorização duplicada dispara uma vez; retomo legítimo toca apenas operações definidas |
Toda linha está EXECUTED — um teste verde e executável no commit registrado — exceto
BOOT-N4, que é HONEST-BY-LAW: é o próprio teto ratificado, testemunhado pela
ausência de qualquer claim de detecção em todo o mecanismo. Uma linha cujo resultado
correto é um limite declarado ainda é contabilizada; esse é o ponto da matriz.
Três obrigações de censo da C1 §22 fecham sobre a realização reutilizada e são exercitadas pelos fluxos deste componente: a entrada produtiva de cancelamento (b), o writer produtivo de inbox-dedup (c) e o sítio de enforcement de retry-budget (d).
As testemunhas
Doze arquivos de teste de integração mantêm a evidência, cada um nomeado por seu
território: vertical_path.rs (a lane ponta a ponta), selection_set.rs (casos A/B/C
da C4 §7), hwr_wiring.rs (o gate de admissão e suas classes epistêmicas),
c2_acquisition.rs (N8/P5), n2_n7_n10_p8.rs (staleness, alcance, budget),
census_fence.rs (writers §22, N3, N11, FENCE-N4), multinode.rs (dois processos
executores independentes sobre sockets reais: dispatch, recuperação de restart com
zero re-exposição, e o lost-ack armado que jamais deve re-disparar),
p4_three_partitions.rs (realização coordenada com seu conjunto negativo completo),
c6_rollout_roster.rs (P9/P10), transport_metric.rs (uma autoridade de contagem de
exposição), cli_e2e.rs (o binário ponta a ponta, incluindo o ciclo com publicação
bloqueada que deve sair 5) e slo_profile.rs (medição). Os testes de unidade do
coordenador mantêm os reprodutores de falsificação da janela de publicação: o
interleaving que deve ser impossível (um claim concorrente dentro da seção crítica é
recusado, não meramente detectado), a falha de rename que não deve travar a instância,
e as leis lossless da chave de idempotência.
O método de desempenho
O método §14 separa o que jamais deve ser conflitado: T_eval (avaliação semântica,
limitada por gas) e T_loop (o ciclo operacional ao redor), medidos por ciclo com
atribuição de fase — avaliação, admissão, persistência — e registrados sem thresholds
inventados. O teste slo_profile mede ambos, além de um sweep parametrizado por lanes
e taxas de mudança com warmup separado do regime estável; os evidence/slo-profile.tsv
e evidence/slo-sweep.tsv commitados são os registros congelados. Dois fatos sobre
esses arquivos importam para um verificador: o teste escreve o perfil do build que o
executa (uma execução de workspace em perfil debug os re-registra como debug — que é
exatamente como o gate debug de uma campanha posterior sobrescreveu o congelamento em
release; o registro de rastreabilidade documenta o incidente e o re-congelamento), e
leis estruturais são assertadas junto com os números (T_loop subsume T_eval e as fases
disjuntas). O perfil numérico de SLO é material de aceitação para um gate de release,
não uma promessa permanente de desempenho; uma violação medida, reprodutível, que uma
mudança de fronteira por domínio pudesse corrigir escala como nova decisão do owner —
não existe fallback automático .fsl→Rust, nunca.
Re-verificando o componente
cargo test -p formasl-orchestrator --all-targets
cargo test -p formasl-orchestrator --release --all-targets
cargo clippy -p formasl-orchestrator --all-targets -- -D warnings
cargo fmt --all --check
bash scripts/book-publication/build_docs.sh
A execução em release não é cerimônia opcional: um defeito de dispatch em perfil release já compilou embora um efeito colateral que toda testemunha debug mantinha verde, e o perfil SLO de release é o registro vinculante. O pipeline de documentação constrói o livro, projeta os portadores e recusa referências quebradas e bytes de portador divergentes.
O teto de garantias, nas palavras ratificadas
O que o v0.1 demonstra: um coordenador ativo com write exclusivity estabelecida por fence sobre o estado de controle designado (estabelecida, não observada); recuperação que reabre em vez de re-derivar; convergência level-triggered com coalescência; recusas tipadas em toda ambiguidade; e uma classe de referência single-host, cross-process com sockets de kernel reais.
O que nenhum texto pode reivindicar: replicação por consenso do estado de controle; failover automático de coordenador; membership dinâmico; preempção; adjudicação generalizada de conflitos; multi-tenancy; detecção ou prevenção de designação duplicada entre hosts (BOOT-N4); execução global exclusiva a partir de um fence; prova de morte de processo; leituras de “não aplicado” para acknowledgements perdidos; alta disponibilidade ou execução exactly-once além das garantias demonstradas; e qualquer claim de suporte físico além da classe de referência hospedada x86_64-linux. As testemunhas mantêm cada uma dessas linhas falhando quando um mecanismo tenta cruzá-las — que é o único tipo de evidência que uma matriz de falsificação pode honestamente dar.
Persistência e recuperação
Autoridades: os contratos de ativação reativa (RAC) e de dependência/invalidação/recuperação estão carregados verbatim em Autoridades — este capítulo é pedagógico e não os substitui. A persistência mantém representações de fontes, resultados, evidências e registros operacionais. O contrato de cada artefato determina quais identidades, bases e relações históricas precisam ser reconstruídas após a reabertura.
Identifique o que será persistido
Separe estados autoritativos de fonte, resultados derivados, registros de observação e controle de execução. Cada classe possui regras de formação e de continuidade próprias. Um formato comum de armazenamento pode realizar várias classes mantendo seus papéis distinguíveis.
Mantenha junto dos artefatos as referências necessárias à interpretação: revisões de contratos, dependências, autoridades, coordenadas temporais e vínculos de realização pertinentes.
Reabra sob a base correta
A recuperação reconstrói a identidade dos registros e verifica sua coerência. Um registro histórico é interpretado sob sua base de introdução. Novas transições utilizam as condições de autoridade e atualidade aplicáveis ao novo ato.
Uma operação durável preserva a referência estável através de preparação, tentativas e reconciliação. A reabertura de um recibo conserva a ocorrência anterior, permitindo retomar o controle sem produzir uma nova tentativa por causa da leitura.
Integridade e completude
Verifique os resumos e os vínculos que o formato utiliza. Campos obrigatórios, referências ausentes e dados incompatíveis devem produzir a recusa prevista pelo contrato de decodificação.
Uma cópia íntegra conserva os bytes ou a representação canônica que seu verificador examina. A validade de uma transição depende também das relações e bases exigidas pelo contrato semântico.
Recuperação de publicação
Quando uma tentativa de incorporação ficou sem conclusão conhecida, reconstrua o resultado a partir dos registros de evolução e publicação. Uma publicação já aplicada deve ser reconhecida pela identidade original. Uma nova tentativa segue o contrato de reconciliação e repetição.
Verificação operacional
Inclua no processo de validação uma gravação e reabertura em outro processo. Compare as identidades, os campos materiais, os históricos e os resultados de consulta. Registre separadamente o comportamento diante de corrupção, perda de artefato e interrupção no ponto de publicação.
Observabilidade
A observabilidade do Forma relaciona a execução concreta às aplicações e aos contratos que a definem. O registro deve permitir localizar a fonte, a aplicação, a base de avaliação, o vínculo de realização e o resultado produzido.
Coordenadas do percurso
Uma ocorrência operacional pode ser associada à aplicação invocada, à instância de execução e aos artefatos consumidos. As referências tipadas permitem seguir o percurso sem depender de mensagens de log usadas como identificadores.
Para operações externas, preserve também requisição, operação durável, tentativa, capacidade, alvo e recibo. Para aquisição, preserve sessão, fonte, adaptador, evidências e ponte. Para publicação, preserve bases, mudança aceita, ocorrência e estado publicado.
Resultados e mecanismos
O resultado semântico e o desfecho do mecanismo possuem canais próprios. Uma tarefa encerrada pode ter produzido um resultado parcial; uma consulta vazia pode estar completa; uma falha de rede pode deixar incerta uma tentativa externa.
A apresentação operacional deve conservar essas diferenças. Um resumo agregado pode organizar a visualização, mantendo acesso aos resultados e às condições de cada aplicação.
Rastros e proveniência
Rastros registram o processamento. Proveniência e dependências descrevem como o conteúdo se relaciona às informações utilizadas. A observabilidade liga esses artefatos quando a reconstrução exige ambos.
Mudanças de plano podem alterar a sequência operacional sem modificar as dependências semânticas exigidas. A comparação entre execuções deve identificar quais diferenças pertencem ao mecanismo e quais alteram os observáveis do contrato.
Diagnóstico de processos prolongados
Para uma operação em andamento, apresente a referência estável e a fase efetiva. Antes da invocação externa, pode existir uma operação aceita sem tentativa. Depois de exposição possível, uma ausência de resposta mantém o desfecho incerto.
As consultas ao histórico devem permitir recuperar essas etapas e as evidências de reconciliação. O estado corrente é uma projeção de registros e regras do contrato, com relações históricas preservadas.
Uso na verificação
Cada teste de integração pode conservar o conjunto mínimo de artefatos que demonstra sua propriedade: comando, revisão, resultado, referências e condição de conclusão. O relatório deve identificar o escopo do que foi executado para que o resultado seja reproduzível.
Desempenho e recursos
A realização escolhe algoritmos, índices, estratégias de execução e recursos para processar as aplicações. O contrato semântico determina os observáveis que essas escolhas precisam preservar. O orçamento de gas controla o trabalho computacional lógico; memória, tempo de execução e capacidade de processamento pertencem às condições físicas da realização.
Meça por aplicação e base
Registre o alvo, o conjunto de fontes, a revisão dos contratos, o volume de entradas e os parâmetros utilizados. Compare execuções que respondam à mesma pergunta sob bases compatíveis.
Separe o tempo de formação, a preparação da realização, a avaliação e a materialização da saída. Uma mudança de plano pode deslocar trabalho entre essas etapas.
Índices e planejamento
Índices e estruturas auxiliares aceleram a seleção e o acesso a relações. O planejador pode reorganizar operações, fundir estágios e executar trabalho independente em paralelo preservando as dependências, a ordem semântica e a completude exigidas.
A estratégia deve considerar o padrão de consulta e a atualização das bases. Uma estrutura materializada possui dependências que determinam quando pode ser reutilizada ou precisa ser reconstruída.
Reutilização de resultados
A reutilização depende de equivalência suficiente para o consumidor. Verifique revisões, contexto, frame, temporalidade, autoridade, dependências e completude. Um resultado histórico pode ser reutilizável para uma pergunta e inadequado para outra que exige a base corrente.
O contrato de impacto da evolução determina as condições de recomputação. Novos elementos que passem a satisfazer uma consulta podem alterar o resultado mesmo quando os itens anteriormente lidos permanecem iguais.
Incrementalidade
O consumo incremental utiliza contratos de parcialidade, ordenação, revisão e finalização. A aplicação pode processar atualizações sem esperar um conjunto completo quando seu contrato admite essa forma de entrada.
O desempenho dessa realização deve ser acompanhado junto das garantias de resultado. Uma visualização e uma decisão irreversível podem utilizar políticas de consumo diferentes sobre o mesmo fluxo.
Limites de execução
Registre o orçamento aplicado e examine o estado de conclusão. O esgotamento de gas conserva a diferença entre trabalho interrompido, resultado parcial e resultado completo. A política do produtor determina se a execução incompleta pode publicar um artefato utilizável.
Os limites físicos de uma realização devem ser avaliados sob seus próprios contratos de recursos, mantendo a correspondência com a aplicação e a base utilizadas.
Segurança e autoridades
A segurança de uma aplicação Forma combina condições de acesso, autoridade de transição, integridade de artefatos e garantias das fronteiras de realização. Essas responsabilidades são relacionadas, mas possuem bases e escopos próprios.
Principais e papéis
Identifique o agente solicitante, o emissor de afirmações, o decisor, o executor, o observador e o responsável pela fonte. Um mesmo principal pode ocupar vários papéis quando as bases correspondentes o autorizam.
As permissões de armazenamento e de execução técnica devem ser tratadas separadamente das autoridades semânticas. A incorporação de uma observação, a emissão de uma Claim e a publicação de um sucessor da fonte são atos governados por contratos distintos.
Autoridade das transições
Uma transição que exige autoridade utiliza uma base estabelecida antes dela ou admitida de forma independente. O registro conserva as coordenadas de autoridade, sua revisão e o escopo pertinente.
Para novos atos, verifique as condições de atualidade exigidas. Os registros históricos permanecem vinculados à autoridade sob a qual foram introduzidos.
Visibilidade
Políticas de divulgação determinam quais informações e qualificações podem ser apresentadas a cada consumidor. Uma visão pode restringir conteúdo ou a distinção entre estados quando o próprio acesso a essa diferença é protegido.
O contrato da transformação identifica essa restrição. A origem semântica do material e as condições de acesso continuam preservadas nas superfícies que possuem autoridade para consultá-las.
Integridade e fronteiras
Artefatos externos devem ser vinculados por identidades e verificações compatíveis com o requisito. O escopo de uma atestação ou recibo determina quais garantias o consumidor pode utilizar.
Verifique respostas malformadas, referências incorretas, revisões incompatíveis e tentativas de atribuir autoridade a campos de apresentação. As superfícies de máquina devem aplicar os schemas e as verificações correspondentes à versão.
Operação
Configure credenciais e canais nos mecanismos de realização apropriados. Preserve o conjunto mínimo de informações necessário para responsabilização e recuperação. As políticas de retenção devem respeitar os contratos de histórico e de divulgação dos artefatos envolvidos.
Hospedagem e serviços
A hospedagem oferece um ponto de acesso às operações de um projeto resolvido. O host mantém a base do projeto e encaminha invocações às mesmas famílias de operação utilizadas pelas interfaces locais. Os resultados de máquina conservam as categorias e coordenadas publicadas pelo contrato.
Base hospedada
Identifique o projeto, seu lock e os planos de realização selecionados. Registre a revisão que o serviço disponibiliza e as condições sob as quais suas aplicações recebem entradas.
A mudança da base hospedada deve utilizar um procedimento de atualização definido. As invocações anteriores permanecem associadas à revisão que consumiram.
Interface de operação
A família serve hospeda as operações admitidas pelo contrato do host. O endereço de escuta, os envelopes de máquina e as capacidades expostas pertencem à versão da implementação. Consulte a ajuda e a matriz de suporte da baseline para a configuração exata.
Cada chamada deve selecionar uma operação e fornecer suas entradas no formato admitido. A resposta deve permitir distinguir resultado semântico, condição de completude e desfecho operacional.
Fronteiras de segurança
O contrato de um host local e o de um serviço exposto a uma rede possuem requisitos diferentes de autenticação, transporte e controle de acesso. Configure o ambiente de realização segundo o escopo efetivamente oferecido pelo host utilizado.
As autoridades de decisão, execução, observação e publicação continuam sendo verificadas nas superfícies correspondentes. O fato de uma operação ter sido recebida pelo serviço não substitui esses julgamentos.
Estado e recuperação
O host pode utilizar componentes de controle durável para operações que precisam sobreviver a interrupções. A persistência e a recuperação dessas operações pertencem aos contratos dos componentes, com suas identidades e referências próprias.
No procedimento de operação, registre como consultar invocações em andamento, como recuperar evidências e como reconhecer uma publicação ou tentativa já realizada. As rotinas de reinício devem preservar esses vínculos.
Verificação do serviço
Verifique os envelopes de entrada e saída, a seleção de aplicações, as recusas tipadas e a correspondência entre chamada e resultado. Inclua testes com entradas inválidas, aplicação inexistente, falta de realização e interrupção de dependência externa.
Execução durável
Autoridades: o contrato de execução semântica (F2) e o contrato de ativação reativa (RAC) governam este capítulo; ele é operacional e não os substitui.
Uma execução durável se abre uma vez e se mantém viva através de crashes pelo próprio journal. Este capítulo percorre o ciclo operacional: abrir, avançar, entregar atividades, deixar o tempo expirar o que merece expiração, recuperar e ler o journal de fora.
Abra a execução
Tome um programa .fsl, elabore-o com o compilador da plataforma e semeie o motor com os bytes de payload e o estado inicial do carrier. O motor registra a identidade do programa a partir dos bytes exatos do fonte, abre o journal e grava o evento de semeadura. A partir daí o journal é a execução: o estado vive no carrier, mas a autoridade de ter chegado até ali vive no registro.
Avance o workflow
Um tick avalia o carrier e anexa o que a decisão produziu: o trabalho agendado, seu início e o marcador de conclusão do próprio tick. Os ticks avançam por chamada explícita; não há relógio de parede escondido no motor, e é por isso que cada cenário da suíte de conformidade é determinístico. Um tick que não avalia nada não grava nada, e um journal que nunca pula um ordinal é o que permite à recuperação confiar nos buracos que não encontra.
Entregue atividades
Quando o workflow agenda uma atividade, um trabalhador a toma da fila de pendentes. A tomada devolve uma entrega que carrega a geração da tentativa, e o trabalhador responde com uma conclusão ou uma falha tipada. Antes de aceitar qualquer coisa, o motor confere quatro pontos: que a resposta pertence a esta execução, que a geração é a corrente, que a tentativa segue aberta e que a tarefa foi de fato entregue. Resultado tardio, duplicado, estranho ou nunca entregue é recusado com erros distintos, e a recusa deixa o journal exatamente como estava.
Deixe o tempo expirar o que merece expiração
Adiantar o relógio além do prazo de uma tentativa expira a tentativa e grava o evento contratado de timeout, então reagende dentro do teto de tentativas e da janela total de agendamento, com backoff linear entre tentativas. Duas fronteiras importam na operação. Quando a janela total se fecha, a tentativa aberta expira na fronteira com a causa de janela esgotada, mesmo que o próprio prazo dela esteja no futuro. E a resposta de uma tentativa expirada ainda pode chegar: ela é recusada, porque a geração que carrega já não é a corrente.
Recupere de um crash
Reabra a execução a partir do journal. Segmentos fechados reproduzem a avaliação na janela original, contra o estado semeado no primeiro evento, e toda decisão precisa se reproduzir; uma divergência sela a execução como não determinística e a interrompe. Um segmento aberto, aquele interrompido entre início e resultado, simplesmente retoma: a tentativa interrompida é reagendada pela geração, nada já entregue é reentregue, e a continuação carrega as mesmas identidades. A suíte de crash prova essa forma nos dois backends de journal.
Leia o journal de fora
O feed reativo publica cada evento do journal como uma ocorrência: a posição é o ordinal, a identidade é o id durável da ocorrência, e o nome da fonte é declarado, não inventado. O consumidor parte de uma posição e recebe dali em diante entradas contíguas; se o registro de baixo tem um buraco, a leitura falha fechado em vez de pular o vazio. Uma notificação só vira candidato de ativação para consumidores que declararam a fonte, e o candidato passa por um portão de política antes que qualquer ordem exista.
Escolha o backend
O journal aceita dois guardadores: o SQLite em modo durável, para implantação de arquivo único, e o motor FormaKV, quando a persistência da própria plataforma já está no processo. A bateria de conformidade corre igual nos dois, de modo que escolher é uma decisão de implantação, não de semântica. A única regra que não se move: os substratos nunca dependem do compilador; só o hospedeiro depende.
Declaração e utilização na linguagem
A superfície declarativa do FormaSL inclui define ontology e define theory. As construções de teoria preveem a referência a uma base de formalismo e itens como use, statement e adopt. Regras, relações, restrições de validação e políticas possuem categorias declarativas próprias, que podem participar de teorias segundo os contratos aplicáveis.
As operações de raciocínio podem selecionar uma teoria ou ontologia como base semântica, enquanto consultas, avaliações e transformações utilizam os elementos do domínio conforme seus contratos. A referência ao artefato e a referência aos seus conteúdos permanecem distinguíveis.
A sintaxe completa dessas construções pertence à referência da linguagem. A disponibilidade de cada forma na superfície executável é descrita na referência de suporte da implementação.
Consulte a matriz operacional e a gramática para a revisão de publicação.
Declarações de Claim na linguagem
A superfície declarativa de .fsl inclui assert claim, import claim, adopt claim, retract claim e supersede claim. A declaração de emissão dispõe de campos de atribuição, como by, e pode incluir for e under, além das ligações aos papéis do conteúdo afirmado. Qualificações como based_on, valid_at, recorded_at, scope, frame e support participam da declaração quando seus contratos as admitem.
As construções de adoção, retração e sucessão utilizam contratos de transição com os campos de atribuição e de base exigidos pela versão da linguagem. A referência sintática dessas construções pertence à definição da superfície concreta; a disponibilidade executável de cada caminho deve ser consultada na documentação de suporte da implementação corrente.
A linguagem também oferece as relações de comunicação de std::world::communication, permitindo que aplicações representem mensagens e ocorrências associadas. A correspondência entre o conteúdo de uma mensagem, uma Claim e suas referências semânticas pertence aos contratos declarados pelo domínio.
Consulte a matriz operacional e a gramática para a revisão de publicação.
Declarações e disponibilidade executável
A superfície .fsl contempla a família observe, declarada mediante uma assinatura de aplicação e referência a contrato. Os requisitos para aquisição podem ser realizados por adaptadores e provedores vinculados através das interfaces de realização. A sintaxe concreta e os campos aplicáveis pertencem à referência da linguagem e aos contratos especializados.
Na implementação documentada atualmente, a invocação isolada de observe sem sessão de aquisição retorna NOT_ACQUIRED. Ela não simula uma leitura nem produz observação externa. A aquisição produtiva utiliza as operações tipadas de sessão, recibos e admissão previstas no contrato C2; a documentação de suporte identifica os mecanismos e limites efetivamente disponíveis.
Essa distinção permite ler a documentação conceitual como definição dos significados e obrigações da linguagem, enquanto a referência operacional descreve os caminhos que os realizam na versão executável.
Consulte a matriz operacional e a gramática para a revisão de publicação.
Declaração e capacidade executável
A superfície concreta do FormaSL inclui execution_request como família de aplicação em .fsl, associada a um contrato por using. As escolhas de mecanismo pertencem ao plano de realização, enquanto o contrato de execução externa especifica a cadeia de despacho, tentativas, evidências, reconciliação e controle durável.
Na versão documentada de suporte, a invocação isolada de execution_request pelo caminho público de run produz o resultado REQUESTED sob a guarda RecordedOnly. Esse caminho registra a requisição e não efetua, por si, despacho ao sistema externo.
A superfície programática formasl::execution_plane realiza os contratos de operação durável e de tentativa. Sua rota de referência utiliza transporte HTTP de loopback para cenários controlados; os resultados dessa rota são interpretados segundo o escopo da capacidade vinculada e não são apresentados como efeitos de sistemas empresariais de produção. A superfície documentada não dispõe de um verbo CLI dedicado ao despacho, e o plano de execução externa não constitui por si só um orquestrador de negócios ou de tarefas. Na rota nativa de referência, o adaptador também não dispõe de canal de cancelamento do provedor; a classe CANCEL_ACKNOWLEDGED permanece representável, sem ser produzida por esse caminho.
A sintaxe das declarações está especificada na referência da linguagem. A disponibilidade de cada mecanismo e os limites de garantia da implementação corrente pertencem à documentação operacional de suporte.
Consulte a matriz operacional e a gramática para a revisão de publicação.
API do workspace
A relação abaixo identifica os pacotes Rust e as declarações públicas encontradas na árvore de fonte usada para gerar este pacote. Para detalhes de métodos, parâmetros e implementações de traits, utilize a documentação Rust gerada pela mesma revisão.
A árvore de implementação não foi disponibilizada ao gerador local. O pacote conserva os guias de integração e registra a geração da referência de API como gate pendente.
Biblioteca padrão
Os módulos da biblioteca padrão publicam vocabulários e contratos reutilizáveis. Esta referência foi organizada pelas declarações de fonte, com o caminho e a linha de cada assinatura.
Módulos de mundo
O vocabulário de mundo documentado compreende classification, communication, dynamics, information, measure, money, normative, observation, party, reference, security, space e time.
Os capítulos de ontologia, tempo, espaço, Claims, observação e dinâmica descrevem os contratos correspondentes. A enumeração exata de assinaturas deve ser regenerada com a biblioteca da revisão de publicação.
Comandos
A ferramenta formasl oferece operações de formação, inspeção, execução, realização, verificação e distribuição. Os comandos utilizam fontes e planos fornecidos explicitamente ou os alvos resolvidos de um projeto. A ajuda emitida pelo binário da versão utilizada é a referência para a ordem dos argumentos e para as opções de cada subcomando.
| Comando | Responsabilidade | Resultado principal |
|---|---|---|
check | Verificar formação e resolução das fontes. | Programa admitido ou diagnósticos tipados. |
inspect | Examinar as declarações admitidas. | Resumo ou representação estruturada do programa. |
run | Invocar aplicações selecionadas. | Resultados tipados por aplicação e resumo agregado. |
realize | Resolver requisitos e vínculos de realização. | Plano vinculado ou recusa tipada. |
analyze | Invocar a aplicação analítica declarada. | Resultado da mesma família analítica utilizada por run. |
test | Executar suítes admitidas pelo sistema de testes. | Resultados dos casos e recibo agregado. |
package seal | Preparar uma versão selada de pacote. | Diretório de versão e identidades de integridade. |
package verify | Verificar uma versão selada. | Identidade reconstruída e resultado das verificações. |
serve | Hospedar um projeto resolvido na interface publicada pelo host. | Serviço que expõe as operações admitidas por seu contrato. |
Ajuda e versão
Consulte a ajuda do executável utilizado no ambiente:
formasl --help
A documentação de uma opção precisa corresponder à versão efetivamente instalada. O pacote de verificação registra a ajuda quando consegue executar o binário da árvore auditada.
Fontes explícitas e projeto
No modo de fontes explícitas, o chamador fornece os arquivos que participam da resolução. No modo de projeto, o manifesto, o lock e o armazenamento de versões determinam o conjunto selecionado. Os contratos de check, inspect, run e realize permanecem os mesmos; o modo de projeto acrescenta a resolução reproduzível das entradas.
Interpretação de run
O resultado de run é estruturado por aplicação. Examine a categoria do resultado, a base de interpretação e a completude. O resumo agregado informa a situação da seleção inteira e mantém visíveis membros rejeitados, sem recursos ou sem suporte pelo caminho escolhido.
A referência de Desfechos e diagnósticos descreve os significados que o consumidor precisa preservar.
Operações externas
Requisições de execução, aquisição de observações e incorporação de fonte utilizam superfícies especializadas. O comportamento do caminho de invocação deve ser consultado na Matriz operacional, juntamente com a revisão de implementação que o fornece.
Contratos e autoridade semântica
A definição do FormaSL é organizada por responsabilidades. Os compromissos constitutivos determinam as categorias do modelo de mundo. Os invariantes estabelecem propriedades de preservação. A continuidade semântica governa a passagem de informações entre operações. A arquitetura seleciona a representação lógica e as fronteiras que os contratos de capacidade utilizam.
Fundamentos
A Finalidade e escopo apresenta a identidade da linguagem. O Modelo de mundo define suas categorias. Os Invariantes e a Continuidade descrevem as obrigações de preservação.
Formação e representação
A Arquitetura lógica, os Tipos e os Módulos organizam a formação estática, as identidades e as referências. Ontologias e teorias tratam dos compromissos de domínio.
Operações e resultados
As Operações e os Resultados situados definem produtores e consumidores. A Composição estabelece suas ligações, ordenações e condições de conclusão.
Ciclo de vida
Claims, Observação, Execução externa e Evolução da fonte descrevem transições com identidades e autoridades próprias.
Realização e implementação
A Realização vincula esses contratos a mecanismos concretos. A referência de API e a matriz de suporte identificam as superfícies publicadas pela árvore de implementação utilizada no pacote.
O registro editorial de sucessão, distribuído separadamente do livro, relaciona os owners anteriores às responsabilidades do novo corpus e às verificações necessárias para sua transferência.
Contratos de construção desta edição
Autoridade e governança fixa precedência e jurisdição. Identidade e capacidades protegidas desenvolve a doutrina de produto. A base de construção 0.1.0 consolida T00–T29 e as decisões posteriores ao congelamento, enquanto QEC governa o locus especializado de execução das consultas.
Desfechos e diagnósticos
Os desfechos de uma operação são interpretados segundo sua família e sua base. O consumidor deve preservar a diferença entre resultado semântico, condição de completude, alcance de um ramo e terminação operacional.
Informação e julgamento
| Classe | Significado |
|---|---|
EMPTY | Coleção sem membros sob o critério e a base da consulta. |
UNKNOWN | A base disponível não determina o conteúdo solicitado. |
UNOBSERVED | Não há observação pertinente na base observacional selecionada. |
HIDDEN | Informação indisponível ao observador sob as condições de divulgação. |
NOT_APPLICABLE | Julgamento de que o alvo está fora do domínio aplicável ao contrato. |
UNRESOLVED | Uma condição semântica material permanece sem resolução. |
INCONCLUSIVE | A avaliação não estabeleceu os desfechos afirmativo ou negativo previstos. |
| Julgamento negativo | Resultado negativo estabelecido pelas regras do contrato produtor. |
A inexistência e a não implicação lógica exigem os regimes de escopo, fechamento e conclusão próprios da operação. A consulta vazia e a ausência de prova possuem seus significados específicos.
Completude e alcance
Uma operação pode estabelecer resultado completo sob um critério, resultado incompleto com lacuna identificada ou completude ainda não determinada. Esses estados são relativos à base selecionada.
NOT_REACHED descreve uma etapa condicional que não foi alcançada. O contrato de composição determina se essa etapa era exigida, opcional ou condicionada para a conclusão.
Execução externa
O plano de execução distingue falhas anteriores à exposição, resposta observada e exposição possível com desfecho incerto. OUTCOME_UNCERTAIN mantém aberta a determinação do processamento externo. A reconciliação utiliza evidências da tentativa e precede um novo despacho quando exigida.
SUCCEEDED_WITHIN_BOUNDARY e FAILED_NOT_APPLIED são lidos no escopo da garantia operacional declarada. O resultado de autorização da tentativa é um eixo separado.
Incorporação de fonte
A incorporação utiliza APPLIED, NOT_APPLIED, OUTCOME_UNKNOWN e MECHANISM_FAILED. Uma recusa carrega o gate responsável e a coordenada que falhou. Uma publicação aplicada fornece as referências ao sucessor e à conclusão correspondente.
Tratamento pela aplicação
Declare o encaminhamento para os desfechos que podem chegar a cada consumidor. Uma recuperação, uma nova aquisição, uma revisão ou uma compensação possui seu próprio contrato. Preserve no histórico o resultado que motivou essa passagem.
Formatos e artefatos
Os formatos do Forma se distribuem entre fonte semântica, realização, projeto, verificação e interfaces de máquina. Cada formato tem uma responsabilidade definida e uma versão compatível com os consumidores que o interpretam.
| Formato | Uso |
|---|---|
.fsl | Declarações e dados de fonte semântica autoritativa. |
.fsp | Vínculos, exigências, limites e preferências de realização. |
forma.toml | Manifesto de projeto e pacote. |
forma.lock | Base resolvida de dependências. |
*.test.toml | Casos de verificação admitidos pelo sistema de testes. |
| Documento JSON de máquina | Projeção estruturada de resultados e diagnósticos conforme o schema da operação. |
| Artefatos selados | Conteúdo de versão acompanhado de identidades e resumos de integridade. |
Fonte .fsl
A unidade de fonte contém uma declaração de módulo. O módulo organiza definições, importações, exportações e aplicações. A gramática da superfície determina identificadores, expressões, declarações e corpos de contrato.
Um nome qualificado é resolvido sob a base de módulos e interfaces. Referências de origem, declarações e referentes semânticos conservam identidades próprias.
Realização .fsp
Uma declaração de realização seleciona alvos e aplica cláusulas aos slots admitidos. bind estabelece um vínculo; require expressa uma exigência; limit delimita um recurso; prefer orienta a seleção; budget estabelece um orçamento no slot correspondente.
A resolução de especificidade e os esquemas de campos pertencem à versão da linguagem. O plano utiliza as identidades semânticas já determinadas pelas fontes.
Manifesto e lock
O manifesto declara a organização do pacote, suas fontes, dependências e alvos. O lock registra a seleção resolvida de artefatos. Os campos exatos devem ser obtidos do schema ou da referência de projeto da revisão utilizada.
A alteração do lock muda a base de resolução. Mantenha o arquivo junto das verificações executadas para o projeto.
Resultados de máquina
As projeções de máquina conservam campos tipados para identidades, bases, resultados e diagnósticos. Cada schema define os campos admitidos e as regras de compatibilidade. Interfaces que recusam campos desconhecidos devem receber exatamente o esquema da versão correspondente.
A apresentação textual é uma projeção desse resultado. Ao integrar com outro programa, use os identificadores e campos estruturados publicados pelo contrato, preservando as categorias semânticas.
Artefatos externos
Modelos analíticos, calibrações, imagens e outras entradas podem permanecer fora da fonte textual. O vínculo de realização identifica a versão e a integridade exigidas. A aplicação conserva a correspondência entre o artefato externo, o requisito e o resultado produzido.
Glossário
Admissão. Julgamento sobre a passagem de um candidato por uma fronteira governada.
Aplicação semântica. Vinculação de um contrato a entradas, parâmetros e uma base de interpretação.
Artefato. Elemento identificável produzido ou utilizado por uma atividade semântica ou operacional, interpretado segundo sua categoria.
Assessment. Avaliação atribuível sobre uma informação ou um alvo sob uma base determinada.
Autoridade. Relação que fundamenta uma competência ou transição dentro de um escopo e de condições aplicáveis.
Autorização. Posição normativa de um agente perante uma ação ou capacidade.
Base de interpretação. Conjunto de referências e papéis que determina como uma informação ou resultado é interpretado.
Base de resolução. Declarações, interfaces, revisões e regras utilizadas para resolver os designadores do programa.
Claim. Ato de afirmação situado e atribuível, com identidade semântica própria.
Completude. Atendimento ao critério de conclusão de uma operação sob uma base identificada.
Composição. Programa que relaciona aplicações, entradas, resultados, ordenações e condições de conclusão.
Conformidade. Atendimento, ou julgamento de atendimento, às restrições de um contrato de validação.
Contexto. Condições que participam da interpretação ou utilização de uma informação.
Continuidade semântica. Preservação reconstruível das qualificações e dependências necessárias ao significado através de operações e composições.
Contrato semântico. Definição do significado e das obrigações de uma estrutura ou operação.
Decisão. Ato atribuível de seleção, adjudicação ou assunção de um resultado sob uma base.
Dependência. Relação que identifica como uma informação participa do significado ou da produção de outra.
Derivação. Relação de produção de consequências segundo regras e premissas de inferência.
Efeito. Ocorrência considerada sob uma relação causal explícita ou contratualmente estabelecida.
Elaboração. Formação de uma representação semântica explícita a partir do programa resolvido e admitido.
Escopo. Abrangência de uma informação, relação, regra ou operação.
Estatuto semântico. Natureza do resultado e significado que seu contrato lhe atribui.
Estado autoritativo de fonte. Estado imutável admitido como base de fonte para interpretações posteriores.
Execução. Processamento concreto de uma aplicação ou atuação de um mecanismo sob condições determinadas.
Exposure. Fronteira em que a invocação ao provedor começou e a aceitação externa passou a ser possível.
Frame. Referência de interpretação para relações ou grandezas que dependem dela.
Gas. Orçamento determinístico de trabalho computacional lógico.
Identidade semântica. Identificação do elemento que persiste pelas representações e transições admitidas por seu contrato.
Incorporação. Introdução governada de vínculos a artefatos em um estado autoritativo de fonte.
Invariante semântico. Propriedade de significado que deve permanecer preservada pelas construções e operações da linguagem.
Linhagem. Relações históricas entre fontes, representações, transformações ou estados.
Metagrafo. Estrutura lógica de relações, participantes, papéis e referências a elementos semânticos, inclusive de ordem superior.
Módulo. Unidade de declaração, vinculação, visibilidade e interface da linguagem.
Observação. Acesso epistêmico situado a um estado, acontecimento ou referente.
Ontologia. Artefato intensional que organiza conceitos e compromissos de interpretação de um domínio.
Papel. Posição semanticamente definida de um participante em uma relação.
Perspectiva. Posição a partir da qual um agente conhece ou avalia informações.
Proveniência. Relação que permite reconstruir a origem semântica e as contribuições de uma informação.
Realização. Vinculação de requisitos semânticos a capacidades e recursos concretos.
Referente. Elemento semântico designado por uma referência resolvida.
Região. Referente espacial utilizado em relações qualitativas.
ResultContract. Contrato que define conteúdo, estatuto, base, dependências, completude e garantias de um resultado.
Retração. Ato atribuível de retirada de uma posição, conservando sua história.
Revisão. Mudança ou relação histórica entre contratos, artefatos, posições ou estados segundo o regime correspondente.
StandingAnnotation. Registro posterior que qualifica o estatuto utilizável de uma observação sob autoridade própria.
Static weaving. Resolução dos vínculos entre requisitos semânticos e escolhas de realização.
Subtipagem. Relação que autoriza uso substitutivo preservando as garantias do tipo exigido pelo consumidor.
Teoria. Artefato que organiza declarações e enunciados sob uma base de formalismo identificada.
Validação. Operação que examina alvos segundo restrições e um mundo de validação declarado.
Visão. Recorte ou projeção de informações sob critérios de seleção, contexto e divulgação.
Gramática e formas declarativas
A Superfície concreta consolidada reúne o léxico, as produções, a formação e a elaboração de .fsl e .fsp, sob a base H1 e as emendas H4, Post-H4, P8 e R2.
O arquivo EBNF permite consultar as produções. Os dois loci de origem em reconciliação estão identificados na referência; o arquivo não é um parser executável.
Schemas de máquina
Os schemas descrevem as representações aceitas nas fronteiras de máquina. Cada entrada abaixo conserva o artefato de schema da revisão utilizada. A semântica do resultado permanece definida pelo contrato da operação.
A geração local não recebeu os schemas da árvore de implementação. Sua presença e validação constam separadamente no registro de fechamento.
Suporte da baseline
A disponibilidade operacional é identificada por família de aplicação e por caminho de invocação. A revisão exata da árvore e o registro de execução dos exemplos acompanham este pacote no diretório de verificação.
Caminhos de invocação
Os contratos conceituais deste livro estão separados dos resultados de verificação da implementação. Os campos NOT_RUN do relatório de fechamento identificam exatamente os caminhos que não foram executados neste ambiente.
Verificação reproduzível
Utilize os scripts distribuídos em verificacao/ para reconstruir o livro, examinar referências e executar os exemplos sobre o binário da baseline. Cada resultado de teste deve registrar o comando, o código de saída e a condição verificada.
Autoridade e governança dos contratos
O FormaSL organiza suas definições por responsabilidade. As fundações determinam o que a linguagem preserva; os contratos de linguagem e arquitetura definem como essas obrigações se expressam; os contratos especializados estabelecem condições de formação, execução, realização e aceitação. Implementações, provas e testes demonstram propriedades sob esses contratos.
Este contrato governa a precedência entre essas responsabilidades, a seleção da revisão aplicável e a revisão de decisões encerradas. A identidade de um contrato, seu escopo e sua revisão acompanham cada uso que dependa deles.
Identidade e planos da linguagem
FormaSL significa Forma Semantic Language: uma linguagem de especificação semântica computável. Seu modelo lógico utiliza um metagrafo de incidência de papéis tipados. Relações, participantes, referências e qualificações semânticas têm significado definido pelos contratos da linguagem.
A fonte .fsl estabelece significado e dados semânticos autoritativos. A fonte .fsp estabelece a realização. A instância de execução avalia o programa sobre uma base determinada; o armazenamento realiza sua representação física. Cada plano conserva sua responsabilidade. Uma escolha de representação, otimização ou provedor deve realizar o contrato recebido, sem redefini-lo.
O nome corrente do produto é FormaSL. Os identificadores históricos V1 e V2 permanecem nos registros em que designam uma geração, decisão, campanha ou evidência específica.
Precedência normativa
A ordem abaixo resolve divergências materiais. Cada nível é subordinado aos anteriores e atua somente dentro de sua jurisdição.
| Nível | Autoridade ou evidência | Responsabilidade |
|---|---|---|
| 1 | Intent | Intenção constitutiva da linguagem. |
| 2 | Modelo de mundo | Categorias e compromissos fundamentais. |
| 3 | Invariantes semânticos | Distinções exigidas de qualquer realização conforme. |
| 4 | Continuidade semântica | Preservação dessas distinções através das operações. |
| 5 | Decisões estáveis e expressas de design | Arquitetura e semântica determinadas para seus respectivos assuntos. |
| 6 | Contratos especializados encerrados | Obrigações da etapa e do recorte exatamente identificados. |
| 7 | Evidência V1 validada | Conhecimento histórico admitido para apoiar ou contestar decisões. |
| 8 | Formalização V1 | Evidência formal da geração histórica. |
| 9 | Implementação V1 | Evidência de mecanismos e comportamentos históricos. |
| 10 | Testes, fixtures e comportamento observado V1 | Evidência de casos e propriedades efetivamente examinados. |
| 11 | Design e documentação históricos V1 | Genealogia e contexto das decisões antigas. |
| 12 | Teorias, padrões e comparadores externos | Evidência para pesquisa, design e exame adversarial. |
Uma fonte de evidência pode revelar um defeito em um contrato. A correção segue a revisão da autoridade competente; o resultado de um teste, a estrutura de um programa ou uma preferência de implementação não alteram o contrato por si mesmos.
A doutrina de produto governa identidade, capacidades protegidas e antimetas. Ela permanece subordinada às quatro fundações semânticas. Os contratos operacionais de desenvolvimento e formalização governam o trabalho das ferramentas e agentes, sem adquirir jurisdição sobre o significado da linguagem.
Seleção do contrato aplicável
A seleção considera conjuntamente o objeto, o recorte da obrigação, a revisão e a base de interpretação. Um contrato especializado governa apenas o assunto que lhe foi atribuído. A especialização não revoga o contrato de origem fora desse recorte.
As emendas são aplicadas por seu alcance declarado. Quando uma emenda substitui uma produção gramatical, as regras restantes continuam vigentes; quando esclarece uma condição de aceitação, os demais compromissos semânticos permanecem. Uma decisão histórica encerrada continua vinculada à revisão sob a qual foi tomada.
Entre contratos que tratam de assuntos diferentes, a relação é de composição de responsabilidades. Uma decisão sobre apresentação gráfica pode governar o perfil visual enquanto outra governa o host que o serve. O host, o renderizador e o mundo usado como demonstração continuam subordinados ao contrato semântico pertinente.
A ordem textual dos arquivos, a data de carregamento, o nome da branch e a posição de um documento na navegação não estabelecem precedência normativa.
Roteamento das responsabilidades
A tabela identifica os responsáveis conceituais pelos principais recortes. Os documentos de origem e suas revisões exatas constam do registro de correspondência desta edição.
| Assunto | Contrato responsável | Relação com os demais |
|---|---|---|
| Modelo lógico, papéis e identidade de participação | Arquitetura do metagrafo | Realiza as fundações; governa as representações posteriores. |
| Módulos, vínculos, tipos e teorias | Fundamentos de definição da linguagem e contrato de tipos | Determinam formação e resolução estática. |
Sintaxe .fsl e .fsp | Superfície concreta | Consolida a base H1 e as emendas atuais, preservando a semântica dos respectivos consumidores. |
| Consulta | Contrato da capacidade Query | Determina respostas, vinculações, multiplicidade e critérios de conclusão. |
| Redutores, caminhos e seus portadores públicos | Execução e completude de consultas | QEC é especialização delimitada da capacidade Query, admitida sob o congelamento global. |
| Agregação de Reasoning | Contrato de Reasoning e emenda de correlação R2 | Governa grupos, referências e premissas de Reasoning; não é o contrato de agregação de Query. |
| Análise e transformação | Contratos das respectivas capacidades e perfis | Mantêm seus estatutos de resultado e condições de realização. |
| Resultados e composição | Contratos de resultados situados e interface semântica executável | Governam entrada, saída, dependência, ordem, conclusão e efeitos de ciclo de vida. |
| Claims, observação, ações e incorporação | Contratos de ciclo de vida, aquisição, execução externa e incorporação | Cada transição possui sua base de introdução e autoridade. |
| Validação e governança | Contratos de validação, políticas e julgamentos | Separam conformidade, admissão, autorização e decisão. |
| Cenários e revisão | Contratos hipotéticos e de revisão | Preservam hipóteses, fontes e relações históricas. |
| Reatividade | RAC-01 e RAC-02 | Ativação de novas avaliações seladas; dependências, invalidação e recuperação. |
| Realização física | Família HWR-04 | Provedores, capacidades do dispositivo, fechamento de aplicação, admissão e implantação; respeita os assuntos upstream reservados. |
| Produto e aceitação pós-P9 | Base contratual de produto | Identidades, interfaces, distribuição, verificação e critérios de aceitação do horizonte contratado. |
| Mecanização e conformança | Contrato do objeto formal, matriz de obrigações e contrato de conformança | Definem a proposição e a evidência exigidas; o processo formal governa sua execução. |
| Apresentação topológica e host | Contratos ratificados Graph UI 0.2 e decisão do host | Preservam admissão Semantic UI, identidades S1–S4 e independência de domínio. |
A cadeia vigente da superfície concreta compreende H4, Post-H4 e P8. H4 incorpora as leis de compressão H2; as formas anteriores pertencem à migração e à genealogia, não a uma segunda sintaxe canônica permanente.
QEC governa seu recorte de execução de COUNT, SUM, MIN, MAX e path, os portadores afetados e a aceitação correspondente. A emenda R2 de correlação de agregados governa separadamente os modos MemberDerived e SeededCorrelated, a origem das referências e as condições de vinculação dos grupos.
HWR-04 conserva as reservas upstream que declara. Uma reserva não autoriza um contrato local substituto. Os contratos de realização física também não decidem uma arquitetura de instruções por implicação.
Disciplina de design
A análise distingue o que existe semanticamente, a informação que precisa sobreviver e as representações que podem realizá-la. Capacidade, mecanismo semântico, sintaxe, mecanismo formal, runtime e armazenamento são decisões relacionadas, mas diferentes.
A suficiência de uma capacidade inclui seu alcance funcional e sua composição com o restante da linguagem. A existência de uma gramática, implementação ou prova não substitui os critérios próprios de fechamento semântico, conformança ou aceitação do produto.
As distinções transversais incluem Claim, verdade, avaliação e observação; produtor e emissor; executor e autoridade; validação, conformidade, admissão, autorização e decisão; hipótese e base; especialização e subtipagem; identidade e representação; proveniência, derivação, suporte e causalidade. As obrigações detalhadas permanecem nos invariantes e nos contratos especializados.
Na conferência de uma fronteira, uma informação material recebe uma das classificações: preservada diretamente, preservada por referência, derivável, intencionalmente eliminada, acidentalmente perdida, não aplicável ou desconhecida. A classificação derivável exige que permaneçam disponíveis as entradas necessárias. Perda acidental é defeito; desconhecimento exige investigação, não aprovação presumida.
Implementação, formalização e conformança
A sequência de desenvolvimento parte do contrato semântico, passa pela arquitetura executável e pela superfície concreta, estabelece a interface de aceitação e realiza a implementação sob essas obrigações. A mecanização selecionada preserva a proposição exigida pelo contrato; o kernel verifica a proposição que efetivamente recebeu.
O compromisso ZERO_AGDA_AT_RUNTIME permanece: a execução de aplicações não depende de executar Agda. A organização concreta do compilador, dos portadores e dos módulos de runtime é liberdade de implementação dentro das garantias contratadas.
O manifesto do workspace governa a composição Rust; a configuração de ferramentas governa as versões; o contrato de conformança governa os resultados exigidos. Identificadores de pacotes, nomes de diretórios e configurações de ferramentas são consultados nos respectivos responsáveis, em vez de se tornarem definições semânticas por repetição documental.
Revisão de decisões encerradas
Uma reabertura requer um fato material que alcance a obrigação encerrada. São gatilhos admitidos: contramodelo; divergência entre contrato e tipo; regressão de capacidade; inconsistência formal; conflito com autoridade superior; impossibilidade demonstrada de realização; falha de composição ou continuidade; aceitação indevida de uma obrigação congelada; proposição formal canônica não determinada pela autoridade; teorema exigido falso sob a teoria autorizada; representação incapaz de realizar o objeto; impossibilidade de independência da evidência; violação de localidade da autoria semântica; ou evidência concreta de não conformança que falseie o fechamento.
A presença de uma funcionalidade em outro produto, a elegância de uma teoria, a conveniência de programação ou prova, a estética, uma capacidade futura especulativa e uma alternativa plausível não são, isoladamente, gatilhos. Pergunta aberta não é defeito; desconhecido não é contradição; alternativa plausível não é defeito corrente. O responsável pelo achado apresenta a obrigação atingida, a evidência nova e a relação causal com a falha. O método de design rege a admissão do achado e a delimitação da revisão.
A reabertura conserva o sujeito histórico, identifica o recorte novamente aberto e determina quais provas, testes, contratos e resultados precisam de revalidação. Evidência de um recorte anterior permanece com esse alcance; não é promovida à obrigação ampliada.
Estado, evidência e publicação
Estado de contrato, estado de execução e estado de evidência são registrados separadamente. Uma síntese de projeto informa a base a que se refere; históricos de campanha não substituem a síntese corrente apenas porque continuam acessíveis.
O encerramento P9 pertence ao horizonte e ao candidato que foram auditados. Reaberturas posteriores são registradas por obrigação. Na base desta edição, a rota de FO-REASON-03 conserva a reabertura até a mecanização exigida pelo contrato de correlação R2. O registro P8 preserva a decisão que tornou HU-02 e HU-03 não bloqueantes e o fato de que esses ensaios humanos não foram executados. Esses registros pertencem à gestão de evidências, não a ressalvas inseridas em cada página de uso da linguagem.
Uma autorização de trabalho, um gate de prontidão, a aprovação editorial e a autorização de publicação são atos distintos. A introdução de novos sucessores normativos exige a decisão de transição pertinente; a integridade do ZIP ou o sucesso do build documental não produzem essa autoridade.
História e sucessão documental
A história é recuperável por revisões imutáveis. A geração V1 é evidência; sua fatoração operacional e sua sintaxe não constituem a arquitetura corrente. Obrigações e capacidades justificadas pelas autoridades atuais conservam-se independentemente do mecanismo que as demonstrou no passado.
A substituição documental transfere responsabilidades, não nomes de arquivos. Cada obrigação ativa deve ter um destino explícito, uma revisão identificada e uma correspondência verificável. Materiais históricos recebem disposição histórica; contratos retirados não reaparecem como responsáveis atuais. Na base desta edição, a antiga arquitetura de application-kit e application-products foi abandonada e não deve ser restaurada como autoridade de reutilização.
O cutover elimina a documentação antiga da árvore corrente depois da introdução dos sucessores e da atualização de seus consumidores. A reconstrução histórica utiliza Git; não requer um acervo paralelo de documentação antiga dentro da publicação nova.
Identidade e capacidades protegidas
FormaSL é uma linguagem de especificação semântica computável. O produto permite declarar significado, utilizá-lo em operações e compor os resultados preservando as distinções necessárias à interpretação, à governança e à história do domínio.
Este contrato estabelece os compromissos de identidade e de capacidade que orientam as escolhas de arquitetura e produto. Sua jurisdição é a doutrina de produto, subordinada ao Intent, ao modelo de mundo, aos invariantes e à continuidade semântica. Um conflito com essas fundações é tratado expressamente pela autoridade correspondente; a conveniência de implementação não o resolve silenciosamente. Doutrina de produto não é invariante semântico — e não ser invariante semântico não torna um compromisso dispensável.
Identidade da linguagem
O nome FormaSL significa Forma Semantic Language. Consulta, modelagem ontológica, descrição de esquemas, validação, políticas, composição de processos e acesso a banco de dados integram seu campo de utilização, mas nenhuma dessas funções isoladas define a linguagem inteira.
O significado declarado participa da computação. Tipos, contexto, atribuição, autoridade, proveniência e relações históricas devem permanecer utilizáveis pelas operações que deles dependem. A proposta de produto compreende tanto a expressão dessas informações quanto seu tratamento computacional sob contratos explícitos.
Expressividade metagráfica
A modelagem deve oferecer, conforme a necessidade do domínio, relações de primeira classe e N-árias, referências de ordem superior, estruturas recursivas, qualificações de contexto e escopo, diferentes papéis temporais, posições multiagente e pluralidade epistêmica. Conflitos, proveniência, derivação, suporte, linhagem, permissões, obrigações e autoridade são informações próprias do domínio, não apenas anotações de apresentação.
A evolução histórica e o ciclo entre ação, efeito e observação integram esse conjunto de capacidades. As operações devem poder relacioná-los conservando suas categorias e condições de interpretação.
Essa expressividade não exige armazenamento físico em metagrafo. Uma representação mais simples é admissível quando realiza fielmente as capacidades e mantém sua utilização de primeira classe no nível requerido pelo produto.
Integração das capacidades
As capacidades semânticas participam de uma linguagem componível. Uma consulta, uma avaliação e uma decisão podem utilizar estruturas compartilhadas sem depender de convenções informais que reconstruam seu significado em cada fronteira.
A integração é de contratos semânticos. Bancos de dados, motores de inferência, análise e execução especializados podem realizar operações por interfaces explícitas. Não existe obrigação geral de reimplementar internamente cada tecnologia utilizada pela realização.
Preservação de conhecimento e capacidades
A geração V1 fornece evidência histórica sobre capacidades, distinções, mecanismos e falhas. Seus onze agrupamentos históricos não determinam a decomposição atual da linguagem. Um tipo Rust, um módulo, uma estrutura de runtime ou uma definição Agda antiga também não se torna uma primitiva atual por ter existido naquela geração.
Preserva-se o conhecimento validado e a capacidade justificada pelas autoridades correntes. A adoção de um mecanismo histórico depende de sua utilidade e compatibilidade, não de familiaridade ou de uma obrigação geral de compatibilidade retroativa.
A avaliação da preservação distingue três níveis:
| Nível | Critério |
|---|---|
| Codificável | É possível representar a informação por uma codificação. |
| Semanticamente fiel | A codificação conserva as distinções exigidas. |
| Expressável como capacidade de primeira classe | O usuário utiliza a capacidade diretamente por contratos apropriados, sem reconstrução manual desproporcional. |
Para capacidades diferenciadoras, a mera codificabilidade normalmente é insuficiente. Simplificar a implementação pode ser compatível com preservar a capacidade; simplificar ou rebaixar a capacidade exige justificação própria.
Uma remoção ou rebaixamento material recebe razão explícita: REDUNDANT, INCOHERENT, THEORETICALLY-WRONG, REPLACE-EQUIVALENT ou OUT-OF-SCOPE. A ausência de exigência direta no Intent não torna automaticamente dispensável um compromisso de produto admitido por outra autoridade válida.
Polimorfismo e especialização
Polimorfismo e herança ou especialização tipada são capacidades de primeira classe protegidas. Sua realização deve conservar as diferenças entre parametrização, reutilização de estrutura e substituição semântica.
Polimorfismo não é herança. Herança não implica subtipagem. Subtipagem não determina identidade nominal. Parametrização genérica não se reduz a despacho dinâmico. Reutilizar um esquema não demonstra que um valor satisfaça o contrato semântico esperado por outro consumidor.
A substituibilidade possui julgamento próprio: um tipo substituto preserva as garantias do contrato de destino. A realização histórica baseada em ideias de System F<: é evidência técnica, não uma escolha compulsória do cálculo da linguagem corrente.
Independência da realização
O significado da linguagem permanece independente de um banco, layout ou backend específico. Uma implementação de referência pode escolher um substrato concreto, inclusive único. Independência do contrato e disponibilidade de vários backends são compromissos diferentes.
A arquitetura pode utilizar índices, caches, representações intermediárias e estratégias especializadas para realizar as operações. Otimizações são admissíveis quando conservam as propriedades semanticamente observáveis e as informações necessárias à reconstrução do resultado.
Bibliotecas e aplicações
A linguagem deve sustentar bibliotecas reutilizáveis, pacotes de domínio, ferramentas e integração de aplicações. Em aplicações semantic-native, significado, tipos, contexto, conflito, governança e proveniência participam do funcionamento do sistema.
O ecossistema é posterior à linguagem. Um produto, uma interface ou uma biblioteca pode especializar contratos para seu domínio; sua conveniência não redefine as distinções do núcleo. A retirada de uma implementação ou de uma antiga organização de pacotes não elimina, por si, o compromisso de oferecer reutilização semântica.
Desvios de produto incompatíveis
A evolução deve conservar a identidade descrita acima. São desvios incompatíveis: apresentar RDF ou Cypher apenas com outra sintaxe; limitar-se a um grafo de propriedades com anotações semânticas; reduzir o domínio a uma tabela universal de Claims; tratar event sourcing como definição da semântica; ou oferecer apenas ontologias enquanto validação, inferência e ação dependem de sistemas opacos sem contrato semântico de integração.
Também são incompatíveis o porte família por família da V1 sem rederivação, um núcleo reduzido que obriga o usuário a reconstruir manualmente capacidades essenciais e um framework cuja estrutura de runtime decide implicitamente a ontologia da linguagem.
O uso de uma tecnologia conhecida não exige herdar suas limitações de semântica ou de autoria. A escolha é avaliada pela capacidade que realiza e pelas obrigações que preserva.
Sequência de desenvolvimento
A sequência de produto é: design semântico, consequências arquiteturais, formalização suficiente, implementação sob FIOP, aceitação do produto e desenvolvimento das questões científicas adicionais.
A formalização suficiente impede que a implementação invente relações semânticas deixadas indeterminadas no contrato. Resultados formais mais fortes podem ser desenvolvidos depois da aceitação quando não forem condições da correção ou da aceitação do produto. O processo FIOP rege a execução do trabalho; não decide o significado da linguagem.
Liberdade arquitetural e critério de escolha
A arquitetura pode escolher representações intermediárias, portadores, layouts, índices, caches, estratégias de compilação, decomposição do runtime, realização do sistema de tipos, decomposição das operações e modelos de execução de consultas.
Essas escolhas devem reduzir pressupostos injustificados e heranças acidentais, aproveitar o conhecimento semântico validado e preservar a reconstrução das informações materiais. A alteração de um mecanismo é julgada por suas consequências sobre os contratos e as capacidades protegidas, e não pela semelhança com a implementação anterior.
Superfície concreta da linguagem
A superfície concreta do FormaSL define a escrita de fontes semânticas .fsl e de realizações .fsp. A sintaxe identifica a categoria de cada construção; a resolução seleciona seus referentes e revisões; a formação verifica as condições dos contratos aplicáveis. A elaboração mantém a correspondência entre o texto autorado e o programa semântico explícito.
Esta referência reúne as regras da base H1 com as modificações vigentes de H4, Post-H4 e P8. As leis de compressão H2 permanecem por incorporação em H4. Os endurecimentos de cabeças calculadas e de correlação de agregados R2 são tratados em seus loci próprios.
O arquivo EBNF da edição organiza as produções em uma única superfície de consulta. Predicados lexicais, resolução, formação e condições de completude descritos nesta página complementam a EBNF: reconhecer uma expressão gramatical não basta para admiti-la semanticamente.
Reconciliação ratificada: dois loci delimitados
Esta edição incorpora duas reconciliações de origem reproduzidas contra a base H1, a emenda H4 e a emenda Post-H4, agora com decisão do owner registrada em 2026-10-21 (campanha FORMA-DOC-NORMATIVE-SUCCESSION-CLOSEOUT-2026-10; registro completo em docs/campaigns/forma-doc-normative-succession-closeout-v0.1/decisoes/OWNER-DECISIONS.md).
G-N09-01 — cabeça de derivação: RATIFICADA (APPROVED_BY_OWNER). A base define rule_head_value = rule_term | bound_expression, e restringe valores calculados pelo perfil R2. Post-H4 torna o mapa de papéis de rule_atom parentetizado, mas apresenta derive utilizando esse átomo simples, que não transporta expressões de cabeça calculada. A forma ratificada conserva um rule_head_atom especializado com parênteses, cujos argumentos usam rule_head_value, e mantém derive consumindo essa cabeça. Não estende o domínio dos valores calculados, não os admite em R1/R3 e não abandona as condições de vinculação, finitude, pureza e definição do R2. Átomos de premissa when e naf continuam simples. Evidência executada: positivo R2 produtivo, UNDEFINED sem instanciação de cabeça, recusa tipada COMPUTED_HEAD_VALUE_NOT_ADMITTED, matriz canônica rc02r04 verde nesta árvore.
G-N09-02 — Claim local: RATIFICADA COMO GRAMÁTICA CANDIDATA (APPROVED_BY_OWNER, admissão executável condicionada). H4 desloca os papéis da Claim para o mapa parentetizado antes do corpo de metadados. Na aplicação local assert claim : Relação(...) { ... }, a forma ratificada insere claim_role_map após a referência da relação; preserva a ausência de nome da declaração, o emissor obrigatório e os campos de atribuição e base. Não introduz emissão implícita por execução, nem concede autoridade a um resultado. Estado executável medido: o parser atual admite apenas a forma nomeada e rejeita a forma local com recusa tipada (INVALID_IDENTIFIER); a admissão executável exige implementação em WP condicional futuro. Até essa implementação, a produção é gramática ratificada sem comportamento executável correspondente — nenhuma alegação de PARSER_CONFORMANT é emitida para este locus.
As outras formas consolidadas seguem os loci explícitos das emendas, incluindo Fonte.papel de R2. As produções G-N09-01 são NORMATIVE_CURRENT (alinhadas à superfície implementada e testada); a produção G-N09-02 é NORMATIVE_CURRENT_GRAMMAR / EXECUTABLE_ADMISSION_PENDING, e não PARSER_CONFORMANT.
Fontes e identificadores
Cada unidade .fsl contém exatamente uma declaração module; cada unidade .fsp, exatamente uma declaração realization. A unidade de fonte, o caminho de arquivo e o módulo possuem identidades diferentes.
A codificação é UTF-8. Identificadores seguem Unicode 17.0.0, com as classes XID de UAX #31 e o núcleo que admite sublinhado. A comparação de identificadores utiliza NFC e distingue maiúsculas de minúsculas. Grafia bruta e posição na fonte continuam disponíveis separadamente da chave normalizada. Semelhança visual entre caracteres não estabelece igualdade.
Um identificador entre acentos graves permite utilizar uma palavra que colidiria com uma função estrutural reservada. O token _ sem escape é um curinga anônimo; `_` designa um identificador. $nome designa uma variável lexical e ?nome, uma variável testemunhal nos loci que a admitem.
Os seletores têm funções próprias: :: qualifica nomes; . seleciona membros tipados; @ seleciona a revisão exata de uma referência nominal; # seleciona um locus de aplicação para realização. A revisão vincula-se à referência nominal completa antes da seleção de membros.
Espaçamento, comentários e literais
Fora de strings e comentários, espaço U+0020 e tabulação U+0009 são o espaçamento horizontal admitido. Indentação não determina a estrutura da linguagem. As quebras LF, CRLF e CR preservam sua correspondência com a fonte e recebem uma classificação: terminador de cláusula, quebra de layout de bloco ou continuação suave.
Dentro de parênteses, colchetes e regiões de argumentos de tipo reconhecidas, a quebra é continuação suave. Fora delas, uma cláusula simples completa usa quebra de linha terminadora ou ;. Entre itens de um corpo com chaves, as quebras de layout são trivia lexical. Uma expressão incompleta precisa de agrupamento explícito para continuar; a quebra não cria continuação nem ordem semântica por conveniência.
// inicia comentário de linha. Linhas /// consecutivas, imediatamente antes de uma construção documentável e sem linha vazia ou token intermediário, formam sua documentação de fonte. A superfície H1 não admite comentários de bloco.
Strings usam aspas duplas e admitem escapes para barra, aspas, nova linha, retorno, tabulação e u{...}. O escape Unicode contém de um a seis dígitos hexadecimais e identifica um valor escalar válido, excluídos substitutos e valores acima de U+10FFFF. Caracteres brutos de controle Cc, quebras físicas, aspas e barras exigem o tratamento definido pelo contrato lexical. O conteúdo de strings e comentários não recebe normalização NFC.
Inteiros e decimais são de base dez; sublinhados só aparecem entre dígitos. Um zero inicial não muda a base. Não há sintaxe exponencial H1 e o sinal é um operador. Quantidades possuem um sufixo ASCII iniciado por letra, seguido de letras, dígitos ou sublinhados. O significado de uma unidade depende do contrato exato de tipo, campo ou slot consumidor. Não há literal universal de nulo.
Origem e formação de contratos
Toda construção material obtém seu contrato por uma das quatro rotas: referência explícita; contrato da declaração resolvida; contrato nativo da revisão da linguagem; ou síntese estrutural definida pelo responsável semântico. A rota e a revisão permanecem reconstruíveis.
Uma consulta match sem using utiliza a síntese de Query prevista na linguagem. Uma composição não opaca sintetiza seu contrato a partir de sua estrutura. Síntese não significa selecionar um contrato por nome parecido, estado corrente implícito ou preferência do runtime.
Campos de contrato são resolvidos pela combinação entre locus, revisão exata e referência do campo. Campos desconhecidos, ambíguos ou que colidam com cláusulas estruturais são recusados. Um campo de extensão não pode ocultar a introdução de vínculos, escopos, categorias, autoridade ou estados de fonte.
Nos loci de instância elegíveis, omitir um bloco vazio significa fornecer um conjunto vazio de campos autorados ao mesmo contrato exato. Isso se aplica a analyze, validate, admit, authorize, decide, revise, execution_request, observe e incorporate, além das formas locais autodelimitadas correspondentes. A omissão só é válida quando nenhuma informação autorada obrigatória falta. Corpos que contêm semântica de Reasoning, transformação, cenário ou evolução de fonte permanecem obrigatórios.
Expressões e tipos
A precedência das expressões vai de seleção de membros a operações unárias, multiplicação e divisão, adição e subtração, comparação, and e or. Expressões vinculadas acrescentam variáveis testemunhais ao repertório comum. Uma chamada em posição de expressão requer um contrato exato de chamada pura; uma chamada em posição de aplicação requer uma aplicação semântica nomeada.
Operadores são selecionados pelos contratos dos operandos, pelo contexto esperado e pela base exata de tipos e operadores. A linguagem não adota verdade por coerção, ordem entre quaisquer tipos, conversão de unidades, ampliação de precisão ou tratamento de overflow a partir da linguagem hospedeira.
Listas e registros são construídos sob contratos exatos de coleção e valor. A pontuação não escolhe universalmente conjunto, multiconjunto ou sequência, nem introduz Claim, observação, decisão ou consequência por semelhança estrutural. Query, Reasoning e transformação mantêm suas próprias regras de definição e avaliação de valores.
Referências de tipo admitem argumentos e parâmetros com limites <:. Parâmetros declarativos e parâmetros de aplicação têm papéis diferentes. O parâmetro comum de aplicação escreve-se $x: T e recebe o papel ordinário fixado pela revisão da linguagem. Uma dependência tipada escreve-se depends R $x: T. O token positivo input não integra essa forma canônica.
A assinatura -> T restringe a interface estática de conteúdo exportada sob o contrato do produtor. Ela não altera estatuto, completude, base, dependências ou vocabulário de desfechos.
Módulos e declarações
Módulos reúnem importações, exportações, interfaces, declarações semânticas, subtipagem, Claims, aplicações e composições. Importações e exportações podem selecionar e renomear vínculos. Interfaces publicam declarações por cláusulas expose. A admissão do módulo não executa suas aplicações.
A categoria é o primeiro token estrutural das declarações canônicas: type, alias type, distinct type, opaque type, relation, theory, ontology, rule, constraint, policy, hypothesis, action e content. O prefixo cerimonial define foi substituído, não mantido como segunda forma canônica.
Tipos podem ter parâmetros e especialização. A declaração subtype S <: T possui julgamento próprio. Relações declaram papéis por role, com um tipo admissível ou um contrato accepts. Os blocos de papel podem declarar cardinalidade com unidade de contagem, multiplicidade, ordenação, chaves, qualificação e correlação. Um papel simples não recebe cardinalidade, ordem ou multiplicidade implícitas.
Teorias e ontologias podem declarar use, statement e adopt, além dos campos de seus contratos. Regras, restrições e políticas mantêm categorias próprias mesmo quando uma teoria as referencia. Declarações de conteúdo, hipóteses e ações também preservam suas funções; declarar conteúdo não realiza uma afirmação ou observação.
Claims
Uma asserção nomeada separa o mapa de papéis do conteúdo e os metadados do ato: o primeiro aparece entre parênteses no cabeçalho; o segundo, no corpo. Os papéis são resolvidos contra a relação exata. Ausência de papel obrigatório, duplicação, nome desconhecido e valor inadmissível recebem recusa correspondente.
O cabeçalho de atribuição exige by; for e under têm os papéis definidos pela emissão e representação. As qualificações admitidas incluem based_on, valid_at, recorded_at, scope, frame e support.
import claim referencia uma afirmação existente. adopt claim, retract claim e supersede claim utilizam seus contratos de transição. Para essas três transições, o esquema exato admite os campos by, for, under, based_on, valid_at, recorded_at, scope, frame e support; somente by é obrigatório. Campo desconhecido é UNKNOWN_CONTRACT_FIELD; repetição é CONTRACT_FIELD_STRUCTURAL_COLLISION; ausência de by é MISSING_REQUIRED_CONTRACT_FIELD. Um bloco vazio, portanto, não satisfaz essas transições.
Os valores seguem a elaboração dos metadados de asserção. Enumerar campos não inventa o significado de seus valores. Importação, adoção, retração e sucessão permanecem acontecimentos semanticamente distintos.
Consulta e vinculação
match declara uma consulta com assinatura, contrato opcional e corpo. Os itens de correspondência abrangem padrões relacionais, caminhos, condições, blocos opcionais, existência, não existência e alternativas. Agrupamentos, projeções, agregações e seletores organizam o resultado.
O padrão relacional canônico preserva o marcador pattern, a variável da ocorrência e um mapa nomeado entre parênteses. Uma variável testemunhal nova introduz vínculo; uma variável visível repetida impõe compatibilidade. O curinga _ não cria vínculo nem correlação.
Um vínculo presente em todos os ramos sobreviventes é definitivamente vinculado. Um vínculo visível que possa faltar permanece potencialmente não vinculado. Variáveis locais de existência não escapam; variáveis dos ramos seguem as regras de presença e visibilidade. Ausência em bloco opcional não produz nulo ou desconhecimento.
Blocos vazios e ramos vazios exigem semântica de identidade ou vazio admitida pelo contrato de Query naquele locus. Subcontratos explícitos de alternativas precisam ser compatíveis com o contrato de origem.
limit exige ordem semântica. any K declara uma seleção AnyK. order seguido de limit só equivale a top-k quando o contrato demonstra essa equivalência. top identifica também o contrato de desempate. A seleção da família de caminhos e a seleção dos resultados da consulta são loci diferentes. Uma visão de grafo produzida por consulta conserva estatuto de resposta de Query.
Caminhos de incidência
path liga uma variável de caminho a extremos de origem e destino. Um step identifica a relação e os papéis exatos de origem e destino. A repetição declara limites e pode nomear grupos; alternativas explicitam multiplicidade set, multiset ou um contrato exato.
Cada caminho admite no máximo uma cláusula reuse e uma selector. Políticas compostas utilizam uma referência contratual apropriada, sem resolução por primeira ou última cláusula. Filtros each e resumos operam sobre a estrutura definida pelo contrato de caminhos.
A ordem semântica é geração de candidatos, predicados locais, admissibilidade por reuso ou restrição, seleção de caminhos e pós-filtro externo da consulta. Uma realização pode reordenar trabalho quando demonstra a preservação desse significado.
repeat n..* requer que o contrato exato determine uma condição admissível de finitude, completude ou fluxo. A construção pode ser justificada por restritores, reuso, seletores, domínio finito ou outro mecanismo admitido pelo responsável Query. A mera presença da repetição não fornece sua própria garantia. Sem base suficiente, a formação retorna INVALID_UNBOUNDED_PATH_FORMATION. A forma repeat n..m, com limite superior finito, possui finitude estrutural.
Regras e inferência
Uma regra identifica seu contrato em using, parâmetros testemunhais opcionais e cláusulas. when introduz premissa positiva; naf, negação por falha sob o perfil e a base de fechamento apropriados; where, condição; exists, testemunha existencial; derive, consequência com polaridade; aggregate, agregação própria do perfil Reasoning.
O alvo de using possui uma disposição de formação definida. Uma teoria ou ontologia fornece autoridade de raciocínio selecionada ou admitida por uma cadeia autorizada. Uma relação fornece coordenada de conteúdo e dependência, sem autoridade de teoria; sua alcançabilidade decorre da cadeia de regras admitida ou dos objetivos declarados. Conteúdo nomeado participa somente sob a autoridade selecionada, sem obter autoridade a partir de objetivos ou cabeças. As demais categorias sem disposição nesse locus são recusadas. A seleção utiliza identidades exatas, não rótulos, prefixos ou ordem de fonte.
Átomos de premissas utilizam mapas de papéis entre parênteses e termos simples. Cabeças calculadas acrescentam a categoria de valor expressional sob o contrato de geração de valores R2. A base documental registra um desencontro de produção entre a cabeça especializada e a emenda Post-H4; sua resolução está isolada no registro de pendências desta edição, sem criar uma forma alternativa por decisão do consolidador.
No contrato executável R2 identificado pela superfície, cabeças calculadas admitem o portador aritmético de variáveis, literais, referências, sinal negativo e +, -, *, /, com suas regras de definição. Comparações e conectivos de where não fornecem automaticamente valores booleanos para papéis. Chamadas puras, seleção de membros, listas e registros sem contrato R2 de valor são recusados com COMPUTED_HEAD_VALUE_NOT_ADMITTED. R1 e R3 não admitem essas cabeças calculadas. Entradas precisam de vinculação positiva ou de agregado concluído, e a geração de valores não pode constituir ciclo. Se um valor calculado da conjunção de cabeças for indefinido, nenhuma cabeça dessa conjunção é instanciada para aquela substituição.
Agregados de Reasoning
COUNT, SUM, MIN e MAX são contratos nativos da base exata de operadores R2. Não dependem de importação e não são selecionados por uma declaração de usuário com grafia semelhante. A identidade do operador não transfere a ele a jurisdição sobre fonte, grupos, multiplicidade ou fechamento.
COUNT(Relacao) conta conteúdos de Reasoning distintos da assinatura exata no estrato inferior concluído. SUM(Relacao.papel) e os demais redutores utilizam uma raiz estática de fonte e a expressão de valor admitida. Variáveis de execução não escolhem a assinatura; chamadas com aparência de padrão, múltiplas raízes e COUNT(A.x) como contagem distinta de escalares não são atalhos admitidos.
Os componentes de by são exatamente ?v, Fonte.papel e Fonte.papel as ?v. Existem dois modos completos: MemberDerived, com projeção do membro e eventual vínculo de saída, e SeededCorrelated, com semente externa e projeção do membro.
Em Fonte.papel as ?v, uma vinculação positiva independente de ?v determina o modo semeado; caso contrário, a forma introduz uma saída derivada do membro. Um vínculo de saída de agregado não se transforma em semente independente de outro agregado. Em by ?v, a forma abreviada exige exatamente um papel distinto da fonte exata explicitamente ligado à variável por premissas positivas. Nenhum papel gera AGGREGATE_GROUP_CORRELATION_REQUIRED; vários geram AMBIGUOUS_AGGREGATE_GROUP_CORRELATION.
Cada vínculo de saída derivado tem uma única introdução e difere do vínculo do resultado do agregado; colisões retornam AGGREGATE_GROUP_BINDER_COLLISION. Referências externas e projeções de membros mantêm ambientes separados. A ordem estrutural da tupla de grupo é preservada. Uma tupla inteiramente semeada pode estabelecer grupo vazio; uma tupla mista sem membro sobrevivente não fabrica a coordenada derivada que falta.
Transformação, governança e cenários
analyze seleciona seu contrato de análise; infer declara a base e os objetivos de raciocínio. transform declara fontes e regras de construção. Cada regra de transformação identifica a correspondência e o modo de contribuição: por ocorrência de correspondência, por chave distinta ou por grupo. A construção de alvos conserva chaves, papéis, referências e as políticas de colisão, cobertura e perda. Construir o destino não implica modificar a origem nem autoriza atualização inversa.
validate, admit, authorize, decide e revise são aplicações com contratos diferentes. execution_request e observe mantêm separadas solicitação, tentativa, efeito e aquisição. Falha de aquisição não se torna observação negativa.
scenario fixa uma base por from, admite qualificações e deltas definidos por seu contrato e compõe operações dentro do contexto hipotético. assume, mask, substitute, introduce local e transition hypothetical possuem alcances próprios. A autoridade de um cenário não fornece saída para o mundo de base.
evolve source declara base, agente e mudanças de vínculos ou conteúdo. incorporate é uma transição própria, cujo contrato exige as referências de artefato, fonte, base, agente e autoridade pertinentes. Preparar fonte e introduzir um estado autoritativo são acontecimentos diferentes.
Composição e escopo
let vincula um resultado. stage identifica um locus de aplicação nomeado na composição. order estabelece precedência semântica; couple expressa acoplamento sob um contrato. Os rótulos de estágio são declarados no escopo relacional antes de resolver ordem e acoplamento; duplicações são recusadas. Variáveis de resultado conservam escopo lexical e dependência de dados.
A invocação nomeada escreve-se Aplicacao(argumento: valor) na posição de aplicação, sem apply. Na posição de expressão, a mesma aparência sintática exige um contrato de chamada pura. O locus fixa a categoria esperada antes da resolução.
A passagem de resultado para conteúdo é explícita e só utiliza membros que o contrato exporta. case resolve nomes, aridades e tipos pelo vocabulário de desfechos do resultado examinado. Seus vínculos são locais ao ramo. return e unresolved também seguem o contrato da composição.
Em uma composição estruturalmente sintetizada, um unresolved autorado participa da superfície de conclusão e pode introduzir o desfecho correspondente, sujeito à formação e à interface do resultado. Sob um contrato externo exato, esse desfecho precisa já estar admitido. Nenhuma dessas regras transforma automaticamente timeout, cancelamento, falha de provedor ou esgotamento de gas em inconclusão semântica.
A síntese conserva identidade e revisão da composição, interfaces, loci, dependências, ordem, acoplamentos, rotas de desfecho, alcançabilidade, obrigações de conclusão, interações de ciclo de vida, requisitos de realização e correspondência com a fonte.
Realização .fsp
Valores de realização abrangem literais, referências qualificadas, referências external, listas e registros próprios de realização. Não recebem variáveis semânticas $ nem chamadas puras .fsl por herança implícita.
Um alvo começa pela categoria: app, stage, composition, module, source ou capability; não usa o antigo prefixo for. app X identifica a declaração de aplicação; stage Dono#s, o locus exato de ocorrência de aplicação. Alvos ambíguos ou inválidos são recusados.
bind associa um slot a um valor; require declara uma exigência; limit limita recursos; prefer expressa preferência; budget estabelece um orçamento. Os slots e valores são verificados pelo esquema exato do alvo. Uma referência externa não é um segredo em texto aberto. A vinculação tardia de provedor não autoriza escolha tardia de significado.
Grupos de realização utilizam membros únicos por locus resolvido e obrigações conjuntas. Satisfazer cada membro isoladamente não demonstra a satisfação conjunta. Um grupo unitário só é admitido quando seu contrato o torna não vazio de efeito. O grupo pode realizar um acoplamento semântico existente, mas não criá-lo.
Escopos mais específicos podem completar escolhas e reforçar exigências compatíveis; não enfraquecem requisitos semânticos ou restrições obrigatórias. Ordem de fonte não define prioridade.
Correspondência e diagnósticos
A elaboração conserva ou torna reconstruíveis a unidade e revisão de fonte, posições e grafias brutas, chaves normalizadas, categoria e hierarquia das construções, identidades de vínculo e declaração, contratos exatos selecionados ou sintetizados, contratos de resultado, loci de aplicação, consulta, caminho, regra, construção, ciclo de vida e realização.
Descendentes sintéticos são determinados pelos loci autorados. A recuperação do parser pode variar depois de registrar a recusa normativa, mas não admitir silenciosamente uma fonte inválida.
O catálogo associado separa erros lexicais, de referência, tipo, contrato, papéis, escopo, consulta, raciocínio, construção, cenário, composição e realização. Esses diagnósticos não equivalem a falso, desconhecido ou falha operacional. Os identificadores S-I01 a S-I46 permanecem no mapa de correspondência como obrigações de superfície, incluindo a separação entre ordem de fonte e execução e entre gravação física e autoridade semântica.
Execução e completude de consultas
O contrato de execução e completude de Query — QEC — determina a realização de redutores e caminhos já admitidos pela linguagem. Ele conserva o estatuto QueryAnswer, as identidades e qualificações dos resultados, a multiplicidade da consulta e seus critérios de conclusão.
Sua jurisdição abrange COUNT, SUM, MIN, MAX, execução de path, portadores de resultados afetados e a interface de aceitação dessas capacidades. O contrato é subordinado às fundações, à capacidade Query, à superfície concreta vigente e aos contratos de conformança e obrigações formais. A especialização não redefine agregados de Reasoning, o modelo de armazenamento ou o sistema geral de tipos.
Vinculação e definição dos valores
O ambiente de vinculação é um mapa parcial de variáveis Query para valores Query. Uma variável ausente produz Q-UNBOUND. Uma expressão ou um redutor que não possui resultado definido produz Q-UNDEFINED, acompanhado da razão pertinente. São situações diferentes de valor, desconhecimento epistêmico ou nulo semântico.
Na projeção parcial, Q-VALUE(v) vincula o destino a v. Q-UNBOUND conserva a solução sem vincular o destino. Q-UNDEFINED(r) também conserva a solução e deixa o destino ausente, mantendo a razão quando ela participa do perfil de observação do consumidor.
As classes lexicais e semânticas de inteiro, decimal, quantidade, string e booleano permanecem distinguíveis através da elaboração. O executor não pode reconstruí-las por tentativa de interpretar strings depois de perder essa distinção.
A formação de um redutor estabelece ReducerDomainAdmissible(expressao, operador, base) e obtém uma referência exata a um contrato de domínio ou uma recusa tipada. A admissão precede a execução. O tipo Rust, o nome de uma declaração, o payload do provedor e o sucesso do parser não substituem esse julgamento.
Identidade dos operadores
Os quatro redutores utilizam identidades exatas da base de operadores da linguagem. A grafia de uma função hospedeira ou a presença de um redutor homônimo em Reasoning não seleciona o contrato Query.
Contagem
O contrato distingue COUNT_SOLUTIONS, COUNT_BOUND(expr) e COUNT_DISTINCT_BOUND(expr). A forma COUNT(expr) realiza COUNT_BOUND(expr), salvo quando outro contrato exato de superfície designar expressamente a contagem de soluções.
Cada solução cujo argumento produz Q-VALUE contribui com um. Argumentos não vinculados ou indefinidos contribuem com zero. Uma tradução de expressão não suportada é recusada; não é substituída por contagem de soluções.
Soma
SUM exige um contrato de domínio D com identidade aditiva e operação de adição fechada em D. As leis exigidas incluem identidade à esquerda e à direita, associatividade e comutatividade suficientes para preservar o resultado independentemente da representação e da ordem física da iteração.
A denotação é exata. Overflow físico, saturação, retorno circular, aproximação de ponto flutuante e coerção do provedor não se tornam a semântica da soma. O mecanismo escolhido deve realizar o contrato admitido ou apresentar a condição de falha correspondente.
Mínimo e máximo
MIN e MAX exigem uma ordem total determinante sobre o domínio admitido ou suas classes de equivalência, com consistência de comparação, transitividade e antissimetria módulo equivalência de valores. A linguagem não estabelece uma ordem total universal entre domínios diferentes.
Política de entrada e grupos
No contrato Query sintetizado H1, a política de entrada dos redutores SUM, MIN e MAX é REJECT_NONVALUE, quando não houver outra política explícita admitida. Valores do domínio participam; argumento não vinculado, indefinido ou fora do domínio torna o resultado do redutor Q-UNDEFINED. O runtime não escolhe silenciosamente ignorar o item ou substituir um valor padrão.
Um redutor definido vincula seu alias. Um redutor indefinido conserva a solução de grupo, deixa o alias ausente e preserva a observação de definição material. A indefinição não remove o grupo nem cria zero, string vazia, referência sentinela ou nulo.
Sem expressões de chave, o estágio de agregação possui exatamente um grupo global, inclusive sobre uma família de entrada vazia. Para um grupo existente vazio, COUNT produz zero; SUM, a identidade aditiva do domínio; MIN e MAX, Q-UNDEFINED(EMPTY_REDUCTION). Chaves explícitas não autorizam fabricar grupos sem uma observação de chave admitida.
Chaves sem valor usam classes locais de ausência e definição de Query. Onde ambas forem materiais, GroupKey::Unbound e GroupKey::Undefined permanecem distintas. Essas categorias estruturais não são valores semânticos do domínio.
Coerência do estágio de agregação
Um locus de agregação corresponde a um estágio coerente com família de soluções de origem, expressões de chave, especificações de redutores e condição having. Todos os redutores do estágio consomem a mesma família anterior à agregação. A ordem de um laço de implementação não cria agregações aninhadas acidentais.
Toda chave autorada possui uma correspondência executável ou gera recusa tipada. Omitir silenciosamente uma chave muda o significado do grupo.
A conclusão do agregado depende da conclusão da família de entrada exigida pelo critério. Este perfil não introduz uma política de agregação parcial: uma entrada incompleta não sustenta um agregado completo.
Estrutura dos caminhos
A realização de um caminho conserva sua variável, extremos, expressão composta, relações e passos de incidência, limites de repetição, política de caminho vazio, multiplicidade de alternativas, reuso, seletor, predicados locais, resumos, campos materiais e base de revisão. Cada coordenada permanece diretamente acessível, referenciada com exatidão ou realizada por uma ponte de representação verificada.
Um passo atômico percorre uma ocorrência admitida de relação pelos papéis exatos from_role e to_role. A posição corrente deve corresponder à incidência do papel de origem; a posição seguinte é a incidência do papel de destino da mesma ocorrência. Encontrar o mesmo valor em qualquer outro papel não satisfaz esse passo.
Cada passo selecionado produz uma TraversalOccurrence local a Query. Sua estrutura permite recuperar instância e contrato da relação, papéis e valores de origem e destino, evidência de participação quando disponível e qualificações materiais. Ela não é uma aresta física nem uma identidade semântica de participação fabricada pelo executor.
QueryPathValue preserva os percursos ordenados, os extremos, a linhagem e a base de equivalência do caminho. QueryPathGroupValue preserva os segmentos de repetição em ordem e a estrutura aninhada material. Achatar segmentos que são distinguíveis por each, resumos, igualdade ou outro consumidor altera o contrato.
Um caminho vazio contém zero percursos e um extremo conhecido que é simultaneamente origem e destino. Sua introdução exige extremo já vinculado ou um contrato explicitamente completo para o domínio de extremos. Falha ou ausência de caminho não cria caminho vazio; o executor também não inventa um referente para representá-lo.
Alternativas, equivalência e reuso
Alternativas de multiconjunto conservam a multiplicidade derivada dos ramos. Alternativas de conjunto colapsam caminhos apenas quando a comparação contratada estabelece equivalência. A comparação admite EQUIVALENT, DISTINCT e UNRESOLVED; uma relação não resolvida não é convertida em equivalência ou diferença quando essa decisão afeta a conclusão.
A equivalência depende somente das coordenadas materiais do contrato e permanece invariável por representação. Limites de segmentos de repetição participam da comparação quando observáveis. Colapsar conteúdo equivalente não autoriza perder linhagem exigida pela consulta.
Referências de reuse, selector e alternative using percorrem cadeias contratuais acíclicas até uma raiz de capacidade Query autorizada pela revisão da linguagem. A identidade da declaração personalizada é mantida. Grafia, rótulo, autodeclaração, enum de runtime ou convenção de fixture não demonstram a capacidade. Ciclo ou ausência de raiz admitida implica recusa.
O perfil distingue quatro políticas: REPEATABLE, NO_REPEAT_RELATION_INSTANCE, NO_REPEAT_SEMANTIC_REFERENT e NO_REPEAT_PARTICIPATION_OCCURRENCE. A avaliação produz REUSE_ALLOWED, REUSE_REJECTED ou REUSE_UNRESOLVED.
Quando o contrato de relação ou papel não determina a comparação de ocorrências de participação, essa fronteira conserva o estado não resolvido. Identidade da relação, nome do papel, posição de array, chave de serialização e registro físico não são substitutos autorizados da identidade de participação.
Seletores e critérios de conclusão
Os seletores padrão operam sobre a família exata de caminhos admissíveis de uma invocação correlacionada.
| Seletor | Critério de conclusão |
|---|---|
ALL | A família relevante de caminhos admissíveis está determinada e fechada. |
ANY | Um caminho admitido pode satisfazer a seleção; uma resposta sem caminho exige evidência de fechamento. |
ONE_SHORTEST | Há um caminho admitido de comprimento L e evidência de que nenhum caminho menor continua possível. |
ALL_SHORTEST | Além de determinar o menor comprimento L, todos os caminhos admissíveis desse comprimento estão determinados. |
Candidatos não resolvidos afetam a completude sempre que puderem alterar o resultado do seletor. O comprimento padrão conta passos atômicos semânticos, não arestas de armazenamento, bytes, custo ou saltos de provedor.
Seleção do menor caminho por extremo, grupo ou partição exige contrato próprio. A implementação não cria esse particionamento com base em valores de debug, vínculos visíveis ou coincidência dos extremos.
Antes de verificar o seletor, verifica-se a cobertura dos candidatos nos dois sentidos: todo candidato gerado corresponde a caminho normativo; todo candidato normativo é gerado ou está explicitamente contabilizado como não resolvido ou incompleto. Um seletor correto sobre um subconjunto escolhido pelo próprio executor não basta.
Repetição e avaliação correlacionada
Repetição não limitada exige a condição de finitude, completude ou fluxo admitida pelo contrato exato e pelos contratos de restrição, reuso, seleção ou domínio. Limites de fila, gas, timeout e número de ocorrências da representação não substituem essa condição semântica.
A avaliação recebe o ambiente corrente de vinculação. Extremos e vínculos já visíveis restringem a geração por compatibilidade ordinária. Percorrer todo o espaço sem correlação e sobrescrever vínculos depois só é admissível com equivalência demonstrada sob o perfil completo de observação.
A sequência semântica é: candidatos; predicados locais; admissibilidade por reuso e restrição; família admissível; seletor; família selecionada; pós-filtro externo. Uma reordenação operacional precisa preservar essa sequência de interpretação.
each percorre os segmentos ordenados do grupo de repetição, e não tokens brutos de ocorrência definidos por convenção do executor. Resumos permanecem Query e reutilizam os mesmos contratos de redutores. Comprimento e contagem padrão medem a estrutura semântica do caminho.
Resultados públicos e representação de máquina
O portador público distingue valores semânticos, valores de ocorrência relacional, percursos, caminhos, grupos de caminhos e outras estruturas locais admitidas por contrato Query. Uma estrutura local a Query não é promovida a referência de entidade do domínio porque ambas podem ser serializadas.
Quando o alias fica ausente por indefinição, a saída conserva a observação ou razão exigida pelo perfil consumidor. A representação de máquina revisão 0 permanece congelada. Valores Query estruturados utilizam a revisão 1 ou uma rota sucessora compatível, com discriminação explícita; não são codificados como referências genéricas.
Uma avaliação utiliza uma cadeia compatível de revisões do contrato Query, domínios de redutores, contrato de caminhos, políticas de reuso e seleção, relações e papéis, base Query e proveniência pública. Misturar revisões exige correspondência ou transição explicitamente verificada.
Esgotamento de gas, ausência de correspondência completa, resultado vazio, parcialidade, reuso não resolvido e indefinição de valor permanecem situações diferentes. Uma fonte semanticamente admitida pode ser recusada por uma realização que ainda não possui a capacidade necessária; essa recusa não é uma conclusão completa.
Orçamento de leis e escopo
São exigências do núcleo deste contrato a jurisdição Query, o estatuto de resposta, a distinção de vinculação parcial, a identidade semântica, os caminhos nativos de incidência, a multiplicidade e a linhagem, a completude relativa à base e os contratos exatos de valor e operador. A aceitação exige independência da evidência em relação ao defeito examinado.
Álgebras de domínio de redutores, políticas personalizadas, menores caminhos particionados e políticas de agregação parcial ou em fluxo pertencem a especializações explícitas. Igualdade hospedeira, ordem hospedeira, chaves físicas e término de execução não fornecem essas leis implicitamente.
O recorte QEC não fecha uma álgebra numérica universal, conversões de unidades, análise de menor custo ponderado, programas arbitrários de travessia com estado, distribuição ou federação de caminhos, otimizador de custos ou nova mecanização das obrigações FO-L3-02 e FO-L3-03.
Interface de aceitação
O índice contratual QEC das 43 obrigações preserva a grafia exata de cada identidade, sua referência de proposição e sua classe de determinação. O índice é um mapa de rastreabilidade editorial, não um novo registro normativo nem um atestado de execução.
A raiz de suficiência reúne todas as 43 obrigações ativas: QA-V01 a QA-V04, QA-A01 a QA-A12, QP-C01 a QP-C06, QP-R01 a QP-R04, QP-M01 a QP-M03, QP-S01 a QP-S06, QP-L01 a QP-L03 e QX-01 a QX-05. Remover uma obrigação, mudar sua classe ou enfraquecer sua proposição exige a decisão correspondente da autoridade superior.
Cada caso normativo fixa programa, contrato, base, revisões, expressões, relações oficiais de satisfação, família de entrada, testemunhos, linhagem e políticas materiais. O caso executável deve provir da rota real de fonte, resolução, elaboração, ponte e execução. Um executor sintético pode servir de oráculo independente, mas não representar a rota de produção que deve ser demonstrada.
A ponte de representação é bidirecional e indexada pela obrigação. Para cada coordenada normativa material deve existir representação executável; cada coordenada executável material deve corresponder a uma coordenada normativa. A ponte preserva o papel observável e não introduz autoridade ou estatuto ausente do caso de origem. Materialidade é determinada pelo fluxo de dados e controle e por perturbações relevantes, não por um campo autodeclarado.
O universo fechado QECMaterialCoordinate abrange classes de literal e evidência de tipo; identidades de expressão e operador; argumento, chave, alias, política de entrada, domínio e origem do estágio de agregação; presença, definição e linhagem; vínculos de caminho e extremos; passos e papéis por posição; repetição e segmentos; multiplicidade, reuso, seletor, predicados, resumos, qualificações e evidência de correlação; equivalência e conclusão; revisões de contratos e base; categoria do valor público, observação pública de definição e revisão do esquema de máquina.
A fronteira oficial de comparação de ocorrências admite exatamente SAME_OCCURRENCE, DISTINCT_OCCURRENCE e OCCURRENCE_RELATION_UNRESOLVED. O último deve propagar-se a REUSE_UNRESOLVED quando for material. Uma comparação por identidade da relação ou registro físico só poderia ser usada mediante ponte específica verificada; não é equivalência padrão.
Formação, execução e discriminação
AH1 separa os deveres de formação e execução: QA-A02 verifica as pré-condições do domínio de soma; QA-A11, a soma executada e sua invariância por ordem física. QA-A03 verifica a ordem exigida por mínimo e máximo; QA-A12, os extremos efetivamente produzidos.
QP-R02 exige testemunhas discriminantes para cada um dos seis pares não ordenados das quatro políticas padrão de reuso. QP-R03 exige casos habitados para os três desfechos de comparação de ocorrências, inclusive o não resolvido. QX-02 exige cobertura de candidatos nos dois sentidos antes de atribuir correção ao seletor.
As classes de evidência são: auditoria estática de correspondência; propriedade ou teste hostil executado na rota de produção; oráculo diferencial independente; testemunho público ponta a ponta; testemunho da revisão de esquema de máquina; e auditoria de roteamento de autoridade no repositório.
Os casos mínimos incluem classes de literal, discordância entre aritmética hospedeira e domínio admitido, permutação física da soma, não vinculado versus indefinido, grupo global vazio, dois redutores sobre a mesma origem, contagem de expressão, chave não suportada, mesmo valor em papéis diferentes, ocorrências compartilhando referentes, correlação não resolvida, seis discriminações de reuso, conjunto versus multiconjunto, segmentos com mesmo achatamento, candidato menor não visitado, vários menores caminhos iguais, extremo previamente vinculado, ciclos com políticas diferentes, repetição ilimitada sem base, nome enganoso de política, ciclo de using, revisões incompatíveis e estrutura revisão 1 recusada pela revisão 0.
Integridade do contrato de aceitação
As proposições canônicas de OBLIGATIONS.toml têm campos materiais congelados: identificação, estado, autoridade, classe, determinação formal, proposição, quantificadores, contexto, portadores oficiais, ponte, antecedente, consequente, pressupostos, leis proibidas, classe de artefato, não vacuidade, substitutos proibidos, identidade e forma de aceitação, classes de evidência e condição de falha.
O digest canônico desses campos é verificado independentemente do manifesto de arquivos. Regerar checksums não autoriza enfraquecer uma proposição. A identidade do validador também pertence à base de confiança identificada pelo pacote.
A bateria de mutações deve recusar: trocar uma proposição por outra trivial; rebaixar a classe; substituir ocorrência opaca por proxy relacional; omitir uma obrigação; tornar a ponte unidirecional; reduzir as seis discriminações a uma; omitir o caso não resolvido; alterar decisão ratificada; reclassificar uma obrigação atual como não mecanizável; satisfazer roteamento por marcador contraditório; retirar bloco exato de autoridade; ou alterar um bloco congelado.
Condição de fechamento
O fechamento executável reúne evidência das 43 obrigações, validador de contrato, mutações adversariais, verificações Rust pertinentes, propriedades específicas de Query, oráculos independentes de redutores e caminhos, testemunhos públicos completos, esquemas por revisão e uma nova revisão hostil da superfície afetada.
FO-L3-02, de linhagem e multiplicidade, e FO-L3-03, de conclusão e seletores, podem ser revalidadas por essas evidências e continuam DEFERRED-NON-BLOCKING enquanto não houver uma campanha própria que demonstre a mecanização. Um relatório documental não muda sua classe.
A autorização de implementação do pacote original exige decisões ratificadas, interface AH1 preservada, revisão adversarial, mutações, validador, congelamento e roteamento real de autoridade. Na sucessão documental, esses requisitos são transferidos juntamente com suas proposições e seus ativos de verificação; a produção desta página não declara uma nova execução desses gates.
Índice de aceitação QEC — identidades exatas e proposições
Natureza: registro auxiliar editorial; não substitui OBLIGATIONS.toml nem seu digest congelado. Origem: blob Git 4289cddbe110be28457f2a345be24f3a6ee14b0f em 14c593c4…. A leitura da origem atestou estruturalmente 43 registros ativos, sem IDs repetidos, cada qual com seus 22 campos presentes. Nenhum ensaio QEC foi executado nesta edição.
Cada linha aponta para sua proposição de aceitação (AH1) e para a seção temática do contrato consolidado; essa rota temática não é uma prova de equivalência entre o texto sucessor e a proposição completa. Os campos exatos — quantificadores, modelo, antecedente, consequente, oráculos, pressupostos, recusas e evidências — permanecem regidos pelo registro canônico até a sucessão verificada.
| ID canônico | Proposição exata | Assunto canônico | Classe | Determinação | Rota temática |
|---|---|---|---|---|---|
QA-V01 | QEC.AP.QA-V01.v2 | Material literal class survives to executable evaluation | PRESERVATION | DETERMINED | N12 |
QA-V02 | QEC.AP.QA-V02.v2 | reducer domain comes from exact static/operator contracts | FORMATION / WELL-FORMEDNESS | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QA-V03 | QEC.AP.QA-V03.v2 | host numeric/equality/order is non-authoritative | NO-DEFAULT-LAW | DETERMINED | N12 |
QA-V04 | QEC.AP.QA-V04.v2 | Q-UNBOUND and Q-UNDEFINED remain distinguishable where material | DISTINGUISHABILITY | DETERMINED | N12 |
QA-A01 | QEC.AP.QA-A01.v2 | exact aggregate operator identity survives | PRESERVATION | DETERMINED | N12 |
QA-A02 | QEC.AP.QA-A02.v2 | SUM reducer obeys exact commutative-monoid contract | FORMATION / WELL-FORMEDNESS | DETERMINED | N12 |
QA-A03 | QEC.AP.QA-A03.v2 | MIN/MAX obey exact determining-order contract | FORMATION / WELL-FORMEDNESS | DETERMINED | N12 |
QA-A04 | QEC.AP.QA-A04.v2 | COUNT(expr)=COUNT_BOUND(expr), not fallback COUNT_SOLUTIONS | PRESERVATION | DETERMINED | N12 |
QA-A05 | QEC.AP.QA-A05.v2 | default nonvalue policy is REJECT_NONVALUE | PRESERVATION | DETERMINED | N12 |
QA-A06 | QEC.AP.QA-A06.v2 | global no-key group exists on empty input | PRESERVATION | DETERMINED | N12 |
QA-A07 | QEC.AP.QA-A07.v2 | empty SUM/MIN/MAX laws are exact | PRESERVATION | DETERMINED | N12 |
QA-A08 | QEC.AP.QA-A08.v2 | all authored group keys have exact lowering or rejection | PRESERVATION | DETERMINED | N12 |
QA-A09 | QEC.AP.QA-A09.v2 | one aggregate locus uses one pre-aggregation solution family | PRESERVATION | DETERMINED | N12 |
QA-A10 | QEC.AP.QA-A10.v2 | aggregate completion inherits complete input criterion | PRESERVATION | DETERMINED | N12 |
QA-A11 | QEC.AP.QA-A11.v2 | SUM execution follows exact reducer contract and is permutation-invariant | PRESERVATION | DETERMINED | N12 |
QA-A12 | QEC.AP.QA-A12.v2 | MIN/MAX execution follows exact determining-order contract | PRESERVATION | DETERMINED | N12 |
QP-C01 | QEC.AP.QP-C01.v2 | executable PathContract covers every material semantic coordinate | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QP-C02 | QEC.AP.QP-C02.v2 | path endpoint bindings are preserved and correlated | PRESERVATION | DETERMINED | N12 |
QP-C03 | QEC.AP.QP-C03.v2 | step uses exact relation/from_role/to_role | PRESERVATION | DETERMINED | N12 |
QP-C04 | QEC.AP.QP-C04.v2 | traversal witness preserves material relation/participation coordinates | PRESERVATION | DETERMINED | N12 |
QP-C05 | QEC.AP.QP-C05.v2 | path and repeat group are structured Query-local values | DISTINGUISHABILITY | DETERMINED | N12 |
QP-C06 | QEC.AP.QP-C06.v2 | empty path never invents endpoint referent | NON-CREATION / ANTI-PROMOTION | DETERMINED | N12 |
QP-R01 | QEC.AP.QP-R01.v2 | path policy capability follows exact acyclic authorized contract chain | FORMATION / WELL-FORMEDNESS | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QP-R02 | QEC.AP.QP-R02.v2 | four reuse policies remain behaviorally distinct | DISTINGUISHABILITY | DETERMINED | N12 |
QP-R03 | QEC.AP.QP-R03.v2 | participation comparison preserves SAME/DISTINCT/UNRESOLVED | DISTINGUISHABILITY | OPAQUE STANDING BOUNDARY | N12 |
QP-R04 | QEC.AP.QP-R04.v2 | storage/serialization key never defines semantic reuse equality | NO-DEFAULT-LAW | DETERMINED | N12 |
QP-M01 | QEC.AP.QP-M01.v2 | SET and MULTISET alternatives remain distinct | DISTINGUISHABILITY | DETERMINED | N12 |
QP-M02 | QEC.AP.QP-M02.v2 | SET collapse uses PathContentEquivalence and retains material lineage | PRESERVATION | DETERMINED | N12 |
QP-M03 | QEC.AP.QP-M03.v2 | repeat segment boundaries remain observable where contracted | PRESERVATION | DETERMINED | N12 |
QP-S01 | QEC.AP.QP-S01.v2 | selector capability follows exact authorized contract chain | FORMATION / WELL-FORMEDNESS | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QP-S02 | QEC.AP.QP-S02.v2 | ALL is over exact complete admissible family | PRESERVATION | DETERMINED | N12 |
QP-S03 | QEC.AP.QP-S03.v2 | ANY may complete after one admitted witness but empty ANY needs closure | PRESERVATION | DETERMINED | N12 |
QP-S04 | QEC.AP.QP-S04.v2 | ONE_SHORTEST proves no shorter admissible path remains possible | PRESERVATION | DETERMINED | N12 |
QP-S05 | QEC.AP.QP-S05.v2 | ALL_SHORTEST additionally determines all minimum-length paths | PRESERVATION | DETERMINED | N12 |
QP-S06 | QEC.AP.QP-S06.v2 | standard shortest selectors do not implicitly partition/group | PRESERVATION | DETERMINED | N12 |
QP-L01 | QEC.AP.QP-L01.v2 | semantic order: local predicate/reuse before selector, postfilter after selector | PRESERVATION | DETERMINED | N12 |
QP-L02 | QEC.AP.QP-L02.v2 | each iterates repetition segments, not raw occurrence IDs | PRESERVATION | DETERMINED | N12 |
QP-L03 | QEC.AP.QP-L03.v2 | path summaries reuse Query reducer/length semantics | PRESERVATION | DETERMINED | N12 |
QX-01 | QEC.AP.QX-01.v2 | semantic-to-executable material coverage is bidirectional | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-02 | QEC.AP.QX-02.v2 | candidate-path coverage is bidirectional | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-03 | QEC.AP.QX-03.v2 | internal structured Query values survive public API | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-04 | QEC.AP.QX-04.v2 | machine rev1 represents structured Query values without changing rev0 | PRESERVATION | DETERMINED VIA EXPLICIT REPRESENTATION BRIDGE | N12 |
QX-05 | QEC.AP.QX-05.v2 | one evaluation uses compatible basis/revision chain | NON-RETROACTIVITY | DETERMINED | N12 |
Integridade exigida para promoção
A correspondência de cada linha só pode ser declarada verificada quando sua proposição inteira, os pressupostos, o orçamento de leis, os artefatos exigidos, a classe de evidência e os testemunhos hostis sobreviverem ao cutover sob o mesmo sujeito/revisão. O teste de 43 identificadores não autoriza PASS.
O validador do registro original (scripts/validate_contracts.py) e a suíte de mutações adversariais (scripts/adversarial_mutations.py) são elementos da aceitação e precisam ser executados no repositório em que os consumidores reais foram atualizados. QP-R03 continua uma fronteira OPAQUE STANDING BOUNDARY; não pode receber uma igualdade aproximada para completar a tabela.
Base contratual do produto FormaSL 0.1.0
Este contrato reúne as responsabilidades de construção, verificação, distribuição e aceitação do produto FormaSL 0.1.0. Ele preserva os tópicos T00–T29 e as decisões que os modificam, sob a hierarquia definida em Autoridade e governança. Os identificadores de tópicos, decisões, protocolos e esquemas conservam suas funções técnicas.
A base contratual é formada pelo conjunto congelado D001–D234 e pela emenda posterior D235. O congelamento inicial e o conjunto emendado são sujeitos históricos diferentes. Os resumos criptográficos que identificam o congelamento D001–D234 continuam identificando aquela base; sua reutilização como digest do conjunto emendado é inválida.
As regras abaixo são especificações de comportamento e aceitação. Os resultados de campanhas, estados de implementação e recibos de execução pertencem aos respectivos registros históricos. O fechamento de um contrato, a execução de seus testes e a autorização de publicação são acontecimentos distintos.
1. Jurisdição e regras comuns
As quatro fundações e as decisões semânticas estáveis governam este contrato. O QEC é a emenda especializada do locus de execução de consultas, subordinada ao contrato de capacidade Query. Suas regras de redutores, caminhos e portadores de resultados prevalecem nesse locus; as agregações do Reasoning continuam governadas por sua própria autoridade.
O implementador escolhe representação privada, organização de módulos, estruturas de dados, caches, alocação e algoritmos localmente equivalentes. Essas escolhas preservam interfaces públicas, identidades, critérios de seleção de revisões, regras de gas, resultados, classes de erro, protocolos de medição, critérios de segurança e condições de aceitação.
Informação ausente não recebe significado implícito de latest, current, vazio, falso, primeiro resultado ou última escrita. Um comportamento padrão só existe quando o contrato responsável o define expressamente.
Uma reabertura exige contramodelo material, incompatibilidade entre contrato e tipo, impossibilidade demonstrada de implementação sob o contrato, mudança de autoridade superior ou reconsideração expressa do owner. Dificuldade local de implementação e preferência por outro desenho não alteram o contrato.
Classes de vinculação
| Classe | Regra |
|---|---|
FIXED_CONTRACT | O valor integra o contrato antes da implementação; o executor não o escolhe. |
EXECUTION_BINDING | Um procedimento contratual captura o valor antes de observar os resultados da execução afetada. |
LEGAL_FACT_BINDING | Fatos e instrumentos jurídicos são fornecidos pela autoridade pertinente, com seu estado explícito. |
EVIDENCE_RESULT | O valor é produzido pela execução de um protocolo congelado e não modifica retrospectivamente esse protocolo. |
IMPLEMENTATION_FREEDOM | A escolha é local enquanto preserva observáveis públicos, autoridade e gates. |
As sete vinculações B001–B007 são determinadas assim:
B001 — Rust. Na primeira normalização autorizada T02, o executor resolve a versão estável numérica pelo canal oficial, registra-a antes das alterações, fixa rust-toolchain.toml e rust-version e não volta a resolver o canal durante o mesmo candidato 0.1.0. Esta regra não solicita atualizar hoje a versão já fixada.
B002 — Ambiente de benchmark. Antes do primeiro piloto, o manifesto congela ambiente, identidade do harness, limites de candidatos por família, timeout, memória, busca de gas, semente do escalonamento, tamanho de LLC e espera de estabilização. Não há valores implícitos. Alteração posterior cria outra identidade de campanha.
B003 — Segurança. O orçamento D204 fixa timeout de 60.000 ms para casos suportados, 180.000 ms para casos de recursos ou sobredimensionados, memória de 2.147.483.648 bytes, um trabalhador, rede negada, sementes [0,1,2,18446744073709551615] e 600 segundos de fuzzing por alvo obrigatório e plataforma suportada. A ferramenta é identificada; a impossibilidade de aplicar um limite torna a campanha inválida.
B004 — Ensaio independente. Quando esse ensaio for realizado, o orçamento D205 é de 7.200 segundos após a admissão do ambiente, em alvo suportado, sem rede, sem pausa ou reinício do relógio. As classes de ferramentas são TARGET_BASE_UTILITIES, MINISIGN e DELIVERED_FORMASL_TOOLS. A assistência é exclusivamente ambiental, registrada, sem dicas sobre o produto. A vinculação continua definida mesmo quando a execução do ensaio é dispensada ou opcional.
B005 — Compressão. A primeira implementação de empacotamento fixa implementação, versão e parâmetros de gzip. A mesma receita de distribuição deve ser repetível; isso não estabelece reprodutibilidade byte a byte do compilador.
B006 — Licença. O instrumento final, os fatos de titularidade e o estado de revisão jurídica são dados fornecidos. D227 fixa a revisão externa como OWNER_WAIVED / NOT_PERFORMED para a versão 0.1.0. O executor implementa as verificações técnicas desses dados, sem fabricar outra licença ou revisão jurídica.
B007 — Assinatura. A chave pública autorizada é fornecida fora do pacote; sua identidade compatível com Minisign é registrada antes da assinatura. A chave privada permanece fora do conteúdo distribuído e dos artefatos ordinários de CI.
2. T00 — Fronteira do núcleo congelado
A base semântica congelada é identificada por sua revisão exata. O trabalho posterior realiza as capacidades admitidas e preserva a semântica já determinada. Uma alteração no núcleo exige um defeito causalmente demonstrado: contrato infringido, sujeito reproduzível, caminho da falha, alteração necessária e verificação de que a correção preserva as demais obrigações.
A autorização é limitada ao defeito demonstrado. Ela não abre uma remodelagem geral da linguagem, uma otimização não solicitada ou uma substituição dos critérios de aceitação. As diferenças entre fonte, resultados, autoridade, realização e execução acompanham a correção.
O endurecimento da medição de gas do R1 é uma obrigação de trabalho limitado: deve contar o trabalho lógico realizado dentro de uma rodada, preservando a semântica de menor ponto fixo. Uma cobrança apenas por rodada externa não realiza essa obrigação.
3. T01 — Declarações de capacidade e suporte
A matriz de declarações de capacidade do produto relaciona cada afirmação ao contrato, ao procedimento que pode verificá-la, à evidência produzida e ao artefato correspondente. Uma declaração conserva o escopo em que foi estabelecida: linguagem, implementação, resultado formal, comportamento observado ou superfície operacional suportada.
A inclusão de uma capacidade na sintaxe não equivale à sua realização executável. Um testemunho sobre uma implementação não estabelece uma garantia universal de desempenho ou de todos os provedores. Os estados de suporte e os limites são determinados por locus e revisão.
As catorze linhas da matriz original de claims pertencem ao conjunto material vinculado. A atualização de uma linha exige a evidência pertinente e a conservação dos vínculos históricos; a simples reescrita do texto de documentação não promove seu estado.
4. T02 — Identidade, versão e alvos suportados
A identidade corrente do produto é FormaSL e a versão deste contrato é 0.1.0. A versão do produto permanece distinta da revisão de distribuição, do commit de fonte, da receita de build e do pacote entregue.
D225 fixa o conjunto oficial de alvos da versão 0.1.0 em ["x86_64-unknown-linux-gnu"]. As obrigações que percorrem todos os alvos usam esse conjunto exato. Referências anteriores a duas plataformas não criam uma segunda obrigação de build ou de pacote.
O projeto utiliza Edition 2024 e a versão numérica de Rust fixada por B001. Metadados, licença e fatos externos seguem as vinculações correspondentes, sem inferência a partir de nomes de diretório ou de ambiente.
5. T03 — Nomes e superfície corrente
Nomes de produto, ferramenta, saída pública e documentação corrente são neutros em relação às gerações históricas da reconstrução. Identificadores de campanhas, revisões congeladas e proveniência mantêm sua grafia quando ela é necessária para identificar o fato histórico.
Normalização de nomes não cria aliases permanentes de linguagem, não muda identidades semânticas e não reclassifica material histórico como API atual. A geração cuja remoção foi determinada pelo owner é retirada da árvore corrente; sua recuperação histórica permanece no Git.
6. T04 — Interface programática
A fachada pública é o ponto de entrada para check, inspect, run e realize no perfil contratual correspondente. As estruturas privadas do compilador e do runtime não substituem essa fronteira.
SourceInput transporta referência UTF-8 exata, revisão u64 e texto. CheckRequest contém uma coleção não vazia de fontes .fsl; referências duplicadas, módulos duplicados e material .fsp nessa entrada são recusados. CheckedProgram é opaco e resulta apenas da aceitação de check.
O sujeito verificado conserva os bytes e as revisões utilizados. As importações são ordenadas topologicamente, com dependências antes de consumidores; módulos simultaneamente disponíveis são ordenados pelos bytes UTF-8 de seus nomes. Ciclos de importação são recusados. A ordem autorada dentro do módulo é preservada.
inspect oferece as visões Summary, Declarations, Claims, Applications e Subtypes. Sua saída é uma projeção pública selecionada, não uma exposição universal de AST, CST ou representação interna.
Em RunRequest, application = None seleciona as aplicações nomeadas na ordem canônica do programa. Some(name) exige uma correspondência exata: nenhuma corresponde a UNKNOWN_APPLICATION; mais de uma corresponde a AMBIGUOUS_APPLICATION. O orçamento é explícito. Cada aplicação R1 reinicia com o mesmo orçamento; o Match desse perfil informa gas_applicability = not_applicable para esse medidor.
As aplicações são avaliadas independentemente. Um resultado não suportado não apaga resultados de outras aplicações, e uma aplicação não pode ignorar um fragmento material não suportado para aparentar conclusão. A precedência agregada é REJECTED > UNSUPPORTED > RESOURCE_EXHAUSTED > COMPLETE, sem eliminar os desfechos individuais.
realize recebe exatamente uma declaração de realização .fsp e a vincula ao sujeito já verificado. Zero declarações, raízes concorrentes e entrada do plano incorreto são recusadas. Não há seleção implícita de alvo ou revisão.
Um diagnóstico conserva código, classe, mensagem e locus quando aplicável. As classes são normative_rejection, product_binding, driver e internal. Falhas de arquivos ou argumentos não são transformadas em rejeições semânticas da linguagem.
As extensões posteriores da fachada e o QEC são vinculados por suas revisões próprias. O perfil T04 histórico não deve ser usado para negar uma capacidade posteriormente admitida, nem uma capacidade nova pode alterar silenciosamente as representações congeladas.
7. T05 — Representação de máquina
As representações de check, inspect, run e realize utilizam esquemas versionados e JSON canônico. A estrutura do conteúdo conserva categorias, identidades, polaridade, papéis e a distinção entre variáveis lexicais e testemunhais.
SemanticValue distingue {kind:"literal", text} de {kind:"reference", identity}. QueryVariable conserva name e o marcador witness ou lexical. SemanticAtom conserva relação, polaridade e uma sequência de papéis com valores tipados; a serialização não converte essa sequência em um mapa com outra semântica. OccurrenceWitness inclui a ocorrência e seus papéis correspondidos. GoalAtom mantém termos classificados como literal, referência, variável lexical, variável testemunhal ou curinga.
A identidade ProgramSubject é calculada sobre o domínio ASCII FORMASL-PROGRAM-SUBJECT-1 seguido de NUL, a quantidade de fontes em u64 big-endian e, para cada fonte na ordem canônica, comprimento e bytes exatos da referência, revisão e os 32 bytes do SHA-256 do texto. Não há normalização de caminho, caixa ou Unicode.
A revisão 0 do resultado permanece congelada. A revisão sucessora 1 transporta os portadores estruturados definidos por suas emendas. Coordenadas de aplicabilidade de consequências — under, scope, frame, valid_at — são independentes do conteúdo proposicional e não viram papéis da relação. Na projeção correspondente, consequence_contexts[] é posicional a consequences[] e contexts[] é posicional a matches[]. Cada posição é null quando ausente ou uma referência semântica tipada, nunca um literal de exibição que simula identidade.
8. T06 — Datasets sintéticos
Os perfis são formasl.social e formasl.financial, com profile_version = 1, contract_version = 1, escala u32 positiva e semente u64. O gerador não consulta fontes pessoais ou reais. Os identificadores sintéticos usam o alfabeto ASCII [a-z0-9_].
A seleção de um candidato usa SHA-256 sobre FORMASL-DATASET-1 seguido de NUL, identificador de perfil prefixado por comprimento UTF-8, versão e escala em u32 big-endian, semente em u64, contexto prefixado por comprimento e slot e contador em u64. O candidato é o primeiro u64 do digest, em big-endian, módulo o tamanho do domínio. Cada slot começa no contador zero e o incrementa até satisfazer exclusões e distinção dos alvos já selecionados naquele registro. Não há estado mutável de gerador pseudoaleatório.
No perfil social, a escala s produz 128s pessoas, 8s organizações, 128s participações e 512s relações Follows. Cada pessoa pertence a uma organização e segue quatro outras pessoas distintas. A ordem lógica é todas as participações por índice de pessoa, seguidas de Follows por pessoa de origem e slot. A aplicação SocialFollows seleciona essas relações, preservando uma testemunha por ocorrência.
No perfil financeiro, são 64s contas, 4s instituições, 64s relações AccountAt, 512s transferências e max(1,floor(64s/16)) contas sinalizadas. Cada conta escolhe uma instituição e oito outras contas distintas para transferências. A ordem lógica reúne AccountAt, Transfer e Flagged nessa sequência, com as ordens de índice e slot prescritas. FinancialRisk deriva exatamente os pares Transfer cujo destino pertence a Flagged; a regra não é uma transitividade de RiskEdge.
D222 fixa LogicalRecordV1 com exatamente claim, issuer, relation e roles. O emissor é o literal $formasl_generator; identificadores de claim e valores lexicais dos papéis não recebem um $ adicional. A ordem do vetor de registros participa da identidade. logical_digest é o SHA-256 canônico do sujeito lógico; dataset_id é o SHA-256 canônico de perfil, versão, escala, semente, versão de contrato e digest lógico.
Os templates do gerador de referência, os vetores independentes de identidade e os goldens de escala 1 e semente 0 integram o fechamento material. O texto .fsl usa UTF-8, LF, exatamente um LF final, quatro espaços, sem tabulações, comentários ou espaços finais. Valores anteriores ao reparo D222 permanecem identidades históricas inválidas, não alvos de regressão.
9. T07 — InMemoryReferenceStore
T07 governa o armazenamento de referência para avaliação, não o catálogo de conformança de T09. Seu ciclo de vida é EMPTY --atomic load_bundle--> SEALED. Após carregar integralmente um bundle válido, o estado SEALED permite somente read e scan; reset retorna a EMPTY. Não há estado observável de carregamento intermediário nem API de snapshot na versão 0.1.0.
Uma tentativa de load_bundle que falha mantém EMPTY, sem publicar registros parciais. As classes de falha são NOT_LOADED, ALREADY_LOADED, INVALID_MANIFEST, DIGEST_MISMATCH, STRUCTURAL_ORACLE_MISMATCH, DUPLICATE_RECORD_KEY e RESOURCE_LIMIT; sua separação não pode ser apagada por conveniência de implementação.
A chave lógica é (collection, record_key). scan segue a ordem lexicográfica dos bytes UTF-8 brutos das chaves; é uma ordem operacional de leitura, não uma ordem do domínio semântico. O store oferece apenas evidência bruta ou de provedor e não emite Claims, verdades, resultados completos ou standing semântico.
O gate T07 deve verificar a máquina de estados, falhas atômicas, scans determinísticos e recusas na fronteira do provedor. O catálogo único de obrigações e suas classes de evidência pertencem a T09, não a T07.
10. T08 — Harness de avaliação e auditoria
O harness executa módulos de verificação sob perfis explícitos de Evaluation e Audit. Identidades de módulos, permissões, entradas, procedimentos e resultados são vinculadas antes da execução. A posse do pacote não concede permissões adicionais.
A seleção respeita o catálogo e o perfil autorizado. O harness não descobre permissões, fontes ou contratos por conveniência ambiental. Registros de execução conservam as entradas materiais e os resultados de cada módulo. Sua agregação respeita os desfechos tipados e não transforma ausência ou falha em aceitação.
11. T09 — Correspondência e classes de evidência
Especificação, formalização, implementação, teste e observação são classes diferentes. Uma relação entre elas é estabelecida por uma correspondência explícita entre sujeitos e revisões.
Uma prova verificada diz respeito à proposição realmente codificada. A conformança da implementação com essa proposição exige a ponte e a evidência previstas no contrato de correspondência. ImplementationCorrespondence começa como NOT_CLAIMED e só muda por uma rota explícita com evidência.
A matriz de correspondência identifica a autoridade, o tipo de alegação, a representação, o procedimento, o resultado e suas exclusões. Mudanças materiais invalidam as linhas afetadas; identidade nominal, igualdade de payload ou um teste verde isolado não substituem a relação exigida.
12. T10 — Caracterização de desempenho
D235 institui formasl.t10.contract.v2, que governa W01–W17, calibração, operação cronometrada, estatística e selo de resultado versão 3. O protocolo de caracterização consolida suas regras.
O timer mede a latência da chamada pública T04 exata, em nanossegundos. Geração de fixture, admissão, preparação do ambiente e construção prévia de CheckedProgram ficam fora do timer nos casos determinados. O nome de um braço não prova qual operação foi chamada.
Uma falha de correção invalida o caso antes da cronometragem. Uma campanha parcial não emite o identificador de selo primário. D235 preserva como evidência histórica os resultados anteriores, com suas qualificações de invalidade ou caracterização não canônica, e exige uma nova identidade para a primeira campanha primária conforme.
13. T11 — Primeiro ciclo de segurança
O ciclo abrange fonte, revisão, check, inspect, run, realize, representação de máquina, gerador, store, provedores, harness, recursos e falsos resultados positivos. O manifesto congela os identificadores dos ataques e os limites de recursos, fuzzing e rede antes da execução.
As famílias obrigatórias são SEC-SOURCE, SEC-REVISION, SEC-CHECK, SEC-INSPECT, SEC-RUN, SEC-REALIZE, SEC-MACHINE, SEC-GENERATOR, SEC-STORE, SEC-PROVIDER, SEC-HARNESS, SEC-RESOURCE e SEC-FALSE-PASS. Os catálogos exatos e o orçamento B003 complementam esta enumeração.
Os oráculos verificam ausência de crash e suspensão ilimitada, preservação de autoridade e estatuto, rejeição de evidência adulterada e impossibilidade de apresentar parcialidade como completude. Achados Critical/High e a conclusão do ciclo passam pela revisão independente exigida pelo protocolo interno. Essa revisão técnica não é o ensaio externo T22 ou T29 dispensado/reclassificado.
O resultado é COMPLETE_NO_BLOCKERS, BLOCKED, INCONCLUSIVE ou INVALID_CAMPAIGN. Concluir significa cobrir as ameaças e não manter bloqueios sem resolução; não significa declarar que nenhum achado existiu.
14. T12 — Build e reconstrução
O comando canônico é cargo build --release --locked --offline --target <target>. O perfil fixa otimização 3, LTO thin, uma unidade de codegen, incremental desativado, panic abort e strip desativado. RUSTFLAGS é vazio; target-cpu=native não integra o build canônico.
A receita vincula árvore de fonte, Cargo.lock, fechamento íntegro das fontes de dependências, Rust numérico, alvo, perfil, ambiente normalizado e comando. O build canônico é executado com rede negada. A ocorrência de build acrescenta identidade da receita, ambiente, tempos, digests dos artefatos e evidências operacionais.
Reconstruibilidade significa reconstruir o produto a partir da fonte, do fechamento de dependências e da receita exatos, com os gates exigidos. Igualdade byte a byte de builds independentes é uma evidência adicional, separada. D228 exige uma receita por alvo suportado; nesta versão, o source bundle referencia exatamente uma receita.
15. T13 — Adaptador de terminal
O perfil de terminal de T13 adapta os contratos T04/T05. Os comandos semânticos desse perfil são check, inspect, run e realize; ajuda e versão são metadados de produto. Superfícies posteriores de projetos e pacotes pertencem aos contratos que as acrescentaram.
Cada operando de arquivo é uma cadeia UTF-8 válida exatamente como fornecida em argv. Um caminho não UTF-8 falha antes da leitura com DRIVER_PATH_NOT_UTF8. Não há conversão com perda, realpath, normalização de Unicode ou de caixa. Caminhos relativos usam o diretório de invocação. O arquivo é aberto e lido uma vez; os bytes capturados são os admitidos na fachada.
Esse perfil não oferece stdin oficial, descoberta recursiva ou configurações semânticas ambientais. check recebe apenas FSL; .fsp entra em realize, com exatamente um --for. run exige --gas. inspect oferece as cinco visões de T04.
--format aceita text e json, com padrão textual. JSON stdout contém apenas o documento canônico T05; erros do driver usam o esquema formasl.cli_driver. Os códigos de saída são 0 para operação válida concluída, inclusive falso/desconhecido/vazio; 1 para rejeição T04; 2 para uso; 3 para driver; 4 para não suportado; 5 para recursos esgotados.
O renderer textual conserva suas quebras estruturais e escapa todos os C0 e DEL provenientes de conteúdo externo: \n, \r, \t e, para os demais, \u{xxxx} em quatro dígitos hexadecimais minúsculos. Falha de escrita, inclusive broken pipe, é DRIVER_OUTPUT_WRITE, saída 3, sem panic ou backtrace.
16. T14 — Segundo ciclo de segurança
O ciclo após a ligação da CLI examina argv/OsString, caminhos não UTF-8, arquivos especiais, symlinks, aliases de caminho, substituição de arquivos, flags repetidas, ambiente contaminado, controles de terminal, JSON, stdout/stderr, broken pipe, abuso de gas, códigos de saída e tentativas de contornar T04/T05.
Ele utiliza os estados de achados T18, as regras de divulgação T19 e a disciplina de manifesto e limites de T11. A campanha completa percorre o conjunto oficial de alvos. Cobertura de ameaças, revisão dos achados materiais e ausência de bloqueios determinam o resultado, no mesmo vocabulário de T11.
17. T15 — Distribuição e instalação
A distribuição identifica separadamente versão do produto, revisão de distribuição, alvo, receita, ocorrência, pacote e arquivo de transporte. Os nomes de entrega seguem formasl-0.1.0-evaluation-d<revision>-<target>.tar.gz e formasl-0.1.0-source-d<revision>.tar.gz.
O Evaluation Kit contém os executáveis formasl e formasl-harness, o perfil de avaliação, os manifests de pacote e build, SBOM, proveniência, licença e avisos, além de instalador e desinstalador. A raiz de dados versionados é share/formasl/0.1.0/.
Todas as entradas de um arquivo são verificadas antes de qualquer escrita. Só são aceitos caminhos relativos normalizados, arquivos regulares e diretórios. Caminhos absolutos, ./.., duplicatas, symlinks, hardlinks, devices, FIFO, sockets e tipos desconhecidos são recusados. A montagem canônica fixa ordem lexical, uid/gid zero, nomes de proprietário vazios, mtime zero, modos 0755 para diretórios e executáveis e 0644 para arquivos comuns; gzip usa timestamp zero e a receita B005.
A cadeia de confiança é chave pública externa → assinatura dos bytes exatos de delivery.json → SHA-256 e tamanho do arquivo de transporte → manifesto interno → digests dos arquivos. Um arquivo .sha256 isolado é conveniência, não substituto dessa cadeia. O SBOM usa CycloneDX JSON 1.7; a proveniência usa in-toto Statement 1 com predicado SLSA Build Provenance 1 sob a base SLSA 1.2; a assinatura destacada é compatível com Minisign.
A instalação é offline, em prefixo absoluto gravável explicitamente fornecido pelo usuário, sem sudo, alterações de sistema, PATH, perfil de shell, rede ou telemetria. Reinstalar o mesmo pacote no mesmo prefixo é idempotente; colisão com pacote estranho falha sem substituição silenciosa.
O recibo vincula caminhos possuídos, digests e modos. O desinstalador trata-o como entrada não confiável, limita os namespaces permitidos e remove apenas arquivos possuídos inalterados. Dados do usuário permanecem; arquivos modificados são resíduos identificados. O gate percorre verificação, extração, instalação, checagem dos arquivos, smoke do produto e do harness, desinstalação, limpeza e reinstalação.
18. T16 — Licença, autorização e D227
A arquitetura de direitos é uma licença proprietária de base com AuthorizationRecord específico do destinatário. Evaluation é subconjunto de Audit. Diligência comercial é admitida dentro das permissões; produção, exploração comercial e redistribuição dependem de concessão separada. Cópias de trabalho e uso de ferramentas/agentes seguem finalidade e confidencialidade.
O instrumento fornecido regula término prospectivo, devolução ou destruição em 30 dias e retenção arquivística limitada, sem revogar retrospectivamente concessões históricas válidas. A arquitetura declarada adota direito brasileiro e foro de São Paulo. Este sucessor preserva a especificação de direitos e as verificações dos dados fornecidos, sem redigir um instrumento jurídico substituto.
D227 registra LicenseRef-FormaSL-Evaluation-1.0, titular/licenciante Forma Research Lab e SHA-256 do LICENSE 3a683788b683abcfdcb9a399156ae2429af36c116ae86484fc5f794f9a295603. O estado de revisão externa é OWNER_WAIVED / NOT_PERFORMED. Essa revisão não bloqueia T16, T26 ou T28 quando as obrigações técnicas restantes são satisfeitas.
Os bytes exatos da licença, sua vinculação ao pacote e à autorização, perfil, revisão, permissões, destinatário, estado e autenticidade destacada continuam obrigatórios. A dispensa não equivale a COUNSEL_APPROVED, PASS jurídico ou evidência de revisão independente. A linha especial de T16 no selo está especificada adiante.
19. T17 — Política de datasets
Os datasets oficiais são totalmente sintéticos, limitados aos perfis e versões T06. Cada versão conserva seus goldens de escala 1 e semente 0. Nenhuma fonte pessoal real participa da geração. Os manifests e as referências de licença devem ser coerentes com T16; gerar um dataset não concede direitos separados de redistribuição.
20. T18 — Achados e evolução de versão
Severidade, estado de ciclo de vida, disposição e versão-alvo são eixos independentes. O ciclo é NEW → REPRODUCED → TRIAGED → DISPOSITIONED → FIXED → REVALIDATED → CLOSED; a disposição não é obrigatória antes de DISPOSITIONED.
A disposição é BLOCK_0_1_0 quando o achado falsifica o núcleo congelado, o contrato de claims ou de suporte, admite falso PASS ou promoção indevida de evidência, quebra caminho suportado de build/instalação/avaliação ou mantém problema Critical/High sem resolução na superfície suportada. Reparo auxiliar compatível é FIX_0_1_X; evolução pública ou semântica incompatível é TARGET_0_2; questão sem obrigação de produto corrente é RESEARCH. Sem enquadramento determinado, o estado é OWNER_DECISION_REQUIRED.
DEFERRED exige disposição explicitamente não bloqueante. Um BLOCK_0_1_0 não pode ser adiado como risco residual. Achados materiais mantêm reproducer, evidência, responsável e disposição; reabertura do núcleo segue a causalidade exigida por T00.
21. T19 — Divulgação de segurança
Achados de segurança anteriores ao lançamento são confidenciais por padrão. Evidência preliminar Critical provoca notificação ao responsável designado em até 24 horas. Divulgação pública requer autorização explícita da Forma Research Lab. Para terceiros, a base é divulgação coordenada 90 dias após reconhecimento, salvo acordo ou exceção documentada.
Cada ação de divulgação registra autoridade, destinatários, tempo, fundamento de exceção e achado relacionado. Essa disciplina controla a divulgação; não reduz as obrigações de reparo de T18 ou de confidencialidade e autorização de T16.
22. T20 — Documentação junto ao código
A documentação corrente de código é neutra quanto às gerações históricas. No contrato de origem, a língua canônica das fontes técnicas é inglês; traduções são derivadas. Isso regula comentários e Rustdoc desse perfil e não converte automaticamente o livro em português em uma especificação inglesa nova.
Superfícies públicas habilitam a política missing_docs. O build documental usa cargo doc --workspace --no-deps com RUSTDOCFLAGS=-D warnings. Cada item público descreve finalidade e entradas/saídas; acrescenta falhas quando possíveis, invariantes quando cruza fronteiras semânticas e autoridade quando seu papel pode ser confundido com fonte, estatuto ou autorização.
Exemplos Rust executáveis compilam como doctests. Exemplos FormaSL executam no produto/harness correspondente. Comentários privados explicam motivos, invariantes e casos-limite, em lugar de narrativas de campanha.
23. T21 — Documentação de linguagem e produto
A documentação é Markdown-first, organizada em mdBook, com percursos para aprendiz, autor de programas, integrador e auditor. Os assuntos abrangem orientação, instalação, modelo conceitual, declarações/tipos/relações, Claims/resultados/ciclo de vida, regimes computacionais, governança/cenários/revisões, composição/realização/execução, APIs/representações, verificação, suporte, referência e diagnóstico.
Cada capítulo introduz a teoria necessária ao seu objeto. Detalhes de prova pertencem à documentação de asseguração, e a referência da linguagem descreve construções e contratos, em vez de uma narrativa de pesquisa. Exemplos executáveis existem como arquivos e são verificados pelo produto; o livro deve construir offline e ter links válidos.
D226 satisfaz a antiga dependência T22 mediante sua dispensa; não exige recriar o ensaio externo para finalizar a documentação. Decisão T21 do owner (2026-10-21, APPROVED_BY_OWNER, opção A): a fonte técnica canônica permanece em inglês, conforme T21 vigente; a superfície pt-BR desta edição passa a ser material derivado/não autoritativo para a fonte técnica canônica enquanto a edição canônica em inglês não existir. A tradução canônica e o rearranjo do SUMMARY.md ao contrato T21 são trabalho condicional de WP futuro; até lá, nenhuma alegação de T21_CONFORMANT ou de prontidão de publicação é emitida. Os contratos semânticos descritos não são alterados por essa decisão de política editorial.
24. T22 — Ensaio independente dispensado por D226
O protocolo permanece definido: avaliador elegível que não seja autor do material, acesso ao pacote e permissões exatos, orçamento B004, tarefas CA-01–CA-13, ausência de dicas de produto e registro de assistência ambiental. Uma mudança material do pacote invalida uma execução anterior desse ensaio.
D226 dispensa sua execução como gate obrigatório da versão 0.1.0. A execução independente não foi realizada; não há PASS ou VERIFIED de T22. O tema continua disponível como ensaio futuro e sua preparação histórica não é reclassificada como execução.
No FinalSealCandidate, a linha T22 usa exatamente:
required_execution_status = NOT_REQUIRED_OWNER_WAIVED
actual_execution_status = NOT_EXECUTED
required_evidence_status = OWNER_WAIVER
actual_evidence_status = OWNER_WAIVER_RECORDED
subject_id = identidade da decisão D226
evidence_root = raiz de autoridade D226 identificada por conteúdo
25. T23 — Limpeza da superfície corrente
A classificação contratual de origem distingue CURRENT, ARCHIVE_INTERNAL e REMOVE_FROM_CURRENT_CHECKOUT por algoritmo de prioridade, sem julgamento informal de valor histórico. A geração explicitamente eliminada recebe REMOVE_FROM_CURRENT_CHECKOUT e não é copiada para um arquivo dentro do repositório.
Na presente reconstrução, a ordem do owner de remover toda a documentação antiga determina sua disposição final. Antes do corte, as responsabilidades vivas e dependências de ferramentas recebem sucessores. Depois, os documentos e referências antigos são retirados da árvore, e os gates afetados por caminhos são executados novamente. Git conserva a história. A opção histórica de arquivo interno não serve para reinstalar os documentos cuja eliminação foi ordenada.
A dispensa D226 satisfaz a antiga dependência T22. Registros dessa dispensa conservam a proveniência exigida, sem exigir uma cópia permanente de toda a documentação de campanha.
26. T24 — Mapa de asseguração formal
O contrato identifica dois sujeitos: Metagrafo Semântico e as raízes selecionadas de aceitação de Resultado/Reasoning/Asseguração. O toolchain contratual é Agda 2.8.0, biblioteca padrão 2.4 e --safe, sem holes ou postulados.
O registro do metagrafo contém 82 linhas; as marcadas retired-contract-overreach não são obrigações ativas. A raiz selecionada pré-implementação contribui com seus doze campos exigidos. A contabilização conserva essa distinção, em vez de transformar tamanho do registro em quantidade de teoremas ativos.
Cada FormalClaimEntry vincula autoridade, classe e determinabilidade, proposição exata, símbolo de prova/testemunho/contramodelo, contexto de teoria/modelo, orçamento de leis, ponte de representação quando exigida, toolchain, fonte, estado de prova, alinhamento da alegação, correspondência da implementação e exclusões.
A interface de aceitação deve resistir a substituição de sujeito, modelos-sombra, vacuidade, enfraquecimento de consequente, retirada de antecedente, sobreajuste a fixtures, autofundamentação, introdução indevida de leis, troca de classe de evidência, relabeling, apagamento de representação, nomes usados como prova, proposição indexada errada, omissão de obrigação e descoberta indevida de autoridade. A matriz de obrigações e a interface de aceitação são verificadas antes das alegações de mecanização; o módulo correspondente permanece reexecutável no harness.
27. T25 — Candidato pré-CLI
PreCliCandidate recebe identidade SHA-256 sobre seu objeto canônico sem candidate_id. Vincula revisão e árvore exatas do sujeito, conjunto de contratos, alvos, artefatos de build e raízes de evidência. A revisão desse sujeito é distinta da revisão posterior do registro de aceitação.
A condição inclui T00 congelado, T04–T09 executados conforme seus gates, selo primário T10 válido sem limiar de desempenho, T11 COMPLETE_NO_BLOCKERS e reconstrução/proveniência T12 nos alvos suportados. Evidência ausente, obsoleta ou associada a outro sujeito provoca recusa.
Alteração material cria nova identidade. Reuso de evidência exige equivalência das entradas materiais. O avaliador automático alcança apenas READY_FOR_OWNER_ACCEPTANCE; CLI_LINK_AUTHORIZED depende de aceitação explícita do candidato exato pelo owner. A ligação da CLI não consome HEAD ou latest no lugar desse sujeito.
28. T26 — Conjunto de avaliação e cápsula de auditoria
O Evaluation Set reúne entrada de leitura, dossiê técnico, kit T15, licença/autorização, matriz T01, perfil Evaluation do harness, conformança, caracterização de desempenho, asseguração formal, build/SBOM/proveniência, resumos permitidos de segurança e limites conhecidos.
A Audit Capsule é uma camada separada, autorizada especificamente. Pode acrescentar fonte, reconstrução, instrumentação, material formal e evidência bruta conforme T16. A posse do Evaluation Set não concede Audit. T19 continua regulando evidência sensível.
O manifesto vincula cada objeto por digest e conserva a cadeia claim → procedimento → evidência → artefato. O conjunto é compreensível e verificável sem reconstruir uma arqueologia de campanhas. D227 exige conservar tanto a cadeia técnica do LICENSE quanto OWNER_WAIVED / NOT_PERFORMED, sem reivindicar aprovação jurídica.
29. T27 — Segurança da distribuição
T15 define o pacote válido; T27 testa adversarialmente esse contrato. Os ativos incluem arquivo de transporte, manifesto de entrega, assinatura, chave externa, manifests internos, executáveis, SBOM, proveniência, instalador, desinstalador, recibos, source bundle e autorizações.
Os casos abrangem substituição de pacote/manifesto/chave/assinatura, replay ou rollback relevantes à autorização, alvo errado, traversal, links e entradas especiais, colisões de caminho e caixa, bombas de descompressão, TOCTOU entre verificação e uso, prefixos e ambiente hostis, symlinks preexistentes, adulteração de recibo, exclusão arbitrária, arquivos modificados, substituição de fonte/dependência, vinculação falsa de SBOM/proveniência, comprometimento de chave e vazamento confidencial.
São obrigatórias uma rota adulterada/não assinada e outra de candidato malicioso validamente assinado com uma chave confiável isolada de teste. A chave privada real de distribuição não entra no harness adversarial. A conclusão exige os alvos oficiais, casos determinísticos, fuzzing, verificações cruzadas, testes de exclusão indevida, achados revalidados, revisão independente interna e ausência de bloqueios. O vocabulário é o de T11.
30. T28 — Selo do produto e autorização de publicação
O FinalSealCandidate contabiliza transitivamente T00–T27 e T29. Cada linha traz identidade e estado do contrato, estados de execução/evidência exigidos e reais, sujeito e raiz de evidência. T28 aparece em seal_contract_identity, não como dependência de si mesmo. Linhas exigidas ausentes, desconhecidas ou obsoletas provocam recusa.
D229 define o horizonte de release do produto, com rigor técnico interno obrigatório. O candidato vincula revisão limpa congelada, claims, achados, conformança, build, CLI/caminho de produto, contrato de suporte, documentação final, alvo oficial explícito, pacote autenticado, instalação, smoke, desinstalação, reconstrução offline, identidades de build/pacote, SBOM, proveniência, segurança interna, alegações formais corretamente delimitadas e capacidades não suportadas ou adiadas. blocking_findings = [] é obrigatório.
A antiga expressão relativa a dois pacotes-alvo é subordinada ao conjunto oficial singleton D225 e à cardinalidade D228. T29 não exige um artefato de aceitação externa para o release; a contabilização usa sua linha opcional exata. A ausência de asseguração externa não bloqueia a versão 0.1.0.
O candidato recebe SHA-256 sobre o objeto canônico sem seu próprio ID. Seu estado é READY_FOR_OWNER_ACCEPTANCE e publication_authorized = false. O owner aceita explicitamente candidate_id e candidate_manifest_sha256 exatos em um registro separado, com decision = ACCEPT e accepted_by_role = PROJECT_OWNER.
D231 distingue a aceitação do candidato da autorização de publicar. Um FinalSealRecord pode ter status = SEALED e publication_authorized = false, encerrando tecnicamente o sujeito imutável sem publicá-lo. O registro herda exatamente a dimensão de publicação aceita. Merge, execução de campanha, ACCEPT e SEALED não implicam autorização de publicação. Uma autorização posterior é outro ato, sem alterar os bytes do selo original.
O seal_id é SHA-256 sobre os bytes canônicos do FinalSealRecord sem seal_id. Contramodelo, bloqueio de segurança ou falha de proveniência posteriores produzem um registro separado SUSPENDED; o selo anterior não é apagado nem alterado.
Linhas especiais de dependência
A linha T16 conserva o escopo técnico concluído e a dispensa jurídica B006:
required_execution_status = T16_TECHNICAL_COMPLETE_B006_OWNER_WAIVED
actual_execution_status = T16_TECHNICAL_COMPLETE_B006_NOT_PERFORMED
required_evidence_status = T16_TECHNICAL_EVIDENCE_B006_OWNER_WAIVER_REQUIRED
actual_evidence_status = T16_TECHNICAL_EVIDENCE_B006_OWNER_WAIVER_RECORDED
subject_id = identidade da decisão D227
evidence_root = raiz que vincula LICENSE técnico e autoridade D227
TECHNICAL_COMPLETE qualifica apenas o escopo não dispensado. A grafia é OWNER_WAIVER, nunca OWNER_WAVER. A linha T22 segue D226, descrita anteriormente. A linha T29 segue exclusivamente D229:
required_execution_status = OPTIONAL_POST_RELEASE_ASSURANCE
actual_execution_status = NOT_EXECUTED
required_evidence_status = NOT_REQUIRED_FOR_RELEASE
actual_evidence_status = NO_EXTERNAL_ASSURANCE_EVIDENCE
subject_id = identidade da decisão D229
evidence_root = raiz de autoridade D229 identificada por conteúdo
31. T29 — Asseguração externa posterior opcional
T29 permanece disponível como aceitação independente do pacote limpo. Quando realizado, o avaliador recebe o pacote e digest exatos e material realista para o destinatário; não é autor das correções motivadas por T22. Utiliza B004, CA-01–CA-13 e o alvo oficial. Dicas semânticas invalidam a tarefa afetada, e alteração material posterior invalida aquela aceitação.
D229 classifica essa atividade como opcional após o release, não obrigatória e não executada. Não há evidência externa de aceitação. Essa classificação não é OWNER_WAIVED: D226 dispensou T22; D229 tornou T29 opcional para o horizonte 0.1.0. A documentação e os selos preservam a diferença.
Não é necessária uma autorização de destinatário T29 para uma execução que não ocorrerá durante o release. A autorização específica de T16 aplica-se quando um destinatário efetivamente recebe acesso. Um resultado futuro pode ampliar a asseguração ou gerar achado, suspensão e remediação, sem reescrever o selo histórico.
32. Decisões e ativos de construção
D222 determina o registro lógico dos datasets; D223/D224 vinculam vocabulário e fixtures de W01–W13 às operações públicas; D225 fixa o alvo singleton; D226 dispensa T22; D227 dispensa a revisão jurídica B006; D228 ajusta a cardinalidade de receitas do source bundle; D229 define o horizonte de release; D230–D234 preservam e corrigem as vinculações e a validação dos sujeitos de selo; D231 separa aceite de publicação; D235 substitui o método T10.
O índice de decisões não substitui a substância nos protocolos e tópicos aos quais remete. Da mesma maneira, um esquema JSON não substitui condições semânticas de aceitação. Esquemas, catálogos, vetores, templates e validadores têm seus próprios papéis no fechamento do conjunto.
O inventário técnico de sucessão fixa commit, árvores e blobs de origem. A extração read-only desses objetos não altera o repositório. Os ativos de máquina conservados devem ser vinculados aos novos textos e seus consumidores reconfigurados antes do cutover. Documentos antigos recuperados para comparação ficam em evidência de trabalho, fora da superfície de publicação.
Documentação relacionada
Autoridade e governança define precedência e reabertura. Identidade e capacidades protegidas estabelece os compromissos de produto. Superfície concreta apresenta a gramática e sua elaboração. Consultas e completude descreve o QEC. Caracterização e protocolos detalha medição e identidades técnicas.
Caracterização, identidades e protocolos técnicos
Os protocolos deste capítulo complementam a base contratual do produto. Eles determinam os bytes que participam de identidades, o trabalho lógico debitado do R1 e as condições sob as quais uma medição integra uma campanha T10 válida. Os esquemas e vetores vinculados continuam responsáveis por suas estruturas exatas.
1. JSON canônico, versão 1
O domínio admite strings de escalares Unicode, booleanos, null somente quando autorizado pelo esquema, inteiros decimais, arrays e objetos. Números de ponto flutuante não são admitidos.
A codificação é UTF-8 sem BOM. Ela emite exatamente um valor JSON seguido de um único LF, sem outros espaços insignificantes. Membros de objetos são ordenados pelos bytes UTF-8 dos nomes antes de escape; nomes duplicados são inválidos. Arrays mantêm a ordem de seu contrato, sem ordenação introduzida pelo serializador.
Inteiros usam ASCII decimal, sem +, sem zeros à esquerda além do próprio zero e sem -0. Os literais são true, false e null. Strings usam aspas duplas e um único regime de escape: aspas como \", barra inversa como \\, U+0008/U+0009/U+000A/U+000C/U+000D como \b, \t, \n, \f, \r; os demais U+0000–U+001F como \u00xx minúsculo. Os outros escalares, inclusive barra comum, DEL e caracteres não ASCII, são emitidos diretamente. Não há normalização Unicode.
O parser de entradas de identidade recusa UTF-8 inválido, nomes duplicados, números fora desse subconjunto e dados não brancos após o valor. Uma fórmula de identidade que omite seu próprio campo constrói primeiro o objeto sem esse campo, codifica-o, calcula o hash e depois reinsere a identidade para serializar o objeto completo. O digest de transporte desse objeto completo é outra grandeza.
2. Medidor lógico de gas do R1
As regras são visitadas na ordem canônica do programa verificado; átomos de corpo e cabeça seguem a ordem autorada; átomos da extensão seguem ReasoningContentKey crescente. Substituições são ordenadas pelos bytes UTF-8 dos nomes das variáveis e pela representação canônica dos valores.
Antes de um evento, seu custo lógico integral deve estar disponível. A tabela é:
| Evento | Custo lógico |
|---|---|
| Considerar um átomo de corpo contra um átomo da extensão sob uma substituição | 1 |
| Comparar um papel autorado desse átomo | +1 por papel |
| Consultar/copiar vínculo existente para uma extensão bem-sucedida | +1 por vínculo |
| Introduzir vínculo de variável | +1 por vínculo |
| Emitir substituição bem-sucedida | +1 |
| Tentar instanciar átomo de cabeça sob uma substituição | 1 por átomo |
| Instanciar papel da cabeça | +1 por papel |
| Construir chave de conteúdo de consequência | 1 + quantidade de papéis |
| Tentar consultar/inserir a consequência na extensão | 1 |
A rodada externa não consome uma unidade avulsa. Laços cuja cardinalidade depende de regra, corpo, extensão, substituição ou cabeça são cobertos pelos eventos. Uma otimização física conserva o mesmo débito lógico e, para sujeito/base/gas iguais, a mesma fronteira de ponto fixo ou esgotamento e a mesma extensão parcial.
Custos e orçamentos são u64; soma e multiplicação são verificadas. Overflow produz RESOURCE_ACCOUNTING_OVERFLOW. Se o custo do próximo evento excede o restante, a execução retorna OUT_OF_GAS antes do evento, com a extensão anterior. Pode sobrar gas quando o próximo evento indivisível custa mais que esse saldo. gas_consumed = gas_budget - gas_remaining.
O orçamento reinicia independentemente por aplicação R1 selecionada. Match não usa esse medidor no perfil 0.1.0; sua segurança de recursos segue os limites e as campanhas T11/T14.
3. T10: sujeito, operação e observação
A emenda D235 fixa formasl.t10.contract.v2. O objetivo é caracterização de engenharia, não otimização, SLO, teorema assintótico ou declaração universal de desempenho.
Uma observação é admissível quando a cadeia contrato → fixture canônica → oráculo estrutural → admissão semântica → operação T04 exata → medição bruta → redução estatística → caso de resultado → selo completo é reconstruível e verificável. Nome de teste, braço, workload ou estado do manifesto não substitui a operação executada.
Antes do primeiro sample cronometrado, os oráculos estrutural, semântico e de resultado precisam passar sobre a mesma fixture. Probes negativos exigidos pertencem à admissão, fora do timer. Uma falha de correção invalida o caso; não é um sample lento nem NOISY.
A métrica primária é latência de parede em nanossegundos imediatamente ao redor da chamada T04. Inicialização de processo/trabalhador, geração e leitura de fixtures, preparação ambiental, verificação, pré-construção de CheckedProgram, calibração de gas e persistência ficam fora, salvo regra explícita em contrário.
As classes de operação são CHECK, INSPECT_SUMMARY, INSPECT_CLAIMS, RUN_MATCH, RUN_R1_GAS0, RUN_R1_FIXPOINT e REALIZE. Não há fallback para identificador de workload desconhecido.
4. Fixtures e oráculos
W01–W13 usam UTF-8, apenas LF, um LF final, quatro espaços de indentação, sem tabs, espaços finais, comentários ou doc comments. SourceInput.revision = 1. A largura INDEX_WIDTH é fixada depois da seleção final de escalas da família e usada em todas as suas fixtures finais.
O verificador estrutural consome todos os bytes: bytes_consumed = bytes_total e unconsumed_bytes = 0. Ele pode compartilhar com o gerador apenas I/O genérico, validação UTF-8, hashing e classes genéricas de erro; não compartilha listas de itens, contadores, AST, identidades esperadas, lógica de slots de variáveis ou lógica específica do oráculo.
A gramática de fixtures W01–W13 permanece regida pelo vocabulário de workload e seus templates, com as substituições explícitas de D235. Dados de exemplo do livro não são os oráculos desses benchmarks.
5. Inventário de workloads e observáveis
W01 — CTL-MINIMAL-CHECK
Um único caso de escala 1 contém exatamente um módulo bench_w01 vazio. O braço é CHECK; o resultado é aceito, com um módulo e zero itens semânticos. Não há contraste.
W02 — CHECK-DECLARATIONS
Um módulo bench_w02 contém exatamente os tipos simples T1–TN. Não contém especializações, subtipos, Claims, relações, aplicações, composições ou imports. CHECK deve aceitar e o oráculo exige N tipos e o conjunto exato de identidades. Não há contraste.
W03 — CHECK-CLAIMS
A base fixa contém Entity e Observed(subject:Entity). A parte variável contém C1–CN, cada Claim vinculada ao sujeito léxico correspondente e emitida por $bench. CHECK deve aceitar exatamente duas declarações e N Claims, com identidade e ordem autorada exatas. Não há contraste.
W04 — CHECK-PARTITION
P é a quantidade total de tipos simples e M a quantidade de módulos. P permanece constante em todos os casos finais; apenas M varia. São M módulos, P tipos T1–TP, P mod M = 0, partição contígua uniforme, sem lacunas, duplicatas, imports ou referências. CHECK recebe todo o conjunto de fontes. O oráculo confirma M módulos, P tipos e identidades exatas. É proibido escolher P em função de M na campanha final.
W05 — CHECK-XREF
CONTROL contém Root e T1–TN simples; XREF contém os mesmos itens, nomes e ordem, com specializes Root em cada Ti. A única diferença material são as N referências autoradas. Substituí-las por subtype muda o workload.
O oráculo estrutural exige zero especializações em CONTROL, N em XREF, filhos T1–TN exatos e referência parental Root. Ambos os checks são aceitos. O probe negativo substitui exatamente um Root por MissingRoot e exige rejeição por referência não resolvida. Os braços são CONTROL e XREF; o contraste é XREF-CONTROL. A antiga exigência de uma visão Inspect que contasse specializes foi retirada por D235.
W06/W07 — Família INSPECT
Ambos usam a fixture W03 e suas mesmas escalas finais. Um CheckedProgram é construído fora do timer. Os braços CHECK, SUMMARY e CLAIMS chamam respectivamente check, inspect Summary e inspect Claims. W06 focaliza SUMMARY e W07 focaliza CLAIMS.
SUMMARY exige a visão estruturada completa, incluindo um módulo, revisão 1, duas declarações, N Claims e zero aplicações, composições e subtipos. CLAIMS exige nomes/ordem, proposição Observed, papel/valor subject, emissor e identidades estáveis. A família monitora os três braços e os contrastes SUMMARY-CHECK, CLAIMS-CHECK e CLAIMS-SUMMARY, sem duplicar ou perder rodadas pareadas.
W08 — MATCH-OCCURRENCE-VOLUME
N é a quantidade de ocorrências Observed, com exatamente um hit na ocorrência final. Os demais buckets são miss. CHECK aceita; MATCH executa BenchMatch com gas de requisição zero e retorna MATCH_COMPLETE, uma solução e a testemunha da ocorrência final. Gas é não aplicável a esse caminho Match. Braços CHECK/MATCH; contraste MATCH-CHECK.
W09 — MATCH-SELECTIVITY
Um único N é fixado para a campanha final. Variam os K obtidos de Q = {0,1/8,1/4,1/2,3/4,7/8,1} por K = round(q*N), removendo duplicatas e exigindo pelo menos cinco valores distintos. Quantis adicionais são proibidos.
Para K zero, o conjunto de hits é vazio; para K positivo, é {ceil(j*N/K) | j=1..K}. O caso é identificado por (W09,N,K). CHECK aceita; MATCH retorna exatamente K testemunhas, iguais ao conjunto de hits, sem não-hits. Braços CHECK/MATCH; contraste MATCH-CHECK.
W10 — R1-BODY-WIDTH
B varia a quantidade de átomos positivos Seed repetidos no corpo da única regra R. Permanecem um fato Seed, um alvo Derived e BenchInfer. Os braços são CHECK, GAS0 e FIXPOINT. GAS0 retorna OUT_OF_GAS com extensão 1; FIXPOINT retorna R1_FIXPOINT, extensão 2, um Derived e um match de goal. Contrastes GAS0-CHECK, FIXPOINT-CHECK e FIXPOINT-GAS0.
W11 — R1-PREMISE-VOLUME
N varia a quantidade de fatos Seed. A regra é Seed(x) → Derived(x). GAS0 conserva extensão N; FIXPOINT retorna o conjunto exato de um Derived por Seed, N consequências, extensão 2N e N matches. Igualdade de contagem sem igualdade de conjuntos não satisfaz o oráculo. Braços e contrastes são os de W10.
W12 — R1-CLOSURE-GROWTH
A entrada é a cadeia Edge(e0,e1)…Edge(e(L-1),eL). Base deriva Path de cada Edge; Step usa Edge(a,b) e Path(b,c) para derivar Path(a,c). C(L)=L(L+1)/2. GAS0 conserva extensão L; FIXPOINT exige o fecho transitivo exato, C(L) Paths, extensão L+C(L) e C(L) matches. Braços e contrastes são os de W10.
W13 — REALIZE-TARGETS
T varia a quantidade de aplicações nomeadas Cap1–CapT numa fonte semântica válida com Entity, Seed, uma Claim e aplicações Match. Elas existem como alvos; W13 não as executa. O plano contém T alvos app, cada um com o requisito e vínculo externos prescritos para sua Cap correspondente.
Não são admitidos limit, prefer, budget, group, stage, composition, module, source ou capability target, nem seletor explícito de revisão. O check prévio aceita as aplicações exatas; REALIZE deve retornar BOUND, T vínculos e correspondência biunívoca com os alvos existentes na fonte @r1. Remover uma aplicação mantendo seu alvo FSP exige UNKNOWN_REALIZATION_TARGET. O antigo caso “FSL vazio + capability targets” foi retirado. Não há contraste.
W14/W15 — Perfil social
São fixos formasl.social, versão 1 e semente 0. Na escala s: 128s Person, 8s Organization, 128s MemberOf e 512s Follows. W14 mede CHECK e exige digests e quantidades exatos.
W15 usa o mesmo dataset e exatamente as mesmas escalas de W14. Seus braços CHECK e MATCH são medidos no próprio W15, não reutilizados de W14. MATCH executa SocialFollows com o único padrão Follows(from,to), retorna 512s soluções, uma testemunha distinta por ocorrência e vínculos tipados exatos, com gas não aplicável. Contraste MATCH-CHECK.
W16/W17 — Perfil financeiro
São fixos formasl.financial, versão 1 e semente 0. Na escala s: 64s Account, 4s Institution, 64s AccountAt, 512s Transfer e max(1,floor(64s/16)) Flagged. W16 mede CHECK e exige digests e quantidades exatos.
W17 usa exatamente as escalas de W16. A regra não recursiva é Transfer(from,to) e Flagged(to) → RiskEdge(from,to); RiskEdge não aparece no corpo. Seus braços CHECK e R1_FIXPOINT usam controles pareados próprios. O oráculo exige o conjunto exato de pares correspondentes, sem ausência ou excesso. Contraste R1_FIXPOINT-CHECK.
6. Calibração congelada
Antes do primeiro piloto, o BenchmarkCalibrationManifest vincula campanha, contrato, ambiente, limite de expoente por família, timeout, RSS máximo do filho, limite da busca de gas, semente de escalonamento, LLC em bytes e espera de estabilização. Alterar um campo depois do piloto cria uma nova campanha.
Os valores fixos são: candidatos em potências de dois; três repetições de piloto; quatro a oito pontos finais; scrub de cache de 4*LLC_bytes; limiar de dispersão 1/20; estágios de rodadas [12,24,36]; nenhum delta de swap.
Seleção genérica
Os candidatos são 2^j, a partir de j zero. Um candidato só é seguro se toda operação/caso obrigatório da família satisfaz os oráculos, timeout, RSS e ausência de swap. Após o primeiro candidato inseguro, candidatos maiores são excluídos. Os expoentes seguros formam 0…J. Menos de quatro expoentes seguros faz a calibração falhar.
Com M=min(8,J+1), os índices retidos são floor(i*J/(M-1)), para i de zero a M−1, únicos e crescentes, incluindo ambos os extremos. A curva observada e preferências de apresentação não alteram a seleção.
Famílias especiais
W04 testa âncoras Pj=8*2^j com M_probe=8. O maior P seguro antes da primeira falha fica fixado como P_FINAL. Os M finais são potências de dois que dividem P_FINAL, selecionados pela regra genérica.
W09 considera os N finais de W08 em ordem decrescente. Escolhe o maior para o qual todos os K do conjunto obrigatório satisfazem os pilotos e limites. Fixa esse único N e todos os K correspondentes, sem novos quantis.
W10, W11, W12 e W17 buscam gas em 1,2,4,8… até o primeiro ponto fixo ou o limite. Sem ponto fixo, a escala é insegura. Depois, uma busca binária determina o menor gas por escala. G_FIXPOINT=2*max(MIN_FIXPOINT_GAS) sobre as escalas finais. Overflow u64 ou incapacidade de atingir todos os oráculos finais faz a calibração falhar.
W06/W07 compartilham as escalas de W03. A família social só admite escalas seguras para W14 CHECK, W15 CHECK e W15 MATCH. A financeira exige W16 CHECK, W17 CHECK, calibração de gas e oráculo R1. W14/W15 e W16/W17 têm conjuntos finais iguais. Dois pontos financeiros seguros não podem ser completados com escalas apenas do CHECK.
7. Pré-condicionamento e escalonamento
Antes de cada braço cronometrado: ler até EOF as dependências seladas e fixtures na ordem canônica; percorrer memória anônima de exatamente quatro LLCs com stride fixo de 64 bytes; aguardar precondition_settle_ms; verificar a ausência de swap; iniciar e encerrar o timer imediatamente ao redor da chamada pública.
O ambiente registra alvo, sistema/kernel, CPU/topologia, RAM, sistema de arquivos, virtualização, toolchain/build, política de energia quando observável e afinidade de CPU. Uma pré-condição obrigatória inaplicável produz invalidade ou inconclusão, sem enfraquecimento silencioso.
A ordem de casos deriva da semente congelada, independente dos resultados. Dois braços alternam ordem; três percorrem as seis permutações ABC, ACB, BAC, BCA, CAB, CBA. Pareamento usa a identidade da rodada, não proximidade temporal. Uma rodada pode ser repetida apenas antes da primeira observação cronometrada. Falha de infraestrutura depois dela invalida a identidade da campanha da família afetada; não há repetição seletiva de samples.
8. Estatística e extensão de rodadas
O caso começa com doze rodadas completas e balanceadas. Se qualquer braço ou contraste obrigatório não convergir, todo o bloco é estendido a 24 e, se necessário, a 36. Ao final, a dispersão restante recebe NOISY, conservando todas as observações. Não há remoção de outliers, exclusão seletiva, troca de fixture/escala ou substituição pós-hoc de caso.
Para amostras T, dispersion=IQR(T)/median(T). Nas quantidades pares admitidas, a mediana é a média dos dois valores centrais ordenados; Q1 e Q3 são as medianas das duas metades; IQR=Q3−Q1.
Para contraste A−B, cada amostra é Di=Ai−Bi da mesma rodada. O valor publicado é median(Di), não median(A)−median(B). A dispersão é IQR(Di)/median((Ai+Bi)/2). Converge quando menor ou igual a 1/20. O sinal é preservado: não se publica valor absoluto nem B−A sob a etiqueta A−B.
NOISY é resultado válido de caracterização, distinto de falha semântica ou de infraestrutura.
9. Matriz exata de braços e contrastes
| Workload | Braços | Contrastes |
|---|---|---|
| W01–W04 | CHECK | Nenhum |
| W05 | CONTROL, XREF | XREF-CONTROL |
| W06/W07 | CHECK, SUMMARY, CLAIMS | SUMMARY-CHECK; CLAIMS-CHECK; CLAIMS-SUMMARY |
| W08/W09 | CHECK, MATCH | MATCH-CHECK |
| W10–W12 | CHECK, GAS0, FIXPOINT | GAS0-CHECK; FIXPOINT-CHECK; FIXPOINT-GAS0 |
| W13 | REALIZE | Nenhum |
| W14 | CHECK | Nenhum |
| W15 | CHECK, MATCH | MATCH-CHECK |
| W16 | CHECK | Nenhum |
| W17 | CHECK, R1_FIXPOINT | R1_FIXPOINT-CHECK |
A aceitação exige igualdade exata, não subconjunto ou superconjunto.
10. Selo primário e evidências
O próximo selo primário conforme usa schema = formasl.t10_result_seal, schema_version = 3 e contract_id = formasl.t10.contract.v2. O selo versão 2 é evidência de remediação, não resultado primário do novo contrato.
Cada caso contém workload, escala, parâmetros, identidade, digest de fixture, oráculo estrutural, admissão semântica, rodadas brutas, braços e contrastes. Cada braço vincula arm_id, operação, parâmetros da operação, sujeito, median_ns, iqr_ns, rodadas e estado CONVERGED ou NOISY; um booleano isolado de convergência não satisfaz a versão 3. Todos os braços e contrastes do mesmo caso têm a mesma quantidade final de rodadas.
Todos os W01–W17 e todos os casos calibrados finais aparecem exatamente uma vez. Não aparecem casos não calibrados. A chave de unicidade é (workload,scale,parameters). A evidência conjunta W06/W07 permite recuperar os dois focos e os seis monitores sem duplicar ou perder rodadas pareadas.
O verificador semântico confere identidades de contrato/campanha/calibração, cobertura de workloads e casos, P constante de W04, N e K exatos de W09, escalas compartilhadas, braços/contrastes exatos, vínculo da operação, sinal, digests de fixture/oráculos/admissão, existência das observações brutas, consistência de rodadas e digest canônico. Validação JSON Schema é necessária, mas não substitui esses julgamentos.
seal_digest é SHA-256 dos bytes canonical-json-1 do objeto lógico completo sem seal_digest. A ordem de membros do objeto não muda a identidade; a ordem de arrays segue o contrato.
11. Recusa de campanhas incompletas
Workload ou escala ausente, calibração falha, oráculo não satisfeito, escalas compartilhadas divergentes, operação/fixture incompatível, sinal errado, infraestrutura inválida ou ambiguidade contratual material impedem um selo primário.
Nesses casos, o artefato é formasl.t10_campaign_failure, com campanha, contrato, ambiente, etapa, família/workload, classe de falha e digests de evidência. Uma caracterização parcial não usa formasl.t10_result_seal.
A campanha formasl.t10.campaign.0_1_0 permanece histórica, sem força para Match, R1, Inspect, Realize ou escalabilidade nos casos em que mediu CHECK sob rótulos de outras operações. formasl.t10.campaign.0_1_1 é NON-CANONICAL REMEDIATION CHARACTERIZATION: melhora a execução das operações, mas não satisfaz W05/W13, W04/W09, escalas financeiras compartilhadas e a interface v3. A primeira campanha conforme recebe nova identidade.
12. Casos adversariais obrigatórios
| Caso | Construção a recusar |
|---|---|
| A01/A02 | Omitir W05 ou W13 do selo primário. |
| A03/A04 | Rotular W15 MATCH ou W17 R1_FIXPOINT enquanto executa CHECK. |
| A05 | Variar P junto de M em W04. |
| A06/A07 | Múltiplas âncoras N em W09 ou quantis 3/8 e 5/8. |
| A08/A09 | Escalas finais divergentes nas famílias social ou financeira. |
| A10 | Inverter ou absolutizar o contraste MATCH-CHECK. |
| A11/A12 | Omitir caso calibrado ou substituí-lo por duplicata. |
| A13/A14/A15 | Corromper oráculo estrutural, oráculo semântico ou digest de fixture. |
| A16 | Usar fallback para workload desconhecido. |
| A17/A18 | Reintroduzir capability-target em W13 ou trocar specializes por subtype em W05. |
| A19/A20 | Aceitar selo semanticamente inválido apesar do esquema, ou emitir campanha parcial como primária. |
| A21 | Fazer a ordem de campos JSON alterar o digest canônico. |
| A22/A23 | Aceitar o probe MissingRoot de W05 ou vincular o alvo sem aplicação de W13. |
A implementação também responde negativamente às perguntas de fechamento: pode emitir rótulo sem operação; omitir workload; variar P/M ou N/quantis incorretamente; divergir escalas; perder sinal; cronometrar fixture/resultado inválido; emitir primário parcial; aceitar selo semanticamente inválido; confundir especialização/subtipo; vincular alvo ausente; alterar identidade por ordem de objeto; reclassificar obrigação requerida como risco residual? Qualquer resposta positiva ou desconhecida impede VERIFIED.
13. Gate de T10 e separação da otimização
Todos os W01–W17, a calibração, as escalas compartilhadas, os contrastes, as evidências brutas e o verificador semântico devem estar conformes; JSON Schema, gates do workspace e auditoria de fechamento devem passar. Não há aprovação por maioria.
A implementação desse reparo contratual não modifica Match, R1, Check, Realize, workloads, seleção de escalas, gas ou oráculos para melhorar números. Uma otimização posterior requer trabalho autorizado separado. Desempenho ruim corretamente observado continua sendo um resultado de caracterização.
Documentação relacionada
Base contratual do produto estabelece os tópicos e o horizonte de release. Consultas e completude distingue a semântica Query das regras deste medidor e do Reasoning. Os manifests de origem e as matrizes de correspondência do pacote identificam os ativos técnicos utilizados para reproduzir essas verificações.
Exemplos de domínio
Os exemplos deste conjunto foram organizados por problemas de modelagem. Cada caso apresenta seu objetivo, a fonte completa e a propriedade que deve ser verificada.
| Caso | Distinção exercitada |
|---|---|
| Custódia | Unidade de uma relação n-ária e papéis dos participantes. |
| Inspeção | Leitura instrumental e parecer sobre a leitura. |
| Regiões | Regra transitiva de continência. |
| Competências | Agente e candidato avaliados para uma atividade. |
| Revisões | Base histórica de uma avaliação. |
| Classificações | Categorias situadas em esquemas diferentes. |
Como verificar
As fontes estão distribuídas em exemplos/, junto do livro. O script verificacao/verificar_exemplos.py recebe o caminho do executável FormaSL e registra o comando, o código de saída e a saída de cada verificação de formação.
O manifesto de exemplos distingue a formação do modelo da execução de uma aplicação. O relatório do pacote conserva essas classes separadamente, permitindo acrescentar os testemunhos de execução sem confundir a aceitação sintática com o comportamento esperado.
Como ampliar um caso
Acrescente primeiro as informações e o contrato de aplicação necessários à pergunta do domínio. Defina o resultado esperado, a base e a condição de conclusão. Inclua um caso que falhe quando a distinção central for eliminada.
A extensão deve reutilizar a biblioteca e as interfaces da versão selecionada. Mantenha as alterações do domínio separadas das escolhas de realização.
Custódia de uma carga
Identificar uma transferência de custódia com seus participantes e papéis.
Modelo
Uma transferência relaciona a carga, as duas organizações, o local e o momento. A unidade da relação permite consultar a mesma transferência por qualquer um desses papéis.
module exemplos::custodia {
type Carga
type Organizacao
type Local
type Instante
relation TransferenciaCustodia {
role carga: Carga
role cedente: Organizacao
role recebedor: Organizacao
role local: Local
role momento: Instante
}
}
Verificação
A formação aceita a relação com cinco papéis tipados. O cenário de execução deve conservar a unidade da transferência ao consultar cedente e recebedor.
A fonte completa está em exemplos/01-custodia/modelo.fsl no pacote. O script verificacao/verificar_exemplos.py executa a formação com o binário indicado e registra o resultado. A formação e a execução de aplicações são gates separados no relatório.
Inspeção e parecer
Separar uma leitura instrumental do parecer que utiliza essa leitura.
Modelo
A leitura está ligada ao instrumento e ao equipamento. O parecer referencia a leitura e identifica o responsável. Os dois artefatos podem circular e ser revistos por contratos próprios.
module exemplos::inspecao {
type Equipamento
type Instrumento
type Tecnico
type Leitura
type Parecer
relation LeituraDoEquipamento {
role leitura: Leitura
role equipamento: Equipamento
role instrumento: Instrumento
}
relation ParecerSobreLeitura {
role parecer: Parecer
role leitura: Leitura
role responsavel: Tecnico
}
}
Verificação
A formação preserva tipos e papéis distintos. O cenário de execução deve localizar qual leitura fundamenta cada parecer.
A fonte completa está em exemplos/02-inspecao/modelo.fsl no pacote. O script verificacao/verificar_exemplos.py executa a formação com o binário indicado e registra o resultado. A formação e a execução de aplicações são gates separados no relatório.
Continência entre regiões
Declarar e verificar a regra transitiva de continência utilizada por um domínio espacial.
Modelo
O contrato do exemplo define continência transitiva. Se um pátio contém uma zona e essa zona contém uma área de inspeção, a regra deriva a continência da área no pátio.
module exemplos::regioes {
type Regiao
relation Contem {
role externa: Regiao
role interna: Regiao
}
rule ContemTransitiva using Contem(?a: Regiao, ?b: Regiao, ?c: Regiao) {
when Contem(externa: ?a, interna: ?b)
when Contem(externa: ?b, interna: ?c)
derive positive Contem(externa: ?a, interna: ?c)
}
}
Verificação
A formação verifica a regra e as variáveis tipadas. A verificação de execução exige duas premissas admitidas e a consequência correspondente; essa camada é registrada separadamente no relatório.
A fonte completa está em exemplos/03-regioes/modelo.fsl no pacote. O script verificacao/verificar_exemplos.py executa a formação com o binário indicado e registra o resultado. A formação e a execução de aplicações são gates separados no relatório.
Competência e candidato
Representar separadamente a pessoa autorizada e o equipamento avaliado para uma atividade.
Modelo
As relações têm alvos diferentes: uma relaciona a pessoa à atividade; a outra identifica a avaliação de um equipamento para essa atividade. Os julgamentos de autorização e admissão utilizam as bases correspondentes.
module exemplos::competencias {
type Pessoa
type Equipamento
type Atividade
type Avaliacao
relation CompetenciaParaAtividade {
role pessoa: Pessoa
role atividade: Atividade
}
relation AvaliacaoDoCandidato {
role avaliacao: Avaliacao
role equipamento: Equipamento
role atividade: Atividade
}
}
Verificação
A formação mantém as categorias distintas. O cenário de execução deve admitir combinações em que apenas um dos requisitos é satisfeito.
A fonte completa está em exemplos/04-competencias/modelo.fsl no pacote. O script verificacao/verificar_exemplos.py executa a formação com o binário indicado e registra o resultado. A formação e a execução de aplicações são gates separados no relatório.
Revisões de um procedimento
Manter a relação entre um procedimento e as revisões utilizadas por avaliações históricas.
Modelo
Uma avaliação aponta para a revisão que utilizou. A relação de sucessão identifica outra revisão sem alterar essa referência histórica.
module exemplos::revisoes {
type Procedimento
type Revisao
type Avaliacao
relation RevisaoDe {
role revisao: Revisao
role procedimento: Procedimento
}
relation AvaliadoSob {
role avaliacao: Avaliacao
role revisao: Revisao
}
relation SucedeRevisao {
role anterior: Revisao
role posterior: Revisao
}
}
Verificação
A formação preserva as referências tipadas. O cenário de execução deve mostrar avaliações sob revisões diferentes do mesmo procedimento.
A fonte completa está em exemplos/05-revisoes/modelo.fsl no pacote. O script verificacao/verificar_exemplos.py executa a formação com o binário indicado e registra o resultado. A formação e a execução de aplicações são gates separados no relatório.
Classificações em esquemas distintos
Relacionar uma mesma carga a categorias de esquemas diferentes.
Modelo
Uma carga pode ser classificada por requisitos de transporte e por categorias comerciais. A referência ao esquema permite interpretar cada enquadramento na base correspondente.
module exemplos::classificacoes {
type Carga
type Categoria
type Esquema
relation Enquadramento {
role carga: Carga
role categoria: Categoria
role esquema: Esquema
}
relation CategoriaDoEsquema {
role categoria: Categoria
role esquema: Esquema
}
}
Verificação
A formação verifica os papéis. O cenário de execução deve consultar a mesma carga sob dois esquemas sem fundir suas categorias.
A fonte completa está em exemplos/06-classificacoes/modelo.fsl no pacote. O script verificacao/verificar_exemplos.py executa a formação com o binário indicado e registra o resultado. A formação e a execução de aplicações são gates separados no relatório.
Trilha de aprendizagem
A aprendizagem do FormaSL parte de problemas de domínio e avança até a composição de aplicações. O objetivo é compreender o significado das estruturas antes de escolher como executá-las. Cada etapa utiliza páginas e exemplos já apresentados no livro.
1. Identifique o que o domínio distingue
Leia Finalidade e escopo e Modelo de mundo. Escolha um processo pequeno, como a transferência de custódia de uma carga. Identifique participantes, acontecimentos, afirmações e decisões.
Ao concluir a etapa, você deve conseguir explicar quais informações descrevem o mesmo processo e por que seus papéis continuam distintos.
2. Modele relações e referências
Estude Metagrafo, Tipos e Módulos. Utilize o exemplo de Custódia e verifique sua formação.
Modifique um papel e observe quais consumidores dependeriam dessa mudança. O resultado da etapa é um modelo cuja identidade e participação possam ser explicadas sem recorrer à organização física dos dados.
3. Organize conceitos e bases
Leia Ontologias e Contextos, tempo e espaço. Trabalhe com os exemplos de Classificação e Revisões.
Identifique qual base uma avaliação utiliza e como uma revisão posterior pode ser relacionada ao resultado anterior.
4. Defina operações e resultados
Estude Operações, Resultados situados e Composição. Formule uma pergunta de consulta, uma consequência de inferência e um julgamento de validação sobre o modelo.
Para cada resultado, declare sua base, suas dependências e o critério de conclusão. Verifique quais resultados podem ser aceitos pelo próximo estágio.
5. Relacione informação e ação
Leia Claims, Observação, Governança e Execução.
Descreva um percurso em que uma observação fundamenta uma avaliação, uma decisão e uma requisição. Identifique as autoridades e os registros necessários em cada passagem.
6. Prepare o projeto e a realização
Utilize os guias de Projeto, Realização, Provedores e Verificação.
O resultado desta etapa é um alvo reproduzível, com fontes, dependências, aplicações, planos e verificações identificados. A referência de suporte da baseline informa os caminhos de execução disponíveis para cada família.
Primeiro modelo: transferência de custódia
Este exercício modela a transferência de uma carga entre duas organizações. O objetivo é conservar a unidade da transferência e distinguir os papéis de quem entrega e de quem recebe.
Examine o caso
Uma transferência envolve uma carga, uma organização cedente, uma organização recebedora, um local e um momento. Esses participantes pertencem ao mesmo acontecimento de domínio.
Abra exemplos/01-custodia/modelo.fsl no pacote. O módulo declara os tipos dos participantes e a relação TransferenciaCustodia, com cinco papéis.
Verifique a formação
No diretório do pacote de publicação, utilize o executável da sua versão:
formasl check exemplos/01-custodia/modelo.fsl
Examine a saída de formação. Em caso de diagnóstico, localize a declaração e a categoria apontadas. O guia de diagnósticos mostra como distinguir ausência de fonte, referência incorreta e incompatibilidade de formação.
Trabalhe com os papéis
Compare as perguntas “quais cargas a organização entregou?” e “quais cargas a organização recebeu?”. Ambas utilizam a mesma relação, selecionando papéis diferentes.
Considere agora duas transferências da mesma carga em momentos diferentes. A identidade de cada instância deve permitir relacionar seus participantes sem fundir os acontecimentos.
Acrescente informação situada
Descreva a afirmação da organização cedente sobre a entrega e a confirmação da organização recebedora. Identifique os emissores e as condições de tempo. As duas Claims podem referir-se à mesma transferência conservando seus atos de afirmação.
Defina também quais observações ou documentos podem fundamentar uma avaliação. Essa preparação permite escolher o contrato da aplicação que consultará ou julgará as informações.
Critério de conclusão
O modelo está compreendido quando você consegue identificar a unidade da relação, o papel de cada participante, a diferença entre duas transferências e a distinção entre o acontecimento e as afirmações a seu respeito. A próxima etapa é declarar uma aplicação sobre essas estruturas e verificar seu resultado sob a interface da baseline utilizada.
Compor um processo de domínio
Este exercício reúne os conceitos do livro em um processo de inspeção de equipamento. O trabalho é dividido pelas responsabilidades semânticas da aplicação, com critérios de verificação para cada parte.
Modelo e informação
Identifique equipamento, instrumento, técnico, leitura e parecer. Utilize o exemplo de inspeção para organizar suas relações. Registre a revisão do procedimento aplicada à avaliação e os tempos de aquisição, conhecimento e decisão que sejam pertinentes.
O modelo deve permitir recuperar de qual equipamento veio uma leitura e qual parecer a utilizou.
Computação
Defina uma consulta que selecione as leituras relevantes para o equipamento e para o período. Especifique o critério de completude da busca. Separe-o do critério de cobertura que determina se o período possui as medições exigidas.
Uma análise ou inferência pode produzir um resultado sobre as condições do equipamento. Identifique o modelo ou a teoria utilizada e as dependências do resultado.
Governança
Defina o contrato de validação do registro de inspeção. Em seguida, determine quais condições governam a admissão do equipamento em uma atividade e a autorização do agente responsável.
Uma decisão pode consumir os julgamentos produzidos. Registre o decisor, a base normativa e o resultado assumido.
Ação e retorno
Quando a decisão exigir atuação externa, declare a requisição correspondente. Identifique o alvo, os argumentos e o requisito de realização. O percurso operacional acompanha despacho, exposição, tentativa e recibo.
Novas observações podem fornecer informações sobre o estado posterior do equipamento. Elas são admitidas pela fronteira de aquisição e utilizadas por operações posteriores.
Cenário alternativo
Avalie a hipótese de retirar o equipamento durante uma janela de manutenção. Identifique as premissas locais, a base e os resultados que dependem delas. Compare essa alternativa com outra janela sob critérios comuns.
Verificações
Inclua uma inspeção conforme, uma inspeção com restrição violada, uma falta de cobertura observacional, uma autorização ausente e uma perda de resposta após exposição possível. Cada caso deve produzir o desfecho de seu contrato e conservar a história necessária ao próximo passo.
O processo está pronto para integração quando os contratos dos estágios, suas entradas, os caminhos alternativos e as condições de conclusão estiverem definidos e os respectivos casos tiverem sido executados sobre a baseline selecionada.