Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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