Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-26 21:07:53 UTC · snapshot created 2026-11-26 21:08:36 UTC · last check 2026-11-29 22:25:09 UTC

G.3:4 - Solution — CHR authoring kit and publication surface

G.3:4.1 - G.Core linkage (normative)

Builds on: G.Core (Part‑G core invariants; citation/delegation hub)

GCoreLinkageManifest (normative).

GCoreLinkageManifest := ⟨
CoreConformanceProfileIds := {
GCoreConformanceProfileId.PartG.AuthoringBase,
GCoreConformanceProfileId.PartG.TriStateGuard,
GCoreConformanceProfileId.PartG.UTSWhenPublicIdsMinted
},
CorePinSetIds := {
GCorePinSetId.PartG.AuthoringMinimal,
GCorePinSetId.PartG.CrossingVisibilityPins
},

// Pins strengthened for CHR authoring (delta over PinSets)
CorePinsRequired := {
// NOTE: the frame pin inherited from `GCorePinSetId.PartG.AuthoringMinimal` denotes only the exact
// declared CG-frame, which is the framing episteme here; it supplies no universal setting, scope, or reuse authority.
// Identify each measured bearer as the `entityOfConcern`. Inherit `CNSpecRef.edition` and `CGSpecRef.edition` when the kit or receiving use requires them. Each card adds its use-specific pins.
UTSRowId[],                      // required: CHR terms are public ids (Name Cards plus public-id continuity records)
PathId[]?/PathSliceId[]?,        // when G.6 paths are used or required by the receiving contract
ReferencePlane,                  // required: definitional claims are plane-scoped
Φ/Ψ/Φ_plane policy-ids?,         // when the applied loss/assurance model uses them or an applicable rule for the receiving use requires them (G.Core:4.2.3)
ΓFoldRef.edition?                // iff an explicit Γ-fold artefact is pinned (otherwise use DefaultId)
// NOTE: method-/discipline-specific pins (e.g., DescriptorMapRef/DistanceDefRef/DHCMethodRef/InsertionPolicyRef)
// are declared only inside Extensions (e.g., `G.3:Ext.QD_OEE_Wiring`) to keep core linkage universal.
},

// consumed iff any published `CHR.AggregationSpec` relies on default Γ-fold (no explicit override pinned)
DefaultsConsumed := { DefaultId.GammaFoldForR_eff },

RSCRTriggerKindIds := {
RSCRTriggerKindId.EvidenceSurfaceEdit,
RSCRTriggerKindId.TokenizationOrNameChange,
RSCRTriggerKindId.CrossingBundleEdit,
RSCRTriggerKindId.ReferencePlaneEdit,
RSCRTriggerKindId.EditionPinChange,
RSCRTriggerKindId.PolicyPinChange,
RSCRTriggerKindId.DefaultGoverningDefinitionChange,
RSCRTriggerKindId.FreshnessOrDecayEvent,
RSCRTriggerKindId.LegalitySurfaceEdit,
RSCRTriggerKindId.BaselineBindingEdit
}
⟩

Apply G.Core:4.2 for conformance profiles, pins, nil-elision and expansion. The manifest names the applicable trigger kinds (G.Core:4.3) and uses G.Core:4.4 to locate the governing definition of each default it consumes.

G.3:4.2 - Output surface: CHR Pack@CG‑Frame (normative)

CHR Pack@CG‑Frame is the CHR kit payload that downstream patterns cite and pin. Its CN/CG references identify the governing specifications.

Minimum exported objects (kit surface):

  • CHR.Characteristic[]
  • CHR.Scale[]
  • CHR.Level[] (when the scale type requires explicit level sets / order structure)
  • CHR.Coordinate[] (encodings + legality annotations; never an implicit “upgrade” of measurement structure)
  • CHR.Guards (guard macro surface; semantics governed by cited definitions; see G.Core and A.18)
  • CHR.LegalityMatrix (admissible operations per scale type / unit / polarity regimes)
  • CHR.AggregationSpecs (typed aggregators/comparators + proof hooks + edition pins where applicable)
  • UTS publication bundle: Name Cards with designations under F.17/F.18, public-id continuity notes, and (when applicable) bridge and loss notes
  • RSCR artefacts: RSCRTestId[], worked examples and their source/proof/measurement provenance, with applicable plane, path and policy pins

Mandatory provenance pins (conceptual, notation‑independent):

  • ReferencePlane
  • source/carrier references for worked examples and tests, including PathId/PathSliceId when G.6 is used or a receiving contract requires them
  • R-anchors to the supporting evidence under A.10. For evidence tagged under KD-CAL, retain its lane under C.2.2:4.6. Use G.6 paths when shared path citation or the receiving contract requires them.
  • policy pins used by crossings or plane moves (when exercised)
  • edition pins for any referenced method or metric definitions that affect interpretation

G.3:4.3 - CHR authoring chassis (S1–S8)

S1 — Charter the measurement scope (scope anchor). If the needed characteristics are not established, use A.19.ECS:4.2 to derive them from the receiving use and consequential success/failure cases. G.0:4.5.1 connects that construction to the frame’s comparison and evidence requirements.

Decide which entity has the property and what one observation of it represents. For example, to compare two ways of processing a library request, a reader may care about the elapsed time until the requested book is ready. The same time spent on each operation can give different completion times if the operations wait on one another. Measure the elapsed time for the request, or recover it from the actual sequence, including waits. A staffing decision may instead require hours of work across all requests. Counting seconds in place of minutes changes the unit of time. It leaves the request as the unit of observation and still gives no account of the staff hours spent on it. Retain the population, period and dependencies needed when combining observations for either decision. Identify the exact declared CG-frame (the framing episteme). For this CHR work, state the bearer or bearers and identify each as an entityOfConcern. Also state the scope, any applicable qualification and evaluation windows, ReferencePlane, evidence basis, intended downstream use, currentness conditions relevant to that use, and any contested expression whose reuse may require an actual F.9 relation. Output a design-time MeasurementCharter and KindMap. When the receiving use depends on currentness, apply B.3.4 to the exact claim and use. Retain any binding calibration, regulatory or qualification window; use G.3:Ext.DecayWiring when pinning a currentness or decay model or policy. If evidence-lane tags are used, declare the lane regime and its meanings here so downstream evidence discipline can remain lane-pure. B.3 and B.3.3 govern the assurance claim, receiving use and selected contributions; C.2.2:4.6 defines the KD-CAL TA/VA/LA lanes when that regime is selected. Evidence-path representation and audit remain governed by G.6; this pattern records wiring. Lane docking (wiring‑only; normative). If EvidenceLanes are used, the charter MUST:

  • enumerate the lane tags used and cite the definitions of the selected regime, plus the upstream provenance for their use when available (e.g., SoTAPaletteDescriptionId via G.3:Ext.SoTAPackInputs);
  • expose any lane‑dependent tolerances / proof requirements via explicit pins (policy‑id and/or edition‑pinned refs), not prose;
  • treat lane tags as provenance metadata (not Contexts): they MUST NOT be “bridged away” or silently mixed;
  • for a cross-lane comparison or aggregation, cite the governing policy that permits this use (typically G.4) and the grounds for the operation on these measurements. Retain G.6 paths when used or required.

If a crossing applies, use G.Core for its crossing rules and penalty routing.

S2 — Mint or reuse terms (UTS‑first). For each candidate characteristic, scale, level, or coordinate term: attempt reuse; otherwise mint via UTS Name Cards under F.17/F.18, with public-id continuity notes. When importing a term across contexts, identify its source-local meaning and the correspondence the receiving use relies on. Cite any required bridge and loss account.

S3 — Define CharacteristicCard (the per-characteristic publication unit). A CharacteristicCard is the minimum unit CHR publishes for downstream legality. It SHOULD include (field names are indicative; semantics governed by cited definitions):

CharacteristicCard := ⟨
  UTSRowId,
  CharacteristicRef.edition,
  entityOfConcern,
  ClaimScope,
  ApplicableSliceRef[],
  QualificationWindow?,
  EvaluationWindow?,
  MeasurementMethodRef.edition?,
  MeasurementModelRef.edition?,
  EvidenceRef[],
  IntendedDownstreamUse,
  ReferencePlane,
  ObjectKind,
  Intent,
  Definition (typed),
  ObservableOf := ⟨instrument or determination protocol (cite its source or carrier under A.10), uncertainty treatment when it affects interpretation or use, temporal basis when consumed by the definition or receiving use⟩,
  EvidenceLanes? (tags under the declared regime; supporting evidence refs; G.6 paths when used; cross-lane use under its cited acceptance/evidence policy),
  ScaleRef.edition,
  Polarity ∈ {↑, ↓, ⊥},
  Domain/Range,
  UnitSet,
  Bounds / zero semantics (as applicable),
  CurrentnessBasis? (for a use that depends on currentness; applicable window or decay model/policy under B.3.4),
  Missingness semantics (typed; include a classification/mapping when non‑trivial; downstream tri‑state handling is per G.Core),
  Stability/Reliability notes,
  RoleDecls? := RoleDecl[] (wiring‑only; each role declaration names its governing pattern + required pins; see `G.3:4.5`),
  QD.Role? ∈ {Q, D, QD-score} (interop alias for `RoleDecl` with `GoverningPatternId = C.18`; see `G.3:Ext.QD_OEE_Wiring`),
  Micro-examples (source/proof/measurement anchors; G.6 paths and lane tags when applicable)
⟩

Actual C.16 measurement results retain the time stance, measurement Work and interpretation basis required by C.16:5.2–5.5.

Polarity gives the preferred direction for IntendedDownstreamUse: ↑ means higher-is-better, ↓ lower-is-better, and ⊥ no preferred direction assigned. Use ⊥ for a descriptive measurement. A target, range or other preference that has no single direction uses the applicable evaluation predicate and its Method; the Scale retains its measurement meaning under A.17/A.18.

Where RoleDecl := ⟨ roleLabel, GoverningPatternId, EditionPins?, PolicyPins? ⟩ (wiring-only; the value of GoverningPatternId names the FPF pattern that governs the role declaration semantics).

Rules (CHR‑governed intent, semantics governed by cited definitions where indicated):

  • Scale/unit/polarity legality obligations cite MM‑CHR governing definitions (A.18 and C.16) and must be checkable by downstream patterns.
  • Missingness must be typed so downstream can apply tri‑state outcomes without silent coercion (tri‑state semantics are governed by G.Core).
  • When recording EvidenceLanes, use the lane tags defined by the selected regime. Cite G.6 for evidence-path audits and the governing acceptance or evidence policy (typically G.4) for any permitted cross-lane use.
  • If RoleDecls are used, each declaration MUST cite the FPF pattern that governs the declaration, for example C.18 or C.19, and surface the edition and policy pins required by that governing pattern; CHR does not define role semantics locally.
  • Role docking (normative, wiring-only): if any RoleDecl is present with GoverningPatternId = X, then G.3 MUST include (or explicitly cite) a corresponding GPatternExtension block whose governing definition is X (or whose Uses includes X) and that surfaces the required pins for that role family. Otherwise the role declaration is non-conformant (it is an undocked semantic fragment).
  • Freshness docking (normative, wiring-only): if a characteristic’s freshness/half-life is defined via a named decay model or policy, the relevant policy or reference MUST be pinned and cited through B.3.4 via G.3:Ext.DecayWiring.
  • If a characteristic is intended to be promoted into CG‑Spec, the linkage is explicit and edition‑pinned (wiring lives in an Extension; semantics governed by G.0).

S4 — Define ScaleCard and LevelCard (lawful measurement). Publish the scale type and admissible transforms, plus levels or orders when applicable. Cite the MM‑CHR definitions that justify those operations for the frame’s characteristics.

Represent the distinctions needed by the measurement. A scale type may be combined with counting, exposure or cyclic constraints:

  • Nominal / categorical: equality + counting; transforms are permutations.
  • Ordinal: order‑preserving transforms; no arithmetic that presupposes intervals.
  • Interval: positive affine transforms preserve order and ratios of differences. Differences are meaningful, and means may be lawful if justified.
  • Ratio: positive scalar transforms; ratios meaningful; products/sums subject to unit discipline.
  • Count / rates: explicit exposure/timebase requirements; rate conversions must be explicit.
  • Cyclic: wrap‑around discipline + principal interval declaration.

S5 — Define CoordinatePolicy (encodings without hidden cardinalization). When a numeric coordinate/embedding is used for convenience or tooling, CHR MUST publish:

  • what invariants are preserved (order only / ratios / topology / wrap‑around),
  • what remains illegal,
  • what proof hooks are required if a structure with higher scale-type commitment is claimed.

Use the coordinate only for operations justified by the preserved invariants. A claim to stronger measurement structure needs the proof specified by the governing MM‑CHR definitions.

S6 — Publish legality + guard surfaces (Guard Macros + LegalityMatrix). CHR publishes a CHR.LegalityMatrix and a CHR.Guards surface that downstream operators can reference.

Authors may give a guard macro a convenient name. Its definition MUST cite the governing rule for the check. The examples pair illustrative macro names with their governing sources:

  • CSLC_PROOF_REQUIRED(x) (MM‑CHR legality governing definitions: A.18/C.16)
  • UNKNOWN_TRI_STATE(x) (tri‑state semantics governed by G.Core)
  • UNIT_CHECK(x) (MM‑CHR legality governing definitions)
  • RETURN_SET_FOR_PARTIAL_ORDERS() follows CC‑GCORE‑SET‑1. For A.19.CPM, retain the returned set of relation or poset tokens. A frontier under C.18:4.4 requires applying dominance to the stated candidate domain. A G.5 selection has its own outcome.
  • METRIC_EDITION_REF(...) (edition‑pin discipline governed by G.Core; metric semantics governed by C.18/C.21 as applicable)

S7 — Publish AggregationSpecs (typed, admissible, reproducible). CHR may publish typed aggregation/comparison specs whose admissibility follows from their declared scales, constraints and proof basis, for use by G.4 and G.5. When deriving a characteristic of the whole from measurements of its parts, show that they concern compatible conditions and identify the joint dependency or bound supporting the aggregate (G.0:4.5.1). A direct measurement of the whole can supply the characteristic on its own measurement basis. For any published spec:

  • The legality regime is explicit (scale/unit/polarity constraints + required proof hooks).
  • If a contributor folding policy (Γ‑fold) is used and not explicitly overridden, cite DefaultId.GammaFoldForR_eff through G.Core.DefaultGoverningDefinitionIndex; do not restate the default here.
  • If method‑role declarations imply metric‑driven comparisons (e.g., QD roles), the relevant edition/policy pins are surfaced (wiring lives in an Extension; semantics governed by the referenced patterns).

S8 — Publish, test, and evolve (UTS + RSCR readiness). Publish the CHR pack and associated Name Cards to UTS. Attach:

  • RSCR tests that check legality and guard coverage and reject illegal ops,
  • worked examples with recoverable source, proof or measurement grounds; G.6 paths when used or required,
  • applicable currentness and refresh conditions, plus deprecations with lexical continuity.

The pack supplies tests, examples and refresh conditions to the RSCR loop. G.11 governs its orchestration.

G.3:4.4 - Interfaces (normative)

InterfaceConsumesProduces
G.3-1 Charter_CHRexact declared CG-frame (the framing episteme), bearer or bearers identified as EntitiesOfConcern, scope and applicable windows, ReferencePlane, evidence basis, intended downstream use, and SoTA inputs (G.2)MeasurementCharter, KindMap
G.3-2 MintOrReuse_Termscandidate characteristic, scale, level, or coordinate expressions; their effective scheme, source-local sense, and intended CHR use; UTS registryreused or minted ids and Name Cards where public ids are needed; exact F.17 cell refs and F.9 relation refs only when an actual relation between local meanings is required for the stated reuse and obtains
G.3‑3 Define_CharacteristicMeasurementCharter, candidate semanticsCHR.Characteristic[] (CharacteristicCards)
G.3‑4 Define_ScaleLevelCharacteristicCard + MM‑CHR rulesCHR.Scale[], CHR.Level[]
G.3‑5 Define_CoordinatePolicyScale/Level + use‑case constraintsCHR.Coordinate[] + legality annotations
G.3‑6 Publish_GuardsAndLegalityScale/Level/Coordinate setCHR.Guards, CHR.LegalityMatrix
G.3‑7 Publish_AggregationSpecsCHR set + legality hooks + (optional) metric refsCHR.AggregationSpecs (+ proofs/refs + pins)
G.3‑8 Publish_CHRPackall CHR artefacts + tests/examplesCHR Pack@CG‑Frame + UTS rows + RSCR tests

G.3:4.5 - Extensions (pattern‑scoped; non‑core)

All blocks below are GPatternExtension modules (PatternScopeId-scoped; not new PatternIds). They store wiring only and cite governing patterns.

GPatternExtension: SuiteBoundaryLinkage

  • PatternScopeId: G.3:Ext.SuiteBoundaryLinkage

  • GPatternExtensionId: SuiteBoundaryLinkage

  • GPatternExtensionKind: InteropSpecific

  • GoverningPatternId: A.19.CHR

  • Uses: {A.19.CHR, A.15.2, A.15.3}

  • ⊑/⊑⁺: ∅

  • RequiredPins/EditionPins/PolicyPins (minimum):

    • CHRMechanismSuiteDescriptionRef.edition? (when the suite description is cited as a reproducibility baseline)
    • WorkPlanRef and local baseline locator (when a planned baseline binds CHR artefacts into WorkPlanning under A.15.2)
    • CHRMechanismSuiteSlotFillingsPlanItem in that WorkPlan (when the plan fills an independently declared operation argument or relation position under A.15.3; cite the governing declaration and member designator, and locate the filling row within the plan)
  • RSCRTriggerKindIds: {RSCRTriggerKindId.BaselineBindingEdit, RSCRTriggerKindId.EditionPinChange}

  • Notes (wiring-only): A.19.CHR governs suite semantics and membership; A.19.CHR:4.1.2 distinguishes ordinary planned baselines from typed filling.

GPatternExtension: SoTAPackInputs

  • PatternScopeId: G.3:Ext.SoTAPackInputs

  • GPatternExtensionId: SoTAPackInputs

  • GPatternExtensionKind: DisciplineSpecific

  • GoverningPatternId: G.2

  • Uses: {G.2}

  • ⊑/⊑⁺: ∅

  • RequiredPins/EditionPins/PolicyPins (minimum):

    • ClaimSheetId[] / operator & object inventory refs (as cited inputs)
    • SoTAPaletteDescriptionId? (when palette/traces are cited; used to dock contested‑term inventory and (if present) lane tags/tolerances)
    • BridgeMatrixId? (when terms/constructs are imported across traditions)
    • UTSRowId[] drafts/aliases from synthesis
  • RSCRTriggerKindIds: {RSCRTriggerKindId.EvidenceSurfaceEdit, RSCRTriggerKindId.TokenizationOrNameChange, RSCRTriggerKindId.CrossingBundleEdit}

  • Notes (wiring‑only): SoTA pluralism inputs are governed by G.2; this module only specifies which synthesis artefacts are cited while authoring CHR. When CHR authoring relies on pack coverage, cite the same CoverageJudgementRef and HarvestPolicy basis, retaining the counted population and receiving question. CHR terms or cards do not redefine the counted family unit; lineage plurality remains a separate result.

GPatternExtension: CGSpecPromotionWiring

  • PatternScopeId: G.3:Ext.CGSpecPromotionWiring

  • GPatternExtensionId: CGSpecPromotionWiring

  • GPatternExtensionKind: InteropSpecific

  • GoverningPatternId: G.0

  • Uses: {G.0}

  • ⊑/⊑⁺: ∅

  • RequiredPins/EditionPins/PolicyPins (minimum):

    • CGSpecRef.edition (when a characteristic is promoted/linked into CG‑Spec)
    • CHR.Characteristic.id pointers included in CG‑Spec.Characteristics := [...] (no shadow ids; CG‑Spec stores pointers, see G.0)
  • RSCRTriggerKindIds: {RSCRTriggerKindId.LegalitySurfaceEdit, RSCRTriggerKindId.EditionPinChange, RSCRTriggerKindId.PolicyPinChange}

  • Notes (wiring‑only): G.0 governs promotion semantics and the legality gate; CHR only pins and cites.

GPatternExtension: MMCHRLegalityWiring

  • PatternScopeId: G.3:Ext.MMCHRLegalityWiring

  • GPatternExtensionId: MMCHRLegalityWiring

  • GPatternExtensionKind: DisciplineSpecific

  • GoverningPatternId: A.18

  • Uses: {A.17, A.18, C.16}

  • ⊑/⊑⁺: ∅

  • RequiredPins/EditionPins/PolicyPins (minimum):

    • CSLC legality proof anchors/carriers (ids/refs as defined by MM‑CHR governing definitions; cite A.18/C.16)
    • Unit coherence references (where units exist)
  • RSCRTriggerKindIds: {RSCRTriggerKindId.LegalitySurfaceEdit, RSCRTriggerKindId.ReferencePlaneEdit}

  • Notes (wiring‑only): This module wires CHR artefacts to MM‑CHR legality proof obligations; legality semantics are governed by the referenced patterns.

GPatternExtension: DecayWiring

  • PatternScopeId: G.3:Ext.DecayWiring

  • GPatternExtensionId: DecayWiring

  • GPatternExtensionKind: DisciplineSpecific

  • GoverningPatternId: B.3.4 (freshness/decay semantics)

  • Uses: {B.3.4, G.6}

  • ⊑/⊑⁺: ∅

  • RequiredPins/EditionPins/PolicyPins (minimum):

    • the currentness claim and receiving use, with any applicable FreshnessWindowDeclRef or equivalent window pin
    • DecayPolicyIdRef? (policy-bound; if decay model is referenced by id)
    • references to affected sources, carriers and any worked examples used to show drift. Include PathSliceId[] when G.6 paths are used or required.
  • RSCRTriggerKindIds: {RSCRTriggerKindId.FreshnessOrDecayEvent, RSCRTriggerKindId.EvidenceSurfaceEdit, RSCRTriggerKindId.PolicyPinChange, RSCRTriggerKindId.BaselineBindingEdit}

  • Notes (wiring-only): Cite the B.3.4 currentness basis and any window/model actually used. A change in relied-on conditions or support can trigger refresh without assigning an expiry time or half-life.

GPatternExtension: QD_OEE_Wiring

  • PatternScopeId: G.3:Ext.QD_OEE_Wiring

  • GPatternExtensionId: QD_OEE_Wiring

  • GPatternExtensionKind: MethodSpecific

  • GoverningPatternId: C.18

  • Uses: {C.18, C.19}

  • ⊑/⊑⁺: ∅

  • RequiredPins/EditionPins/PolicyPins (minimum):

    • DescriptorMapRef.edition (if any Characteristic declares descriptor roles)
    • DistanceDefRef.edition (if any Characteristic declares distance roles)
    • DHCMethodRef.edition? (when a C.21 discipline-health measurement definition is actually used; a Q / QD-score role alone does not select it)
    • InsertionPolicyRef? (when archive insertion semantics are declared for reproducibility)
  • RSCRTriggerKindIds: {RSCRTriggerKindId.EditionPinChange, RSCRTriggerKindId.PolicyPinChange, RSCRTriggerKindId.TelemetryDelta, RSCRTriggerKindId.FreshnessOrDecayEvent}

  • Notes (wiring‑only): QD/OEE semantics are governed by C.18 and C.19. CHR only surfaces method‑role declarations (via RoleDecls or the interop alias QD.Role) and the edition/policy pins required for reproducible archive/front interpretation.