Universal Constitutional Experience System — UIX v0.1.1
A constitutional doctrine of experience: how intelligence, humans, systems, and reality interact under constitutional principles — the layer where constitutional intelligence becomes perceivable, usable, and governable.Part I — Specification
1. Position in the constitutional chain
Reality
→ USCP (six primitives — what must always be true)
→ USC / URS (representation)
→ USE (Universal Selection Engine — verify → select → execute)
→ UIX (this layer — where constitutional intelligence becomes
perceivable, usable, and governable)
→ Applications
UIX sits below USE and above Applications: every experience is the result of a selection (USE-2: selection precedes execution). UIX is not a component library, a design system, or a framework — it is the constitutional experience layer. Motion, analytics, dashboards, spatial and multimodal interfaces are capabilities, never the identity.
2. Strategic principle
**How should intelligence, humans, systems, and reality interact under constitutional principles?**
3. Layer architecture
| Layer | Role | Technology |
|---|---|---|
| **Selection** | USE — verified options, declared preference, recorded selection | USE log · USE-1..6 |
| **Truth** | Constitutional models, verification, identity, invariants | Rust → WASM |
| **Performance** | Rendering, layout, graphics, animation, computation | Zig → WASM (on demand) |
| **Experience** | Browser integration, PWA lifecycle, adapters, interaction | JavaScript (orchestrates, never owns logic) |
Technologies serve the architecture; all three implementation layers are replaceable below the invariant layer (UAM doctrine: capabilities are adapters, never core dependencies).
4. Invariants
- UIX-1 — Constitution first. An experience node must conform to applicable governance rules before any pixel is rendered (UIX-GOV-001..012 enforced in-browser via WASM).
- UIX-2 — Semantics over syntax. `SemanticIntent` — what an element means — replaces component hierarchies; rendering is a downstream concern.
- UIX-3 — Governance before generation. Rules constrain what can be built before it exists; violations are impossible to render, not merely discouraged.
- UIX-4 — Trust seals mandatory. Every delivered node carries a content-addressed `TrustSeal` (SHA-256, nonce-protected) proving compliance; no seal, no delivery.
- UIX-5 — Constitutional selection (USE alignment). Every render is selected from verified options by declared preference (USE-1..6); the USE log records every selection before execution, and the system does nothing when no verified option exists.
- UIX-6 — External usability. UIX is constitutional by design but not captive: any external entity or platform may use it via a declared interoperability profile (CCA §4) — capabilities are optional, invariants apply in full for ICore adoption, and external platforms may adopt capabilities with a declared profile. Superset over replacement.
5. LD-family fit (how the Linked Data family composes with UIX)
| LD document | Role in UIX | Evidence in the layer |
|---|---|---|
| **CORE-LD** | Semantic representation basis — every `SemanticIntent` and node payload is CORE-LD-shaped | Experience nodes serialize to JSON/CBOR-LD; bridge uses JSON bridge until CBOR-LD lands |
| **TRUST-LD** | Identity + provenance of experience sources — trust seals attest who/what produced an experience | `TrustSeal::new(node_id, rules, nonce)` — content-addressed proof of governance provenance |
| **POLICY-LD** | Governance — which experiences may exist, in which modes, under which constraints | UIX-GOV rules, `GovernanceEngine::default_rules()`, `verify_node`/`verify_graph` |
| **MEMORY-LD** | Audit — the USE log and verification history as an append-only constitutional record | USE log (`useLog`), Lamport-timestamped `ConstitutionalResponse`, seal history |
The experience pipeline maps directly onto the family: input → CORE-LD, governance → POLICY-LD, provenance → TRUST-LD, audit → MEMORY-LD, with USE as the selection act between verification and execution.
6. Four-question stress test
| Question | Answer |
|---|---|
| What must always be true? | Every experience conforms before it renders (UIX-1..5) |
| What should every conforming system look like? | Four-layer architecture: Selection / Truth / Performance / Experience |
| How do systems interact? | Typed boundary: `ExperienceEvent` (observations) → `ConstitutionalCommand` (verified instructions) → `RenderFrame` (feedback loop) |
| How do we prove conformance? | In-browser WASM verification, TrustSeals, USE log, UIX conformance suite |
Part II — Doctrine
Selection is the act; experience is the consequence
UIX embodies the USE boundary: certainty above the Selection rung (constitutional rules are fixed, non-negotiable, machine-verified) and adaptability below it (engines, modes, and renderers are replaceable and selected per situation). The USE log makes every choice visible, reversible, and auditable — no hidden fallbacks, no implicit decisions.
Constitutional by design, usable by anyone
UIX never requires the whole of ICore. External platforms may adopt UIX capabilities under a declared interoperability profile; ICore adoption carries the full invariant set. This is the doctrine of superset over replacement applied to experience: a strict constitutional core, tolerant adoption paths, no lock-in.
Freeze gate
UIX remains Doctrine until (1) a UIX conformance suite runs green (native 36+ tests + in-browser WASM verification), and (2) the USE log is demonstrated end-to-end in the CodeLab (verify → select → execute across TRUST-LD → USE → POLICY-LD → MEMORY-LD). Only then does UIX flip to Frozen and enter UCF attestation. The first external adoption may, at that point, register as the first interop-profile case.
UIX v0.1.1 · ICore Constitutional Substrate · CBOR-LD · Ed25519Signature2020 · SHA-256 Content-Addressed TrustSeals · USE-1..6 · UIX-GOV-001–012