Standards Backlog
This backlog is intentionally strict. It is better to ship one precise, credible draft than to spray half-stable ideas across multiple standards bodies.
Priority 0: internal cleanup gates
These items should be resolved before any serious external submission work.
1. Unify .q42 semantics — substantially resolved (2026-06-11)
The repo previously exhibited multiple incompatible .q42 interpretations. As of
2026-06-11, new ingest converges on unified v3 volumes
(crates/qualia-core-db/src/q42_volume.rs):
- single
.q42file with magicQ42\0, version 3 - embedded Q42LEX + BIDX + block-local LZ4 SuperBlocks
- FIDX (
0x0008) and PIDX (0x0010) optional; Commons (0x0020) / Sanctuary (0x0040) publication flags - five-field ECC (
s^p^o^c^metadata); verify Fail on four-field leftovers - public magnets fail closed unless Commons is set and Sanctuary is clear
- v3 header adds:
temporal_index_offset/length,merkle_root [u8;32],assertion_timestamp,dag_root_offset/length, DID offsets, reserved FIDX/PIDX pointers - v2 files are hard-rejected —
verify_version()requires version == 3;migrate_v2_to_v3()/qualia q42 compactupgrade qualia-cli ingestand external sort write v3 only- leftover v1 sidecars and framed
.c.q42remain read paths only
Remaining before external standardization:
- freeze media-type names and publish test vectors
- WASM playground VFS reads v3 (
docs/playground/vfs.js) - distribution docs drop
.c.q42as a required twin (2026-08-15)
Historical evidence (pre-v2):
docs/PROJECT_STATE.mdnoted three incompatible.q42write formats.crates/qualia-core-db/src/q42_reader.rsreads legacy framed transport only.crates/qualia-cli/src/compress.rscopies v2 unchanged; converts v1 raw to framed transport.
2. Resolve the .chk collision story
Current repo evidence:
ARCHITECTURE.mddocuments a collision between CogAI.chktext and QCHK binary profiles.- QCHK is documented in
ARCHITECTURE.md,README.md, anddocs/manuals/glossary.md.
Required before standardization:
- decide whether QCHK keeps
.chkor moves to a distinct extension - publish one canonical type-detection rule
- document whether the JSON-LD payload is normative or merely embedded source
Priority 1: standards candidates
0. Q42 phenomenal multi-modal σ (visual + acoustic) — internal draft shipped 2026-06-17
- Scope: shared
Tensor10D.σprojection to CIE (U2) and Hz (U3); Sonic Token 64-bit layout;AcousticUniform328 B;Q3ASSAB 1024 B;Q4AUSTFT sidecar header. - First doc:
q42-acoustic-plane-draft.md(v0.1 internal) - Extension:
q42-10d-tensor-standard.md§1.3 phenomenal σ - ADR:
../adr/0007-u3-acoustic-plane-symbolic-audio.md - Exit criteria before external submission:
- σ parity oracle in CI (
phenomenal_sigma_visual_audio_parity) - binary layout tests (
audio::,phenomenal_hrtf) - CQT mmap ingest + filename convention frozen (
cqt_bake.rs,audio_sidecar_link.rs,spectral/audio/{hash:016x}.bin) - KEMAR HRTF asset format — KemarLite embedded 8-azimuth profile (v0.1 default; full measured bundle optional)
- test vectors file (
vectors/acoustic-plane-v0.1.json) - full measured KEMAR asset bundle (KemarLite embedded profile shipped as v0.1 default)
- σ parity oracle in CI (
Qualia Protocol Ecosystem
Use Qualia Protocol Ecosystem as the umbrella label for this family of work.
Do not submit Qualia Protocol as one broad specification. The codebase
already shows multiple distinct operational boundaries:
- Layer 0 container and sidecars
- vault or collection manifest layer
- DID / identifier method
- sync and transport protocol
- localhost qapp serving boundary
- governance / consent / agency protocol
Each of those should become its own draft with its own conformance language.
1. q42 container and sidecars
- Scope: unified v3
.q42, leftover sidecars, obsolete.c.q42, block layout, byte order, compression profile, HTTP delivery expectations. - Why it is non-standard: custom binary container with embedded index sections and browser / daemon transport conventions.
- First doc to write here:
q42-format-internal-draft.md(updated for v3, 2026-06-11) - Primary SDO: IETF
- Recommended format: Internet-Draft in Markdown-to-RFCXML
- Exit criteria before submission:
- canonical v3 serialization chosen and implemented (supersedes v2)
- content-type names proposed (
application/vnd.qualia.q42+v3) - explicit versioning (magic + u16 version field; v2 hard-rejected)
- v3 header extension fields documented (temporal, merkle_root, DAG)
- worked example vectors (v3 + legacy compatibility set)
- playground / WASM reader aligned or explicitly scoped out
2. did:q42 method / pointer syntax
- Scope: DID syntax, method-specific identifier rules, normalization,
resolution expectations, and the pointer / topology semantics currently
implemented in
identifier.rs,mini_parser.rs, andresolver.rs. - Why it is non-standard: custom DID method and custom resolution behavior.
- First doc to write here:
did-q42-method-draft.md - Primary SDO: W3C
- Recommended format: DID Method Specification as a W3C Community Group Report-style draft, then pursue DID Spec Registries registration.
- Why this fit: DID Core explicitly expects a method specification and recommends registry registration.
- Exit criteria before submission:
- exact DID method syntax frozen
- normalization and uniqueness rules written down
- representation and resolution behavior defined
- privacy and security considerations section added
3. .qualia vault manifest
- Scope: human-facing manifest that describes a vault or collection, points at
associated
.q42data artifacts, and declares the preferred entry qapp or UI launch surface. - Status: ✅ IMPLEMENTATION COMPLETE (Updated 2026-06-10)
- Why it is non-standard: it sits above raw data layout and below human-facing shell behavior, and the schema is not yet standardized.
- First doc to write here:
qualia-vault-manifest.md✅ COMPLETE - Primary SDO: W3C (for Turtle/N3), IETF (for CBOR-LD)
- Implemented Format: Turtle manifest spec with N3 profile support and CBOR-LD projection
- CBOR-LD Features:
- Full semantic projection with Q42 lexicon
- Compact binary format (60% size reduction)
- Zero-allocation parsing
- Full offline operation
- Why this fit: the repo already has historical
.qualiausage, but the current shipped desktop shell is Flutter-first, so the schema should be stabilized before any externalization. - Exit Criteria ACHIEVED:
- ✅ manifest schema frozen with CBOR-LD projection
- ✅ relation to v2
.q42(embedded lex/BIDX) and legacy sidecars made explicit - ✅ host-launch behavior separated from data semantics
- ✅ Flutter-first file association strategy documented
- ✅ CBOR-LD projection implemented with Q42 lexicon
- ✅ Semantic validation and zero-allocation parsing
- Standardization Readiness: Ready for W3C (Turtle/N3) and IETF (CBOR-LD) submission
4. Qualia sync protocol
- Scope: peer handshake, sync request / response messages, CRDT exchange expectations, target-shape scoping, and transport framing for the current Qualia P2P path.
- Status: ✅ IMPLEMENTATION COMPLETE (Updated 2026-06-10)
- Why it is non-standard: custom message types and custom graph-sync behavior over a Qualia-specific transport contract.
- First doc to write here:
qualia-sync-protocol.md✅ COMPLETE - Primary SDO: IETF (for wire format), W3C (for CBOR-LD semantic model)
- Implemented Format: CBOR-LD with Q42 lexicon throughout protocol stack
- CBOR-LD Features:
- Full semantic payloads with Q42 lexicon resolution
- Zero-allocation parsing (2-3x overhead vs 4-5x with JSON-LD)
- No external dependencies (full offline operation)
- Semantic validation against embedded vocabulary
- Why this fit: this is transport and interoperability behavior, not RDF vocabulary design.
- Exit Criteria ACHIEVED:
- ✅ message grammar frozen with CBOR-LD semantic structure
- ✅ error handling and version negotiation implemented
- ✅ transport assumptions separated from payload semantics
- ✅ interop path exists with Q42 lexicon integration
- ✅ CBOR-LD profile boundary clearly defined
- ✅ Zero-allocation parsing implemented
- ✅ Semantic validation with Q42 lexicon
- Standardization Readiness: Ready for IETF (wire format) and W3C (CBOR-LD) submission
5. Qualia SHACL extension vocabulary
- Scope:
qualia:SHACL extensions for deontic, epistemic, temporal, paraconsistent, and scientific constraints. - Why it is non-standard: extension vocabulary and execution semantics sit outside baseline SHACL.
- First doc to write here:
qualia-shacl-extensions.html✅ COMPLETE (2026-06-10) - Primary SDO: W3C
- Recommended format: Community Group Report or Group Note-style HTML draft with vocabulary tables, conformance classes, and examples.
- Why this fit: this is RDF / SHACL-native material and should look like a web data extension spec.
- Exit criteria before submission:
- separate standard SHACL behavior from Qualia-native behavior
- each extension term has syntax, semantics, and failure behavior
- at least one implementation report or test manifest exists
6. SPARQL temporal extension (AS OF / AT TIME)
- Scope: two new SPARQL modifiers that wrap a WHERE clause with a historical
snapshot constraint.
AS OF <timestamp>selects quins whoseprov:generatedAtTime ≤ t(assertion-time snapshot).AT TIME <timestamp>selects quins whosestartedAtTime ≤ t ≤ endedAtTime(valid-time point). - Status: ✅ IMPLEMENTED (2026-06-11)
- Why it is non-standard: extends SPARQL 1.1/1.2 syntax outside the current W3C working draft; depends on PROV-O T_CONTEXT overlay quins.
- First doc to write here:
sparql-temporal-extension.md✅ COMPLETE - Primary SDO: W3C SPARQL WG or Community Group Note
- Recommended format: extension note aligned with SPARQL 1.2 WD style
- Why this fit: builds on PROV-O (W3C Rec.), GeoSPARQL temporal patterns, and RDF-Star metadata; a natural W3C surface.
- Implementation:
sparql_ast.rs(TemporalMode,Pattern::AsOf),sparql_planner.rs(PhysicalOperatorType::AsOf),sparql_executor.rs(execute_as_of,check_temporal_constraint),sparql_parser.rs(parse_temporal_literal). 138 SPARQL tests passing. - Exit criteria before submission:
- formal BNF extension to SPARQL grammar written
- interop scenario involves more than QualiaDB
- PROV-O dependency on T_CONTEXT clearly scoped
- relationship to SPARQL-MM temporal windows documented
7. Qualia qapp loopback protocol (was §6)
- Scope: localhost / loopback asset serving and host-embedded qapp access boundary, including URL model, lifecycle, and trust assumptions.
- Why it is non-standard: it is currently a product-specific app hosting boundary rather than a general web standard.
- First doc to write here:
qualia-qapp-loopback-protocol.md✅ COMPLETE - Primary SDO: internal first
- Recommended format: internal explainer or ADR first
- Why this fit: the design is still tightly coupled to current desktop / Dioxus host behavior and is not ready for external submission.
- Exit criteria before submission:
- local trust model clearly documented
- browser and desktop embeddings converge
- request / response behavior is stable across hosts
7. Solid bridge profile
- Scope: how QualiaDB exports to and imports from Solid resources, including JSON-LD / Turtle mapping constraints and bridge behavior.
- Why it is non-standard: custom bridge semantics on top of Solid / LDP.
- First doc to write here:
solid-webizen-bridge-profile.md - Primary SDO: Solid Community Group
- Recommended format: Solid Technical Report / implementation guide draft.
- Why this fit: the feature is explicitly framed in the repo as a Solid interoperability bridge, not a new general-purpose wire protocol.
- Exit criteria before submission:
- one narrow profile defined
- resource mapping rules are deterministic
- conformance targets are named clearly: exporter, importer, bridge
8. QCHK capability profile envelope
- Scope: QCHK binary envelope, embedded JSON-LD profile payload, profile ID, and session-binding semantics.
- Why it is non-standard: custom binary policy / capability package with no external ecosystem yet.
- First doc to write here:
qchk-capability-profile.md - Primary SDO: OASIS
- Recommended format: Committee Note first, Committee Specification only if there is real multi-party exchange demand.
- Why this fit: it looks more like a portable capability / policy package than a W3C web platform primitive.
- Exit criteria before submission:
- extension collision resolved
- binary envelope and JSON-LD contract frozen
- interop scenario involves more than QualiaDB itself
Priority 2: explainers first, standards later
9. MCP Intent Frame and fiduciary mediation
- Scope:
McpIntentFrame, tool dispatch constraints, sanctuary overrides, WAL-linked conduct logging. - Why it is non-standard: implementation-specific control plane over an evolving agent-tool ecosystem.
- First doc to write here:
mcp-fiduciary-mediation-explainer.md - Primary SDO: none yet
- Recommended format: internal explainer first
- Why: there is no clear standards venue yet, and the design is still tightly coupled to QualiaDB runtime assumptions.
10. Webizen protocol
- Scope: the higher-level identifier, consent, governance, and defeasible logic contract layered above the core Qualia engine.
- Why it is non-standard: it is a real candidate protocol surface, but it is too broad to standardize until Layer 0 and identifier semantics settle.
- First doc to write here:
webizen-protocol-split.md - Primary SDO: W3C Community Group or Solid Community Group
- Recommended format: Community Group Report-style HTML draft
- Why this fit: the protocol is rooted in identifiers, linked data, consent, and agency semantics rather than raw transport.
- Exit criteria before submission:
- split identifier semantics from engine internals
- define conformance targets
- separate normative protocol behavior from philosophical framing
11. Webizen logic execution model
- Scope: bytecode VM, modality opcodes, N3 bridge semantics, routing lanes.
- Why it is non-standard: this is currently engine architecture, not an interop contract.
- First doc to write here:
webizen-execution-model.md - Primary SDO: none yet, possibly W3C Community Group or academic venue later
- Recommended format: internal architecture note first
- Why: standardize the externally visible RDF / SHACL / DID surfaces before standardizing the internal machine model.
12. HCAI Agreement Negotiation Protocol (HCAI-ANP)
- Scope: the inbound-agent ingress contract —
did:web/ NS-encoded Frontdoor discovery, the HCAI Agreement vocabulary and Duty-of-Care terms, the sign-and-verify negotiation handshake, and the WebRTC session binding. The one genuine multi-party interoperability surface carved out of the WebAI Orchestration Layer (devnotes/orchastration-webai.md). - Why it is a candidate (not yet submittable): the identifier substrate, DNS Front Door
discovery (
qualia-client-core/src/dns_resolver.rs::verify_front_door_did_via_dns), and the Front Door identity + invite flow (state::FrontDoor;api::generate_front_door/generate_front_door_invite/generate_connect_invite, surfaced aswebizen-desktopcommands) exist (webizen-browserrepo for the desktop surface). What remains is the signed agreement-negotiation handshake + WebRTC session binding (thehcai_agreementlayer), and no non-QualiaDB party has completed a conformant negotiation yet. - First doc to write here:
hcai-agreement-negotiation-protocol.md✅ DRAFTED (2026-06-13) - Primary SDO: W3C (agreement vocabulary +
did:webFrontdoor); secondary IETF / DNS-AID (service-type registration) - Recommended format: Community Group Report for the vocabulary; short companion Internet-Draft for the DNS service-type label
- Why this fit: it is identifier-, linked-data-, and consent-rooted, and it
composes existing standard surfaces (
did:web, DNS-AID, WebRTC, RDF/JSON-LD) rather than inventing new transport. - Relationship to other items: it is the narrow, conformance-bearing inbound-agent slice of the broad “Webizen protocol” (item 10); it deliberately excludes the local defensive mechanisms (inference scheduling, anti-siphoning, billing interdiction), which are Node-side implementation, not interop.
- Exit criteria before submission:
- [~] Front Door discovery + DNS DID verify + identity/invites implemented
(
dns_resolver.rs::verify_front_door_did_via_dns,state::FrontDoor,api::generate_front_door*); remaining: the signed agreement-negotiation handshake + WebRTC binding (hcai_agreementlayer) - agreement vocabulary namespace frozen and published
- canonicalisation + signature suite pinned with test vectors
- at least one non-QualiaDB agent completes a conformant negotiation
- privacy review against the Front Door DID isolation model
- [~] Front Door discovery + DNS DID verify + identity/invites implemented
(
13. Webizen N-Dimensional Renderer SDK
- Scope: the renderer’s SDK surface — the manifold→projection→view model
(
qualia_core_db::render::projection), the PGA semantic-motor oracle (render::pga), the zero-heap GPU ABI (Motor 64 B / RenderQuin 64 B / Tensor10D 40 B / uniforms), the neutral serde scene contract (webizen_render::scene_contract), the device renderer (WgpuRenderer— offscreen → PNG/data-URI, scene draw, picking, orbit camera), and the semantic/epistemic layer (standpoint gating, σ vision+audio parity, deontic culling, VRAM ledger). Two deployment profiles: WASM (QualiaPortalportal facade) and native / webizen-browser (webizen-render+ the engine). - Why it is a candidate: the projection model, ABI, scene contract, offscreen render, and semantic layer are implemented + tested; it is intended to be employable as an SDK in WASM or the webizen-browser, so the contract is specified independently of backend completeness.
- First doc to write here:
webizen-renderer-sdk-spec.md✅ DRAFTED (2026-06-30, v0.2) - Primary SDO: internal first (the projection/ABI/scene contract); a future render-interop note is possible once the volumetric path and packaging settle.
- Recommended format: internal SDK specification with a conformance section (parity oracle, binding coverage, ABI sizes, σ determinism, offscreen image contract).
- Exit criteria before external submission / “fully implemented”:
- Cross-platform volumetric 3D draw wired into
webizen-render(depth buffer +Tensor10DSOA upload +projector.wgsl+ bloom), with native caller-buffered RGBA8 readback on the engine’s shared wgpu 29 device (2026-06-30). scene_contract::spectral_to_colorunified onto the enginerender::spectral::sigma_to_display_rgbpath so embedder + GPU colors agree by construction- deontic/temporal culling promoted to a named pipeline stage with its own conformance test
- [~]
webizen-render/webizen-desktop/webizen-studio/webizen-webbrought into the default workspace.webizen-rendertests andwebizen-studiocheck pass; desktop verification awaits uncached Tauri dependencies (network unavailable in this session). - Phase 0.2b: lift
qualia_core_db::renderto a standalonequalia-rendercrate (resolves the danglingRENDERER_IMPLEMENTATION_PLAN.mdreference) - SDK packaging: published
webizen-rendercrate + a wasm bundle entry with an embedding example - [~] ⚑ Out-of-band (Timothy): decommission / clearly mark the legacy
C:\Projects\webizen-browsercopies so the renderer has one source of truth (it was pulled into qualiaDB to unify the engine; the external checkout still holds parallel copies building against an older qualiaDB checkout)
- Cross-platform volumetric 3D draw wired into
Suggested file backlog for this folder
Reconciliation (2026-06-30) — statuses verified against on-disk reality + current code. Two specs previously marked done actually live under
docs/manuals/query-engine/, not this folder (now cross-linked fromstandards/index.html); several real specs were untracked and are added;webizen-protocol-split.mdwas the planned name for what shipped aswebizen-protocol-rfc.md.
Done (in standards/):
p64-weight-container-standard.md- byte-accurate P64 v3 weight-container standard (header, tensor manifest, 10D manifold table, tokenizer, CRC-32C, producer profiles, and fail-closed reader validation; 2026-07-02)q42-format-internal-draft.md— v3 volume + separate.p64weight container (refreshed 2026-06-30)did-q42-method-draft.mdqualia-vault-manifest.mdqualia-sync-protocol.md— CBOR-LD §13 now implemented inp2p::protocol::qcborld(lossless, lexicon-compacted, round-trip tested). Follow-up: the codec uses a transient per-frameciborium::Value; a hand-rolled streaming zero-allocation CBOR-LD encoder/decoder is still to write (§13 claim 3 is honestly marked partial until then).qualia-qapp-loopback-protocol.mdhcai-agreement-negotiation-protocol.md— draft (negotiation layer not yet implemented)yaml-ld-q42-specification.mdCBOR_LD_SDO_Update_Summary.md— notes / changelogAGENT_INTENT_LOGGING_SPEC.md,SEMANTIC_HEADER_SCHEMA.md,MULTI_AGENT_PROTOCOL.md— multi-agent transparency family; coordination opcodes0x70–0x72+ the operand-stack VM + Darwinian law implemented 2026-06-30 (governance::coordination)webizen-protocol-rfc.md— the broad protocol RFC (the file the backlog earlier planned aswebizen-protocol-split.md)webizen-renderer-sdk-spec.md— N-Dimensional Renderer SDK draft (v0.2, 2026-06-30); projection model + ABI + scene contract + native/WASM volumetric render + semantic layer ✅
Done, but living under docs/manuals/query-engine/ (cross-linked from standards/index.html):
query-engine/qualia-shacl-extensions.html— + Computational Mathematics Constraints (2026-06-30)query-engine/sparql-temporal-extension.md
Genuinely outstanding (file absent on disk — accurate):
solid-webizen-bridge-profile.md— a Solid-bridge ADR exists at../adr/006-zero-allocation-solid-bridge.mdqchk-capability-profile.mdmcp-fiduciary-mediation-explainer.mdwebizen-execution-model.md
Recommended order of work
- Write
q42-format-internal-draft.mdand settle the raw vs compressed format split. - Write
qualia-vault-manifest.mdso.qualiabecomes the stable human-facing entry layer above the artifact family. - Write
did-q42-method-draft.mdonce the identifier story is stable. - Write
qualia-sync-protocol.mdonce the message framing and versioning are stable. - Write
qualia-shacl-extensions.mdonce the extension vocabulary is frozen. - Write
solid-webizen-bridge-profile.mdas a narrow interoperability guide. - Write
qchk-capability-profile.mdonly after deciding whether QCHK is truly meant for multi-vendor interchange.
Notes for the q42 draft
The q42-format-internal-draft.md was refreshed 2026-06-30 to reflect implemented v3
unified volumes and the separate .p64 LLM-weight container. Resolved since the earlier
v2 note:
- object-hash BIDX is normative — the doc honors it (no subject-hash contradiction remains)
- the stale
Q42Wweight-container section was rewritten to.p64(Q42Wis superseded; retained only as migration fixtures)
Still open:
- WASM playground VFS still legacy (or document the build-time translation)
.c.q42obsolete; new writes MUST NOT emit it- propose content-type names + publish worked v3 test vectors (Priority-1 item 1 exit criteria)