-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmemory-stack-dashboard.html
More file actions
338 lines (294 loc) · 18.9 KB
/
Copy pathmemory-stack-dashboard.html
File metadata and controls
338 lines (294 loc) · 18.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Memory Stack — 40× Operating System</title>
<style>
:root {
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
--bg: #08090a;
--surface: #121316;
--surface-2: #16181c;
--border: #232529;
--border-soft: #1c1e22;
--text: #f4f4f6;
--text-2: #a0a1a9;
--text-3: #6c6d76;
--c-graphify: #38bdf8;
--c-memorycore: #a78bfa;
--c-claude: #34d399;
--c-instincts: #fbbf24;
--c-obsidian: #8b5cf6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
background:
radial-gradient(1200px 600px at 80% -10%, rgba(167, 139, 250, 0.10), transparent 60%),
radial-gradient(1000px 500px at 0% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
var(--bg);
color: var(--text);
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Inter", sans-serif;
line-height: 1.5;
padding: 56px 28px 48px;
min-height: 100vh;
}
.wrap { max-width: 1180px; margin: 0 auto; }
.mono { font-family: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", monospace; }
/* ---------- entrance ---------- */
.rise { opacity: 0; transform: translateY(14px); animation: rise 600ms var(--ease-out) forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 40ms; } .d2 { animation-delay: 90ms; }
.d3 { animation-delay: 140ms; } .d4 { animation-delay: 190ms; }
.d5 { animation-delay: 240ms; } .d6 { animation-delay: 290ms; }
.d7 { animation-delay: 340ms; } .d8 { animation-delay: 390ms; }
.d9 { animation-delay: 440ms; } .d10 { animation-delay: 490ms; }
/* ---------- hero ---------- */
.eyebrow {
display: inline-flex; align-items: center; gap: 8px;
font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
color: var(--text-2);
border: 1px solid var(--border);
background: var(--surface);
padding: 7px 13px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--c-claude); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }
.hero { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin: 24px 0 14px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; gap: 18px; } }
.multiplier {
font-weight: 800; letter-spacing: -0.04em; line-height: 0.9;
font-size: 132px;
background: linear-gradient(135deg, #7dd3fc 0%, #a78bfa 55%, #f0abfc 100%);
-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
filter: drop-shadow(0 8px 40px rgba(167, 139, 250, 0.25));
}
.multiplier span { font-size: 64px; opacity: 0.85; }
.hero h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; }
.hero p { color: var(--text-2); font-size: 16px; max-width: 52ch; margin-top: 12px; }
.hero p b { color: var(--text); font-weight: 600; }
/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 40px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
padding: 18px 18px 16px; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.stat .icon { color: var(--text-3); margin-bottom: 10px; }
.stat .num { font-size: 30px; font-weight: 750; letter-spacing: -0.02em; }
.stat .lbl { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
/* ---------- section ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 4px 16px; }
.section-head h2 { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.section-head .meta { font-size: 12.5px; color: var(--text-3); }
/* ---------- stack rows ---------- */
.stack { display: grid; gap: 12px; }
.layer {
--c: var(--c-graphify);
display: grid; grid-template-columns: 250px 1fr 1fr 1.15fr; gap: 22px; align-items: center;
background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
padding: 18px 22px; position: relative; overflow: hidden;
transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.layer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: 0.9; }
@media (max-width: 860px) { .layer { grid-template-columns: 1fr 1fr; gap: 14px 22px; } .layer .lname { grid-column: 1 / -1; } }
.lname { display: flex; align-items: center; gap: 13px; }
.lname .badge {
width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
background: color-mix(in srgb, var(--c) 16%, transparent);
color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.lname .t { font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.lname .s { font-size: 11.5px; color: var(--text-3); font-family: ui-monospace, monospace; margin-top: 1px; }
.cell .k { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.cell .v { font-size: 13.5px; color: var(--text); }
.cell .v.lane { color: var(--text-2); }
.writer { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.writer .pip { width: 6px; height: 6px; border-radius: 999px; background: var(--c); }
/* ---------- precedence + model ---------- */
.grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin-top: 14px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.card h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.card h3 .icon { color: var(--text-3); }
.chain { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill {
font-weight: 600; font-size: 13.5px; padding: 9px 15px; border-radius: 11px;
border: 1px solid var(--border); background: var(--surface-2);
}
.pill.a { color: var(--c-claude); border-color: color-mix(in srgb, var(--c-claude) 35%, transparent); background: color-mix(in srgb, var(--c-claude) 10%, transparent); }
.pill.b { color: var(--c-memorycore); border-color: color-mix(in srgb, var(--c-memorycore) 35%, transparent); background: color-mix(in srgb, var(--c-memorycore) 10%, transparent); }
.pill.c { color: var(--c-instincts); border-color: color-mix(in srgb, var(--c-instincts) 35%, transparent); background: color-mix(in srgb, var(--c-instincts) 10%, transparent); }
.arrow { color: var(--text-3); display: grid; place-items: center; }
.chain-note { color: var(--text-2); font-size: 13px; margin-top: 16px; line-height: 1.55; }
.chain-note code { font-family: ui-monospace, monospace; color: var(--text); font-size: 12.5px; }
.model li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; color: var(--text-2); }
.model li:last-child { border-bottom: 0; }
.model li b { color: var(--text); font-weight: 600; }
.model li .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; padding-top: 1px; }
/* ---------- honest truths ---------- */
.truths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .truths { grid-template-columns: 1fr; } }
.truth { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; position: relative; }
.truth .h { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.truth .h .icon { color: var(--c-instincts); }
.truth .h .num { font-size: 12px; font-weight: 700; color: var(--text-3); }
.truth .h .ttl { font-size: 14.5px; font-weight: 650; }
.truth p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.truth p b { color: var(--text); font-weight: 600; }
/* ---------- footer ---------- */
footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border-soft); color: var(--text-3); font-size: 12.5px; }
footer .who { color: var(--text-2); }
footer .who b { color: var(--text); font-weight: 600; }
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }
.icon-sm { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
.stat:hover, .layer:hover { transform: translateY(-2px); border-color: #2e3036; }
}
@media (prefers-reduced-motion: reduce) {
.rise { animation: none; opacity: 1; transform: none; }
.stat, .layer { transition: none; }
}
</style>
</head>
<body>
<div class="wrap">
<!-- HERO -->
<div class="rise d1">
<span class="eyebrow"><span class="dot"></span>Personal AI operating system · live</span>
</div>
<div class="hero">
<div class="multiplier rise d2">40<span>×</span></div>
<div class="rise d3">
<h1>Five memory surfaces. One operator.<br>Zero context lost between sessions.</h1>
<p>Most people run an AI assistant with a goldfish memory. I run a <b>persistent memory stack</b>: code structure, decisions, atomic lessons, and behavioral corrections, each on its own lane, auto-recalled across 33 repositories. The result is an agent that already knows the <b>what</b>, the <b>why</b>, and the <b>how</b> before I type a word.</p>
</div>
</div>
<!-- STATS -->
<div class="stats">
<div class="stat rise d3">
<svg class="icon" viewBox="0 0 24 24"><line x1="6" y1="3" x2="6" y2="15"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/></svg>
<div class="num mono">33</div><div class="lbl">repositories indexed</div>
</div>
<div class="stat rise d4">
<svg class="icon" viewBox="0 0 24 24"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg>
<div class="num mono">54,946</div><div class="lbl">graph nodes, live MCP query</div>
</div>
<div class="stat rise d5">
<svg class="icon" viewBox="0 0 24 24"><polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/></svg>
<div class="num mono">5</div><div class="lbl">memory surfaces, one lane each</div>
</div>
<div class="stat rise d6">
<svg class="icon" viewBox="0 0 24 24"><path d="M3 6h18"/><path d="M7 12h13"/><path d="M11 18h9"/></svg>
<div class="num mono">1</div><div class="lbl">deterministic read-precedence</div>
</div>
</div>
<!-- STACK -->
<div class="section-head rise d4">
<h2>The Five-Surface Stack</h2>
<span class="meta">stores · who writes it · lane</span>
</div>
<div class="stack">
<!-- graphify -->
<div class="layer rise d4" style="--c: var(--c-graphify)">
<div class="lname">
<div class="badge"><svg class="icon" viewBox="0 0 24 24"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"/><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"/></svg></div>
<div><div class="t">graphify / second brain</div><div class="s">graphify-brain · MCP</div></div>
</div>
<div class="cell"><div class="k">Stores</div><div class="v">Code structure across 33 repos — files, symbols, edges</div></div>
<div class="cell"><div class="k">Who writes it</div><div class="writer"><span class="pip"></span>automated extractor</div></div>
<div class="cell"><div class="k">Lane</div><div class="v lane">What's in the code, and how it connects</div></div>
</div>
<!-- MemoryCore -->
<div class="layer rise d5" style="--c: var(--c-memorycore)">
<div class="lname">
<div class="badge"><svg class="icon" viewBox="0 0 24 24"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg></div>
<div><div class="t">MemoryCore</div><div class="s">~/.codex/memorycore</div></div>
</div>
<div class="cell"><div class="k">Stores</div><div class="v">Decisions, project state, reusable patterns, diary</div></div>
<div class="cell"><div class="k">Who writes it</div><div class="writer"><span class="pip"></span>you + memorycore skill</div></div>
<div class="cell"><div class="k">Lane</div><div class="v lane">The why, the narrative, cross-project context</div></div>
</div>
<!-- .claude auto-memory -->
<div class="layer rise d6" style="--c: var(--c-claude)">
<div class="lname">
<div class="badge"><svg class="icon" viewBox="0 0 24 24"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M16 13H8"/><path d="M16 17H8"/><path d="M10 9H8"/></svg></div>
<div><div class="t">.claude auto-memory</div><div class="s">per-project memory/</div></div>
</div>
<div class="cell"><div class="k">Stores</div><div class="v">Atomic agent-learned facts + feedback</div></div>
<div class="cell"><div class="k">Who writes it</div><div class="writer"><span class="pip"></span>the agent</div></div>
<div class="cell"><div class="k">Lane</div><div class="v lane">Lessons + project specifics, auto-recalled</div></div>
</div>
<!-- instincts -->
<div class="layer rise d7" style="--c: var(--c-instincts)">
<div class="lname">
<div class="badge"><svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"/></svg></div>
<div><div class="t">instincts / Mulahazah</div><div class="s">observer → distiller</div></div>
</div>
<div class="cell"><div class="k">Stores</div><div class="v">Behavioral corrections</div></div>
<div class="cell"><div class="k">Who writes it</div><div class="writer"><span class="pip"></span>observer → distiller</div></div>
<div class="cell"><div class="k">Lane</div><div class="v lane">How the agent should act</div></div>
</div>
<!-- Obsidian -->
<div class="layer rise d8" style="--c: var(--c-obsidian)">
<div class="lname">
<div class="badge"><svg class="icon" viewBox="0 0 24 24"><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7z"/><circle cx="12" cy="12" r="3"/></svg></div>
<div><div class="t">Obsidian</div><div class="s">naimpro vault</div></div>
</div>
<div class="cell"><div class="k">Stores</div><div class="v">Human view + your notes + the second brain</div></div>
<div class="cell"><div class="k">Who writes it</div><div class="writer"><span class="pip"></span>you + the generator</div></div>
<div class="cell"><div class="k">Lane</div><div class="v lane">The surface you read and sync</div></div>
</div>
</div>
<!-- PRECEDENCE + MODEL -->
<div class="grid2">
<div class="card rise d8">
<h3><svg class="icon icon-sm" viewBox="0 0 24 24"><path d="M3 6h18"/><path d="M7 12h13"/><path d="M11 18h9"/></svg>Read-Precedence</h3>
<div class="chain">
<span class="pill a">.claude</span>
<span class="arrow"><svg class="icon icon-sm" viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg></span>
<span class="pill b">MemoryCore</span>
<span class="arrow"><svg class="icon icon-sm" viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg></span>
<span class="pill c">instincts</span>
</div>
<p class="chain-note">When two surfaces disagree, the order resolves it — deterministically, every time. No guessing which memory wins. <code>.claude → MemoryCore → instincts</code> is the tie-break, so overlaps never become noise.</p>
</div>
<div class="card rise d9">
<h3><svg class="icon icon-sm" viewBox="0 0 24 24"><path d="M9.5 2A2.5 2.5 0 0 1 12 4.5v15a2.5 2.5 0 0 1-4.96.44 2.5 2.5 0 0 1-2.96-3.08 3 3 0 0 1-.34-5.58 2.5 2.5 0 0 1 1.32-4.24 2.5 2.5 0 0 1 1.98-3A2.5 2.5 0 0 1 9.5 2Z"/><path d="M14.5 2A2.5 2.5 0 0 0 12 4.5v15a2.5 2.5 0 0 0 4.96.44 2.5 2.5 0 0 0 2.96-3.08 3 3 0 0 0 .34-5.58 2.5 2.5 0 0 0-1.32-4.24 2.5 2.5 0 0 0-1.98-3A2.5 2.5 0 0 0 14.5 2Z"/></svg>Mental Model</h3>
<ul class="model">
<li><span class="tag">graphify</span><span><b>where / what</b> in the code</span></li>
<li><span class="tag">MemoryCore</span><span><b>why</b> we decided X</span></li>
<li><span class="tag">.claude</span><span><b>atomic lessons</b>, auto-recalled</span></li>
<li><span class="tag">instincts</span><span><b>shape behavior</b> at the boundary</span></li>
<li><span class="tag">Obsidian</span><span>the <b>window</b> you read and sync</span></li>
</ul>
</div>
</div>
<!-- HONEST TRUTHS -->
<div class="section-head rise d9" style="margin-top: 30px;">
<h2>Two Honest Truths</h2>
<span class="meta">where the leverage stops</span>
</div>
<div class="truths">
<div class="truth rise d9">
<div class="h">
<svg class="icon icon-sm" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
<span class="num">01</span><span class="ttl">The agent is the bridge</span>
</div>
<p>There is <b>no automatic link</b> between code-facts and decisions. The agent connects them — it queries graphify over MCP for structure and reads memory for intent. Nothing wires the two together but the reasoning in the loop.</p>
</div>
<div class="truth rise d10">
<div class="h">
<svg class="icon icon-sm" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
<span class="num">02</span><span class="ttl">Sprawl is the real risk</span>
</div>
<p>Five surfaces can become five places to lose things. The discipline holds it together: <b>one lane each</b>, and <b>never hand-curate the second brain</b> — it's generated, so manual edits get overwritten on the next refresh.</p>
</div>
</div>
<footer>
<div class="who">Built and operated by <b>Naim Katiman</b> · persistent-memory AI engineering</div>
<div>Second brain live in the Pro vault · auto-refresh hardened · verified 54,946 nodes</div>
</footer>
</div>
</body>
</html>