Memory #118 CURRENT
Lydian Stack V2.1 Umbrella Spec TTI.ARCH.LYDIAN-STACK-001 V2.1 first distributable release 2026-04-21 — naming + public-name aliases, LCF/WRF/ACO, frame-class extension (NANO/STANDARD/BULK/ARCHIVE), Earth-Mars design posture, critique register First distributable release of the umbrella Lydian Stack architecture spec delivered 2026-04-21. V2.0 was a pre-distribution draft that was edited to incorporate external technical review before any external release — V2.0 files were renamed to V2.1 during pre-distribution editing. **Files:** - `D:/GitHub/lydian-node-specs/TTI.ARCH.LYDIAN-STACK-001-V2.1.md` — canonical markdown source (86 KB) - `D:/GitHub/lydian-node-specs/TTI.ARCH.LYDIAN-STACK-001-V2.1.docx` — GCD-palette client format (78 KB, 440 paragraphs, 64 tables) - `D:/GitHub/lydian-node-specs/tools/build_lydian_stack_v21_docx.py` — regenerator - `D:/GitHub/lydian-node-specs/TTI.ARCH.LYDIAN-STACK-001-V2.0.docx` — legacy pre-distribution draft; safe to delete once V2.1 is distributed **Scope:** §1 Purpose (with §1.5 Design Posture), §2 Naming Conventions (with Public Name aliases), §3 Architecture Overview, §4 Layer Map, §5 Dependency Graph, §6 Cross-cutting Primitives (LCF/WRF/ACO binary layouts + §6.6 Frame Class Extension normative), §7 Normative References (with §7.6 Implementation References), §8 Version Ladder (V2.1 → V3.0), §9 Migration Plan, §10 Open Questions, Appendix A Spec Catalogue, Appendix B Glossary, Appendix C Conflicts, Appendix D Critique Register. **Key architectural decisions locked in V2.1:** - **Frame classes (§6.6, normative)** — NANO 256 B / STANDARD 1024 B / BULK 4096 B / ARCHIVE 16384 B; `class` byte at LCF offset 0x004, version bumped to 0x03; negotiated per session during PCKA; within-class determinism preserved. - **Public Name aliases (§2.2)** — every brand codename now has a plain-language public name for external docs and APIs (TRIVA=Foundation Math, CALIX=Secure Channel Cipher, PRIMA=Sovereign Identity, etc.). Code and specs keep codenames. - **Crypto posture (§1.5)** — explicit table showing TCHAS-256 is SHA-3-lineage (not novel), CALIX is standard AEAD pattern, PCKA is lattice KEM in ML-KEM category with 24 B compact encoding, PrIA is identity representation not confidentiality primitive. Hybrid classical+PQ mode for legacy interop (V2.4 milestone). - **Earth-Mars design posture (§1.5)** — foundational, not aspirational; terrestrial latency critiques (MCP cold-start 2485 ms) are operational UX, not architectural. Store-and-forward is normal mode. Recovery / service / repair / upgrade all operate correctly with multi-hour peer gaps. - **Nine brand codenames** — TRIVA, CALIX, PRIMA, SIGIL, NEXEM, GEOMA, VERSA, STRATA, JPF — each with libX, 4-letter C prefix, Python package, @lydian/X NPM package. - **LCF/WRF/ACO naming** — LCF universal 1024 B (or class-scaled) wire unit; WRF is LCF type 0x20; ACO reclaims AGAAC meaning (≤480 B for STANDARD, scales with class); wallet v2.1 ACO → WRF in WALLET-001 v3.0. - **Critique register (Appendix D)** — 13 accepted, 6 deferred, 7 category errors (with response), 3 strategic-framing points; captures external review so future reviewers see the answers. **Version ladder (§8) — V2.1 shifted:** V2.1 now → V2.2 TRIVA+CALIX → V2.3 PRIMA+ACO v2 → V2.4 NEXEM (formal-verified + hybrid PQ) + SIGIL → V2.5 GEOMA+VERSA+STRATA → V2.6 JPF+kernel → V2.7 Python restructure → V2.8 Browser Micro-Node → V2.9 two-machine tunnel + benchmarks → V2.10 Signal onboarding + CustodyProvider + observability → V3.0 production. **Implementation references (§7.6, non-normative):** mlkem-native (formal verification pattern for NEXEM), ENCORE + Zstd (CALIX streaming AEAD), NTPsec + OpenNTPD (clock_peer privilege separation), XDP/DPDK (GEOMA Edge-Node), CMocka (testing), PQClean/PQCP (lattice crypto cross-check), Emscripten (WASM), WebCrypto API (browser custody), WebAuthn (session re-auth only). **Why:** Mark asked for Option B — single unified cross-cutting spec + full version increment building the Lydian Stack umbrella. V2.0 was the pre-distribution draft; V2.1 folded in two external reviews (technical open-source alignment + brutal executive critique) before any external release. **How to apply:** - When working on any Lydian component (wallet, tunnel, browser, conductor), reference this doc for naming, architectural position, and frame-class boundaries. - For external communication, use Public Names from §2.2 — not brand codenames. - When a reviewer raises a concern, check Appendix D first — it may already be classified as accepted, deferred, or category error. - LCF byte layout (§6.1 + §6.6) is proposed for V2.2 validation against C implementation — offsets may shift within 1-byte tolerance. - Mark has NOT yet formally accepted V2.1 — treat as authoritative for direction but allow redirect. ## Session Additions — 2026-04-22 **Path B language mapping executed (§5.4.1, Appendix D-A15):** - Added to V2.1 pre-distribution: library-by-library Go-vs-C mapping - TRIVA, PRIMA, SIGIL, GEOMA, VERSA, STRATA, JPF → Go - CALIX, NEXEM, kernel module → C11 at V2.4 - Application layer (pria_core, conductor, wallet, memory) → Python (unchanged) **Rick Peters scope-distinction critique folded in (§1.6, Appendix D-A14):** - V2.1 now distinguishes layout-normative claims (binding V2.1) from security-property provisional claims (binding V2.4 when tunnel ships) - §6.4 Wire Framing Rules split into §6.4.1 layout (normative) + §6.4.2 enforcement (provisional) - §3.5 handshake, §6.1.3 MAC scope, §6.1.4 pre-tunnel all marked provisional-until-V2.4 - Documentation-integrity improvement, not architectural change **libtriva Go implementation COMPLETE (V2.2, all 7 modules, 2026-04-22):** - Location: `D:/GitHub/tgss-mem/triva/` (module github.com/GestaltCE/tgss-mem) - 117 tests passing, `go vet` clean, `Version = "2.2.0"` - 8 commits landed (main ahead of origin/main by 8 at checkpoint; not yet pushed): - `f316134` — constants (module 1) - `7233f01` — tensor + ⊛ product (module 2) - `1ecd1b9` — cascade engine (module 3) - `77d259a` — TCPN (module 4) - `940df05` — LogTCPN 24 B O(1) (module 5) - `0e42f18` — LCF V2.1 common header (module 6) - `168b04f` — umbrella + integration tests (module 7, V2.2 COMPLETE) - **Two C-header corrections captured by Go** (both will land in C at V2.4 with CALIX/NEXEM): 1. `TRIV_HIERARCHY` was 0.34330327693990595 → correct √G0 = 0.34329452398452029 2. `triv_tensor_norm` documented as √(s11²+2·s12²); that weighting is inconsistent with the ⊛ product (algebra does not saturate). Python reference uses √(S12²+2·S11²), under which ‖T⊛T‖=‖T‖² saturates exactly. Go carries the corrected form, asserted by TestQuadraticSaturatesBound / TestCubicSaturatesBound. - Layout-normative LCF (80 B common header, V2.1 §6.1 + §6.6.2) landed; MAC/payload/ACO/NANO-body-carving deferred per spec's provisional-until-V2.4 markers. - `SelfCheck()` exercises one op per module; cross-module integration test shows a 5-token-prime LogTCPN identity flowing end-to-end through a STANDARD WALLET_ROOT LCF frame. - Go surface now feature-complete for every non-crypto Lydian Stack layer. CALIX + NEXEM remain on V2.4. **Prime Architecture layperson paper delivered (2026-04-22):** - `D:/GitHub/lydian-node-specs/papers/TRIB.PAPER.PRIME-ARCH-001-V1.0.{md,docx,html}` - 5,946 words, 9 sections, one equation (G₀ = √2/12), five referenced figures (ASCII + SVG path for future designed art) - Spine: Six-Hop Theorem (§5) — any-to-any routing in ≤6 hops across billion-node mesh by prime geometry - Covers: why primes = sovereignty, 24-byte LogTCPN lossless identity, error-correction-free via structural verification, six-step user journey, quantum-by-structure - Voice: poetic, Einstein/Tesla/Pythagoras/Kronecker/Galileo quotes; ready for Mark's own voice to replace/augment - HTML has full TTF brand (EB Garamond, KaTeX, dark mode toggle) **Board report 2026-04-22 delivered to Dropbox:** - Combined Sherri Cuono's V5 Super Streamer weekly (2026-04-21) + V2.1 Lydian Stack architecture work - Location: `C:/Users/mark/Gestaltce Dropbox/Mark Hewitt/Development Reports/GCD_BOARD_Development_Update_2026-04-22.docx` - Outstanding request from Mark: add TOC + Appendix A (past reports index) + Appendix B (key events) + bootstrap a `GCD_BOARD_REPORT_INDEX.md` living index — ~20 min of work pending **tgss-mem MCP server fixed:** - Problem: `dist/schema.sql` not copied by the `tsup --clean` build — server crashed on startup looking for schema - Fix: patched `package.json` build script to copy schema after tsup: `tsup ... && node -e "require('fs').copyFileSync('src/store/schema.sql','dist/schema.sql')"` - Server now connects healthy; change not yet committed **Session continuation checkpoint:** `D:/GitHub/SESSION_CONTINUATION.md` — human-readable state file for fresh session reload. — [project_lydian_stack_v2.md]
| Composite | DC4DFC3004BA6C8B9 |
| Project prime | 13 |
| Domain prime | 49 |
| Type prime | 67 |
| Importance | 0.343295 (ACTIVE) |
| Decay epoch | 0 |
| Created | 2026-05-04 15:46:49 |
| Valid from | (unset) |
| Valid to | NULL — still believed true |
Outgoing Edges
No outgoing edges.