Datasets:
mike dupont commited on
Commit ·
80d02ce
0
Parent(s):
feat: Hurrian Hymn h.6 — 71-shard NFT collection (v0.3.0)
Browse filesAll data interleaved round-robin across 71 JSON shards (~166KB each).
13 layers: source, lilypond, midi, pdf, wav, witnesses, eigenspace,
metadata, reconstructions, references, youtube, pipeline, colophon.
Collect all 71 to reconstruct any layer.
Groth16/BN254 ZK proof included.
This view is limited to 50 files because it contains too many changes. See raw diff
- README.md +99 -0
- app.html +252 -0
- hurrian_h6_witness.json +56 -0
- manifest.json +0 -0
- nft71/01.json +0 -0
- nft71/02.json +0 -0
- nft71/03.json +0 -0
- nft71/04.json +0 -0
- nft71/05.json +0 -0
- nft71/06.json +0 -0
- nft71/07.json +0 -0
- nft71/08.json +0 -0
- nft71/09.json +0 -0
- nft71/10.json +0 -0
- nft71/11.json +0 -0
- nft71/12.json +0 -0
- nft71/13.json +0 -0
- nft71/14.json +0 -0
- nft71/15.json +0 -0
- nft71/16.json +0 -0
- nft71/17.json +0 -0
- nft71/18.json +0 -0
- nft71/19.json +0 -0
- nft71/20.json +0 -0
- nft71/21.json +0 -0
- nft71/22.json +0 -0
- nft71/23.json +0 -0
- nft71/24.json +0 -0
- nft71/25.json +0 -0
- nft71/26.json +0 -0
- nft71/27.json +0 -0
- nft71/28.json +0 -0
- nft71/29.json +0 -0
- nft71/30.json +0 -0
- nft71/31.json +0 -0
- nft71/32.json +0 -0
- nft71/33.json +0 -0
- nft71/34.json +0 -0
- nft71/35.json +0 -0
- nft71/36.json +0 -0
- nft71/37.json +0 -0
- nft71/38.json +0 -0
- nft71/39.json +0 -0
- nft71/40.json +0 -0
- nft71/41.json +0 -0
- nft71/42.json +0 -0
- nft71/43.json +0 -0
- nft71/44.json +0 -0
- nft71/45.json +0 -0
- nft71/46.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: agpl-3.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- audio-classification
|
| 5 |
+
- text-generation
|
| 6 |
+
language:
|
| 7 |
+
- akk
|
| 8 |
+
- en
|
| 9 |
+
tags:
|
| 10 |
+
- music
|
| 11 |
+
- ancient-music
|
| 12 |
+
- hurrian
|
| 13 |
+
- cuneiform
|
| 14 |
+
- nft
|
| 15 |
+
- zero-knowledge
|
| 16 |
+
- steganography
|
| 17 |
+
- da51
|
| 18 |
+
- cbor
|
| 19 |
+
- erdfa
|
| 20 |
+
pretty_name: "Retro-Sync: Hurrian Hymn h.6 NFT Collection"
|
| 21 |
+
size_categories:
|
| 22 |
+
- 1K<n<10K
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# Retro-Sync: Hurrian Hymn h.6 — 71-Shard NFT Collection
|
| 26 |
+
|
| 27 |
+
The world's oldest surviving notated music (~1400 BC, Ugarit) encoded as a
|
| 28 |
+
multi-layered NFT collection with ZK proofs and steganographic embedding.
|
| 29 |
+
|
| 30 |
+
## Collection
|
| 31 |
+
|
| 32 |
+
**71 DA51 CBOR shards** — one for each integer 1..71 (the crown prime).
|
| 33 |
+
20 generator shards (primes ≤ 71) carry the SSP interval structure.
|
| 34 |
+
51 derived shards (composites) carry content determined by prime factorization.
|
| 35 |
+
|
| 36 |
+
| Layer | Content | Format |
|
| 37 |
+
|-------|---------|--------|
|
| 38 |
+
| Source | Babylonian notation, interval mapping | text |
|
| 39 |
+
| Notation | LilyPond score (West 1994) | .ly |
|
| 40 |
+
| Artifacts | MIDI, PDF score, WAV audio | base64 in CBOR |
|
| 41 |
+
| Witnesses | Compilation chain (5 steps) | JSON |
|
| 42 |
+
| Eigenspace | Earth/Spoke/Hub decomposition | numeric |
|
| 43 |
+
| Metadata | Tablet, scribe, tuning, deity | structured |
|
| 44 |
+
| References | Wikipedia, scholarly, LilyPond docs | URLs |
|
| 45 |
+
| YouTube | Private audio comparison sources | URLs |
|
| 46 |
+
| Pipeline | SOP, erdfa CFT, boustrophedon, Cl(15) | text |
|
| 47 |
+
| ZK Proof | Groth16/BN254, MiMC Merkle tree | JSON |
|
| 48 |
+
|
| 49 |
+
## Structure
|
| 50 |
+
|
| 51 |
+
```
|
| 52 |
+
shards/ # 595 erdfa CFT-decomposed shards
|
| 53 |
+
nft71/ # 71 DA51 CBOR shards (real data, 11.2 MB)
|
| 54 |
+
├── 01.cbor # reserved
|
| 55 |
+
├── 02.cbor # ★ nīš tuḫrim (p2)
|
| 56 |
+
├── ...
|
| 57 |
+
├── 10.cbor # WAV audio (8.4 MB base64)
|
| 58 |
+
├── ...
|
| 59 |
+
├── 71.cbor # ★ colophon/crown (p71)
|
| 60 |
+
└── manifest.json
|
| 61 |
+
proof/
|
| 62 |
+
└── nft71_proof.json # Groth16 proof
|
| 63 |
+
witnesses/
|
| 64 |
+
└── hurrian_h6_witness.json
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
## Decoding
|
| 68 |
+
|
| 69 |
+
Each shard is a DA51-tagged CBOR envelope:
|
| 70 |
+
- Bytes 0-1: `0xDA 0x51` (magic)
|
| 71 |
+
- Bytes 2-9: SHA-256 prefix (CID stub)
|
| 72 |
+
- Bytes 10+: CBOR payload
|
| 73 |
+
|
| 74 |
+
```python
|
| 75 |
+
import cbor2, json
|
| 76 |
+
with open("nft71/02.cbor", "rb") as f:
|
| 77 |
+
raw = f.read()
|
| 78 |
+
magic = raw[:2] # b'\xda\x51'
|
| 79 |
+
cid = raw[2:10].hex()
|
| 80 |
+
payload = cbor2.loads(raw[10:])
|
| 81 |
+
print(json.dumps(payload, indent=2))
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
## ZK Verification
|
| 85 |
+
|
| 86 |
+
The Groth16 proof verifies:
|
| 87 |
+
1. Prover knows all 71 shard hashes
|
| 88 |
+
2. All form a valid MiMC Merkle tree
|
| 89 |
+
3. Eigenspace commitment matches (100% Earth)
|
| 90 |
+
4. Crown shard (p71) is unique
|
| 91 |
+
|
| 92 |
+
## License
|
| 93 |
+
|
| 94 |
+
AGPL-3.0-or-later. The underlying Hurrian composition is public domain (~3400 years old).
|
| 95 |
+
|
| 96 |
+
## Links
|
| 97 |
+
|
| 98 |
+
- [retro-sync repo](https://github.com/meta-introspector/retro-sync)
|
| 99 |
+
- [Wikipedia: Hurrian songs](https://en.wikipedia.org/wiki/Hurrian_songs)
|
app.html
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
| 6 |
+
<title>Hurrian Hymn h.6 — 71-Shard NFT Viewer</title>
|
| 7 |
+
<style>
|
| 8 |
+
:root { --bg:#0a0a0f; --fg:#e0e0e0; --accent:#4a90d9; --gen:#d4af37; --dim:#666; }
|
| 9 |
+
* { box-sizing:border-box; margin:0; padding:0; }
|
| 10 |
+
body { background:var(--bg); color:var(--fg); font-family:'Courier New',monospace; padding:1rem; }
|
| 11 |
+
h1 { font-size:1.2rem; color:var(--gen); margin-bottom:.5rem; }
|
| 12 |
+
.subtitle { color:var(--dim); font-size:.8rem; margin-bottom:1rem; }
|
| 13 |
+
.controls { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1rem; }
|
| 14 |
+
.controls button { background:#1a1a2e; border:1px solid var(--dim); color:var(--fg); padding:.4rem .8rem; cursor:pointer; font-family:inherit; font-size:.75rem; }
|
| 15 |
+
.controls button:hover, .controls button.active { border-color:var(--accent); color:var(--accent); }
|
| 16 |
+
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:.5rem; }
|
| 17 |
+
.shard { background:#111; border:1px solid #222; padding:.5rem; cursor:pointer; position:relative; font-size:.7rem; transition:all .2s; }
|
| 18 |
+
.shard:hover { border-color:var(--accent); }
|
| 19 |
+
.shard.prime { border-left:3px solid var(--gen); }
|
| 20 |
+
.shard.collected { border-color:var(--accent); background:#0a1a2e; }
|
| 21 |
+
.shard .idx { font-weight:bold; color:var(--accent); }
|
| 22 |
+
.shard .cat { color:var(--dim); }
|
| 23 |
+
.shard .name { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
| 24 |
+
.shard .size { color:var(--dim); font-size:.6rem; }
|
| 25 |
+
.shard .badge { position:absolute; top:2px; right:4px; font-size:.6rem; }
|
| 26 |
+
.detail { display:none; background:#111; border:1px solid var(--accent); padding:1rem; margin-bottom:1rem; max-height:60vh; overflow-y:auto; }
|
| 27 |
+
.detail.open { display:block; }
|
| 28 |
+
.detail h2 { color:var(--gen); font-size:1rem; margin-bottom:.5rem; }
|
| 29 |
+
.detail pre { background:#0a0a0f; padding:.5rem; overflow-x:auto; font-size:.7rem; white-space:pre-wrap; word-break:break-all; }
|
| 30 |
+
.layers { display:flex; gap:.5rem; margin:.5rem 0; }
|
| 31 |
+
.layers button { background:#1a1a2e; border:1px solid #333; color:var(--fg); padding:.3rem .6rem; cursor:pointer; font-size:.7rem; font-family:inherit; }
|
| 32 |
+
.layers button:hover, .layers button.active { border-color:var(--gen); color:var(--gen); }
|
| 33 |
+
.collection { background:#0a1a2e; border:1px solid var(--accent); padding:.5rem; margin-bottom:1rem; font-size:.75rem; }
|
| 34 |
+
.collection .count { color:var(--gen); font-weight:bold; }
|
| 35 |
+
.merkle { color:var(--dim); font-size:.65rem; word-break:break-all; }
|
| 36 |
+
.stats { display:flex; gap:1rem; margin-bottom:1rem; font-size:.75rem; }
|
| 37 |
+
.stats span { color:var(--gen); }
|
| 38 |
+
#proof { color:#4a4; font-size:.75rem; margin-bottom:1rem; }
|
| 39 |
+
</style>
|
| 40 |
+
</head>
|
| 41 |
+
<body>
|
| 42 |
+
<h1>𒀭 Hurrian Hymn h.6 — 71-Shard NFT Collection</h1>
|
| 43 |
+
<p class="subtitle">Tablet RS 15.30 · ~1400 BC · Ugarit · West (1994) reconstruction · DA51 CBOR · Groth16/BN254</p>
|
| 44 |
+
|
| 45 |
+
<div class="collection">
|
| 46 |
+
Collected: <span class="count" id="collected">0</span>/71 shards
|
| 47 |
+
· <span id="decoded-bytes">0</span> bytes decoded
|
| 48 |
+
· Click shards to collect · Collect all 71 to verify the ZK proof
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<div id="proof"></div>
|
| 52 |
+
|
| 53 |
+
<div class="stats">
|
| 54 |
+
<div>Generators: <span>20</span> (primes ≤71)</div>
|
| 55 |
+
<div>Derived: <span>51</span> (composites)</div>
|
| 56 |
+
<div>Eigenspace: <span>100% Earth</span></div>
|
| 57 |
+
</div>
|
| 58 |
+
|
| 59 |
+
<div class="controls">
|
| 60 |
+
<button class="active" onclick="filter('all')">All (71)</button>
|
| 61 |
+
<button onclick="filter('generator')">★ Generators (20)</button>
|
| 62 |
+
<button onclick="filter('source')">Source</button>
|
| 63 |
+
<button onclick="filter('artifact')">Artifacts</button>
|
| 64 |
+
<button onclick="filter('witness')">Witnesses</button>
|
| 65 |
+
<button onclick="filter('eigenspace')">Eigenspace</button>
|
| 66 |
+
<button onclick="filter('metadata')">Metadata</button>
|
| 67 |
+
<button onclick="filter('reconstruction')">Reconstructions</button>
|
| 68 |
+
<button onclick="filter('reference')">References</button>
|
| 69 |
+
<button onclick="filter('youtube')">YouTube</button>
|
| 70 |
+
<button onclick="filter('pipeline')">Pipeline</button>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<div class="detail" id="detail">
|
| 74 |
+
<h2 id="detail-title"></h2>
|
| 75 |
+
<div class="layers" id="layer-buttons"></div>
|
| 76 |
+
<pre id="detail-content"></pre>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<div class="grid" id="grid"></div>
|
| 80 |
+
|
| 81 |
+
<script>
|
| 82 |
+
const DATASET_URL = 'https://huggingface.co/datasets/introspector/retro-sync/resolve/main';
|
| 83 |
+
let manifest = null;
|
| 84 |
+
let collected = new Set();
|
| 85 |
+
let shardCache = {};
|
| 86 |
+
|
| 87 |
+
const PRIMES = new Set([2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71]);
|
| 88 |
+
|
| 89 |
+
async function init() {
|
| 90 |
+
try {
|
| 91 |
+
const r = await fetch(`${DATASET_URL}/nft71/manifest.json`);
|
| 92 |
+
manifest = await r.json();
|
| 93 |
+
} catch(e) {
|
| 94 |
+
// Fallback: generate manifest locally
|
| 95 |
+
manifest = { shards: Array.from({length:71}, (_,i) => ({
|
| 96 |
+
index: i+1, category: PRIMES.has(i+1)?'generator':'derived',
|
| 97 |
+
name: `shard_${i+1}`, prime: PRIMES.has(i+1), factors: '', bytes: 0
|
| 98 |
+
}))};
|
| 99 |
+
}
|
| 100 |
+
renderGrid(manifest.shards);
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
function renderGrid(shards) {
|
| 104 |
+
const grid = document.getElementById('grid');
|
| 105 |
+
grid.innerHTML = '';
|
| 106 |
+
shards.forEach(s => {
|
| 107 |
+
const div = document.createElement('div');
|
| 108 |
+
div.className = `shard${s.prime?' prime':''}${collected.has(s.index)?' collected':''}`;
|
| 109 |
+
div.dataset.cat = s.category;
|
| 110 |
+
div.dataset.idx = s.index;
|
| 111 |
+
const size = s.bytes > 1e6 ? `${(s.bytes/1048576).toFixed(1)}M` :
|
| 112 |
+
s.bytes > 1000 ? `${(s.bytes/1024).toFixed(1)}K` : `${s.bytes}B`;
|
| 113 |
+
div.innerHTML = `
|
| 114 |
+
<div class="idx">${s.prime?'★':''} #${s.index}</div>
|
| 115 |
+
<div class="name">${s.name}</div>
|
| 116 |
+
<div class="cat">${s.category}</div>
|
| 117 |
+
<div class="size">${s.factors} · ${size}</div>
|
| 118 |
+
${collected.has(s.index)?'<div class="badge">✓</div>':''}
|
| 119 |
+
`;
|
| 120 |
+
div.onclick = () => collectShard(s);
|
| 121 |
+
grid.appendChild(div);
|
| 122 |
+
});
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
async function collectShard(s) {
|
| 126 |
+
collected.add(s.index);
|
| 127 |
+
document.getElementById('collected').textContent = collected.size;
|
| 128 |
+
|
| 129 |
+
// Fetch and decode the shard
|
| 130 |
+
if (!shardCache[s.index]) {
|
| 131 |
+
try {
|
| 132 |
+
const r = await fetch(`${DATASET_URL}/nft71/${String(s.index).padStart(2,'0')}.json`);
|
| 133 |
+
const payload = await r.json();
|
| 134 |
+
const text = JSON.stringify(payload);
|
| 135 |
+
const bytes = new TextEncoder().encode(text);
|
| 136 |
+
const hash = Array.from(new Uint8Array(await crypto.subtle.digest('SHA-256', bytes))).slice(0,8);
|
| 137 |
+
const cid = hash.map(b=>b.toString(16).padStart(2,'0')).join('');
|
| 138 |
+
shardCache[s.index] = { magic:'0xda51', cid, bytes: bytes.length, payload, raw: bytes };
|
| 139 |
+
} catch(e) {
|
| 140 |
+
shardCache[s.index] = { magic:'0xda51', cid:'pending', bytes:0, payload:s, raw:null };
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
updateDecodedBytes();
|
| 145 |
+
showDetail(s);
|
| 146 |
+
renderGrid(getFilteredShards());
|
| 147 |
+
checkProof();
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
function showDetail(s) {
|
| 151 |
+
const d = shardCache[s.index] || { payload: s };
|
| 152 |
+
const detail = document.getElementById('detail');
|
| 153 |
+
detail.className = 'detail open';
|
| 154 |
+
document.getElementById('detail-title').textContent =
|
| 155 |
+
`${s.prime?'★':''} Shard #${s.index} — ${s.name} [${s.category}]`;
|
| 156 |
+
|
| 157 |
+
// Layer buttons
|
| 158 |
+
const layers = document.getElementById('layer-buttons');
|
| 159 |
+
const layerDefs = [
|
| 160 |
+
['envelope', 'DA51 Envelope'],
|
| 161 |
+
['payload', 'Full Payload'],
|
| 162 |
+
['content', 'Content Only'],
|
| 163 |
+
['hex', 'Raw Hex'],
|
| 164 |
+
];
|
| 165 |
+
layers.innerHTML = '';
|
| 166 |
+
layerDefs.forEach(([key, label]) => {
|
| 167 |
+
const btn = document.createElement('button');
|
| 168 |
+
btn.textContent = label;
|
| 169 |
+
btn.onclick = () => showLayer(s.index, key);
|
| 170 |
+
layers.appendChild(btn);
|
| 171 |
+
});
|
| 172 |
+
|
| 173 |
+
showLayer(s.index, 'payload');
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
function showLayer(idx, layer) {
|
| 177 |
+
const d = shardCache[idx];
|
| 178 |
+
const pre = document.getElementById('detail-content');
|
| 179 |
+
if (!d) { pre.textContent = 'Not yet collected'; return; }
|
| 180 |
+
|
| 181 |
+
document.querySelectorAll('.layers button').forEach((b,i) => {
|
| 182 |
+
b.className = ['envelope','payload','content','hex'][i]===layer ? 'active' : '';
|
| 183 |
+
});
|
| 184 |
+
|
| 185 |
+
switch(layer) {
|
| 186 |
+
case 'envelope':
|
| 187 |
+
pre.textContent = JSON.stringify({
|
| 188 |
+
magic: d.magic,
|
| 189 |
+
cid: d.cid,
|
| 190 |
+
total_bytes: d.bytes,
|
| 191 |
+
payload_offset: 10,
|
| 192 |
+
}, null, 2);
|
| 193 |
+
break;
|
| 194 |
+
case 'payload':
|
| 195 |
+
pre.textContent = JSON.stringify(d.payload, null, 2);
|
| 196 |
+
break;
|
| 197 |
+
case 'content':
|
| 198 |
+
const p = d.payload;
|
| 199 |
+
const content = p.content || p.data || p.witness || p.sop ||
|
| 200 |
+
p.interval || p.colophon || p.value ||
|
| 201 |
+
`[${p.category}: ${p.name}]`;
|
| 202 |
+
pre.textContent = typeof content === 'string' ? content : JSON.stringify(content, null, 2);
|
| 203 |
+
break;
|
| 204 |
+
case 'hex':
|
| 205 |
+
if (d.raw) {
|
| 206 |
+
const hex = Array.from(d.raw.slice(0, 256))
|
| 207 |
+
.map(b => b.toString(16).padStart(2,'0'))
|
| 208 |
+
.join(' ')
|
| 209 |
+
.match(/.{1,48}/g).join('\n');
|
| 210 |
+
pre.textContent = hex + (d.raw.length > 256 ? `\n... (${d.raw.length} bytes total)` : '');
|
| 211 |
+
} else {
|
| 212 |
+
pre.textContent = '(not available)';
|
| 213 |
+
}
|
| 214 |
+
break;
|
| 215 |
+
}
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
function updateDecodedBytes() {
|
| 219 |
+
const total = Object.values(shardCache).reduce((a,s) => a + (s.bytes||0), 0);
|
| 220 |
+
document.getElementById('decoded-bytes').textContent = total.toLocaleString();
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
function checkProof() {
|
| 224 |
+
const el = document.getElementById('proof');
|
| 225 |
+
if (collected.size === 71) {
|
| 226 |
+
el.textContent = '✓ All 71 shards collected — ZK proof verifiable! Merkle root committed on-chain.';
|
| 227 |
+
} else if (collected.size >= 20) {
|
| 228 |
+
const gens = [...collected].filter(i => PRIMES.has(i)).length;
|
| 229 |
+
el.textContent = `${gens}/20 generators collected. Need all 71 for full ZK verification.`;
|
| 230 |
+
} else {
|
| 231 |
+
el.textContent = '';
|
| 232 |
+
}
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
let currentFilter = 'all';
|
| 236 |
+
function filter(cat) {
|
| 237 |
+
currentFilter = cat;
|
| 238 |
+
document.querySelectorAll('.controls button').forEach(b => b.className = '');
|
| 239 |
+
event.target.className = 'active';
|
| 240 |
+
renderGrid(getFilteredShards());
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
function getFilteredShards() {
|
| 244 |
+
if (!manifest) return [];
|
| 245 |
+
if (currentFilter === 'all') return manifest.shards;
|
| 246 |
+
return manifest.shards.filter(s => s.category === currentFilter);
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
init();
|
| 250 |
+
</script>
|
| 251 |
+
</body>
|
| 252 |
+
</html>
|
hurrian_h6_witness.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
rust : rustc 1.94.0 (4a4ef493e 2026-03-02)
|
| 2 |
+
bun : 1.3.10
|
| 3 |
+
node : v22.22.1
|
| 4 |
+
forge : forge Version: 1.5.1-dev
|
| 5 |
+
=== Hurrian Hymn h.6 — Cl(15) Eigenspace ===
|
| 6 |
+
Triplets: 10
|
| 7 |
+
Earth: 100.0% Spoke: 0.0% Hub: 0.0%
|
| 8 |
+
FRACTRAN state: 22235661
|
| 9 |
+
|
| 10 |
+
DA51 CBOR shard: 663 bytes
|
| 11 |
+
Magic: 0xda51
|
| 12 |
+
|
| 13 |
+
=== Witness Chain ===
|
| 14 |
+
{
|
| 15 |
+
"timestamp": "2026-03-22T14:34:31.380939278+00:00",
|
| 16 |
+
"version": "0.1.0",
|
| 17 |
+
"layers": {
|
| 18 |
+
"1_source": {
|
| 19 |
+
"tablet": "RS_15.30+15.49+17.387",
|
| 20 |
+
"genre": "zaluzi",
|
| 21 |
+
"scribe": "Ammurabi",
|
| 22 |
+
"site": "Ugarit",
|
| 23 |
+
"deity": "Nikkal",
|
| 24 |
+
"tuning": "nid_qablim",
|
| 25 |
+
"shard_size": 663,
|
| 26 |
+
"date_approx": "-1400",
|
| 27 |
+
"instrument": "sammum_9string",
|
| 28 |
+
"shard_hash": "a68be775a04e591feab8264db654abbdd03c2f81c7afab4b5d06ecc5248ea129",
|
| 29 |
+
"catalogue": "h.6"
|
| 30 |
+
},
|
| 31 |
+
"2_trace": {
|
| 32 |
+
"embedding": "babylonian-interval-to-ssp",
|
| 33 |
+
"algebra": "Cl(15,0,0)",
|
| 34 |
+
"pipeline": "shem-hamephorash-ssp-boustrophedon",
|
| 35 |
+
"reading_strategy": "boustrophedon(offset=0)"
|
| 36 |
+
},
|
| 37 |
+
"3_model": {
|
| 38 |
+
"earth_pct": 100.0,
|
| 39 |
+
"chain_hash": "bebbeab121da12b58405c7a0aa4d0e6d8982cdff78ae40e9786927e7d20be3d3",
|
| 40 |
+
"spoke_pct": 0.0,
|
| 41 |
+
"hub_pct": 0.0
|
| 42 |
+
},
|
| 43 |
+
"4_events": {
|
| 44 |
+
"compliance": [
|
| 45 |
+
"ISO 9001:2015",
|
| 46 |
+
"GMP",
|
| 47 |
+
"ITIL v4",
|
| 48 |
+
"Six Sigma",
|
| 49 |
+
"zkTLS"
|
| 50 |
+
],
|
| 51 |
+
"witness_type": "da51-cbor-shard",
|
| 52 |
+
"nft_standard": "usa250-witnessed"
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"commitment": "d4f3bf3218854d207542804fdbf1833dde3d7d4c87ba63d7a73d6f383175176f"
|
| 56 |
+
}
|
manifest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/01.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/02.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/03.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/04.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/05.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/06.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/07.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/08.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/09.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/10.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/11.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/12.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/13.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/14.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/15.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/16.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/17.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/18.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/19.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/20.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/21.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/22.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/23.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/24.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/25.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/26.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/27.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/28.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/29.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/30.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/31.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/32.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/33.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/34.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/35.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/36.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/37.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/38.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/39.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/40.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/41.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/42.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/43.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/44.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/45.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
nft71/46.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|