š§© How RTTcodes Work Internally
RTTcodes are a structured, QRācompatible metadata layer that bind any artifact to its canonical TriadicFrameworks identity. Internally, an RTTcode is built from three cooperating layers:
- Payload Layer (JSON metadata)
- Encoding Layer (URL + token)
- QR Layer (machineāreadable matrix)
Each layer is independent but composable, making RTTcodes portable across languages, tools, and documentation systems.
1. Payload Layer (JSON)#
The payload is a small, schemaāvalidated JSON object:
{
"domain": "rtt",
"artifact_type": "paper",
"version": "v2.1.0",
"triad": {
"f_R": "1.00",
"tau_R": "144ms",
"Q_R": "0.97"
},
"url": "https://triadicframeworks.org/docs/rtt/"
}This layer defines:
- domain ā which part of the ecosystem the artifact belongs to
- artifact_type ā what kind of thing it is
- version ā semantic version
- triad ā optional resonanceātime metadata
- url ā canonical home of the artifact
The payload is validated using the RTTcode JSON Schema.
2. Encoding Layer (URL + Token)#
The payload is transformed into a compact, ASCIIāsafe token:
v2.1.0-f1.00-t144ms-Q0.97
Then embedded into a URL:
https://triadicframeworks.org/rttcode?rtt=v2.1.0-f1.00-t144ms-Q0.97
This URL is what the QR code encodes.
The encoding layer ensures:
- stability
- portability
- compatibility with all QR scanners
- future extensibility
3. QR Layer (Matrix)#
The URL is encoded as a QR code using:
- Error Correction Level H (to tolerate overlays)
- Square layout
- Minimum 2āmodule quiet zone
The QR is then optionally styled using domaināspecific motifs:
- RTT ā resonance waves, triadic nodes
- SET ā field lines, anisotropic vectors
- Substrate ā lattice geometry
- Observer ā frame grids
- Governance ā layered bands
The QR remains fully scannable because overlays respect safe zones.
Internal Flow Summary#
JSON Payload
ā validate
URL + Token
ā encode
QR Matrix
ā style (optional)
RTTcode PNG
This modular design keeps RTTcodes simple, robust, and futureāproof.
