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 |