-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
437 lines (402 loc) · 22.6 KB
/
index.html
File metadata and controls
437 lines (402 loc) · 22.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Primitive Map</title>
<meta name="description" content="Human coordination primitives — tracked and cataloged.">
<meta property="og:title" content="Primitive Map">
<meta property="og:description" content="Human coordination primitives — tracked and cataloged.">
<meta property="og:url" content="https://index.network/">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@indexnetwork_">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><text y='14' font-size='14'>◆</text></svg>">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500;700&display=swap" rel="stylesheet">
<style>
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Source Code Pro',monospace;background:#0d1117;color:#fff;min-height:100vh;-webkit-font-smoothing:antialiased}
.container{max-width:56rem;margin:0 auto;padding:2rem 1rem}
/* Intro */
.intro{margin-bottom:2rem}
.intro h1{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}
.intro p{font-size:.875rem;color:#9ca3af;line-height:1.8}
/* Stats */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2rem}
@media(min-width:640px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{border:1px solid rgba(255,255,255,.1);border-radius:.5rem;padding:1rem;text-align:center}
.stat-value{font-size:1.5rem;font-weight:700}
.stat-label{font-size:.875rem;color:#9ca3af;margin-top:.25rem}
/* Filters */
.filters{margin-bottom:2rem}
.filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem}
.filter-label{font-size:.75rem;color:#6b7280;width:4rem;flex-shrink:0}
.chip{padding:.25rem .75rem;font-size:.75rem;border-radius:9999px;border:1px solid rgba(255,255,255,.1);background:transparent;color:#6b7280;cursor:pointer;transition:all .15s}
.chip:hover{color:#d1d5db;border-color:rgba(255,255,255,.2)}
.chip.active{border-color:rgba(255,255,255,.4);background:rgba(255,255,255,.1);color:#fff}
.clear-btn{font-size:.75rem;color:#6b7280;background:none;border:none;cursor:pointer;text-decoration:underline}
.clear-btn:hover{color:#d1d5db}
/* Column header */
.col-header{display:none;padding:.5rem 1rem;font-size:10px;color:#4b5563;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid rgba(255,255,255,.1)}
@media(min-width:640px){.col-header{display:flex;align-items:center;gap:1rem}}
.col-header .col-name{flex:1}
.col-header .col-pillars{width:8rem}
.col-header .col-rate{width:4rem;text-align:right}
.col-header .col-tam{width:5rem;text-align:right}
.col-header .col-maturity{width:5rem;text-align:right}
.col-header .col-arrow{width:1rem}
@media(max-width:767px){.col-header .col-pillars{display:none}}
@media(max-width:1023px){.col-header .col-maturity{display:none}}
/* Layer section */
.layer{margin-bottom:1.5rem}
.layer-header{display:flex;align-items:baseline;gap:.75rem;padding:.5rem 1rem;border-bottom:1px solid rgba(255,255,255,.1)}
.layer-title{font-size:.875rem;font-weight:700}
.layer-subtitle{font-size:.75rem;color:#6b7280}
.layer-count{font-size:.75rem;color:#4b5563;margin-left:auto}
/* Primitive row */
.prim{border-bottom:1px solid rgba(255,255,255,.03)}
.prim-btn{width:100%;text-align:left;padding:.75rem 1rem;display:flex;align-items:center;gap:1rem;background:none;border:none;color:#fff;cursor:pointer;font-family:inherit;font-size:inherit;transition:background .15s}
.prim-btn:hover{background:rgba(255,255,255,.02)}
.prim-name{flex:1;font-size:.875rem;font-weight:500;min-width:0}
.prim-pillars{display:none;align-items:center;gap:.5rem}
@media(min-width:768px){.prim-pillars{display:flex}}
.pill{font-size:10px;padding:.125rem .5rem;border-radius:9999px;border:1px solid}
.pill-Language{color:#60a5fa;border-color:rgba(96,165,250,.3)}
.pill-Value{color:#4ade80;border-color:rgba(74,222,128,.3)}
.pill-Coordination{color:#c084fc;border-color:rgba(192,132,252,.3)}
.prim-rate,.prim-tam{font-size:.75rem;color:#9ca3af;text-align:right;display:none}
@media(min-width:640px){.prim-rate{display:block;width:4rem}.prim-tam{display:block;width:5rem}}
.prim-maturity{font-size:.75rem;text-align:right;width:5rem;display:none}
@media(min-width:1024px){.prim-maturity{display:block}}
.prim-arrow{width:1rem;height:1rem;color:#6b7280;transition:transform .2s;flex-shrink:0}
.prim-arrow.open{transform:rotate(180deg)}
/* Maturity colors */
.mat-Theoretical{color:#6b7280}
.mat-Experimental{color:#eab308}
.mat-Emerging{color:#fb923c}
.mat-Growing{color:#4ade80}
.mat-Established{color:#34d399}
/* Expanded detail */
.prim-detail{overflow:hidden;max-height:0;transition:max-height .25s ease}
.prim-detail.open{max-height:600px}
.prim-detail-inner{padding:.25rem 1rem 1rem;font-size:.875rem}
.prim-detail-inner > *+*{margin-top:.75rem}
.prim-def{color:#d1d5db}
.prim-replaces{font-size:.75rem}
.prim-replaces .label{color:#6b7280}
.prim-replaces .val{color:#9ca3af}
.detail-stats{display:flex;flex-wrap:wrap;gap:1rem}
.detail-stat .label{font-size:.75rem;color:#6b7280;display:block;margin-bottom:.25rem}
.detail-stat .val{font-size:.875rem;color:#fff}
.detail-pillars-mobile{display:flex;flex-wrap:wrap;gap:.25rem}
@media(min-width:768px){.detail-pillars-mobile{display:none}}
.detail-section .label{font-size:.75rem;color:#6b7280;display:block;margin-bottom:.25rem}
.tags{display:flex;flex-wrap:wrap;gap:.25rem}
.tag{font-size:.75rem;padding:.125rem .5rem;border-radius:.25rem;background:rgba(255,255,255,.05);color:#d1d5db}
.tag .approach{color:#6b7280}
.tag-outline{font-size:.75rem;padding:.125rem .5rem;border-radius:.25rem;border:1px solid rgba(255,255,255,.1);color:#9ca3af}
/* Lenses */
.lenses{margin-top:3rem;border-top:1px solid rgba(255,255,255,.1);padding-top:2rem}
.lens{margin-bottom:2.5rem}
.lens h2{font-size:1.125rem;font-weight:700;margin-bottom:1rem}
/* Relevancy ↔ Reputation ↔ Trust flow */
.rrt-flow{display:flex;align-items:stretch;gap:0 1.5rem;margin-top:1rem;flex-wrap:wrap}
@media(min-width:520px){.rrt-flow{flex-wrap:nowrap}}
.rrt-node{flex:1;min-width:8rem;padding:1rem;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.02);position:relative}
.rrt-node:not(:last-child)::after{content:'→';position:absolute;right:-.6rem;top:50%;transform:translateY(-50%);font-size:.75rem;color:rgba(255,255,255,.3);z-index:1}
@media(max-width:519px){.rrt-flow{gap:1rem 0}.rrt-node:not(:last-child)::after{content:'↓';right:auto;left:50%;top:auto;bottom:-.55rem;transform:translate(-50%,100%)}}
.rrt-node:nth-child(1){border-left:3px solid #60a5fa}
.rrt-node:nth-child(2){border-left:3px solid #c084fc}
.rrt-node:nth-child(3){border-left:3px solid #4ade80}
.rrt-node-title{font-size:.875rem;font-weight:600;margin-bottom:.35rem}
.rrt-node-question{font-size:.75rem;color:#9ca3af;line-height:1.5;font-style:italic}
/* Relevancy × Appropriateness 2×2 matrix */
.ra-matrix{display:grid;grid-template-columns:auto 1fr 1fr;grid-template-rows:auto 1fr 1fr;gap:0;border:1px solid rgba(255,255,255,.1);min-width:28rem}
.ra-axis{padding:.5rem .75rem;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280;border:1px solid rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center}
.ra-axis-y{writing-mode:vertical-rl;transform:rotate(180deg);text-orientation:mixed}
.ra-cell{padding:1rem;border:1px solid rgba(255,255,255,.06);font-size:.8125rem}
.ra-cell-title{font-weight:600;font-size:.75rem;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.04em}
.ra-cell-desc{color:#9ca3af;line-height:1.6;margin-bottom:.5rem}
.ra-cell-example{font-size:.75rem;color:#6b7280;font-style:italic;margin-bottom:.35rem}
.ra-cell-scenario{font-size:.75rem;color:#d1d5db}
.ra-cell.ideal{background:rgba(74,222,128,.06);border-color:rgba(74,222,128,.2)}
.ra-cell.coercive{background:rgba(251,191,36,.06);border-color:rgba(251,191,36,.2)}
.ra-cell.benign{background:rgba(96,165,250,.04);border-color:rgba(96,165,250,.15)}
.ra-cell.collapse{background:rgba(239,68,68,.06);border-color:rgba(239,68,68,.2)}
.ra-wrap{overflow-x:auto;margin-top:1rem;-webkit-overflow-scrolling:touch}
/* Market Relationships */
.mr-intro{font-size:.875rem;color:#9ca3af;line-height:1.6;margin-bottom:1rem}
.mr-table-wrap{overflow-x:auto;margin-top:1rem;-webkit-overflow-scrolling:touch}
.mr-table{width:100%;border-collapse:collapse;font-size:.8125rem;min-width:32rem}
.mr-table th,.mr-table td{border:1px solid rgba(255,255,255,.08);padding:.75rem 1rem;text-align:left}
.mr-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:#6b7280;font-weight:500;background:rgba(255,255,255,.02)}
.mr-table td{color:#d1d5db}
.mr-table tr:hover td{background:rgba(255,255,255,.02)}
.mr-rel{font-weight:600;color:#fff;white-space:nowrap}
.mr-market{color:#9ca3af}
.mr-features{color:#9ca3af;line-height:1.5}
/* Footer */
.footer{text-align:center;padding:1rem 0;margin-bottom:1rem;font-size:.75rem;color:#4b5563}
/* GitHub link */
.intro-header{display:flex;align-items:center;gap:.75rem}
.github-link{color:#6b7280;transition:color .15s}
.github-link:hover{color:#d1d5db}
.github-link svg{width:1.25rem;height:1.25rem;display:block}
</style>
</head>
<body>
<div class="container" id="app"></div>
<script src="data.js"></script>
<script>
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// State
// ---------------------------------------------------------------------------
let filters={pillars:[],layers:[],maturities:[]};
let expanded={};
function toggle(arr,item){
const i=arr.indexOf(item);
if(i>-1)arr.splice(i,1);else arr.push(item);
}
// ---------------------------------------------------------------------------
// Render
// ---------------------------------------------------------------------------
const $=id=>document.getElementById(id);
const app=$('app');
function esc(s){const d=document.createElement('div');d.textContent=s;return d.innerHTML}
function render(){
const fp=filters.pillars,fl=filters.layers,fm=filters.maturities;
const hasFilters=fp.length||fl.length||fm.length;
const filtered=LAYERS.map(lg=>{
const prims=lg.primitives.filter(p=>{
if(fp.length&&!p.pillars.some(x=>fp.includes(x)))return false;
if(fl.length&&!fl.includes(lg.layer))return false;
if(fm.length&&!fm.includes(p.maturity))return false;
return true;
});
return {...lg,primitives:prims};
}).filter(lg=>lg.primitives.length);
const totalVisible=filtered.reduce((s,lg)=>s+lg.primitives.length,0);
const totalAll=LAYERS.reduce((s,lg)=>s+lg.primitives.length,0);
const pillars=["Language","Value","Coordination"];
const layerOpts=["Foundation","Context","Intent","Interaction","Trust","Value","Coordination","Agents"];
const matOpts=["Theoretical","Experimental","Emerging","Growing","Established"];
function chipHTML(label,arr){
const active=arr.includes(label);
return `<button class="chip${active?' active':''}" data-filter="${label}">${esc(label)}</button>`;
}
let html=`
<div class="intro">
<div class="intro-header">
<h1>Primitive Map</h1>
<a href="https://github.com/indexnetwork/primitives" target="_blank" rel="noopener" class="github-link" title="GitHub">
<svg viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>
</a>
</div>
<p>
Personal agents, messaging apps, feeds, CRMs, and calendars are
historical artifacts of product boundaries\u2014not fundamental
coordination primitives.
<br><br>
If natural language is the new API, primitives are bounded by human
language, not technics.
<br><br>
When language becomes the boundary, meaning replaces UI as the
organizing principle. The question follows naturally: how does
information organize around meaning?
<br><br>
Human coordination primitives surface as the interface\u2014shared
goals, common problems, intent, agreement, trust, and the broader
elements of information exchange and social behavior.
<br><br>
This map tracks and catalogs them.
</p>
</div>
<div class="stats">
<div class="stat"><div class="stat-value">${SUMMARY.totalPrimitives}</div><div class="stat-label">Primitives</div></div>
<div class="stat"><div class="stat-value">${SUMMARY.totalLayers}</div><div class="stat-label">Layers</div></div>
<div class="stat"><div class="stat-value">${esc(SUMMARY.avgFormationRate)}</div><div class="stat-label">Formation Rate</div></div>
<div class="stat"><div class="stat-value">${esc(SUMMARY.totalTAM)}</div><div class="stat-label">TAM Unlocked</div></div>
</div>
<div class="filters">
<div class="filter-row"><span class="filter-label">Pillar</span>${pillars.map(p=>chipHTML(p,fp)).join('')}</div>
<div class="filter-row"><span class="filter-label">Layer</span>${layerOpts.map(l=>chipHTML(l,fl)).join('')}</div>
<div class="filter-row"><span class="filter-label">Maturity</span>${matOpts.map(m=>chipHTML(m,fm)).join('')}</div>
${hasFilters?'<button class="clear-btn" id="clear-filters">Clear filters</button>':''}
</div>
<div class="col-header">
<span class="col-name">Primitive</span>
<span class="col-pillars">Pillars</span>
<span class="col-rate">Rate</span>
<span class="col-tam">TAM</span>
<span class="col-maturity">Maturity</span>
<span class="col-arrow"></span>
</div>`;
if(filtered.length){
filtered.forEach(lg=>{
html+=`<div class="layer">
<div class="layer-header">
<span class="layer-title">${esc(lg.label)}</span>
<span class="layer-subtitle">${esc(lg.subtitle)}</span>
<span class="layer-count">${lg.primitives.length} primitive${lg.primitives.length!==1?'s':''}</span>
</div>`;
lg.primitives.forEach(p=>{
const key=p.name;
const isOpen=expanded[key];
html+=`<div class="prim">
<button class="prim-btn" data-prim="${esc(key)}">
<span class="prim-name">${esc(p.name)}</span>
<span class="prim-pillars">${p.pillars.map(pl=>`<span class="pill pill-${pl}">${pl}</span>`).join('')}</span>
<span class="prim-rate">${esc(p.formationRate)}</span>
<span class="prim-tam">${esc(p.tamUnlocked)}</span>
<span class="prim-maturity mat-${p.maturity}">${p.maturity}</span>
<svg class="prim-arrow${isOpen?' open':''}" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/></svg>
</button>
<div class="prim-detail${isOpen?' open':''}">
<div class="prim-detail-inner">
<p class="prim-def">${esc(p.definition)}</p>
<div class="prim-replaces"><span class="label">Replaces: </span><span class="val">${esc(p.legacyEquivalent)}</span></div>
<div class="detail-stats">
<div class="detail-stat"><span class="label">Formation</span><span class="val">${esc(p.formationRate)}</span></div>
<div class="detail-stat"><span class="label">TAM Unlocked</span><span class="val">${esc(p.tamUnlocked)}</span></div>
<div class="detail-stat"><span class="label">Maturity</span><span class="val mat-${p.maturity}">${p.maturity}</span></div>
</div>
<div class="detail-pillars-mobile">${p.pillars.map(pl=>`<span class="pill pill-${pl}">${pl}</span>`).join('')}</div>
<div class="detail-section"><span class="label">Key Instantiations</span><div class="tags">${p.instantiations.map(i=>`<span class="tag">${esc(i.name)}${i.approach?`<span class="approach"> (${esc(i.approach)})</span>`:''}</span>`).join('')}</div></div>
<div class="detail-section"><span class="label">Composes With</span><div class="tags">${p.composesWith.map(c=>`<span class="tag-outline">${esc(c)}</span>`).join('')}</div></div>
</div>
</div>
</div>`;
});
html+=`</div>`;
});
}else{
html+=`<div style="text-align:center;padding:3rem 0;color:#6b7280;font-size:.875rem">No primitives match the current filters.</div>`;
}
html+=`<div class="footer">Showing ${totalVisible} of ${totalAll} primitives</div>
<div class="lenses">
<div class="lens">
<h2>Relevancy ↔ Reputation ↔ Trust transformation</h2>
<div class="rrt-flow">
<div class="rrt-node">
<div class="rrt-node-title">Relevancy</div>
<div class="rrt-node-question">"Are you useful right now in this context?"</div>
<div class="rrt-node-question" style="margin-top:.5rem;font-style:normal;font-size:.7rem;color:#6b7280">Present</div>
</div>
<div class="rrt-node">
<div class="rrt-node-title">Reputation</div>
<div class="rrt-node-question">"Have you been useful repeatedly in similar contexts?"</div>
<div class="rrt-node-question" style="margin-top:.5rem;font-style:normal;font-size:.7rem;color:#6b7280">Past</div>
</div>
<div class="rrt-node">
<div class="rrt-node-title">Trust</div>
<div class="rrt-node-question">"Do I believe you'll continue to be useful?"</div>
<div class="rrt-node-question" style="margin-top:.5rem;font-style:normal;font-size:.7rem;color:#6b7280">Future</div>
</div>
</div>
</div>
<div class="lens">
<h2>Relevancy × Appropriateness matrix</h2>
<div class="ra-wrap"><div class="ra-matrix">
<div></div>
<div class="ra-axis">Irrelevant</div>
<div class="ra-axis">Relevant</div>
<div class="ra-axis ra-axis-y">Appropriate</div>
<div class="ra-cell benign">
<div class="ra-cell-title">Benign noise</div>
<div class="ra-cell-desc">Harmless but contextually meaningless.</div>
<div class="ra-cell-example">"It doesn't help right now, but at least it doesn't compromise my privacy."</div>
<div class="ra-cell-scenario"><strong>Job interview</strong> — complimenting someone's <em>coffee mug</em>.</div>
</div>
<div class="ra-cell ideal">
<div class="ra-cell-title">Ideal</div>
<div class="ra-cell-desc">Meaningful <em>and</em> preserves autonomy.</div>
<div class="ra-cell-example">"This insight is useful, and I can act on it without giving up control."</div>
<div class="ra-cell-scenario"><strong>Job interview</strong> — discussing <em>how much I earn</em>.</div>
</div>
<div class="ra-axis ra-axis-y">Inappropriate</div>
<div class="ra-cell collapse">
<div class="ra-cell-title">Context collapse</div>
<div class="ra-cell-desc">Neither useful nor respectful of boundaries.</div>
<div class="ra-cell-example">"Off-topic <em>and</em> intrusive—the worst kind of interaction."</div>
<div class="ra-cell-scenario"><strong>Casual dinner</strong> — asking <em>how much I earn</em>. Spam?</div>
</div>
<div class="ra-cell coercive">
<div class="ra-cell-title">Coercive relevance</div>
<div class="ra-cell-desc">Helpful but extracts too much data or control.</div>
<div class="ra-cell-example">"Spot-on suggestion, but requires sharing private info I'd rather not."</div>
<div class="ra-cell-scenario"><strong>Dating</strong> — asking <em>how much I earn</em>.</div>
</div>
</div></div>
</div>
<div class="lens">
<h2>Market Relationships</h2>
<p class="mr-intro">This triad enables convergence of existing markets and the creation of new ones.</p>
<div class="mr-table-wrap">
<table class="mr-table">
<thead>
<tr><th>Relationship</th><th>Market</th><th>Key Features</th></tr>
</thead>
<tbody>
<tr>
<td class="mr-rel">intent ↔ intents</td>
<td class="mr-market">Social, Agent-discovery</td>
<td class="mr-features">Decentralized social & agentic social</td>
</tr>
<tr>
<td class="mr-rel">intent ↔ agents</td>
<td class="mr-market">Consumer AI, Personalization Market</td>
<td class="mr-features">Memory, context-aware copilots</td>
</tr>
<tr>
<td class="mr-rel">intent ↔ value</td>
<td class="mr-market">Advertising / Reputation Systems</td>
<td class="mr-features">Intents become signals for demand, replacing advertising with direct economic coordination.</td>
</tr>
<tr>
<td class="mr-rel">value ↔ agents</td>
<td class="mr-market">Decentralized AI</td>
<td class="mr-features">Agents themselves act as economic actors, staking resources and earning returns on useful contributions.</td>
</tr>
<tr>
<td class="mr-rel">agg(intent) ↔ value</td>
<td class="mr-market">Info-Finance / Prediction Infrastructure</td>
<td class="mr-features">Aggregated intent data priced like assets (Google Trends × Market Cap)</td>
</tr>
<tr>
<td class="mr-rel">intents ↔ agg(intents)</td>
<td class="mr-market">Collective Intelligence</td>
<td class="mr-features">Demand discovery, wisdom-of-crowds intent pools</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>`;
app.innerHTML=html;
// Bind events
document.querySelectorAll('.chip').forEach(btn=>{
btn.addEventListener('click',()=>{
const v=btn.dataset.filter;
if(pillars.includes(v))toggle(fp,v);
else if(layerOpts.includes(v))toggle(fl,v);
else toggle(fm,v);
render();
});
});
document.querySelectorAll('.prim-btn').forEach(btn=>{
btn.addEventListener('click',()=>{
const k=btn.dataset.prim;
expanded[k]=!expanded[k];
render();
});
});
const clearBtn=document.getElementById('clear-filters');
if(clearBtn)clearBtn.addEventListener('click',()=>{
filters={pillars:[],layers:[],maturities:[]};
render();
});
}
render();
</script>
</body>
</html>