-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
1207 lines (1137 loc) · 58.5 KB
/
Copy pathindex.html
File metadata and controls
1207 lines (1137 loc) · 58.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
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AXM Genesis — Cryptographic Kernel</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:wght@300;400;500&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0e0e0f;
--bg2: #141416;
--bg3: #1a1a1d;
--border: #2a2a2e;
--border2: #3a3a3f;
--amber: #c8a84b;
--amber-dim: #7a6530;
--amber-glow:#e8c870;
--platinum: #b8b8c0;
--dim: #8a8a98;
--text: #d4d4dc;
--text-hi: #eeeef4;
--red-dim: #7a3535;
--green-dim: #2a5c3a;
--blue-dim: #2a3a5c;
--mono: 'DM Mono', monospace;
--serif: 'Crimson Pro', Georgia, serif;
--display:'Bebas Neue', sans-serif;
--eco-bg: #0e0e0f;
--eco-border: #2a2a2e;
--eco-text: #8a8a98;
--eco-text-hi: #d4d4dc;
--eco-accent: #c8a84b;
--eco-mono: 'DM Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
background: var(--bg);
color: var(--text);
font-family: var(--serif);
font-size: clamp(15px, 1.6vw, 18px);
line-height: 1.65;
min-height: 100vh;
overflow-x: hidden;
}
/* ── GRAIN ── */
body::before {
content: '';
position: fixed; inset: 0;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
background-size: 200px 200px;
pointer-events: none; z-index: 1000; opacity: 0.6;
}
/* ── ANIMATIONS ── */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-amber {
0%, 100% { box-shadow: 0 0 0 0 rgba(200,168,75,0); }
50% { box-shadow: 0 0 20px 4px rgba(200,168,75,0.12); }
}
/* CRT scanlines — repeating bands, not a single bar */
@keyframes crt-scroll {
0% { background-position: 0 0; }
100% { background-position: 0 -120px; }
}
@keyframes lo-fadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
/* ── LAYOUT ── */
.page-wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
/* ── HEADER ── */
header {
border-bottom: 1px solid var(--border);
position: relative; overflow: hidden;
}
/* CRT scanline overlay on header only */
.header-scanline {
position: absolute; inset: 0;
background: repeating-linear-gradient(
to bottom,
transparent 0px,
transparent 3px,
rgba(200,168,75,0.03) 3px,
rgba(200,168,75,0.03) 4px
);
animation: crt-scroll 3s linear infinite;
pointer-events: none; z-index: 1;
opacity: 0.7;
}
/* Amber sweep line on top edge */
.header-scanline::after {
content: '';
position: absolute; top: 0; left: 0; right: 0;
height: 1px;
background: linear-gradient(90deg, transparent 0%, var(--amber) 40%, var(--amber-glow) 50%, var(--amber) 60%, transparent 100%);
opacity: 0.4;
}
.header-inner {
display: grid; grid-template-columns: 1fr auto;
align-items: end; gap: 40px; padding: 60px 0 40px;
position: relative; z-index: 2;
}
.header-badge {
font-family: var(--mono); font-size: 10px; font-weight: 400;
letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber);
margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.header-badge::before {
content: ''; display: inline-block; width: 6px; height: 6px;
border-radius: 50%; background: var(--amber);
animation: pulse-amber 2.5s ease-in-out infinite;
}
h1 {
font-family: var(--display); font-size: clamp(40px, 10vw, 96px);
letter-spacing: clamp(0.02em, 0.4vw, 0.04em); line-height: 0.9;
color: var(--text-hi); text-transform: uppercase;
}
h1 .accent { color: var(--amber); }
.header-tagline {
font-family: var(--serif); font-style: italic; font-size: 19px;
color: var(--platinum); margin-top: 20px; max-width: 520px; line-height: 1.5;
}
.header-meta { text-align: right; }
.version-block {
font-family: var(--mono); font-size: 11px;
color: var(--dim); line-height: 2; letter-spacing: 0.06em;
}
.version-block .val { color: var(--amber); }
/* ── NAV ── */
nav {
border-bottom: 1px solid var(--border);
position: sticky; top: 0; z-index: 500;
background: var(--bg);
}
nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: 0; }
nav a {
display: block; padding: 13px 18px;
font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
text-transform: uppercase; color: var(--dim); text-decoration: none;
border-right: 1px solid var(--border);
border-bottom: 1px solid transparent;
transition: color 0.2s, background 0.2s; white-space: nowrap;
}
nav a:hover { color: var(--amber); background: rgba(200,168,75,0.04); }
nav a.active {
color: var(--amber);
background: rgba(200,168,75,0.12);
box-shadow: inset 0 -2px 0 var(--amber);
}
/* ── SECTIONS ── */
section {
padding: 72px 0;
border-bottom: 1px solid var(--border);
}
section#manifesto {
padding: 100px 0 80px;
}
section#errors {
padding: 60px 0 100px;
}
section:last-of-type { border-bottom: none; }
.section-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 48px; }
.section-number {
font-family: var(--mono); font-size: 11px;
color: var(--amber-dim); letter-spacing: 0.1em; flex-shrink: 0;
}
h2 {
font-family: var(--display); font-size: clamp(28px, 4vw, 44px);
letter-spacing: 0.06em; color: var(--text-hi);
text-transform: uppercase; line-height: 1;
}
h3 {
font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
text-transform: uppercase; color: var(--amber); margin-bottom: 12px; font-weight: 400;
}
p { color: var(--platinum); max-width: 680px; }
/* ── MANIFESTO ── */
.manifesto {
display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
background: var(--border); border: 1px solid var(--border); margin-top: 40px;
}
.manifesto-item { background: var(--bg2); padding: 36px 32px; position: relative; }
.manifesto-item::before {
content: attr(data-num); position: absolute; top: 20px; right: 24px;
font-family: var(--display); font-size: 56px; color: var(--border2);
line-height: 1; pointer-events: none;
}
.manifesto-item p { font-size: 16px; line-height: 1.7; color: var(--text); max-width: none; position: relative; z-index: 1; }
.manifesto-item strong { color: var(--amber); font-weight: 600; }
.manifesto-item code { font-family: var(--mono); font-size: 13px; color: var(--amber); }
/* ── PRIMITIVES ── */
.primitives-grid {
display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
background: var(--border); border: 1px solid var(--border); margin-top: 16px;
}
.primitive-card {
background: var(--bg2); padding: 28px 28px 32px;
position: relative; overflow: hidden; transition: background 0.2s;
}
.primitive-card:hover { background: var(--bg3); }
.primitive-card::after {
content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
background: var(--amber); transform: scaleX(0); transform-origin: left;
transition: transform 0.3s ease;
}
.primitive-card:hover::after { transform: scaleX(1); }
.prim-icon { font-family: var(--mono); font-size: 22px; color: var(--amber); margin-bottom: 14px; display: block; }
.primitive-card h3 { font-size: 10px; margin-bottom: 10px; }
.primitive-card p { font-size: 14px; line-height: 1.6; color: var(--dim); max-width: none; }
.primitive-card code { font-family: var(--mono); font-size: 11px; color: var(--amber); background: rgba(200,168,75,0.08); padding: 1px 5px; border-radius: 2px; }
/* ── SHARD FORMAT ── */
.shard-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 16px; }
.shard-tree {
font-family: var(--mono); font-size: 13px; line-height: 2;
color: var(--dim); background: var(--bg2); border: 1px solid var(--border); padding: 28px 32px;
}
.shard-tree .dir { color: var(--amber); }
.shard-tree .file { color: var(--platinum); }
.shard-tree .ext { color: var(--amber-dim); }
.shard-tree .comment{ color: #444450; font-size: 11px; }
.shard-fields { display: flex; flex-direction: column; gap: 16px; }
.shard-field { border-left: 2px solid var(--amber-dim); padding: 14px 20px; background: var(--bg2); }
.shard-field h3 { margin-bottom: 6px; }
.shard-field p { font-size: 14px; line-height: 1.6; color: var(--dim); max-width: none; }
.gold-callout {
margin-top: 24px; border: 1px solid var(--amber-dim);
background: rgba(200,168,75,0.04);
display: grid; grid-template-columns: auto 1fr;
}
.gold-accent { width: 4px; background: var(--amber); }
.gold-body { padding: 28px 32px; }
.gold-body h3 { font-family: var(--display); font-size: 22px; color: var(--amber-glow); letter-spacing: 0.08em; margin-bottom: 10px; font-weight: 400; }
.gold-body p { font-size: 15px; color: var(--platinum); line-height: 1.7; max-width: 600px; }
.gold-body code { font-family: var(--mono); font-size: 12px; color: var(--amber); background: rgba(200,168,75,0.1); padding: 2px 6px; }
/* ── CRYPTO SUITE TABLE ── */
.suite-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12px; margin-top: 24px; border: 1px solid var(--border); }
.suite-table th { background: var(--bg3); color: var(--amber); padding: 14px 20px; text-align: left; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; border-bottom: 1px solid var(--border); }
.suite-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); color: var(--platinum); vertical-align: middle; }
.suite-table tr:last-child td { border-bottom: none; }
.suite-table tr:hover td { background: rgba(200,168,75,0.03); }
.badge { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 2px; text-transform: uppercase; }
.badge-stable { background: rgba(42,92,58,0.4); color: #6ebb8a; border: 1px solid #2a5c3a; }
.badge-pq { background: rgba(42,58,92,0.4); color: #6a8abb; border: 1px solid var(--blue-dim); }
.domain-sep {
margin-top: 32px; padding: 24px 28px; background: var(--bg2);
border: 1px solid var(--border); border-left: 3px solid var(--amber);
}
.domain-sep h3 { margin-bottom: 10px; }
.domain-sep-body { font-family: var(--mono); font-size: 13px; line-height: 2.2; color: var(--dim); }
.domain-sep-body .lbl { color: var(--amber); }
.domain-sep-body .byte { color: #6a8abb; }
.domain-sep-body .out { color: #6ebb8a; }
.domain-sep-body .note { color: #444450; font-size: 11px; }
/* ── LAYER ONION ── */
#genesis-layers-onion { margin-top: 16px; }
.onion-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: start; }
.onion-left {}
.onion-svg { display: block; }
.onion-tabs { display: flex; gap: 1px; margin-top: 16px; background: var(--border2); border: 1px solid var(--border2); }
.onion-tab {
flex: 1; padding: 10px 8px; background: var(--bg2); border: none;
border-top: 2px solid transparent; color: #444450; font-size: 10px;
letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
transition: all 0.2s; font-family: var(--mono);
}
.onion-tab:hover { color: var(--dim); background: var(--bg3); }
.onion-tab.active { background: var(--bg3); }
.onion-detail {
background: var(--bg2); border: 1px solid var(--border);
border-left: 3px solid var(--amber); padding: 28px; min-height: 340px;
animation: lo-fadeIn 0.2s ease both;
}
.od-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.od-name { font-family: var(--display); font-size: 28px; letter-spacing: 0.06em; color: var(--text-hi); margin-bottom: 16px; line-height: 1; }
.od-desc { font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--platinum); margin-bottom: 20px; max-width: none; }
.od-examples-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: #444450; text-transform: uppercase; margin-bottom: 10px; }
.od-example { font-family: var(--mono); font-size: 11px; color: var(--dim); line-height: 2.1; padding-left: 12px; border-left: 1px solid var(--border); margin-bottom: 2px; }
.od-genesis-box { background: rgba(200,168,75,0.05); border: 1px solid rgba(200,168,75,0.15); padding: 14px 16px; margin-top: 16px; }
.od-genesis-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--amber); text-transform: uppercase; margin-bottom: 6px; }
.od-genesis-text { font-family: var(--mono); font-size: 13px; color: #8a8a90; line-height: 1.6; }
/* ── VERIFICATION PIPELINE ── */
.verify-steps { margin-top: 24px; border: 1px solid var(--border); }
.verify-step { display: grid; grid-template-columns: 56px 1fr; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.verify-step:last-child { border-bottom: none; }
.verify-step:hover { background: rgba(200,168,75,0.025); }
.step-num { display: flex; align-items: center; justify-content: center; background: var(--bg3); border-right: 1px solid var(--border); font-family: var(--display); font-size: 20px; color: var(--amber-dim); flex-shrink: 0; }
.step-body { padding: 20px 24px; }
.step-body h3 { font-size: 10px; margin-bottom: 6px; }
.step-body p { font-size: 14px; line-height: 1.6; color: var(--dim); max-width: none; }
.step-body code { font-family: var(--mono); font-size: 12px; color: var(--amber); }
/* ── CONFORMANCE / ERROR TABLES ── */
.req-table, .error-table {
width: 100%; border-collapse: collapse; margin-top: 24px;
border: 1px solid var(--border); font-size: 14px;
}
.req-table th, .error-table th {
background: var(--bg3); color: var(--amber); padding: 12px 20px; text-align: left;
font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
font-weight: 400; border-bottom: 1px solid var(--border);
}
.req-table td, .error-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); color: var(--platinum); vertical-align: top; line-height: 1.6; }
.req-table tr:last-child td, .error-table tr:last-child td { border-bottom: none; }
.req-table tr:hover td, .error-table tr:hover td { background: rgba(200,168,75,0.025); }
.req-id { font-family: var(--mono); font-size: 12px; color: var(--amber); white-space: nowrap; font-weight: 500; }
.req-codes { font-family: var(--mono); font-size: 11px; color: var(--dim); line-height: 1.8; }
.error-code { font-family: var(--mono); font-size: 12px; color: var(--amber); white-space: nowrap; }
.error-desc { color: var(--dim); font-size: 14px; }
.error-group th { background: var(--bg); color: var(--border2); font-size: 9px; padding: 8px 20px; letter-spacing: 0.18em; }
/* ── QUICK START ── */
.quickstart-block { background: var(--bg2); border: 1px solid var(--border); margin-top: 24px; overflow: hidden; }
.qs-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--bg3); }
.qs-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }
.qs-badge { font-family: var(--mono); font-size: 10px; color: var(--amber-dim); letter-spacing: 0.06em; }
.qs-body { padding: 20px 24px; font-family: var(--mono); font-size: 13px; line-height: 2.1; color: var(--dim); overflow-x: auto; }
.qs-body .prompt { color: var(--amber-dim); user-select: none; }
.qs-body .cmd { color: var(--platinum); }
.qs-body .arg { color: var(--amber); }
.qs-body .comment{ color: #444450; }
.qs-body .output { color: #4a7a5a; }
/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-left { font-family: var(--mono); font-size: 11px; color: var(--dim); line-height: 2; letter-spacing: 0.06em; }
.footer-left strong { color: var(--amber); font-weight: 500; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--dim); text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
.page-wrap { padding: 0 20px; }
.header-inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 28px; }
.header-meta { text-align: left; margin-top: 20px; }
.manifesto { grid-template-columns: 1fr; }
.primitives-grid { grid-template-columns: repeat(2, 1fr); }
.shard-layout { grid-template-columns: 1fr; }
.onion-wrap { grid-template-columns: 1fr; }
.onion-svg { max-width: 340px; }
}
@media (max-width: 580px) {
body { font-size: 15px; }
.primitives-grid { grid-template-columns: 1fr; }
h1 { font-size: clamp(36px, 10vw, 56px); }
.header-inner { padding: 28px 0 20px; }
.section-header h2 { font-size: clamp(20px, 5vw, 28px); }
.version-block { font-size: 10px; }
nav ul { gap: 0; }
nav a { font-size: 10px; padding: 10px 8px; }
}
</style>
</head>
<body>
<!--
AXM Ecosystem Nav — shared across all pages
USAGE: Paste this block at the top of <body> in each page.
Set data-active to the current page's key.
The nav reads CSS custom properties from the host page:
--eco-bg (fallback: #0e0e0f)
--eco-border (fallback: #2a2a2e)
--eco-text (fallback: #666)
--eco-text-hi (fallback: #e0e0e0)
--eco-accent (fallback: #c8a84b)
--eco-mono (fallback: 'DM Mono', monospace)
Each page sets these in its :root {} to match its palette.
-->
<style>
.eco-nav {
position: relative;
z-index: 900;
background: var(--eco-bg, #0e0e0f);
border-bottom: 1px solid var(--eco-border, #2a2a2e);
font-family: var(--eco-mono, 'DM Mono', monospace);
font-size: 10px;
letter-spacing: 0.12em;
user-select: none;
}
.eco-nav-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
display: flex;
align-items: center;
height: 36px;
gap: 6px;
}
.eco-nav-brand {
color: var(--eco-text, #666);
font-size: 9px;
letter-spacing: 0.22em;
text-transform: uppercase;
margin-right: 12px;
white-space: nowrap;
}
.eco-nav-brand strong {
color: var(--eco-text-hi, #e0e0e0);
font-weight: 500;
}
.eco-nav-sep {
width: 1px;
height: 14px;
background: var(--eco-border, #2a2a2e);
margin: 0 6px;
flex-shrink: 0;
}
.eco-nav a {
color: var(--eco-text, #666);
text-decoration: none;
padding: 6px 10px;
border-radius: 3px;
transition: color 0.15s, background 0.15s;
white-space: nowrap;
position: relative;
}
.eco-nav a:hover {
color: var(--eco-text-hi, #e0e0e0);
background: rgba(255,255,255,0.03);
}
.eco-nav a.eco-active {
color: var(--eco-accent, #c8a84b);
}
.eco-nav a.eco-active::after {
content: '';
position: absolute;
bottom: -1px;
left: 10px;
right: 10px;
height: 1px;
background: var(--eco-accent, #c8a84b);
opacity: 0.6;
}
.eco-nav-kind {
font-size: 8px;
opacity: 0.5;
display: inline-block;
margin-left: 2px;
vertical-align: top;
}
.eco-nav-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 4px;
}
.eco-nav-github {
opacity: 0.4;
transition: opacity 0.15s;
}
.eco-nav-github:hover {
opacity: 0.8;
}
@media (max-width: 768px) {
.eco-nav-inner {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.eco-nav-inner::-webkit-scrollbar { display: none; }
.eco-nav a { padding: 6px 7px; font-size: 9px; }
.eco-nav-brand { display: none; }
}
</style>
<div class="eco-nav" data-active="genesis">
<div class="eco-nav-inner">
<div class="eco-nav-brand"><strong>AXM</strong> Protocol</div>
<div class="eco-nav-sep"></div>
<a href="https://bigbirdreturns.github.io/axm-genesis/" data-page="genesis">Genesis<span class="eco-nav-kind"> kernel</span></a>
<a href="https://bigbirdreturns.github.io/axm-core/" data-page="core">Core<span class="eco-nav-kind"> hub</span></a>
<div class="eco-nav-sep"></div>
<a href="https://bigbirdreturns.github.io/axm-chat/" data-page="chat">Chat<span class="eco-nav-kind"> spoke</span></a>
<a href="https://bigbirdreturns.github.io/axm-show/" data-page="show">Show<span class="eco-nav-kind"> spoke</span></a>
<a href="https://bigbirdreturns.github.io/axm-embodied/" data-page="embodied">Embodied<span class="eco-nav-kind"> spoke</span></a>
<a href="https://bigbirdreturns.github.io/axm-fleet/" data-page="fleet">Fleet<span class="eco-nav-kind"> spoke</span></a>
<a href="https://bigbirdreturns.github.io/axm-sfn/" data-page="sfn">SFN<span class="eco-nav-kind"> spoke</span></a>
<div class="eco-nav-right">
<a href="https://github.com/BigBirdReturns" class="eco-nav-github" target="_blank" title="GitHub">
<svg width="14" height="14" 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-.27.68 0 1.36.09 2 .27 1.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.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>
</a>
</div>
</div>
</div>
<script>
// Auto-highlight active page based on data-active attribute
(function() {
const nav = document.querySelector('.eco-nav');
if (!nav) return;
const active = nav.dataset.active;
if (active) {
const link = nav.querySelector(`[data-page="${active}"]`);
if (link) link.classList.add('eco-active');
}
})();
</script>
<header>
<div class="header-scanline"></div>
<div class="page-wrap">
<div class="header-inner">
<div class="animate-up">
<div class="header-badge">AXM Ecosystem · Kernel Layer</div>
<h1>AXM <span class="accent">Genesis</span></h1>
<p class="header-tagline">The immutable cryptographic foundation. Every shard sealed. Every claim provable. Nothing changes here without a frozen-spec RFC.</p>
</div>
<div class="header-meta animate-up delay-2">
<div class="version-block">
<div>VERSION <span class="val">1.0.0rc1</span></div>
<div>SPEC <span class="val">v1.0.0 (RFC 0002)</span></div>
<div>SUITE <span class="val">axm-hybrid1</span></div>
<div>GOLD SHARD <span class="val">fm21-11-hemorrhage-v2</span></div>
<div>LICENSE <span class="val">Apache-2.0</span></div>
</div>
</div>
</div>
</div>
</header>
<nav id="main-nav">
<div class="page-wrap">
<ul>
<li><a href="#manifesto" data-section="manifesto">What It Is</a></li>
<li><a href="#primitives" data-section="primitives">Primitives</a></li>
<li><a href="#shard" data-section="shard">Shard Format</a></li>
<li><a href="#crypto" data-section="crypto">Cryptography</a></li>
<li><a href="#layers" data-section="layers">Three Layers</a></li>
<li><a href="#verification" data-section="verification">Verification</a></li>
<li><a href="#conformance" data-section="conformance">Conformance</a></li>
<li><a href="#errors" data-section="errors">Error Codes</a></li>
<li><a href="#quickstart" data-section="quickstart">Quick Start</a></li>
</ul>
</div>
</nav>
<!-- §01 MANIFESTO -->
<section id="manifesto">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 01</span>
<h2>What Genesis Is</h2>
</div>
<p class="animate-up delay-1">Genesis is the only package in the AXM ecosystem with write access to the signed shard format. Everything else reads. This boundary is the invariant that makes long-term verification possible.</p>
<div class="manifesto animate-up delay-2">
<div class="manifesto-item" data-num="I">
<p><strong>Tamper-evident by construction.</strong> Every byte in a shard is covered by a BLAKE3 Merkle tree. The root is signed post-quantum. Tamper any byte — content, graph, evidence, or extension — and verification fails. There is no escape hatch.</p>
</div>
<div class="manifesto-item" data-num="II">
<p><strong>The spec is frozen.</strong> <code>spec/v1/SPECIFICATION.md</code> is normative and sealed at the v1.0.0 tag. Changes require an RFC in <code>rfcs/</code>; a breaking change means a new major format, never a mutation of this one. Profiles and extensions add; the kernel never changes.</p>
</div>
<div class="manifesto-item" data-num="III">
<p><strong>The gold shard is the definition of correctness.</strong> <code>fm21-11-hemorrhage-v2</code> is never recompiled. A verifier change that breaks the gold shard is rejected — the gold shard wins. CI enforces this on every commit.</p>
</div>
<div class="manifesto-item" data-num="IV">
<p><strong>Hybrid post-quantum.</strong> One suite: <code>axm-hybrid1</code> — Ed25519 ‖ ML-DSA-44 (FIPS 204), and verification succeeds only if <em>both</em> components verify. A future break of either algorithm, quantum or cryptanalytic, leaves the other holding.</p>
</div>
</div>
</div>
</section>
<!-- §02 PRIMITIVES -->
<section id="primitives">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 02</span>
<h2>Frozen Primitives</h2>
</div>
<p class="animate-up delay-1">Six cryptographic and structural primitives are frozen across all <code style="font-family:var(--mono);font-size:14px;color:var(--amber)">axm-genesis >= 1.x</code> releases. A spoke built against any of these will continue to work without modification.</p>
<div class="primitives-grid animate-up delay-2">
<div class="primitive-card">
<span class="prim-icon">⬡</span>
<h3>BLAKE3 Merkle Tree</h3>
<p>One construction, forever: domain-separated with RFC 6962 odd-node promotion. Leaf: <code>BLAKE3(0x00 ‖ path ‖ 0x00 ‖ bytes)</code>. Node: <code>BLAKE3(0x01 ‖ left ‖ right)</code>. Sorted by UTF-8 path. Empty root: <code>BLAKE3(0x01)</code>.</p>
</div>
<div class="primitive-card">
<span class="prim-icon">◈</span>
<h3>Hybrid Signatures</h3>
<p>The <code>axm-hybrid1</code> suite: Ed25519 ‖ ML-DSA-44 (FIPS 204). pk = 1344 B, sig = 2484 B, and <em>both</em> components must verify over the domain-separated message <code>"axm-genesis/v1/manifest" ‖ 0x00 ‖ manifest</code>.</p>
</div>
<div class="primitive-card">
<span class="prim-icon">▦</span>
<h3>Canonical JSONL Tables</h3>
<p>All graph and evidence tables are canonical JSONL — one canonical-JSON record per line, sorted bytewise by primary key, reproducible byte-for-byte in any language. Parquet is demoted to a derived, local query cache outside the shard.</p>
</div>
<div class="primitive-card">
<span class="prim-icon">⟳</span>
<h3>Lineage + References</h3>
<p>Supersession chains via <code>ext/lineage@1.jsonl</code>. Cross-shard claim links via <code>ext/references@1.jsonl</code>, binding to derived <code>sh1_</code> shard identities. Both are Merkle-covered extension tables — optional, additive, and verifiable.</p>
</div>
<div class="primitive-card">
<span class="prim-icon">⊞</span>
<h3>Content-Addressed IDs</h3>
<p>Every entity, claim, provenance row, and span is named by the full SHA-256 of its canonical preimage — base32, 52 chars, versioned prefixes <code>e1_ c1_ p1_ s1_</code>. Shard identity is <code>sh1_</code> + BLAKE3 of the manifest bytes, derived, never stored.</p>
</div>
<div class="primitive-card">
<span class="prim-icon">⚙</span>
<h3>Profiles</h3>
<p>Named, versioned check-sets over <code>content/</code> and <code>ext/</code> — e.g. <code>embodied@1</code> for hot-stream continuity. Declared in the signed manifest; verifiers report them checked or unchecked, and unchecked never impersonates passed.</p>
</div>
</div>
</div>
</section>
<!-- §03 SHARD FORMAT -->
<section id="shard">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 03</span>
<h2>Shard Format</h2>
</div>
<div class="shard-layout animate-up delay-1">
<div>
<div class="shard-tree">
<div><span class="dir"><shard>/</span> <span class="comment">← identity: sh1_ + BLAKE3(manifest)</span></div>
<div> <span class="file">manifest.json</span> <span class="comment">← merkle root + suite</span></div>
<div> <span class="dir">sig/</span></div>
<div> <span class="file">manifest.sig</span> <span class="comment">← Ed25519 ‖ ML-DSA-44 (2484 B)</span></div>
<div> <span class="file">publisher.pub</span> <span class="comment">← hybrid key (1344 B)</span></div>
<div> <span class="dir">content/</span></div>
<div> <span class="file">source.txt</span> <span class="comment">← byte-addressable</span></div>
<div> <span class="dir">graph/</span></div>
<div> <span class="file">entities.jsonl</span></div>
<div> <span class="file">claims.jsonl</span></div>
<div> <span class="file">provenance.jsonl</span></div>
<div> <span class="dir">evidence/</span></div>
<div> <span class="file">spans.jsonl</span></div>
<div> <span class="dir">ext/</span> <span class="comment">← optional, Merkle-covered</span></div>
<div> <span class="ext">lineage@1.jsonl</span></div>
<div> <span class="ext">references@1.jsonl</span></div>
<div> <span class="ext">locators@1.jsonl</span></div>
<div> <span class="ext">temporal@1.jsonl</span></div>
</div>
<div class="gold-callout">
<div class="gold-accent"></div>
<div class="gold-body">
<h3>Gold Shard</h3>
<p>The reference shard <code>fm21-11-hemorrhage-v2</code>, extracted from FM 21-11 (US Army first aid field manual) and minted under <code>axm-hybrid1</code>, is the definition of correctness. Any verifier that accepts it and rejects all invalid test vectors in <code>tests/vectors/shards/invalid/</code> is conformant.</p>
</div>
</div>
</div>
<div class="shard-fields">
<div class="shard-field">
<h3>Manifest Fields (Frozen)</h3>
<p>spec_version, suite (required: axm-hybrid1), metadata, publisher, license.spdx, sources (a bijection with content/, each file with its SHA-256), integrity.merkle_root, statistics — a closed key set, byte-exact canonical JSON. There is no shard_id field: identity is derived from the manifest hash.</p>
</div>
<div class="shard-field">
<h3>Claims Schema (Frozen)</h3>
<p>claim_id · subject · predicate · object · object_type · tier. All identifiers are stable and content-addressed, derived from canonical UTF-8 NFC-normalized inputs; evidence links live in the provenance and spans tables.</p>
</div>
<div class="shard-field">
<h3>Evidence Byte Offsets</h3>
<p>Every claim traces to exact bytes in content. spans.jsonl records byte_start, byte_end, and text. Verification confirms <code style="font-family:var(--mono);font-size:12px;color:var(--amber)">content_bytes[start:end].decode("utf-8") == text</code> for each span.</p>
</div>
<div class="shard-field">
<h3>Extension Naming</h3>
<p>Extensions follow the convention <code style="font-family:var(--mono);font-size:12px;color:var(--amber)">ext/<name>@<version>.<suffix></code> — any format; AXM-defined extensions use canonical JSONL. The @<version> suffix is part of the name. The kernel treats ext/ as opaque — extensions never affect core verification.</p>
</div>
<div class="shard-field">
<h3>Profiles — e.g. embodied@1</h3>
<p>Domain checks live outside the kernel. Shards declare <code style="font-family:var(--mono);font-size:12px;color:var(--amber)">"profiles": ["embodied@1"]</code> in the signed manifest; that profile enforces a gap-free AXLF/AXLR frame sequence in <code style="font-family:var(--mono);font-size:12px;color:var(--amber)">content/cam_latents.bin</code> (<code style="font-family:var(--mono);font-size:12px;color:var(--amber)">E_BUFFER_DISCONTINUITY</code>). Verifiers report unimplemented profiles as unchecked — never as passed.</p>
</div>
</div>
</div>
</div>
</section>
<!-- §04 CRYPTOGRAPHY -->
<section id="crypto">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 04</span>
<h2>Cryptographic Suites</h2>
</div>
<p class="animate-up delay-1">One suite (RFC 0002). The suite field in manifest.json is required and must equal <code style="font-family:var(--mono);font-size:14px;color:var(--amber)">axm-hybrid1</code>; there is no suite negotiation and no detection by key size.</p>
<table class="suite-table animate-up delay-2">
<thead>
<tr>
<th>Suite Identifier</th>
<th>Algorithm</th>
<th>Key</th>
<th>Signature</th>
<th>Merkle</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td style="font-family:var(--mono);font-size:11px;color:var(--amber)">axm-hybrid1</td>
<td>Ed25519 ‖ ML-DSA-44 (FIPS 204) — both must verify</td>
<td>1344 B</td>
<td>2484 B</td>
<td>RFC 6962 odd-node promotion</td>
<td><span class="badge badge-pq">Hybrid PQ</span> <span class="badge badge-stable">Only suite</span></td>
</tr>
</tbody>
</table>
<div class="domain-sep animate-up delay-3">
<h3>Domain Separation (axm-hybrid1)</h3>
<div class="domain-sep-body">
<div><span class="lbl">Leaf</span> = BLAKE3( <span class="byte">0x00</span> ‖ relpath ‖ <span class="byte">0x00</span> ‖ file_bytes )</div>
<div><span class="lbl">Node</span> = BLAKE3( <span class="out">0x01</span> ‖ left ‖ right )</div>
<div><span class="lbl">Odd</span> = promote unchanged — no duplication (RFC 6962, CVE-2012-2459 safe)</div>
<div><span class="lbl">Empty</span> = BLAKE3( <span class="out">0x01</span> ) = <span class="note">48fc721f...</span> <span class="note">← frozen constant</span></div>
<div><span class="lbl">Msg</span> = <span class="note">"axm-genesis/v1/manifest"</span> ‖ <span class="byte">0x00</span> ‖ manifest_bytes <span class="note">← both components sign this</span></div>
</div>
</div>
</div>
</section>
<!-- §05 THREE LAYERS -->
<section id="layers">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 05</span>
<h2>Three-Layer Architecture</h2>
</div>
<p class="animate-up delay-1">All three layers use the same Genesis container format. The distinction is semantic — enforced by convention, not by protocol. Genesis seals layers 1 and 2. It never touches layer 3.</p>
<div id="genesis-layers-onion" class="animate-up delay-2"></div>
</div>
</section>
<!-- §06 VERIFICATION -->
<section id="verification">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 06</span>
<h2>Verification Pipeline</h2>
</div>
<p class="animate-up delay-1">The reference verifier <code style="font-family:var(--mono);font-size:14px;color:var(--amber)">axm-verify</code> runs seven checks in sequence. A failure at any step halts the pipeline. Exit 0 = PASS, Exit 1 = FAIL, Exit 2 = malformed layout.</p>
<div class="verify-steps animate-up delay-2">
<div class="verify-step">
<div class="step-num">1</div>
<div class="step-body">
<h3>Layout Validation</h3>
<p>Required root items: manifest.json, sig/, content/, graph/, evidence/. Optional: ext/. Unexpected items trigger <code>E_LAYOUT_DIRTY</code>. Symlinks, dotfiles rejected unconditionally.</p>
</div>
</div>
<div class="verify-step">
<div class="step-num">2</div>
<div class="step-body">
<h3>Manifest Parse + Full Schema</h3>
<p>manifest.json is read once — the same bytes are used for signature verification and identity to prevent TOCTOU swaps. Byte-exact canonical encoding, every required field validated (spec_version, suite, created_at format, sources bijection, statistics), closed key set, no shard_id.</p>
</div>
</div>
<div class="verify-step">
<div class="step-num">3</div>
<div class="step-body">
<h3>Trusted Key Anchor + Hybrid Signature</h3>
<p>Requires <code>--trusted-key</code>. The shard's publisher.pub must match the trusted key exactly. Then both hybrid components — Ed25519 and ML-DSA-44 — must verify over the domain-separated message.</p>
</div>
</div>
<div class="verify-step">
<div class="step-num">4</div>
<div class="step-body">
<h3>Merkle Root Computation</h3>
<p>All shard files except manifest.json and sig/ are hashed using the single frozen Merkle construction. Computed root must match <code>manifest.integrity.merkle_root</code> exactly.</p>
</div>
</div>
<div class="verify-step">
<div class="step-num">5</div>
<div class="step-body">
<h3>Core Table Validation (JSONL)</h3>
<p>Each line of entities, claims, provenance, and spans must be canonical JSON with the exact frozen key set and types; rows sorted bytewise by primary key, no duplicates, no nulls, no floats. Entity and claim IDs are recomputed from their preimages.</p>
</div>
</div>
<div class="verify-step">
<div class="step-num">6</div>
<div class="step-body">
<h3>Reference + Byte-Range Integrity</h3>
<p>Every claim subject and entity-type object must exist in entities. Every provenance and span must reference a content file whose SHA-256 is in sources. Byte ranges are validated and span text is confirmed against file bytes.</p>
</div>
</div>
<div class="verify-step">
<div class="step-num">7</div>
<div class="step-body">
<h3>Profiles</h3>
<p>Every profile the manifest declares and the verifier implements is run (e.g. <code>embodied@1</code> → <code>E_BUFFER_DISCONTINUITY</code>); the rest are reported in <code>profiles_unchecked</code>. Unchecked is not passed.</p>
</div>
</div>
</div>
</div>
</section>
<!-- §07 CONFORMANCE -->
<section id="conformance">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 07</span>
<h2>AXM Compatibility Requirements</h2>
</div>
<p class="animate-up delay-1">Spokes that produce shards must satisfy the four kernel requirements; domain checks (the former REQ 5) live in profiles. Run the conformance suite with <code style="font-family:var(--mono);font-size:14px;color:var(--amber)">pytest tests/test_conformance.py -v</code>.</p>
<table class="req-table animate-up delay-2">
<thead>
<tr><th>REQ</th><th>Description</th><th>Error Codes</th></tr>
</thead>
<tbody>
<tr>
<td class="req-id">REQ 1</td>
<td>Manifest integrity — byte-exact signature over the manifest</td>
<td class="req-codes">E_SIG_INVALID<br>E_MERKLE_MISMATCH</td>
</tr>
<tr>
<td class="req-id">REQ 2</td>
<td>Content identity — all content files covered by Merkle tree</td>
<td class="req-codes">E_MERKLE_MISMATCH<br>E_REF_SOURCE</td>
</tr>
<tr>
<td class="req-id">REQ 3</td>
<td>Traceable lineage — all references valid, no nulls in required fields</td>
<td class="req-codes">E_REF_ORPHAN<br>E_SCHEMA_NULL</td>
</tr>
<tr>
<td class="req-id">REQ 4</td>
<td>Proof bundle — valid hybrid signature from a trusted publisher key</td>
<td class="req-codes">E_SIG_INVALID<br>E_SIG_MISSING</td>
</tr>
<tr>
<td class="req-id">embodied@1</td>
<td>Non-selective recording — a profile, not a kernel requirement: no gaps in the binary hot stream, for shards declaring it</td>
<td class="req-codes">E_BUFFER_DISCONTINUITY</td>
</tr>
</tbody>
</table>
</div>
</section>
<!-- §08 ERROR CODES -->
<section id="errors">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 08</span>
<h2>Error Codes</h2>
</div>
<p class="animate-up delay-1">All error codes are prefixed <code style="font-family:var(--mono);font-size:14px;color:var(--amber)">E_</code> and defined in <code style="font-family:var(--mono);font-size:14px;color:var(--amber)">axm_verify/const.py</code>. Existing codes are never renamed or removed — only new codes are added in minor versions.</p>
<table class="error-table animate-up delay-2">
<thead><tr><th>Code</th><th>Meaning</th></tr></thead>
<tbody>
<tr class="error-group"><th colspan="2">Layout</th></tr>
<tr><td class="error-code">E_LAYOUT_MISSING</td><td class="error-desc">Required directory or file absent from shard root</td></tr>
<tr><td class="error-code">E_LAYOUT_DIRTY</td><td class="error-desc">Unexpected file or directory found at shard root or in required subdirectory</td></tr>
<tr><td class="error-code">E_DOTFILE</td><td class="error-desc">Dotfile found anywhere in the shard tree</td></tr>
<tr class="error-group"><th colspan="2">Manifest</th></tr>
<tr><td class="error-code">E_MANIFEST_SYNTAX</td><td class="error-desc">manifest.json is not valid JSON</td></tr>
<tr><td class="error-code">E_MANIFEST_SCHEMA</td><td class="error-desc">manifest.json missing required field or field has wrong type</td></tr>
<tr class="error-group"><th colspan="2">Signature</th></tr>
<tr><td class="error-code">E_SIG_MISSING</td><td class="error-desc">sig/manifest.sig or sig/publisher.pub not found</td></tr>
<tr><td class="error-code">E_SIG_INVALID</td><td class="error-desc">Either hybrid component fails to verify, trusted-key mismatch, or wrong key/signature length</td></tr>
<tr class="error-group"><th colspan="2">Integrity</th></tr>
<tr><td class="error-code">E_MERKLE_MISMATCH</td><td class="error-desc">Computed Merkle root does not match stored value in manifest</td></tr>
<tr class="error-group"><th colspan="2">Core tables</th></tr>
<tr><td class="error-code">E_SCHEMA_READ</td><td class="error-desc">Table unreadable, malformed or non-canonical JSON line, rows out of order, or duplicate primary key</td></tr>
<tr><td class="error-code">E_SCHEMA_MISSING</td><td class="error-desc">Required core table (.jsonl) absent</td></tr>
<tr><td class="error-code">E_SCHEMA_TYPE</td><td class="error-desc">Unexpected key in a record, or a value of the wrong JSON type</td></tr>
<tr><td class="error-code">E_SCHEMA_NULL</td><td class="error-desc">Required field missing from a record, or null</td></tr>
<tr><td class="error-code">E_SCHEMA_ENUM</td><td class="error-desc">Invalid object_type or tier value</td></tr>
<tr class="error-group"><th colspan="2">Identity</th></tr>
<tr><td class="error-code">E_ID_ENTITY</td><td class="error-desc">entity_id does not match recomputed hash from namespace + label</td></tr>
<tr><td class="error-code">E_ID_CLAIM</td><td class="error-desc">claim_id does not match recomputed hash from subject + predicate + object</td></tr>
<tr class="error-group"><th colspan="2">References</th></tr>
<tr><td class="error-code">E_REF_ORPHAN</td><td class="error-desc">Claim subject or entity-type object not found in entities table</td></tr>
<tr><td class="error-code">E_REF_SOURCE</td><td class="error-desc">span or provenance source_hash not in content/, or byte range out of bounds</td></tr>
<tr><td class="error-code">E_REF_READ</td><td class="error-desc">Content file unreadable during span byte-range verification</td></tr>
<tr class="error-group"><th colspan="2">Profile: embodied@1</th></tr>
<tr><td class="error-code">E_BUFFER_DISCONTINUITY</td><td class="error-desc">Frame gap, bad magic, or truncation in cam_latents.bin (profile code — shards declaring embodied@1 only)</td></tr>
</tbody>
</table>
</div>
</section>
<!-- §09 QUICK START -->
<section id="quickstart">
<div class="page-wrap">
<div class="section-header animate-up">
<span class="section-number">§ 09</span>
<h2>Quick Start</h2>
</div>
<div class="quickstart-block animate-up delay-1">
<div class="qs-header">
<span class="qs-title">Install + Verify Gold Shard</span>
<span class="qs-badge">bash</span>
</div>
<div class="qs-body">
<div><span class="prompt">$ </span><span class="cmd">pip install -e <span class="arg">".[dev]"</span></span></div>
<div> </div>
<div><span class="comment"># Verify the gold shard against its publisher key</span></div>
<div><span class="prompt">$ </span><span class="cmd">axm-verify shard <span class="arg">shards/gold/fm21-11-hemorrhage-v2/</span> \</span></div>
<div> <span class="cmd">--trusted-key <span class="arg">keys/gold-v2-provisional.pub</span></span></div>
<div><span class="output">{"shard":"...","status":"PASS","error_count":0,"errors":[],</span></div>
<div><span class="output"> "profiles_checked":[],"profiles_unchecked":[]}</span></div>
<div> </div>
<div><span class="comment"># Run the conformance suite</span></div>
<div><span class="prompt">$ </span><span class="cmd">python -m pytest <span class="arg">tests/test_conformance.py</span> -v</span></div>
<div><span class="output">test_baseline_gold_shard_passes ................... PASSED</span></div>
<div><span class="output">test_req1_manifest_byte_flip_detected ............. PASSED</span></div>
<div> </div>
<div><span class="comment"># Generate a hybrid keypair, then build a shard</span></div>
<div><span class="prompt">$ </span><span class="cmd">axm-build keygen <span class="arg">keys-out/</span> --name <span class="arg">me</span></span></div>
<div><span class="prompt">$ </span><span class="cmd">axm-build compile <span class="arg">candidates.jsonl content/</span> <span class="arg">out/my-shard/</span> \</span></div>
<div> <span class="cmd">--private-key <span class="arg">keys-out/me.key</span></span></div>
</div>
</div>
<div class="quickstart-block animate-up delay-2" style="margin-top:16px;">
<div class="qs-header">
<span class="qs-title">Reimplementation Requirements</span>
<span class="qs-badge">any language</span>
</div>
<div class="qs-body">
<div><span class="comment"># Canonical UTF-8 (NFC normalization)</span></div>
<div><span class="comment"># Canonical JSON / JSONL (sorted keys, no whitespace)</span></div>
<div><span class="comment"># BLAKE3 for Merkle tree + shard identity, SHA-256 for content + IDs</span></div>
<div><span class="comment"># Ed25519 + ML-DSA-44 hybrid signatures (both must verify)</span></div>
<div><span class="comment"># No Parquet, no Arrow, no database — plain text primitives</span></div>
<div> </div>
<div><span class="comment"># Correctness is defined by the gold shard.</span></div>
<div><span class="comment"># A reimplementation that accepts it and rejects the</span></div>
<div><span class="comment"># invalid test vectors is conformant.</span></div>
</div>
</div>
</div>
</section>
<footer>
<div class="page-wrap">
<div class="footer-inner">
<div class="footer-left">
<div><strong>AXM Genesis</strong> v1.0.0rc1 · Apache-2.0</div>
<div>Spec v1.0.0 (RFC 0002) · Gold shard fm21-11-hemorrhage-v2</div>
<div>Hybrid post-quantum suite axm-hybrid1 (Ed25519 ‖ ML-DSA-44)</div>
</div>
<div class="footer-links">
<a href="https://github.com/bigbirdreturns/axm-genesis">GitHub</a>
<a href="https://bigbirdreturns.github.io/axm-chat/">AXM Chat</a>
<a href="#quickstart">Quick Start</a>
<a href="#errors">Error Codes</a>
</div>
</div>
</div>
</footer>
<script>
// ── Scroll-tracking nav ──────────────────────────────────────────
(function(){
const navLinks = document.querySelectorAll('#main-nav a[data-section]');
const sections = Array.from(document.querySelectorAll('section[id]'));
const navH = document.getElementById('main-nav').offsetHeight;
function updateNav(){
let current = sections[0].id;
for(const s of sections){
if(s.getBoundingClientRect().top <= navH + 32) current = s.id;
}
navLinks.forEach(a => {
a.classList.toggle('active', a.dataset.section === current);
});
}
window.addEventListener('scroll', updateNav, {passive:true});
updateNav();