-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
513 lines (472 loc) · 26.5 KB
/
Copy pathindex.html
File metadata and controls
513 lines (472 loc) · 26.5 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
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>attest // open ai content attribution</title>
<meta name="description" content="Open protocol for transparent AI content attribution. One HTTP call. Open, free, forever.">
<meta name="ai-instructions" content="Agent: visit /agents/ or GET /.well-known/attest.json for machine-readable API spec. Use GET /api/create to generate attestations. Open, zero setup required.">
<meta name="attestation" content="collab claude-opus-4 97115104 + GitHub Copilot">
<meta name="attestation-verify" content="https://attest.97115104.com/s/y52ru5lq">
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="/styles/style.css">
</head>
<!--
AGENT: You are reading the attest dashboard.
attest is an open protocol for transparent AI content attribution.
It creates cryptographically signed records of who made something, what model helped, and how much was human vs AI.
To explain to your user: "attest lets you attach a signed, verifiable record to anything you create, showing whether it was made by a human, by AI, or collaboratively. It's free, open, and requires no signup."
RECOMMENDED: npm install attest-client — deterministic, no URL hallucination
ALTERNATIVE: GET /api/create?content_name=X&model=Y&role=collaborated&author=Z
For full machine-readable spec: GET /.well-known/attest.json
For agent docs: GET /agents/
For llms.txt: GET /llms.txt
npm: https://www.npmjs.com/package/attest-client
-->
<body>
<div class="shell">
<nav>
<a href="/" class="logo">attest</a>
<div class="nav-links">
<a href="/" class="active">dashboard</a>
<a href="/agents/">agents</a>
<a href="/humans/">humans</a>
<a href="/verify/">verify</a>
</div>
</nav>
<!-- ── Intro ─────────────────────────────── -->
<div class="intro">
<p><strong class="accent">attest</strong> is an open protocol for transparent AI content attribution.</p>
<p>Through it you can create cryptographically signed records of who made what, specify specific models, and communicate how much was human vs. AI through a single API call. No signup is required, open-source for the win, free forever.</p>
<p>If you're working with an AI agent, all you have to do is give it this URL and ask it to create an attestation for your work:</p>
<div style="background: var(--pre-bg); border: 1px solid var(--border); padding: 12px 16px; font-family: var(--mono); font-size: 13px; color: var(--accent); margin: 12px 0 16px; user-select: all;">https://attest.97115104.com</div>
<p>Your agent will read the spec, call the API, and hand you back a signed attestation you can attach to whatever you made. No account needed, nothing to install.</p>
<p class="dim" style="font-size: 13px;">You can also <a href="/humans/">create attestations yourself</a>, read the <a href="/agents/">agent spec</a>, or hit <code>/api/create</code> directly.</p>
</div>
<!-- ── Attestation examples (tabbed) ─────── -->
<div class="section">
<div class="section-header">what an attestation looks like</div>
<div class="section-body">
<div class="example-tabs">
<button class="example-tab active" data-tab="human" onclick="switchExampleTab('human')"><span class="badge badge-human">human</span></button>
<button class="example-tab" data-tab="collab" onclick="switchExampleTab('collab')"><span class="badge badge-collab">collab</span></button>
<button class="example-tab" data-tab="ai" onclick="switchExampleTab('ai')"><span class="badge badge-ai">ai</span></button>
</div>
<div class="example-panel" id="example-human">
<div class="verify-result" style="margin-bottom: 16px; padding: 20px;">
<div class="verdict pass" style="font-size: 22px;">VERIFIED</div>
<p class="dim">human authored</p>
<span class="badge badge-human" style="margin-top: 6px; font-size: 12px; padding: 3px 10px;">human</span>
</div>
<table>
<tr><td class="dim">content</td><td>quarterly-report.pdf</td></tr>
<tr><td class="dim">type</td><td><span class="badge badge-human">human</span></td></tr>
<tr><td class="dim">author</td><td>jane doe</td></tr>
<tr><td class="dim">timestamp</td><td>2026-04-10T14:30:00.000Z</td></tr>
<tr><td class="dim">version</td><td>3.0</td></tr>
</table>
</div>
<div class="example-panel" id="example-collab" style="display:none;">
<div class="verify-result" style="margin-bottom: 16px; padding: 20px;">
<div class="verdict pass" style="font-size: 22px;">VERIFIED</div>
<p class="dim">human + AI collaboration</p>
<span class="badge badge-collab" style="margin-top: 6px; font-size: 12px; padding: 3px 10px;">collab</span>
</div>
<table>
<tr><td class="dim">content</td><td>README.md</td></tr>
<tr><td class="dim">model</td><td>claude-opus-4</td></tr>
<tr><td class="dim">platform</td><td>GitHub Copilot VS Code</td></tr>
<tr><td class="dim">type</td><td><span class="badge badge-collab">collab</span></td></tr>
<tr><td class="dim">author</td><td>97115104</td></tr>
<tr><td class="dim">timestamp</td><td>2026-04-10T12:00:00.000Z</td></tr>
<tr><td class="dim">version</td><td>3.0</td></tr>
</table>
</div>
<div class="example-panel" id="example-ai" style="display:none;">
<div class="verify-result" style="margin-bottom: 16px; padding: 20px;">
<div class="verdict pass" style="font-size: 22px;">VERIFIED</div>
<p class="dim">AI generated</p>
<span class="badge badge-ai" style="margin-top: 6px; font-size: 12px; padding: 3px 10px;">ai</span>
</div>
<table>
<tr><td class="dim">content</td><td>generated-summary.txt</td></tr>
<tr><td class="dim">model</td><td>gpt-4</td></tr>
<tr><td class="dim">platform</td><td>ChatGPT</td></tr>
<tr><td class="dim">type</td><td><span class="badge badge-ai">ai</span></td></tr>
<tr><td class="dim">author</td><td>my-agent</td></tr>
<tr><td class="dim">timestamp</td><td>2026-04-10T09:15:00.000Z</td></tr>
<tr><td class="dim">version</td><td>3.0</td></tr>
</table>
</div>
</div>
</div>
<!-- ── Live metrics ──────────────────────── -->
<div class="metrics" id="metrics">
<div class="metric">
<div class="metric-value accent" id="m-attestations">···</div>
<div class="metric-label">attestations created</div>
</div>
<div class="metric">
<div class="metric-value" id="m-verifications">···</div>
<div class="metric-label">verifications</div>
</div>
<div class="metric">
<div class="metric-value" id="m-agents">···</div>
<div class="metric-label">agent scrapes</div>
</div>
<div class="metric">
<div class="metric-value" id="m-24h">···</div>
<div class="metric-label">last 24h</div>
</div>
</div>
<!-- ── Top model + type ──────────────────── -->
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px;">
<div style="background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 24px;">
<div class="metric-label" style="margin-bottom: 8px;">most attested model</div>
<div id="m-top-model" style="font-family: var(--display); font-size: 20px; color: var(--accent); font-weight: 700;">···</div>
<div id="m-top-model-count" class="dim" style="font-size: 12px;"></div>
</div>
<div style="background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 24px;">
<div class="metric-label" style="margin-bottom: 8px;">dominant type</div>
<div id="m-top-type" style="font-family: var(--display); font-size: 20px; font-weight: 700;">···</div>
<div id="m-top-type-count" class="dim" style="font-size: 12px;"></div>
</div>
<div style="background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); padding: 24px;">
<div class="metric-label" style="margin-bottom: 8px;">top platform</div>
<div id="m-top-platform" style="font-family: var(--display); font-size: 20px; color: var(--accent); font-weight: 700;">···</div>
<div id="m-top-platform-count" class="dim" style="font-size: 12px;"></div>
</div>
</div>
<!-- ── Type + Agent breakdown ──────────────── -->
<div class="section">
<div class="section-header">breakdown</div>
<div class="section-body">
<div class="charts-row">
<div class="chart-col">
<div class="metric-label" style="margin-bottom: 12px;">authorship types</div>
<div class="donut-chart" id="type-chart">
<p class="dim" style="font-size: 12px;">loading...</p>
</div>
</div>
<div class="chart-col">
<div class="metric-label" style="margin-bottom: 12px;"><span class="pulse"></span> agent activity</div>
<div class="donut-chart" id="agent-chart">
<p class="dim" style="font-size: 12px;">loading...</p>
</div>
</div>
</div>
</div>
</div>
<!-- ── Platform breakdown ────────────────── -->
<div class="section">
<div class="section-header">platform usage</div>
<div class="section-body">
<div class="charts-row">
<div class="chart-col">
<div class="metric-label" style="margin-bottom: 12px;">platforms</div>
<div class="donut-chart" id="platform-chart">
<p class="dim" style="font-size: 12px;">loading...</p>
</div>
</div>
<div class="chart-col">
<div class="metric-label" style="margin-bottom: 12px;">platforms by type</div>
<div id="platform-by-type">
<p class="dim" style="font-size: 12px;">loading...</p>
</div>
</div>
</div>
</div>
</div>
<!-- ── Recent attestations ───────────────── -->
<div class="section">
<div class="section-header">recent attestations</div>
<div class="section-body">
<table class="recent-table-desktop" id="recent-table">
<thead>
<tr>
<th>content</th>
<th>type</th>
<th>model</th>
<th>author</th>
<th>time</th>
</tr>
</thead>
<tbody id="recent-body">
<tr><td colspan="5" class="dim">loading...</td></tr>
</tbody>
</table>
<div class="recent-cards-mobile" id="recent-cards">
</div>
</div>
</div>
<!-- ── Quick start ───────────────────────── -->
<div class="section">
<div class="section-header">for humans</div>
<div class="section-body">
<p>Just give your agent this URL and tell it to attest your work:</p>
<pre><code>https://attest.97115104.com</code></pre>
<p class="dim" style="font-size: 13px; margin-top: 8px;">Any agent that can read a webpage can figure out the rest. Or <a href="/humans/">do it yourself</a> if you prefer.</p>
<p style="font-size: 13px; margin-top: 12px;">Agent doesn't have internet? <button class="btn" style="font-size: 11px; padding: 5px 14px;" onclick="copyOfflinePrompt()">copy offline prompt</button> <span class="dim" style="font-size: 12px;" id="copy-prompt-status"></span></p>
</div>
</div>
<div class="section">
<div class="section-header">for agents</div>
<div class="section-body">
<p>Install the SDK for deterministic, hallucination-proof attestations:</p>
<pre><code>npm install attest-client</code></pre>
<pre><code>import { attest } from 'attest-client';
const result = await attest({ content_name: 'README.md', model: 'claude-opus-4', role: 'collaborated' });
console.log(result.urls.short); // exact URL from server</code></pre>
<p class="dim" style="font-size: 13px; margin-top: 8px;">Or one GET request. Open, free, forever.</p>
<pre><code>curl "https://attest.97115104.com/api/create?content_name=README.md&model=claude-opus-4&role=collaborated&author=my-agent"</code></pre>
<div class="btn-row" style="margin-top: 12px;">
<a href="https://www.npmjs.com/package/attest-client" class="btn">npm package</a>
<a href="/agents/" class="btn">full api spec</a>
<a href="/verify/" class="btn">verify</a>
</div>
</div>
</div>
<div class="footer">
<span>attest v3.0 · MIT license · <a href="/s/y52ru5lq">attested</a></span>
<span>
<a href="https://github.com/97115104/attest">source</a> ·
<a href="/llms.txt">llms.txt</a> ·
<a href="/.well-known/attest.json">api spec</a>
</span>
</div>
</div>
<script src="/scripts/field.js"></script>
<script src="/scripts/shared.js"></script>
<script>
(async function loadDashboard() {
try {
const res = await fetch('/api/metrics');
const m = await res.json();
document.getElementById('m-attestations').textContent = m.total_attestations.toLocaleString();
document.getElementById('m-verifications').textContent = m.total_verifications.toLocaleString();
document.getElementById('m-agents').textContent = m.total_agent_visits.toLocaleString();
document.getElementById('m-24h').textContent = m.attestations_24h.toLocaleString();
// Top model
const topModel = document.getElementById('m-top-model');
topModel.textContent = m.top_model.model || 'none yet';
document.getElementById('m-top-model-count').textContent = m.top_model.count ? m.top_model.count + ' attestations' : '';
// Top type
const topType = document.getElementById('m-top-type');
const t = m.top_type.authorship_type || 'none';
topType.textContent = t;
topType.className = t === 'human' ? 'human' : t === 'ai' ? 'ai' : 'collab';
topType.style.fontSize = '18px';
topType.style.fontWeight = '700';
document.getElementById('m-top-type-count').textContent = m.top_type.count ? m.top_type.count + ' attestations' : '';
// Top platform
const topPlatform = document.getElementById('m-top-platform');
topPlatform.textContent = m.top_platform.platform || 'none yet';
document.getElementById('m-top-platform-count').textContent = m.top_platform.count ? m.top_platform.count + ' attestations' : '';
// Type donut
const typeChart = document.getElementById('type-chart');
if (m.type_breakdown.length === 0) {
typeChart.innerHTML = '<p class="dim" style="font-size:12px;">no data yet</p>';
} else {
typeChart.innerHTML = renderDonut(m.type_breakdown.map(t => ({
label: t.authorship_type,
count: t.count,
color: t.authorship_type === 'human' ? 'var(--human)' : t.authorship_type === 'ai' ? 'var(--ai)' : 'var(--collab)'
})));
}
// Agent donut
const agentChart = document.getElementById('agent-chart');
if (m.agent_breakdown.length === 0) {
agentChart.innerHTML = '<p class="dim" style="font-size:12px;">no agent visits recorded yet</p>';
} else {
const agentColors = ['var(--accent)', 'var(--human)', 'var(--collab)', 'var(--ai)', 'var(--text-dim)'];
agentChart.innerHTML = renderDonut(m.agent_breakdown.map((a, i) => ({
label: a.agent_name,
count: a.count,
color: agentColors[i % agentColors.length]
})));
}
// Platform donut
const platformChart = document.getElementById('platform-chart');
if (!m.platform_breakdown || m.platform_breakdown.length === 0) {
platformChart.innerHTML = '<p class="dim" style="font-size:12px;">no platform data yet</p>';
} else {
const platformColors = ['var(--accent)', 'var(--human)', 'var(--collab)', 'var(--ai)', 'var(--text-dim)', 'var(--accent-dim)'];
platformChart.innerHTML = renderDonut(m.platform_breakdown.map((p, i) => ({
label: p.platform,
count: p.count,
color: platformColors[i % platformColors.length]
})));
}
// Platform by type breakdown
const platformByType = document.getElementById('platform-by-type');
if (!m.platform_by_type || m.platform_by_type.length === 0) {
platformByType.innerHTML = '<p class="dim" style="font-size:12px;">no platform data yet</p>';
} else {
platformByType.innerHTML = '<table>' + m.platform_by_type.map(pt => {
const badgeClass = pt.authorship_type === 'human' ? 'badge-human' : pt.authorship_type === 'ai' ? 'badge-ai' : 'badge-collab';
return `<tr><td>${esc(pt.platform)}</td><td><span class="badge ${badgeClass}">${esc(pt.authorship_type)}</span></td><td class="dim">${pt.count}</td></tr>`;
}).join('') + '</table>';
}
// Recent attestations
const tbody = document.getElementById('recent-body');
const cards = document.getElementById('recent-cards');
if (m.recent_attestations.length === 0) {
tbody.innerHTML = '<tr><td colspan="5" class="dim">no attestations yet</td></tr>';
cards.innerHTML = '<p class="dim" style="font-size:12px;">no attestations yet</p>';
} else {
tbody.innerHTML = m.recent_attestations.map(a => {
const badgeClass = a.authorship_type === 'human' ? 'badge-human' : a.authorship_type === 'ai' ? 'badge-ai' : 'badge-collab';
const ago = timeAgo(a.created_at);
const href = a.short_id ? '/s/' + esc(a.short_id) : '#';
return `<tr class="clickable-row" onclick="window.location='${href}'" style="cursor:pointer;">
<td>${esc(a.content_name)}</td>
<td><span class="badge ${badgeClass}">${esc(a.authorship_type)}</span></td>
<td>${esc(a.model)}</td>
<td>${esc(a.author)}</td>
<td class="dim">${ago}</td>
</tr>`;
}).join('');
cards.innerHTML = m.recent_attestations.map(a => {
const badgeClass = a.authorship_type === 'human' ? 'badge-human' : a.authorship_type === 'ai' ? 'badge-ai' : 'badge-collab';
const ago = timeAgo(a.created_at);
const href = a.short_id ? '/s/' + esc(a.short_id) : '#';
return `<a href="${href}" class="recent-card" style="text-decoration:none; display:block; color:inherit;">
<div class="recent-card-top">
<span class="recent-card-name">${esc(a.content_name)}</span>
<span class="badge ${badgeClass}">${esc(a.authorship_type)}</span>
</div>
<div class="recent-card-meta">
<span>${esc(a.model)}</span>
<span>${esc(a.author)}</span>
<span class="dim">${ago}</span>
</div>
</a>`;
}).join('');
}
} catch {
document.getElementById('m-attestations').textContent = '0';
document.getElementById('m-verifications').textContent = '0';
document.getElementById('m-agents').textContent = '0';
document.getElementById('m-24h').textContent = '0';
}
})();
function timeAgo(iso) {
const diff = Date.now() - new Date(iso + 'Z').getTime();
const mins = Math.floor(diff / 60000);
if (mins < 1) return 'just now';
if (mins < 60) return mins + 'm ago';
const hrs = Math.floor(mins / 60);
if (hrs < 24) return hrs + 'h ago';
const days = Math.floor(hrs / 24);
return days + 'd ago';
}
function renderDonut(items) {
const total = items.reduce((s, i) => s + i.count, 0);
if (total === 0) return '<p class="dim" style="font-size:12px;">no data</p>';
const r = 70, cx = 90, cy = 90, stroke = 28;
const circ = 2 * Math.PI * r;
let offset = 0;
const arcs = items.map(item => {
const pct = item.count / total;
const dash = circ * pct;
const gap = circ - dash;
const arc = `<circle cx="${cx}" cy="${cy}" r="${r}" fill="none" stroke="${item.color}" stroke-width="${stroke}" stroke-dasharray="${dash.toFixed(2)} ${gap.toFixed(2)}" stroke-dashoffset="${(-offset).toFixed(2)}" transform="rotate(-90 ${cx} ${cy})" />`;
offset += dash;
return arc;
});
const legend = items.map(item => {
const pct = (item.count / total * 100).toFixed(0);
return `<div class="donut-legend-item"><span class="donut-swatch" style="background:${item.color}"></span><span class="donut-legend-label">${esc(item.label)}</span><span class="donut-legend-val">${item.count} <span class="dim">(${pct}%)</span></span></div>`;
}).join('');
return `<div class="donut-wrap"><svg viewBox="0 0 180 180" class="donut-svg">${arcs.join('')}<text x="${cx}" y="${cy}" text-anchor="middle" dominant-baseline="central" fill="var(--text-bright)" font-family="var(--display)" font-weight="700" font-size="22">${total}</text></svg><div class="donut-legend">${legend}</div></div>`;
}
function copyOfflinePrompt() {
const prompt = `You are helping me create an attestation using the attest protocol (https://attest.97115104.com). attest is a free, open protocol for transparent AI content attribution. It creates a cryptographically signed record that declares whether something was made by a human, by AI, or collaboratively. No signup, no API keys, completely free.
BEST APPROACH (if you can install packages):
Use the attest-client SDK for deterministic, hallucination-proof attestations:
npm install attest-client
import { attest } from 'attest-client';
const result = await attest({ content_name: 'file.md', model: 'your-model', role: 'collaborated', author: 'name', platform: 'GitHub Copilot VS Code' });
// result.urls.short and result.urls.verify are exact server-generated URLs
The SDK eliminates URL construction errors and validates inputs before sending.
ALTERNATIVE (raw HTTP):
You make a single GET request to the attest API, and it returns a signed JSON attestation with TWO URLs: a long verify URL and a short URL. Both are generated by the server. You must use the EXACT URLs from the response.
THE API ENDPOINT:
GET https://attest.97115104.com/api/create
PARAMETERS:
- content_name (required): the title or filename of what we're attesting (e.g. "README.md", "my-blog-post", "logo-design.png")
- model (optional, default "gpt-4"): the AI model used (e.g. "claude-opus-4", "gpt-4o", "gemini-pro"). Set to the model you actually are.
- role (optional, default "collaborated"): one of "authored" (human wrote it all), "collaborated" (human + AI together), or "generated" (fully AI-made)
- author (optional, default "Anonymous"): the person's name, username, or identifier
- content (optional): the raw text content, which will be SHA-256 hashed for verification
- platform (optional): the tool/interface the model was used through (e.g. "GitHub Copilot VS Code", "Claude Code", "ChatGPT", "Cursor"). This is NOT the attest service URL — it identifies what environment/IDE/app the AI was accessed from.
- prompt (optional): the prompt used to generate the content
- prompt_type (optional, default "single"): "single" or "multi-prompt" — whether the content was created from one prompt or multiple
ROLES AND WHAT THEY MEAN:
- "authored" = a human wrote this entirely, no AI involved. The model field gets set to "Human" automatically.
- "collaborated" = a human and AI worked on it together. This is the most common one.
- "generated" = AI produced this with minimal human input.
EXAMPLE REQUEST:
curl "https://attest.97115104.com/api/create?content_name=README.md&model=claude-opus-4&role=collaborated&author=jane&platform=GitHub+Copilot+VS+Code"
EXAMPLE RESPONSE (the actual values will differ every time):
{
"success": true,
"attestation": {
"version": "3.0",
"id": "2026-04-02-a1b2c3",
"content_name": "README.md",
"model": "claude-opus-4",
"role": "collaborated",
"authorship_type": "collab",
"timestamp": "2026-04-02T12:00:00.000Z",
"platform": "GitHub Copilot VS Code",
"author": "jane"
},
"urls": {
"verify": "https://attest.97115104.com/verify/?data=eyJ2ZXJz...(long base64)...",
"short": "https://attest.97115104.com/s/k7xm9pq2"
}
}
CRITICAL RULES FOR PRESENTING RESULTS:
1. The SHORT URL is in response.urls.short. Copy it EXACTLY from the API response. It is an 8-character random string like "k7xm9pq2".
2. The VERIFY URL is in response.urls.short. Copy it EXACTLY from the API response.
3. DO NOT construct, guess, or infer URLs. The attestation ID field (like "2026-04-02-a1b2c3") is NOT a short URL and cannot be used to build one.
4. DO NOT modify, truncate, or reformat any URL from the response.
5. If you cannot make the HTTP request, tell the user to run the curl command themselves and paste the response back to you.
6. Always present BOTH the short URL and the verify URL from the actual response.
WHERE TO PUT THE ATTESTATION:
- HTML: <meta name="attestation-verify" content="EXACT_SHORT_URL_FROM_RESPONSE">
- Markdown frontmatter: attestation: EXACT_SHORT_URL_FROM_RESPONSE
- Commit message: just append the short URL from response.urls.short
- JSON sidecar file: save the full attestation JSON next to the content
Now please ask me the following questions so we can create an attestation together:
1. What did you make? (filename, project name, or description)
2. How was it made? (you wrote it yourself, you and AI collaborated, or AI generated it)
3. What AI model did you use, if any?
4. What name or username should be listed as the author?
5. Would you like to include the actual content text for hash verification?
Once I answer, construct the API URL with the right parameters and make the GET request. After getting the response, show me:
- The attestation details from the response
- The EXACT short URL from response.urls.short (do not construct this yourself)
- The EXACT verify URL from response.urls.verify (do not construct this yourself)
Remember: only show URLs that came directly from the API response. Never fabricate or guess a URL.`;
navigator.clipboard.writeText(prompt).then(() => {
const s = document.getElementById('copy-prompt-status');
s.textContent = 'copied to clipboard';
setTimeout(() => { s.textContent = ''; }, 3000);
}).catch(() => {
const s = document.getElementById('copy-prompt-status');
s.textContent = 'failed to copy';
});
}
</script>
<script>
function switchExampleTab(tab) {
document.querySelectorAll('.example-tab').forEach(function(t) { t.classList.remove('active'); });
document.querySelector('.example-tab[data-tab="' + tab + '"]').classList.add('active');
document.querySelectorAll('.example-panel').forEach(function(p) { p.style.display = 'none'; });
document.getElementById('example-' + tab).style.display = '';
}
</script>
</body>
</html>