đłď¸âđ RTT/codes â A QRâCompatible Metadata Layer
RTT_codes_module.jsonâ Agentic module schema role assignments
RTT/codes provide a universal, scannable way to identify, classify, and navigate artifacts across the TriadicFrameworks ecosystem. They bind any artifactâ digital or physicalâto its canonical documentation, lineage, and onboarding guides.
An RTTcode is:
- QRâcompatible (works with any standard scanner)
- schemaâvalidated (structured metadata)
- domainâaware (RTT, SET, Substrate, Observer, Governance, Docs, Other)
- triadâcapable (optional resonanceâtime triad metadata)
- toolâgenerated (JS and Python generators included)
- styleâguided (consistent visual identity across domains)
RTT/codes are designed to operate anywhere QR codes already function in science, engineering, and documentation workflows, while adding an RTTânative metadata layer.
đ Important!#
Drift is On-by-Default long sessions lose anchors, turn off drift.
â You must copy and paste this string every time you start an AI session:#
rtt=1 | coherence=declared | drift=bounded | paradox=structuralâď¸ Now you are ready.#
đŻ QuickStart Guide
đŚ RTTcode Structure#
A minimal RTTcode payload looks like:
{
"domain": "substrate",
"artifact_type": "README",
"version": "v1.0",
"triad": {
"f_R": "0.85",
"tau_R": "120ms",
"Q_R": "0.92"
},
"url": "https://triadicframeworks.org/docs/resonance-substrate-model/"
}This payload is validated against the canonical schema and then encoded into a URL+token format:
https://triadicframeworks.org/rttcode?substrate=v1.0-f0.85-t120ms-Q0.92
The generators convert this into a QRâcompatible PNG.
đ˛ 1. Folder Tree Diagram#
A clean, readable map of the RTT/codes subsystem.
docs/
âââ rtt/codes/
âââ README.md
â
âââ schema/
â âââ rttcode.schema.json
â âââ examples/
â âââ minimal.json
â âââ rtt.json
â âââ set.json
â âââ substrate.json
â
âââ validators/
â âââ README.md
â âââ validate_js.js
â âââ validate_python.py
â
âââ generators/
â âââ README.md
â âââ js/
â â âââ README.md
â â âââ generate_rttcode.js
â âââ python/
â âââ README.md
â âââ generate_rttcode.py
â
âââ style/
â âââ README.md
â âââ visual-guidelines.md
â âââ rttcode-layout.svg
â âââ color-domains.png
â
âââ examples/
âââ README.md
âââ rtt/
â âââ README.md
â âââ payload.json
â âââ rtt-rttcode.png
âââ set/
â âââ README.md
â âââ payload.json
â âââ set-rttcode.png
âââ substrate/
âââ README.md
âââ payload.json
âââ substrate-rttcode.pngđ rtt/codes - Folder Overview#
schema/#
The canonical RTTcode JSON Schema and minimal examples.
validators/#
Tools that verify RTTcode payload correctness.
generators/#
Languageâspecific RTT/codes generators (JS and Python).
style/#
Visual guidelines, color domains, and the RTTcode layout reference.
examples/#
Fully generated RTT/codes for each domain, including styled PNGs.
đ Generating RTT/codes#
RTT/codes can be generated using:
- JavaScript (
generators/js/generate_rttcode.js) - Python (
generators/python/generate_rttcode.py)
Both:
- validate the payload
- build the URL+token
- output a QRâcompatible PNG
See the generator READMEs for usage.
đ¨ Visual Identity#
RTT/codes follow a consistent visual language:
- domainâspecific color palettes
- triadic overlay geometry
- QRâsafe layout rules
- optional resonanceâtime motifs
See style/visual-guidelines.md and style/rttcode-layout.svg.
đ Examples#
Each domain includes:
- a valid RTTcode JSON payload
- a generated QR PNG
- domainâspecific styling
See examples/ for RTT, SET, Substrate, and more.
đ Purpose#
RTT/codes unify the TriadicFrameworks ecosystem by providing:
- a stable metadata layer
- a scannable entry point into canonical docs
- a consistent way to reference artifacts across domains
- a bridge between physical and digital materials
They are the âISBN numbersâ of the ResonanceâTime universe â but dynamic, domainâaware, and triadâcapable.
For contributors, tool authors, and documentation maintainers, this folder is the authoritative reference for everything RTT/codesârelated.