🏳️🌈 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.
📦 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.