File size: 80,955 Bytes
27ba41e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Primordial Biofeedback Layer v0.1 Β· HIR-Governed Signal Mapping</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;600&family=Syne:wght@400;600;700&display=swap');

*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#f7f5f0;--bg2:#eeebe2;--bg3:#e5e1d5;
  --ink:#181614;--ink2:#36302a;--ink3:#66584a;
  --rule:#cec6b8;
  /* Brain layer colors (inherited) */
  --neu:#1a5c6a;--neu-bg:rgba(26,92,106,.07);--neu-border:rgba(26,92,106,.25);
  --path:#4a6a1a;--path-bg:rgba(74,106,26,.07);--path-border:rgba(74,106,26,.25);
  --func:#7a4e0a;--func-bg:rgba(122,78,10,.07);--func-border:rgba(122,78,10,.25);
  --unc-a:#1a3a7a;--unc-a-bg:rgba(26,58,122,.07);--unc-a-border:rgba(26,58,122,.25);
  --unc-b:#7a1a1a;--unc-b-bg:rgba(122,26,26,.07);--unc-b-border:rgba(122,26,26,.25);
  --allow:#1a5c3a;--allow-bg:rgba(26,92,58,.07);--allow-border:rgba(26,92,58,.25);
  --caution:#7a6a0a;--caution-bg:rgba(122,106,10,.07);--caution-border:rgba(122,106,10,.25);
  --block:#6a1a1a;--block-bg:rgba(106,26,26,.07);--block-border:rgba(106,26,26,.25);
  /* Biofeedback-layer accent */
  --bf:#5a2a7a;--bf-bg:rgba(90,42,122,.08);--bf-border:rgba(90,42,122,.28);
  --loop:#1a4a5a;--loop-bg:rgba(26,74,90,.07);--loop-border:rgba(26,74,90,.25);
  --mono:'JetBrains Mono',monospace;--serif:'Instrument Serif',serif;--sans:'Syne',sans-serif;
}
html{background:var(--bg)}
body{background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.6;
     padding:40px 24px 80px;max-width:1120px;margin:0 auto}

/* HEADER */
.hdr{border-bottom:2px solid var(--ink);padding-bottom:20px;margin-bottom:26px}
.hdr-kicker{font-family:var(--mono);font-size:9px;letter-spacing:3px;color:var(--ink3);text-transform:uppercase;margin-bottom:8px}
.hdr-title{font-family:var(--serif);font-size:36px;line-height:1.1;color:var(--ink)}
.hdr-title em{font-style:italic;color:var(--bf)}
.hdr-sub{font-family:var(--mono);font-size:10px;color:var(--ink3);margin-top:6px;letter-spacing:1px;line-height:1.7}
.hdr-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.hdr-chip{font-family:var(--mono);font-size:8px;padding:3px 10px;border:1px solid var(--rule);border-radius:2px;color:var(--ink3);letter-spacing:1.5px;text-transform:uppercase}

/* INVARIANT */
.invariant{border-left:3px solid var(--unc-b);background:var(--unc-b-bg);padding:10px 14px;margin-bottom:20px;font-family:var(--mono);font-size:9px;color:var(--unc-b);line-height:1.8}
.invariant strong{color:var(--ink);font-size:9.5px}

/* LAYER LINK */
.layer-link{border:1px solid var(--bf-border);border-radius:3px;background:var(--bf-bg);padding:10px 14px;margin-bottom:20px;font-family:var(--mono);font-size:9px;color:var(--bf);line-height:1.7}
.layer-link strong{color:var(--ink)}

/* SECTIONS */
.section{margin-bottom:38px}
.section-num{font-family:var(--mono);font-size:9px;letter-spacing:2px;color:var(--ink3);text-transform:uppercase;margin-bottom:4px}
.section-title{font-family:var(--serif);font-size:24px;color:var(--ink);border-bottom:1px solid var(--rule);padding-bottom:8px;margin-bottom:14px}
.section-title em{font-style:italic}
.section-body{font-family:var(--sans);font-size:13.5px;color:var(--ink2);line-height:1.7;margin-bottom:12px}
.section-body p{margin-bottom:10px}

/* DIVIDER */
.div-rule{border:none;border-top:1px solid var(--rule);margin:32px 0}

/* FEEDBACK LOOP DIAGRAM */
.loop-diagram{border:1px solid var(--loop-border);border-radius:4px;background:var(--loop-bg);padding:14px 16px;margin:12px 0;overflow-x:auto}
.loop-title{font-family:var(--mono);font-size:9px;letter-spacing:2px;color:var(--loop);text-transform:uppercase;margin-bottom:10px}
.loop-row{display:flex;align-items:center;gap:0;flex-wrap:nowrap;min-width:700px}
.loop-stage{border:1px solid var(--loop-border);border-radius:3px;background:var(--bg);padding:6px 10px;text-align:center;flex:1;min-width:90px}
.ls-num{font-family:var(--mono);font-size:7.5px;color:var(--loop);letter-spacing:1px;display:block;margin-bottom:2px}
.ls-name{font-family:var(--mono);font-size:9px;font-weight:600;color:var(--ink);display:block}
.ls-sub{font-family:var(--mono);font-size:8px;color:var(--ink3);display:block;margin-top:1px}
.loop-arrow{font-family:var(--mono);font-size:12px;color:var(--loop);padding:0 4px;flex-shrink:0}
.loop-gate{font-family:var(--mono);font-size:8px;padding:3px 8px;border-radius:2px;letter-spacing:1px}
.loop-hir{font-family:var(--mono);font-size:9px;color:var(--ink3);margin-top:10px;line-height:1.7;border-top:1px solid var(--loop-border);padding-top:8px}

/* TRAINING LEVELS */
.tl-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
.tl-card{border:1px solid var(--rule);border-radius:3px;padding:10px;background:var(--bg2)}
.tl-card-num{font-family:var(--serif);font-size:28px;font-style:italic;line-height:1;margin-bottom:4px}
.tl-card-title{font-family:var(--mono);font-size:9px;font-weight:600;letter-spacing:1px;text-transform:uppercase;margin-bottom:5px}
.tl-card-body{font-family:var(--mono);font-size:9px;color:var(--ink3);line-height:1.5}
.tl-ev{font-family:var(--mono);font-size:8px;padding:2px 6px;border-radius:2px;margin-top:5px;display:inline-block;letter-spacing:.5px}
.tl-1{border-left:3px solid var(--allow);color:var(--allow)}
.tl-2{border-left:3px solid var(--caution);color:var(--caution)}
.tl-3{border-left:3px solid var(--func);color:var(--func)}
.tl-4{border-left:3px solid var(--unc-b);color:var(--unc-b)}

/* TABLES */
table{width:100%;border-collapse:collapse;font-family:var(--mono);font-size:10.5px;margin:10px 0}
thead th{background:var(--bg3);border:1px solid var(--rule);padding:5px 9px;text-align:left;letter-spacing:1px;text-transform:uppercase;font-size:8.5px;color:var(--ink3);font-weight:600}
tbody td{border:1px solid var(--rule);padding:5px 9px;vertical-align:top;line-height:1.5}
tbody tr:hover td{background:var(--bg2)}
.td-key{color:var(--ink);font-weight:600}
.td-sm{font-size:9.5px}

/* CHIPS */
.chip{display:inline-block;font-family:var(--mono);font-size:8px;padding:1px 5px;border-radius:2px;margin:1px;letter-spacing:.5px;white-space:nowrap}
.ch-neu{background:var(--neu-bg);color:var(--neu);border:1px solid var(--neu-border)}
.ch-path{background:var(--path-bg);color:var(--path);border:1px solid var(--path-border)}
.ch-func{background:var(--func-bg);color:var(--func);border:1px solid var(--func-border)}
.ch-a{background:var(--unc-a-bg);color:var(--unc-a);border:1px solid var(--unc-a-border)}
.ch-b{background:var(--unc-b-bg);color:var(--unc-b);border:1px solid var(--unc-b-border)}
.ch-bf{background:var(--bf-bg);color:var(--bf);border:1px solid var(--bf-border)}
.ch-ok{background:var(--allow-bg);color:var(--allow);border:1px solid var(--allow-border)}
.ch-warn{background:var(--caution-bg);color:var(--caution);border:1px solid var(--caution-border)}
.ch-block{background:var(--block-bg);color:var(--block);border:1px solid var(--block-border)}

/* EVIDENCE LEVELS */
.ev-a{background:var(--allow-bg);color:var(--allow);border:1px solid var(--allow-border)}
.ev-b{background:var(--caution-bg);color:var(--caution);border:1px solid var(--caution-border)}
.ev-c{background:var(--func-bg);color:var(--func);border:1px solid var(--func-border)}
.ev-ins{background:var(--block-bg);color:var(--block);border:1px solid var(--block-border)}
.ev-rv{background:var(--unc-a-bg);color:var(--unc-a);border:1px solid var(--unc-a-border)}

/* CODE BLOCKS */
pre{background:var(--bg3);border:1px solid var(--rule);border-radius:3px;padding:14px 16px;
    font-family:var(--mono);font-size:10.5px;line-height:1.7;overflow-x:auto;margin:10px 0;color:var(--ink2)}
pre .k{color:var(--unc-a);font-weight:600}
pre .v{color:var(--allow)}
pre .s{color:var(--func)}
pre .c{color:var(--ink3);font-style:italic}
pre .e{color:var(--unc-b)}
pre .b{color:var(--bf)}

/* RULE BLOCKS */
.rule-block{border:1px solid;border-radius:3px;padding:10px 14px;margin:7px 0;font-family:var(--mono);font-size:10.5px;line-height:1.7}
.rb-allow{border-color:var(--allow-border);background:var(--allow-bg);color:var(--allow)}
.rb-caution{border-color:var(--caution-border);background:var(--caution-bg);color:var(--caution)}
.rb-block{border-color:var(--block-border);background:var(--block-bg);color:var(--block)}
.rb-label{font-size:8.5px;letter-spacing:2px;text-transform:uppercase;margin-bottom:4px;opacity:.85}
.rb-content{color:var(--ink2)}

/* SIGNAL CARDS */
.signal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.signal-card{border:1px solid var(--rule);border-radius:3px;padding:11px 13px;background:var(--bg2)}
.sc-id{font-family:var(--mono);font-size:8.5px;color:var(--ink3);letter-spacing:2px;margin-bottom:3px}
.sc-name{font-family:var(--sans);font-size:13.5px;font-weight:600;margin-bottom:5px;color:var(--ink)}
.sc-row{font-family:var(--mono);font-size:9.5px;color:var(--ink3);line-height:1.7;margin-top:4px}
.sc-row strong{color:var(--ink)}

/* UNCERTAINTY CARDS */
.unc-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.unc-card{border:1px solid var(--rule);border-radius:3px;padding:10px 12px;background:var(--bg2)}
.unc-card-title{font-family:var(--mono);font-size:9.5px;font-weight:600;letter-spacing:1px;text-transform:uppercase;margin-bottom:5px}
.unc-card-body{font-family:var(--mono);font-size:9.5px;color:var(--ink3);line-height:1.6}
.uc-a{border-left:3px solid var(--unc-a)}
.uc-b{border-left:3px solid var(--unc-b)}

/* FILE TREE */
.tree{background:var(--bg3);border:1px solid var(--rule);border-radius:3px;padding:14px 16px;
      font-family:var(--mono);font-size:10.5px;line-height:1.9;color:var(--ink2)}
.tree .dir{color:var(--ink);font-weight:600}
.tree .ann{color:var(--ink3);font-size:9.5px;font-style:italic}

/* STAGE ROWS */
.stage-row{display:grid;grid-template-columns:70px 1fr;gap:0;border:1px solid var(--rule);margin-bottom:7px;border-radius:3px;overflow:hidden}
.stage-num{background:var(--bg3);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:24px;font-style:italic;color:var(--ink3);border-right:1px solid var(--rule);flex-shrink:0}
.stage-body{padding:9px 13px}
.stage-title{font-family:var(--sans);font-size:13px;font-weight:600;margin-bottom:2px;color:var(--ink)}
.stage-source{font-family:var(--mono);font-size:8.5px;color:var(--ink3);letter-spacing:1px;margin-bottom:4px}
.stage-body p{font-family:var(--mono);font-size:9.5px;color:var(--ink3);line-height:1.5}

/* PLAIN LANGUAGE */
.plain-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}
.plain-card{border:1px solid var(--rule);border-radius:3px;padding:12px 14px;background:var(--bg2)}
.plain-card-title{font-family:var(--sans);font-size:14px;font-weight:600;margin-bottom:7px;color:var(--ink)}
.plain-card-body{font-family:var(--sans);font-size:13px;color:var(--ink2);line-height:1.6}

/* CALLOUT */
.callout{border:1px solid var(--caution-border);border-radius:3px;background:var(--caution-bg);padding:9px 13px;margin:10px 0;font-family:var(--mono);font-size:9.5px;color:var(--ink2);line-height:1.7}
.callout strong{color:var(--caution)}

/* REVIEW */
.rv{font-family:var(--mono);font-size:8px;padding:1px 6px;border-radius:2px;background:var(--caution-bg);color:var(--caution);border:1px solid var(--caution-border);white-space:nowrap}

/* FOOTER */
.footer{border-top:1px solid var(--rule);padding-top:16px;margin-top:40px;font-family:var(--mono);font-size:8.5px;color:var(--ink3);line-height:1.8}

@media(max-width:760px){
  .tl-grid,.plain-grid,.signal-grid,.unc-grid{grid-template-columns:1fr}
  .loop-row{min-width:600px}
  .stage-row{grid-template-columns:50px 1fr}
}
</style>
</head>
<body>

<!-- ══ HEADER ══ -->
<div class="hdr">
  <div class="hdr-kicker">Primordial Architecture Series Β· Biofeedback Layer Β· v0.1 Β· Builds on Brain Layer v0.1</div>
  <div class="hdr-title">Primordial Biofeedback Layer v0.1<br><em>HIR-Governed Physiological Signal Mapping</em></div>
  <div class="hdr-sub">
    Signal Modalities Β· Feedback Loop Architecture Β· Protocol Registry Β· Training Level Taxonomy Β· Evidence Classification<br>
    <strong>NOT clinical Β· NOT diagnostic Β· NOT a real-time treatment system Β· NOT a direct brain measurement Β· Theoretical architecture mapping only</strong>
  </div>
  <div class="hdr-meta">
    <span class="hdr-chip">Created and Developed by Collin D. Weber</span>
    <span class="hdr-chip">April 30, 2026</span>
    <span class="hdr-chip">Extends Brain Layer v0.1</span>
    <span class="hdr-chip">HIR-Governed Β· R-13 through R-22</span>
  </div>
</div>

<!-- INVARIANT -->
<div class="invariant">
  <strong>Inherited Core Invariant (from Brain Layer v0.1):</strong><br>
  Unknown neural mechanism may preserve possibility space. Noisy, incomplete, artifact-heavy, or provenance-weak data may invalidate interpretation. Neither may become positive evidence about a person.<br>
  <strong>Biofeedback extension:</strong> A within-session signal change is not a confirmed mechanism change. Training an output is not training the brain region. Correlation between biofeedback signal and behavior is not a confirmed causal chain.
</div>

<!-- LAYER LINK -->
<div class="layer-link">
  <strong>Brain Layer v0.1 IDs in scope:</strong>
  Regions: BR-01 through BR-17 &nbsp;Β·&nbsp; Pathways: PW-01 through PW-09 &nbsp;Β·&nbsp; Output Effects: OUT-01 through OUT-14<br>
  Uncertainty: UA-01–09 (neurophysical) Β· UB-01–13 (measurement) &nbsp;Β·&nbsp; Rules: R-01 through R-12 (inherited, not repeated)<br>
  <strong>This layer adds:</strong> BF-01–08 (signals) Β· BP-01–10 (protocols) Β· FL-1–7 (feedback loop stages) Β· BA-01–07 + BB-01–09 (new uncertainty) Β· R-13–R-22 (new HIR rules)
</div>

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 1: SCOPE -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 1</div>
  <div class="section-title">Scope, Boundary, and <em>Core Mapping Claim</em></div>
  <div class="section-body">
    <p>Biofeedback is the process of measuring physiological signals from the body, processing them in real time, and presenting an output β€” a sound, a number, a display β€” that reflects some feature of that signal, enabling a person to attempt to modulate it. This layer maps the biofeedback process onto the Primordial Brain Layer v0.1 framework.</p>
    <p>The central architectural claim of this layer, and the claim that requires the most careful HIR governance: <strong>biofeedback signals are distal proxies, not direct measurements of specific brain structures.</strong> A scalp EEG electrode is separated from the brain region it is most commonly associated with by volume conduction through scalp, skull, meninges, and cerebrospinal fluid, plus the mixing of signals from large cortical populations. An HRV measurement is separated from the autonomic control structures of the brainstem and hypothalamus by the entire peripheral autonomic chain. The feedback loop is real and measurable; the causal path from feedback display back to a specific brain region is probabilistic and requires separate validation at each step.</p>
  </div>

  <table>
    <thead><tr><th>In scope</th><th>Out of scope</th></tr></thead>
    <tbody>
      <tr><td>Physiological signal modalities and what they directly measure</td><td>Biofeedback as a proven mechanism for reorganizing specific brain structures</td></tr>
      <tr><td>The feedback loop architecture as an engineered system</td><td>Neurofeedback as a diagnostic tool</td></tr>
      <tr><td>Protocol definitions with evidence classifications</td><td>Biofeedback signals as objective measures of mental states</td></tr>
      <tr><td>Training level taxonomy (session state vs. skill vs. generalization vs. mechanism)</td><td>Biofeedback as a replacement for clinical evaluation or treatment</td></tr>
      <tr><td>Signal-to-brain-layer mapping with explicit uncertainty</td><td>Overclaims about specific brain regions being "trained" without mechanism evidence</td></tr>
      <tr><td>Extended uncertainty taxonomy for biofeedback-specific unknowns</td><td>Character, identity, or diagnostic inferences from biofeedback signals</td></tr>
      <tr><td>HIR rules R-13 through R-22 extending the brain layer rule set</td><td>Any claim not grounded in cited, bounded evidence</td></tr>
    </tbody>
  </table>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 2: FEEDBACK LOOP ARCHITECTURE -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 2</div>
  <div class="section-title">The <em>Feedback Loop Architecture</em></div>
  <div class="section-body">
    <p>The biofeedback loop is an engineered system with seven stages. HIR governance applies at each stage independently β€” a clean signal at stage 2 does not compensate for a provenance failure at stage 1, and a valid feedback display at stage 5 does not authorize mechanistic claims about stage 7. Each gate is independent.</p>
  </div>

  <div class="loop-diagram">
    <div class="loop-title">Feedback Loop Stages β€” HIR Governance at Each Stage</div>
    <div class="loop-row">
      <div class="loop-stage">
        <span class="ls-num">FL-1</span>
        <span class="ls-name">Sensor / Electrode</span>
        <span class="ls-sub">Placement Β· impedance Β· contact Β· modality</span>
      </div>
      <div class="loop-arrow">β†’</div>
      <div class="loop-stage">
        <span class="ls-num">FL-2</span>
        <span class="ls-name">Signal Acquisition</span>
        <span class="ls-sub">Amplifier Β· sampling rate Β· filter settings Β· device</span>
      </div>
      <div class="loop-arrow">β†’</div>
      <div class="loop-stage">
        <span class="ls-num">FL-3</span>
        <span class="ls-name">Preprocessing</span>
        <span class="ls-sub">Artifact rejection Β· filtering Β· referencing Β· baseline</span>
      </div>
      <div class="loop-arrow">β†’</div>
      <div class="loop-stage">
        <span class="ls-num">FL-4</span>
        <span class="ls-name">Feature Extraction</span>
        <span class="ls-sub">Band power Β· HRV metric Β· RMS Β· threshold</span>
      </div>
      <div class="loop-arrow">β†’</div>
      <div class="loop-stage">
        <span class="ls-num">FL-5</span>
        <span class="ls-name">Feedback Display</span>
        <span class="ls-sub">Tone Β· graph Β· animation Β· reward</span>
      </div>
      <div class="loop-arrow">β†’</div>
      <div class="loop-stage">
        <span class="ls-num">FL-6</span>
        <span class="ls-name">Person Response</span>
        <span class="ls-sub">Voluntary/involuntary modulation attempt</span>
      </div>
      <div class="loop-arrow">β†’</div>
      <div class="loop-stage">
        <span class="ls-num">FL-7</span>
        <span class="ls-name">Physiological Change</span>
        <span class="ls-sub">Signal shift β†’ back to FL-1</span>
      </div>
    </div>
    <div class="loop-hir">
      <strong>H gate (FL-1, FL-2, FL-3):</strong> Sensor placement, impedance, artifact, filter settings, and device specifications must be documented. Unknown electrode contact quality = UB-01 risk. Undocumented preprocessing = UB-12.<br>
      <strong>I gate (FL-4, FL-5):</strong> The feature presented in feedback must be labeled as what it is: a signal feature, not a brain state. Alpha power at Pz is not "relaxation." theta/beta ratio at Fz is not "ADHD." The display must not label the feature in ways that collapse signal-to-brain-region uncertainty.<br>
      <strong>R gate (FL-6, FL-7):</strong> A physiological signal change during a session cannot be used to infer character, capacity, diagnosis, or identity. Person-level claims are blocked regardless of within-session signal change. R-07 (inherited from Brain Layer) applies at every loop cycle.
    </div>
  </div>

  <table style="margin-top:10px">
    <thead><tr><th>Loop Stage</th><th>What it produces</th><th>What it does NOT establish</th><th>Key uncertainty classes</th></tr></thead>
    <tbody>
      <tr><td class="td-key">FL-1 β€” Sensor</td><td class="td-sm">Raw physiological voltage or current</td><td class="td-sm">Specific brain region activity</td><td><span class="chip ch-b">BB-01</span> <span class="chip ch-b">BB-02</span></td></tr>
      <tr><td class="td-key">FL-2 β€” Acquisition</td><td class="td-sm">Digitized signal with known sampling parameters</td><td class="td-sm">Clean, artifact-free signal (must be verified)</td><td><span class="chip ch-b">UB-04</span> <span class="chip ch-b">BB-03</span></td></tr>
      <tr><td class="td-key">FL-3 β€” Preprocessing</td><td class="td-sm">Filtered, referenced, artifact-rejected signal</td><td class="td-sm">Ground truth; preprocessing choices alter outcomes</td><td><span class="chip ch-b">UB-12</span> <span class="chip ch-b">BB-04</span></td></tr>
      <tr><td class="td-key">FL-4 β€” Feature</td><td class="td-sm">A scalar metric (band power, HRV, RMS)</td><td class="td-sm">The brain state the metric is "associated with"</td><td><span class="chip ch-a">BA-01</span> <span class="chip ch-a">BA-04</span></td></tr>
      <tr><td class="td-key">FL-5 β€” Feedback</td><td class="td-sm">A display signal that responds to the feature</td><td class="td-sm">Clinical outcome, psychological state, diagnosis</td><td><span class="chip ch-a">BA-02</span> <span class="chip ch-a">BA-05</span></td></tr>
      <tr><td class="td-key">FL-6 β€” Response</td><td class="td-sm">A behavioral attempt to modulate the signal</td><td class="td-sm">Which cognitive strategy worked; why</td><td><span class="chip ch-a">BA-03</span> <span class="chip ch-a">BA-06</span></td></tr>
      <tr><td class="td-key">FL-7 β€” Change</td><td class="td-sm">Within-session signal shift</td><td class="td-sm">Lasting neural change, generalization, or mechanism</td><td><span class="chip ch-a">BA-01</span> <span class="chip ch-a">BA-07</span></td></tr>
    </tbody>
  </table>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 3: BIOFEEDBACK SIGNAL REGISTRY -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 3</div>
  <div class="section-title">Biofeedback <em>Signal Registry</em></div>
  <div class="section-body">
    <p>For each signal, the most important entry is <strong>what it directly measures</strong> β€” not what it is commonly claimed to measure. The gap between these two is where most overclaiming occurs.</p>
  </div>

  <div class="signal-grid">

    <div class="signal-card" style="border-left:3px solid var(--bf)">
      <div class="sc-id">BF-01</div>
      <div class="sc-name">EEG / Neurofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Scalp electrical potential β€” sum of synchronized postsynaptic potentials from large cortical neuron populations, volume-conducted through CSF, meninges, skull, and scalp</div>
      <div class="sc-row"><strong>Does NOT directly measure:</strong> Activity in specific brain regions, subcortical structures, individual neurons, or deep white matter</div>
      <div class="sc-row"><strong>Brain Layer connections (indirect):</strong> Electrode location and frequency band determine which regions are most likely contributing β€” Cz: BR-05/BR-06 area; frontal: BR-01; occipital: BR-07; temporal: BR-03/BR-08</div>
      <div class="sc-row"><strong>Pathways:</strong> Corticothalamic loops influence band power (thalamus BR-12 β†’ cortex)</div>
      <div class="sc-row"><strong>Key frequency bands:</strong> delta (0.5–4 Hz, sleep/pathology), theta (4–8 Hz, drowsiness, frontal cognitive), alpha (8–12 Hz, relaxed wakefulness, visual suppression), SMR (12–15 Hz, sensorimotor inhibition), beta (12–30 Hz, active cognition, motor readiness), gamma (>30 Hz, binding β€” highly artifact-susceptible)</div>
      <div class="sc-row"><strong>Artifact sources:</strong> Muscle (EMG) β€” overwhelms gamma and high-beta; eye movement (EOG); cardiac (ECG); electrode contact; environmental EMI (50/60 Hz)</div>
      <div class="sc-row"><strong>Volume conduction problem:</strong> A signal at any electrode reflects contributions from a wide cortical area, not just the region underneath. Spatial resolution ~2–3 cm at best without source localization</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-a">BA-01</span> <span class="chip ch-a">UA-03</span> <span class="chip ch-b">UB-11</span> <span class="chip ch-b">BB-01</span></div>
    </div>

    <div class="signal-card" style="border-left:3px solid var(--path)">
      <div class="sc-id">BF-02</div>
      <div class="sc-name">EMG Biofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Sum of motor unit action potentials from muscle fibers beneath the surface electrodes (surface EMG)</div>
      <div class="sc-row"><strong>Brain Layer connections:</strong> PW-01 (corticospinal tract) β†’ motor neurons β†’ muscle; BR-05 (motor cortex) drives motor commands; cerebellum BR-10 modulates timing</div>
      <div class="sc-row"><strong>Output effects:</strong> OUT-01 (movement), OUT-02 (balance), pelvic floor, tension headache (trapezius/frontalis)</div>
      <div class="sc-row"><strong>Evidence level:</strong> <span class="chip ev-a">Level A</span> for targeted motor rehabilitation, tension headaches, pelvic floor dysfunction</div>
      <div class="sc-row"><strong>Mechanism clarity:</strong> Highest of all biofeedback modalities. Signal β†’ muscle = clear causal chain. Brain-level mechanism still requires caution for broader claims.</div>
      <div class="sc-row"><strong>Artifact sources:</strong> Movement artifact, cross-talk from adjacent muscles, electrode placement precision</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-b">BB-02</span> (cross-talk) <span class="chip ch-a">UA-03</span> (motor network distribution)</div>
    </div>

    <div class="signal-card" style="border-left:3px solid var(--loop)">
      <div class="sc-id">BF-03</div>
      <div class="sc-name">HRV Biofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Inter-beat interval variability of the cardiac cycle (R-R intervals from ECG or photoplethysmography)</div>
      <div class="sc-row"><strong>Does NOT directly measure:</strong> Brain activity; brain region activity; autonomic nerve firing rates directly</div>
      <div class="sc-row"><strong>Physiological chain:</strong> BR-11 (brainstem autonomic nuclei) β†’ BR-13 (hypothalamus) β†’ PW-07 (autonomic pathways) β†’ vagus nerve / sympathetic chain β†’ sinoatrial node β†’ heart rate variability</div>
      <div class="sc-row"><strong>Causal distance:</strong> 5–7 steps from brainstem to sensor. Each step has its own variability and uncertainty.</div>
      <div class="sc-row"><strong>Resonant frequency:</strong> ~0.1 Hz (~6 breaths/min) maximizes respiratory sinus arrhythmia and baroreflex sensitivity amplitude</div>
      <div class="sc-row"><strong>Output effects:</strong> OUT-12 (emotional regulation), OUT-13 (autonomic regulation), OUT-14 (breathing)</div>
      <div class="sc-row"><strong>Evidence level:</strong> <span class="chip ev-b">Level B</span> for anxiety, stress, hypertension β€” better than most neurofeedback</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-a">BA-03</span> <span class="chip ch-a">UA-07</span> <span class="chip ch-b">UB-06</span> (medication alters HRV substantially)</div>
    </div>

    <div class="signal-card" style="border-left:3px solid var(--func)">
      <div class="sc-id">BF-04</div>
      <div class="sc-name">GSR / EDA Biofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Skin conductance β€” eccrine sweat gland activity driven by sympathetic cholinergic innervation</div>
      <div class="sc-row"><strong>Does NOT directly measure:</strong> Specific emotions; anxiety vs. excitement; cognitive load vs. arousal β€” EDA is non-specific to valence</div>
      <div class="sc-row"><strong>Physiological chain:</strong> BR-13 (hypothalamus) β†’ sympathetic chain β†’ sweat gland secretion β†’ skin conductance</div>
      <div class="sc-row"><strong>Critical limitation:</strong> EDA responds to any arousing stimulus regardless of emotional valence. Cannot distinguish stress from excitement from startle from physical exertion.</div>
      <div class="sc-row"><strong>Output effects:</strong> OUT-13 (autonomic, very indirect)</div>
      <div class="sc-row"><strong>Evidence level:</strong> <span class="chip ev-c">Level C</span> for biofeedback clinical applications β€” primarily a research/exploratory tool</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-a">BA-04</span> <span class="chip ch-b">BB-06</span> (temperature artifact) <span class="chip ch-b">UB-06</span></div>
      <div class="sc-row"><strong>Overclaim risk:</strong> <span class="chip ch-block">HIGH</span> β€” "stress level," "emotional state," "lie detection" claims are all overreaches</div>
    </div>

    <div class="signal-card" style="border-left:3px solid var(--allow)">
      <div class="sc-id">BF-05</div>
      <div class="sc-name">Respiratory Biofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Breathing rate, tidal volume, respiratory pattern (via belt, capnography, or nasal thermistor)</div>
      <div class="sc-row"><strong>Physiological chain:</strong> BR-11 (brainstem respiratory centers β€” pre-BΓΆtzinger complex, pons) β†’ respiratory muscles β†’ airflow Β· voluntary cortical override via BR-01 (frontal)</div>
      <div class="sc-row"><strong>Output effects:</strong> OUT-14 (breathing/heart-rate), OUT-13 (autonomic, secondary via COβ‚‚/pH effects)</div>
      <div class="sc-row"><strong>Evidence level:</strong> <span class="chip ev-a">Level A–B</span> for anxiety, asthma, hypertension, vocal performance</div>
      <div class="sc-row"><strong>Mechanism clarity:</strong> High β€” direct voluntary control of breathing is well-established; downstream autonomic effects via COβ‚‚/pH and baroreflex are well-characterized</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-b">BB-07</span> (sensor placement) <span class="chip ch-a">UA-07</span> (context-dependence)</div>
    </div>

    <div class="signal-card" style="border-left:3px solid var(--neu)">
      <div class="sc-id">BF-06</div>
      <div class="sc-name">Temperature Biofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Peripheral skin temperature β€” typically finger pad via thermistor</div>
      <div class="sc-row"><strong>Physiological chain:</strong> BR-13 (hypothalamus) β†’ sympathetic vasomotor pathways β†’ peripheral arteriole smooth muscle β†’ vasoconstriction / dilation β†’ skin temperature</div>
      <div class="sc-row"><strong>Output effects:</strong> OUT-13 (autonomic β€” peripheral vasomotor control)</div>
      <div class="sc-row"><strong>Evidence level:</strong> <span class="chip ev-a">Level A</span> for Raynaud's disease; <span class="chip ev-b">Level B</span> for peripheral vascular migraine trigger</div>
      <div class="sc-row"><strong>Mechanism:</strong> Learned relaxation of sympathetic vasoconstriction β†’ vasodilation β†’ warming. Relatively specific for peripheral vasomotor tone.</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-b">BB-06</span> (ambient temperature confound) <span class="chip ch-a">UA-07</span></div>
    </div>

    <div class="signal-card" style="border-left:3px solid var(--bf)">
      <div class="sc-id">BF-07</div>
      <div class="sc-name">fNIRS Biofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Hemodynamic response (oxyHb / deoxyHb concentration changes) via near-infrared light absorption in superficial cortex</div>
      <div class="sc-row"><strong>Relative advantage over EEG:</strong> More spatially localized to cortical surface; no volume conduction across skull for hemodynamic signal; portable</div>
      <div class="sc-row"><strong>Key limits:</strong> Only samples superficial cortex (~1–2 cm depth); hemodynamic response is slower (seconds) than neural events (milliseconds); motion artifact; hair/melanin affects signal</div>
      <div class="sc-row"><strong>Evidence level:</strong> <span class="rv">REVIEW_REQUIRED</span> β€” newer modality; limited biofeedback-specific controlled trials</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-a">BA-01</span> <span class="chip ch-b">UB-04</span> <span class="chip ch-b">BB-08</span> (melanin/hair interference)</div>
    </div>

    <div class="signal-card" style="border-left:3px solid var(--caution)">
      <div class="sc-id">BF-08</div>
      <div class="sc-name">Blood Pressure Biofeedback</div>
      <div class="sc-row"><strong>Directly measures:</strong> Systolic / diastolic blood pressure (continuous or intermittent)</div>
      <div class="sc-row"><strong>Physiological chain:</strong> Cardiac output Γ— total peripheral resistance β†’ multiple central (BR-11, BR-13) and peripheral regulatory mechanisms</div>
      <div class="sc-row"><strong>Limitation:</strong> Blood pressure is the output of a very distributed regulatory system; many steps from central brain structures; hard to attribute changes to specific mechanisms</div>
      <div class="sc-row"><strong>Evidence level:</strong> <span class="rv">REVIEW_REQUIRED</span> β€” some evidence for hypertension as adjunct therapy; not a primary biofeedback modality in most frameworks</div>
      <div class="sc-row"><strong>Key uncertainty classes:</strong> <span class="chip ch-a">UA-03</span> <span class="chip ch-b">UB-06</span> <span class="chip ch-b">BB-07</span></div>
    </div>

  </div>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 4: TRAINING LEVEL TAXONOMY -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 4</div>
  <div class="section-title">Training Level <em>Taxonomy</em> β€” The Distance Problem</div>
  <div class="section-body">
    <p>The most important governance concept in this layer. Every biofeedback outcome claim must be classified by its training level. Demonstrating Level 1 does not validate any higher level. Most overclaiming in biofeedback occurs when Level 1 evidence is used to assert Level 3 or Level 4 outcomes. Each level requires its own separate validation.</p>
  </div>

  <div class="tl-grid">
    <div class="tl-card tl-1">
      <div class="tl-card-num">1</div>
      <div class="tl-card-title">Within-Session State Change</div>
      <div class="tl-card-body">
        The signal feature changes during a feedback session. The person can modulate the metric in real time.<br><br>
        Most easily demonstrated.<br>
        Does NOT establish: skill, generalization, or neural mechanism.
      </div>
      <div class="tl-ev" style="background:var(--allow-bg);color:var(--allow);border:1px solid var(--allow-border)">Easiest to demonstrate</div>
    </div>
    <div class="tl-card tl-2">
      <div class="tl-card-num">2</div>
      <div class="tl-card-title">Between-Session Skill Acquisition</div>
      <div class="tl-card-body">
        Modulation ability improves across multiple sessions. Signal change persists into adjacent time periods (not just during feedback).<br><br>
        Requires: multiple sessions, control for practice/regression to mean.<br>
        Does NOT establish: daily-life transfer or mechanism.
      </div>
      <div class="tl-ev" style="background:var(--caution-bg);color:var(--caution);border:1px solid var(--caution-border)">Requires controlled design</div>
    </div>
    <div class="tl-card tl-3">
      <div class="tl-card-num">3</div>
      <div class="tl-card-title">Transfer / Generalization</div>
      <div class="tl-card-body">
        Acquired skill transfers to daily-life function. A behavioral or functional outcome improves in ecological validity conditions, without the feedback device.<br><br>
        Requires: ecological outcome measures, follow-up, comparator group.<br>
        Does NOT establish: neural mechanism of transfer.
      </div>
      <div class="tl-ev" style="background:var(--func-bg);color:var(--func);border:1px solid var(--func-border)">Clinical claims require Level 3</div>
    </div>
    <div class="tl-card tl-4">
      <div class="tl-card-num">4</div>
      <div class="tl-card-title">Neural Mechanism Confirmation</div>
      <div class="tl-card-body">
        The neural substrate underlying the clinical change is identified. Requires neuroimaging or electrophysiology before and after training, in controlled conditions, with preregistered hypotheses.<br><br>
        Rarely demonstrated. Often assumed. Cannot be inferred from Levels 1–3.
      </div>
      <div class="tl-ev" style="background:var(--unc-b-bg);color:var(--unc-b);border:1px solid var(--unc-b-border)">Almost never established</div>
    </div>
  </div>

  <div class="callout">
    <strong>The training level rule (R-18):</strong> Any clinical or therapeutic claim about biofeedback must explicitly state which training level it demonstrates. A claim supported by Level 1 evidence may not be presented as a Level 3 or Level 4 outcome. This applies to protocol descriptions, marketing materials, and clinical notes generated by or using this system.
  </div>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 5: PROTOCOL REGISTRY -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 5</div>
  <div class="section-title"><em>Protocol Registry</em></div>

  <table>
    <thead>
      <tr><th>Protocol ID</th><th>Name</th><th>Signal</th><th>Target</th><th>Brain Layer Links</th><th>Evidence Level</th><th>Training Level Evidence</th><th>Overclaim Risk</th></tr>
    </thead>
    <tbody>
      <tr>
        <td class="td-key">BP-01</td>
        <td class="td-sm"><strong>SMR / Theta-Beta</strong><br>Neurofeedback</td>
        <td class="td-sm">BF-01 (EEG)<br>SMR ↑ (12–15 Hz) at C3/Cz/C4<br>Theta ↓ at Fz</td>
        <td class="td-sm">Attention Β· impulse regulation</td>
        <td class="td-sm">BR-05 (indirect), OUT-10, OUT-11</td>
        <td><span class="chip ev-b">Level B</span></td>
        <td class="td-sm">Level 1–2 demonstrated; Level 3 contested; Level 4 not established</td>
        <td><span class="chip ch-block">High</span> β€” "trains the ADHD brain" not established; mechanism unconfirmed</td>
      </tr>
      <tr>
        <td class="td-key">BP-02</td>
        <td class="td-sm"><strong>Alpha Enhancement</strong><br>Neurofeedback</td>
        <td class="td-sm">BF-01 (EEG)<br>Alpha ↑ (8–12 Hz)<br>Typically Pz or Oz</td>
        <td class="td-sm">Relaxation Β· anxiety reduction</td>
        <td class="td-sm">BR-07 (visual alpha suppression), BR-01 (frontal alpha), OUT-12</td>
        <td><span class="chip ev-c">Level C</span></td>
        <td class="td-sm">Level 1 demonstrated; Level 3 insufficient; Level 4 absent</td>
        <td><span class="chip ch-warn">Medium</span> β€” "creativity enhancement" claims not established; relaxation β‰  alpha alone</td>
      </tr>
      <tr>
        <td class="td-key">BP-03</td>
        <td class="td-sm"><strong>Slow Cortical Potential</strong><br>Neurofeedback (SCP)</td>
        <td class="td-sm">BF-01 (EEG)<br>Slow cortical potential direction (positive/negative shifts)</td>
        <td class="td-sm">Cortical excitability Β· ADHD Β· epilepsy</td>
        <td class="td-sm">BR-01 (excitability), OUT-10, OUT-11</td>
        <td><span class="chip ev-b">Level B</span></td>
        <td class="td-sm">Level 1–2 demonstrated; Level 3 evidence for ADHD and epilepsy exists but limited</td>
        <td><span class="chip ch-warn">Medium</span> β€” Better mechanistic model than frequency-based; still requires careful clinical context</td>
      </tr>
      <tr>
        <td class="td-key">BP-04</td>
        <td class="td-sm"><strong>Frontal Alpha Asymmetry</strong><br>Neurofeedback</td>
        <td class="td-sm">BF-01 (EEG)<br>F4 alpha βˆ’ F3 alpha asymmetry</td>
        <td class="td-sm">Emotional regulation Β· approach motivation</td>
        <td class="td-sm">BR-01 (prefrontal), OUT-12</td>
        <td><span class="chip ev-ins">Insufficient</span></td>
        <td class="td-sm">Based on group-level EEG emotion research; individual-level application not validated</td>
        <td><span class="chip ch-block">High</span> β€” "Training emotional states" claim not established; R-08 applies (group finding β‰  individual proof)</td>
      </tr>
      <tr>
        <td class="td-key">BP-05</td>
        <td class="td-sm"><strong>LORETA Neurofeedback</strong></td>
        <td class="td-sm">BF-01 (EEG)<br>Source-localized current density estimate</td>
        <td class="td-sm">Region-specific neurofeedback</td>
        <td class="td-sm">Any BR target (source localization dependent); adds UA-04 to all inherited uncertainty</td>
        <td><span class="chip ev-ins">Very limited</span></td>
        <td class="td-sm">Source localization adds inverse problem uncertainty; Level 4 claim more pronounced but evidence weaker</td>
        <td><span class="chip ch-block">High</span> β€” "Directly targeting hippocampus" or "directly training amygdala" overclaims source localization certainty substantially</td>
      </tr>
      <tr>
        <td class="td-key">BP-06</td>
        <td class="td-sm"><strong>HRV Resonance</strong><br>Biofeedback</td>
        <td class="td-sm">BF-03 (HRV)<br>Resonant frequency breathing (~0.1 Hz)</td>
        <td class="td-sm">Autonomic regulation Β· stress Β· anxiety</td>
        <td class="td-sm">PW-07, BR-11, BR-13, OUT-12, OUT-13</td>
        <td><span class="chip ev-b">Level B</span></td>
        <td class="td-sm">Level 2–3 evidence for anxiety, hypertension; mechanism partially understood (baroreflex, RSA)</td>
        <td><span class="chip ch-warn">Medium</span> β€” Cardiac signal β‰  brain state; medication effects on HRV must be documented</td>
      </tr>
      <tr>
        <td class="td-key">BP-07</td>
        <td class="td-sm"><strong>EMG Biofeedback</strong><br>(targeted)</td>
        <td class="td-sm">BF-02 (EMG)<br>Specific muscle group amplitude</td>
        <td class="td-sm">Motor rehabilitation Β· tension Β· pelvic floor</td>
        <td class="td-sm">PW-01, BR-05, BR-10, OUT-01, OUT-02</td>
        <td><span class="chip ev-a">Level A</span></td>
        <td class="td-sm">Level 3 demonstrated for targeted applications; mechanism clear at neuromuscular level</td>
        <td><span class="chip ch-ok">Low (for targeted applications)</span> β€” Signal-muscle causal chain clear; brain-level claims still need caution</td>
      </tr>
      <tr>
        <td class="td-key">BP-08</td>
        <td class="td-sm"><strong>Respiratory</strong><br>Biofeedback</td>
        <td class="td-sm">BF-05 (Respiratory)<br>Rate, pattern, tidal volume</td>
        <td class="td-sm">Anxiety Β· asthma Β· hypertension Β· vocal</td>
        <td class="td-sm">BR-11, OUT-14, OUT-13 (secondary)</td>
        <td><span class="chip ev-a">Level A–B</span></td>
        <td class="td-sm">Level 3 demonstrated; mechanism via COβ‚‚/pH and baroreflex well-supported</td>
        <td><span class="chip ch-ok">Low–Medium</span> β€” Direct voluntary control; downstream claims need separate evidence</td>
      </tr>
      <tr>
        <td class="td-key">BP-09</td>
        <td class="td-sm"><strong>Temperature</strong><br>Biofeedback</td>
        <td class="td-sm">BF-06 (Temperature)<br>Finger temperature increase</td>
        <td class="td-sm">Raynaud's Β· migraine (peripheral)</td>
        <td class="td-sm">BR-13, sympathetic vasomotor, OUT-13</td>
        <td><span class="chip ev-a">Level A</span> Raynaud's<br><span class="chip ev-b">Level B</span> migraine</td>
        <td class="td-sm">Level 3 demonstrated for Raynaud's; mechanism via sympathetic vasomotor tone clear</td>
        <td><span class="chip ch-ok">Low (for designated applications)</span> β€” Vasoconstriction mechanism well-characterized for target applications</td>
      </tr>
      <tr>
        <td class="td-key">BP-10</td>
        <td class="td-sm"><strong>GSR / EDA</strong><br>Biofeedback</td>
        <td class="td-sm">BF-04 (GSR)<br>Skin conductance level</td>
        <td class="td-sm">Arousal reduction</td>
        <td class="td-sm">BR-13, sympathetic arousal</td>
        <td><span class="chip ev-c">Level C</span></td>
        <td class="td-sm">Level 1 demonstrated; clinical Level 3 evidence is weak; primarily research tool</td>
        <td><span class="chip ch-block">High</span> β€” EDA cannot distinguish emotional valence; arousal β‰  stress; emotional state inference blocked by R-07</td>
      </tr>
    </tbody>
  </table>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 6: EXTENDED UNCERTAINTY TAXONOMY -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 6</div>
  <div class="section-title">Extended <em>Uncertainty Taxonomy</em> β€” Biofeedback-Specific Classes</div>
  <div class="section-body">
    <p>These classes extend the Brain Layer uncertainty taxonomy (UA-01–09 and UB-01–13). The same rule applies: no uncertainty class may raise confidence or become positive evidence. Brain Layer inherited classes are referenced by their original IDs.</p>
  </div>

  <div class="unc-grid">
    <div class="unc-card uc-a">
      <div class="unc-card-title" style="color:var(--unc-a)">BA Classes β€” Biofeedback Neurophysical Unknowns</div>
      <div class="unc-card-body">
        Unknowns arising from the neurophysiology of the training process itself β€” not from data quality.
      </div>
    </div>
    <div class="unc-card uc-b">
      <div class="unc-card-title" style="color:var(--unc-b)">BB Classes β€” Biofeedback Measurement Unknowns</div>
      <div class="unc-card-body">
        Unknowns arising from signal quality, sensor placement, environmental conditions, or processing choices in the biofeedback system.
      </div>
    </div>
  </div>

  <table>
    <thead><tr><th>Class ID</th><th>Class</th><th>Cat.</th><th>Effect on interpretation</th><th>May suspend?</th><th>May raise confidence?</th></tr></thead>
    <tbody>
      <tr><td class="td-key">BA-01</td><td class="td-sm">training_mechanism_unconfirmed</td><td><span class="chip ch-a">BA</span></td><td class="td-sm">Whether feedback training changed the target neural substrate is unconfirmed (Training Level 4 not established)</td><td>No β€” but caps interpretation at Training Level ≀ 3</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BA-02</td><td class="td-sm">generalization_unvalidated</td><td><span class="chip ch-a">BA</span></td><td class="td-sm">Whether within-session signal change transfers to daily-life function is not established (Training Level 3 not demonstrated)</td><td>Yes β€” blocks clinical effectiveness claims</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BA-03</td><td class="td-sm">operant_conditioning_vs_neural_change</td><td><span class="chip ch-a">BA</span></td><td class="td-sm">Cannot distinguish whether effect is driven by operant reinforcement, relaxation response, expectancy, or direct neural modulation</td><td>No</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BA-04</td><td class="td-sm">target_signal_nonspecific</td><td><span class="chip ch-a">BA</span></td><td class="td-sm">The trained signal feature (e.g., alpha power, EDA) is influenced by multiple neural and non-neural processes simultaneously; cannot be attributed to one brain region or mechanism</td><td>No</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BA-05</td><td class="td-sm">within_session_variability_high</td><td><span class="chip ch-a">BA</span></td><td class="td-sm">Signal feature varies substantially within a session due to state fluctuations, not protocol response; single-session outcome unreliable</td><td>No</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BA-06</td><td class="td-sm">between_session_variability_high</td><td><span class="chip ch-a">BA</span></td><td class="td-sm">Session-to-session baseline variation exceeds training effect size; learning trend not distinguishable from noise without adequate controls</td><td>Yes</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BA-07</td><td class="td-sm">feedback_demand_characteristics</td><td><span class="chip ch-a">BA</span></td><td class="td-sm">Person may alter behavior based on perceived expectations of the feedback task, not the specific physiological signal being trained; confounds training interpretation</td><td>No</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr style="background:var(--bg2)"><td colspan="6" style="font-family:var(--mono);font-size:8.5px;color:var(--unc-b);padding:4px 9px;letter-spacing:1px">CATEGORY BB β€” BIOFEEDBACK MEASUREMENT UNKNOWNS</td></tr>
      <tr><td class="td-key">BB-01</td><td class="td-sm">electrode_impedance_elevated</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">High scalp-electrode impedance reduces signal fidelity and increases noise floor; results unreliable if impedance >5 kΞ© for most EEG systems</td><td>Yes</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-02</td><td class="td-sm">emg_crosstalk</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">EMG signal from adjacent muscles contaminates target muscle recording; muscle specificity claim invalid</td><td>Yes</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-03</td><td class="td-sm">reference_electrode_placement_variable</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">EEG signal is always a differential measurement; reference placement substantially affects power spectra; must be documented</td><td>No</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-04</td><td class="td-sm">filter_settings_alter_signal</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">High-pass, low-pass, and notch filter settings change apparent band power; identical protocol on different devices/settings produces different results</td><td>No</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-05</td><td class="td-sm">baseline_drift</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">Slow DC drift in signal baseline during session causes apparent power changes unrelated to training; particularly affects slow cortical potential protocols</td><td>Conditional</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-06</td><td class="td-sm">temperature_ambient_confound</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">Ambient room temperature independently affects finger temperature and EDA; must be controlled and documented</td><td>Conditional</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-07</td><td class="td-sm">sensor_placement_not_standardized</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">Electrode/sensor placement deviates from protocol specification; cannot compare results across sessions</td><td>Yes</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-08</td><td class="td-sm">hair_melanin_fnirs_interference</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">Hair thickness and melanin concentration substantially affect fNIRS signal quality; must be assessed per individual</td><td>Conditional</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
      <tr><td class="td-key">BB-09</td><td class="td-sm">cognitive_demand_confound</td><td><span class="chip ch-b">BB</span></td><td class="td-sm">The act of watching and responding to the feedback display itself changes the signal (e.g., frontal theta from working memory load); cannot isolate training from feedback-task demands</td><td>No</td><td style="color:var(--unc-b);font-weight:600">Never</td></tr>
    </tbody>
  </table>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 7: SCHEMA EXTENSION -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 7</div>
  <div class="section-title">Schema <em>Extension</em> β€” Biofeedback Feature Record</div>
  <div class="section-body">
    <p>This extends the Brain Layer v0.1 typed schema. Biofeedback records inherit all Brain Layer fields and add the following. The <code>training_level_demonstrated</code> field is required for all protocol-linked records and defaults to 1 (within-session only).</p>
  </div>

  <pre><span class="c">// Biofeedback extension fields β€” appended to Brain Layer v0.1 schema</span>
{
  <span class="c">// --- Signal and Protocol ---</span>
  <span class="k">"signal_id"</span>:                  <span class="b">"enum    // BF-01 through BF-08"</span>,
  <span class="k">"protocol_id"</span>:                <span class="b">"enum    // BP-01 through BP-10 | custom | null"</span>,
  <span class="k">"electrode_placement"</span>:        <span class="b">"string  // 10-20 system label(s) or anatomical description"</span>,
  <span class="k">"frequency_band_target"</span>:      <span class="b">"string | null  // e.g. alpha 8-12Hz | SMR 12-15Hz | null for non-EEG"</span>,
  <span class="k">"feedback_metric"</span>:           <span class="b">"string  // the specific scalar feature being fed back, labeled precisely"</span>,
  <span class="k">"feedback_display_type"</span>:     <span class="b">"enum    // auditory_tone | visual_graph | animation | number | reward_token | other"</span>,

  <span class="c">// --- Session Provenance ---</span>
  <span class="k">"session_number"</span>:            <span class="b">"int     // session number in protocol sequence"</span>,
  <span class="k">"session_duration_min"</span>:      <span class="b">"int"</span>,
  <span class="k">"electrode_impedance_kohm"</span>:   <span class="b">"float | null  // if EEG; flag BB-01 if >5 kΞ©"</span>,
  <span class="k">"device_make_model"</span>:         <span class="b">"string | null"</span>,
  <span class="k">"software_version"</span>:          <span class="b">"string | null  // flag UB-12 if unknown"</span>,
  <span class="k">"filter_settings"</span>:           <span class="b">"string | null  // highpass, lowpass, notch β€” flag BB-04 if undocumented"</span>,
  <span class="k">"reference_placement"</span>:       <span class="b">"string | null  // flag BB-03 if undocumented"</span>,
  <span class="k">"ambient_temperature_c"</span>:     <span class="b">"float | null  // flag BB-06 if undocumented for temp/EDA protocols"</span>,

  <span class="c">// --- Training Level Classification ---</span>
  <span class="k">"training_level_demonstrated"</span>: <span class="b">"int    // 1=within-session | 2=skill acquisition | 3=generalization | 4=mechanism; DEFAULT 1"</span>,
  <span class="k">"training_level_evidence_source"</span>: <span class="b">"string | null  // citation or study reference for claimed level"</span>,
  <span class="k">"claimed_level_validated"</span>:    <span class="b">"bool   // false = training level claim not yet validated by cited evidence"</span>,

  <span class="c">// --- Biofeedback Uncertainty (extends brain layer) ---</span>
  <span class="k">"biofeedback_unknown_class"</span>:  <span class="b">"enum[]  // BA-01 through BA-07 | none"</span>,
  <span class="k">"biofeedback_measurement_class"</span>: <span class="b">"enum[]  // BB-01 through BB-09 | none"</span>,
  <span class="k">"volume_conduction_applies"</span>:  <span class="b">"bool   // true for all scalp EEG records β€” BA-04 is active"</span>,
  <span class="k">"generalization_evidence"</span>:    <span class="b">"enum    // absent | anecdotal | weak | moderate | strong"</span>,
  <span class="k">"mechanism_evidence"</span>:         <span class="b">"enum    // absent | proposed | preliminary | supported | confirmed"</span>,

  <span class="c">// --- Inherited scoring gates (override inherited defaults) ---</span>
  <span class="k">"training_level_claim_valid"</span>:  <span class="e">"bool   // false until training_level_demonstrated β‰₯ 3 with cited evidence"</span>,
  <span class="k">"person_level_claim_blocked"</span>:  <span class="e">"bool   // inherited from brain layer; always evaluate independently of signal change"</span>
}</pre>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 8: HIR RULES R-13 through R-22 -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 8</div>
  <div class="section-title">HIR-Safe Rule Set β€” <em>R-13 through R-22</em></div>
  <div class="section-body">
    <p>These rules extend Brain Layer rules R-01 through R-12. All Brain Layer rules remain active and are not repeated here. Rules R-07 (no person-level inference) and R-05 (structure β‰  function) are especially relevant to biofeedback and are inherited unconditionally.</p>
  </div>

  <div class="rule-block rb-block">
    <div class="rb-label">R-13 β€” A within-session signal change is not a confirmed training outcome</div>
    <div class="rb-content">training_level_demonstrated must be set to 1 (within-session) by default for any biofeedback session record. Claims of Training Level 2, 3, or 4 require: (Level 2) multiple sessions with documented baselines and controlled practice effects; (Level 3) ecological outcome measures and follow-up data; (Level 4) pre/post neuroimaging or electrophysiology with preregistered analysis. No level may be inferred from data supporting a lower level.</div>
  </div>

  <div class="rule-block rb-block">
    <div class="rb-label">R-14 β€” A biofeedback signal is not a direct measurement of the associated brain region</div>
    <div class="rb-content">All scalp EEG records must carry volume_conduction_applies = true and BA-04 (target_signal_nonspecific). A statement such as "training the hippocampus" or "measuring amygdala activity via EEG" is architecturally invalid unless source localization has been applied, validated, and appropriately caveated with the inverse problem uncertainty. Even with source localization, the indirect mapping claim must carry UA-03 (multi-region dependency) and BA-01 (training_mechanism_unconfirmed).</div>
  </div>

  <div class="rule-block rb-block">
    <div class="rb-label">R-15 β€” A signal change does not establish its mechanism</div>
    <div class="rb-content">Demonstrating that alpha power increased during a session does not establish that: (a) the person learned to relax; (b) a specific cortical area changed its activity; (c) the change was due to the biofeedback rather than relaxation, expectancy, or time-on-task. mechanism_evidence must be set to "absent" by default and may only be upgraded with cited pre/post mechanistic evidence. BA-03 (operant_conditioning_vs_neural_change) applies to all protocols without mechanism evidence.</div>
  </div>

  <div class="rule-block rb-block">
    <div class="rb-label">R-16 β€” Evidence levels may not be transferred across protocols</div>
    <div class="rb-content">Evidence for one biofeedback protocol (e.g., Level A evidence for EMG in motor rehabilitation) may not be cited as evidence for a different protocol (e.g., neurofeedback for ADHD). Evidence classifications in Section 5 apply per protocol, per application, and per target population. Citing EMG evidence to support EEG neurofeedback claims is architecturally invalid.</div>
  </div>

  <div class="rule-block rb-caution">
    <div class="rb-label">R-17 β€” Electrode impedance, sensor placement, and device parameters must be documented</div>
    <div class="rb-content">If electrode_impedance_kohm is null or >5 kΞ© for EEG records, BB-01 must be active and interpretation_status must be set to "caution" or lower. If device_make_model, software_version, filter_settings, or reference_placement are null, UB-12 and BB-04/BB-03 must be active. Protocol records with undocumented acquisition parameters may not be used to support any claim above Training Level 1.</div>
  </div>

  <div class="rule-block rb-caution">
    <div class="rb-label">R-18 β€” Training level must be explicitly stated for all protocol outcome claims</div>
    <div class="rb-content">Any output that describes a biofeedback outcome β€” in a report, a session note, a clinical recommendation, or a system output β€” must explicitly state which training level the evidence supports. Implicit claims that conflate within-session modulation with clinical generalization are architecturally invalid. See Section 4 for the full training level taxonomy.</div>
  </div>

  <div class="rule-block rb-block">
    <div class="rb-label">R-19 β€” Non-specific signals may not be used to infer specific emotional or cognitive states</div>
    <div class="rb-content">EDA/GSR (BF-04) may not be labeled as measuring "stress," "anxiety," "relaxation," "attention," or any specific emotional or cognitive state. EDA reflects sympathetic arousal, which is non-specific to valence and influenced by temperature, movement, skin condition, and medication. Any system output that converts an EDA signal into a labeled emotional state is in violation of this rule. BA-04 and R-07 both apply.</div>
  </div>

  <div class="rule-block rb-block">
    <div class="rb-label">R-20 β€” Biofeedback signal changes may not be used for diagnostic classification</div>
    <div class="rb-content">A biofeedback signal pattern β€” including EEG band ratios, HRV metrics, EDA profiles, or temperature curves β€” may not be used to classify, suggest, confirm, or imply a psychiatric or neurological diagnosis. This includes but is not limited to: "ADHD profile," "anxiety signature," "depression pattern," "autism indicator," "PTSD response." Brain Layer R-06 (no diagnosis without clinical validation) applies independently, and R-07 (no person-level inference) applies unconditionally.</div>
  </div>

  <div class="rule-block rb-caution">
    <div class="rb-label">R-21 β€” Feedback display language must not encode overclaims</div>
    <div class="rb-content">The label, description, or narration of the feedback display at FL-5 must accurately reflect what is being measured, not what the signal is commonly claimed to represent. "Your relaxation level" is invalid for an alpha power display because alpha power is not relaxation. "Your focus score" is invalid for a theta/beta ratio display because the ratio is a spectral metric, not a validated focus measure. Permitted labeling: "Alpha band power at Pz," "Theta/Beta ratio at Fz," "Heart rate variability (SDNN)." Integrity gate applies at every display cycle.</div>
  </div>

  <div class="rule-block rb-block">
    <div class="rb-label">R-22 β€” Session-to-session variability must be documented; regression to mean is a confound</div>
    <div class="rb-content">Apparent improvement across biofeedback sessions may reflect statistical regression to mean, natural symptom fluctuation, practice effects, or expectancy β€” not biofeedback training. BA-06 (between_session_variability_high) must be evaluated at each session milestone. Without a sham/control condition, progressive improvement across sessions cannot be attributed to the biofeedback signal modulation specifically. This constraint does not prevent use of biofeedback β€” it constrains claims about what the improvement establishes.</div>
  </div>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 9: STAGED INGEST PLAN -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 9</div>
  <div class="section-title">Staged <em>Ingest Plan</em> β€” Building on Brain Layer</div>

  <div class="stage-row">
    <div class="stage-num">Pre</div>
    <div class="stage-body">
      <div class="stage-title">Brain Layer v0.1 (prerequisite)</div>
      <div class="stage-source">BR-01–17 Β· PW-01–09 Β· OUT-01–14 Β· UA/UB uncertainty Β· R-01–12</div>
      <p>The biofeedback layer cannot be built without the brain layer. All brain region, pathway, and output IDs referenced in this layer depend on the brain layer registry being stable first.</p>
    </div>
  </div>
  <div class="stage-row">
    <div class="stage-num">1</div>
    <div class="stage-body">
      <div class="stage-title">Signal Modality Registry</div>
      <div class="stage-source">BF-01 through BF-08 Β· proximal/distal mapping Β· artifact classes</div>
      <p>Define what each signal directly measures. Write the signal-to-brain-layer uncertainty map before any protocol records are created. This is the foundation β€” getting the "what it actually measures" wrong here propagates into all downstream claims.</p>
    </div>
  </div>
  <div class="stage-row">
    <div class="stage-num">2</div>
    <div class="stage-body">
      <div class="stage-title">Feedback Loop Architecture</div>
      <div class="stage-source">FL-1 through FL-7 Β· HIR gate assignment per stage</div>
      <p>Define the engineering of the loop before any protocol definitions. Each stage must have its HIR gate logic specified. Feedback display labeling rules (R-21) must be established before any display text is created.</p>
    </div>
  </div>
  <div class="stage-row">
    <div class="stage-num">3</div>
    <div class="stage-body">
      <div class="stage-title">Training Level Taxonomy + Evidence Classification</div>
      <div class="stage-source">Levels 1–4 Β· protocol evidence per application per population</div>
      <p>Before any protocol records are created, the training level taxonomy must be locked. Evidence levels must be assigned per protocol and per application β€” not per modality in general. BCIA, AAPB, and primary literature citations required for any Level B or above claim.</p>
    </div>
  </div>
  <div class="stage-row">
    <div class="stage-num">4</div>
    <div class="stage-body">
      <div class="stage-title">Protocol Registry</div>
      <div class="stage-source">BP-01 through BP-10 Β· brain layer cross-references Β· overclaim risk classification</div>
      <p>Define each protocol with its signal ID, brain layer links, evidence level, training level evidence, and overclaim risks. No protocol record may assert a Training Level higher than the cited evidence supports.</p>
    </div>
  </div>
  <div class="stage-row">
    <div class="stage-num">5</div>
    <div class="stage-body">
      <div class="stage-title">Uncertainty Taxonomy Extension</div>
      <div class="stage-source">BA-01–07 Β· BB-01–09 Β· integration with inherited UA/UB classes</div>
      <p>Formalize BA and BB uncertainty classes as machine-readable objects. Define which classes are active by default for each signal modality (e.g., BA-04 always active for scalp EEG; BB-06 must be documented for temperature and EDA protocols).</p>
    </div>
  </div>
  <div class="stage-row">
    <div class="stage-num">6</div>
    <div class="stage-body">
      <div class="stage-title">Schema Extension + Sample Records</div>
      <div class="stage-source">Extended schema validated Β· 15–20 sample records across all signal types and training levels</div>
      <p>Sample records must include: a fully clean EMG motor record, an EEG record with BB-01 triggered, an HRV record with UB-06 triggered, a protocol record where person_level_claim_blocked = true despite valid signal, and a training_level_demonstrated = 3 record with a cited evidence source.</p>
    </div>
  </div>
  <div class="stage-row">
    <div class="stage-num">7</div>
    <div class="stage-body">
      <div class="stage-title">Clinical Interface Layer (Conditional)</div>
      <div class="stage-source">Requires Brain Layer Layer 8 prerequisites + qualified clinical biofeedback context</div>
      <p>Same requirements as Brain Layer clinical interpretation layer. Biofeedback-specific addition: requires a BCIA-certified or equivalent clinician responsible for protocol selection and outcome interpretation. Protocol output notes may not be presented directly to clients without clinician review. Cannot be a default layer.</p>
    </div>
  </div>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 10: OSF PACKET RECOMMENDATION -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 10</div>
  <div class="section-title">OSF-Ready <em>Packet Recommendation</em></div>

  <div class="tree">
<span class="dir">Primordial_Biofeedback_Layer_v0.1_Collin_D_Weber/</span>
β”‚
β”œβ”€β”€ <span class="dir">000_READ_ME_FIRST.md</span>                  <span class="ann">← scope, boundary, brain layer prerequisite, what this is and is not</span>
β”œβ”€β”€ <span class="dir">001_SCOPE_AND_BOUNDARY.md</span>              <span class="ann">← not clinical, not diagnostic, not a treatment system; training level clarification</span>
β”œβ”€β”€ <span class="dir">002_SIGNAL_REGISTRY.json</span>               <span class="ann">← BF-01–08: what each signal directly measures, distal/proximal mapping, artifact classes</span>
β”œβ”€β”€ <span class="dir">003_FEEDBACK_LOOP_ARCHITECTURE.json</span>    <span class="ann">← FL-1–7: loop stages, HIR gate per stage, what each stage produces and does not establish</span>
β”œβ”€β”€ <span class="dir">004_TRAINING_LEVEL_TAXONOMY.json</span>       <span class="ann">← Levels 1–4: definitions, evidence requirements, example per level</span>
β”œβ”€β”€ <span class="dir">005_PROTOCOL_REGISTRY.json</span>             <span class="ann">← BP-01–10: signal, brain layer links, evidence level, training level evidence, overclaim risk</span>
β”œβ”€β”€ <span class="dir">006_UNCERTAINTY_TAXONOMY_EXTENSION.json</span> <span class="ann">← BA-01–07 and BB-01–09 as typed objects with suspension and confidence rules</span>
β”œβ”€β”€ <span class="dir">007_FEATURE_SCHEMA_EXTENSION_v0.1.json</span> <span class="ann">← biofeedback extension fields appended to brain layer schema</span>
β”œβ”€β”€ <span class="dir">008_HIR_RULE_SET_EXTENSION_v0.1.json</span>   <span class="ann">← R-13 through R-22 as machine-readable rule objects</span>
β”œβ”€β”€ <span class="dir">009_SAMPLE_FEATURE_RECORDS.jsonl</span>       <span class="ann">← 15–20 records: clean EMG, EEG with BB-01, HRV with UB-06, person_level_claim_blocked, training_level_3 cited</span>
β”œβ”€β”€ <span class="dir">010_SIGNAL_TO_BRAINLAYER_MAP.json</span>      <span class="ann">← explicit mapping: each BF signal β†’ BR/PW/OUT IDs with causal_distance and uncertainty_classes per link</span>
β”œβ”€β”€ <span class="dir">011_FEEDBACK_DISPLAY_LABEL_GUIDE.md</span>    <span class="ann">← R-21 implementation: permitted and prohibited feedback display labels per signal modality</span>
β”œβ”€β”€ <span class="dir">012_STAGED_INGEST_PLAN.md</span>              <span class="ann">← stages Pre through 7 with prerequisites</span>
β”œβ”€β”€ <span class="dir">013_VALIDATION_REPORT_TEMPLATE.md</span>      <span class="ann">← per-record and per-session validation checklist</span>
β”œβ”€β”€ <span class="dir">014_MANIFEST.md</span>                        <span class="ann">← file inventory with classification and provenance</span>
└── <span class="dir">015_SHA256_CHECKSUMS.txt</span>               <span class="ann">← checksums for all files</span>
  </div>

  <div class="callout">
    <strong>010_SIGNAL_TO_BRAINLAYER_MAP.json</strong> is the most architecturally important new file in this bundle. It should explicitly encode, for each signal modality: (1) what it directly measures, (2) the causal chain to the most-commonly-associated brain region, (3) the number of causal steps, (4) which uncertainty classes are active at each step, and (5) what claims the signal can and cannot support. This file is the formal expression of R-14.
  </div>
</div>

<hr class="div-rule">

<!-- ════════════════════════════════════════════════════ -->
<!-- SECTION 11: PLAIN LANGUAGE -->
<!-- ════════════════════════════════════════════════════ -->
<div class="section">
  <div class="section-num">Section 11</div>
  <div class="section-title">Plain-Language <em>Explanation</em></div>

  <div class="plain-grid">
    <div class="plain-card" style="border-left:3px solid var(--allow)">
      <div class="plain-card-title">What this does</div>
      <div class="plain-card-body">
        It organizes biofeedback as a physiological engineering system β€” a loop that measures something from your body, shows you that measurement in real time, and lets you try to change it.<br><br>
        It maps each biofeedback signal to what it actually measures (not what it's often claimed to measure), and to which brain structures and pathways it's indirectly connected, with explicit statements about how indirect that connection is.<br><br>
        It classifies each biofeedback protocol by the quality of evidence supporting it, and distinguishes four levels of training claims β€” from "the signal changed during a session" all the way to "the brain's structure was confirmed to change" β€” because those are very different claims requiring very different evidence.
      </div>
    </div>
    <div class="plain-card" style="border-left:3px solid var(--unc-b)">
      <div class="plain-card-title">What it does not do</div>
      <div class="plain-card-body">
        It does not claim that biofeedback directly measures brain activity. A scalp EEG electrode is reading electrical activity through bone and skin β€” it sees a mixture of signals from large areas of brain, not a single region.<br><br>
        It does not claim that a signal change during a session means the brain was permanently reorganized, or that daily-life function will improve, or that a specific neural mechanism was confirmed. Those are separate claims requiring separate evidence.<br><br>
        It does not permit biofeedback signals to be used to label emotional states, infer diagnoses, assess character or capacity, or make any person-level claim. The GPS analogy from the Brain Layer applies here too β€” the dashboard tells you current speed and RPM. It does not tell you what the driver is thinking.
      </div>
    </div>
    <div class="plain-card" style="border-left:3px solid var(--bf)">
      <div class="plain-card-title">The dashboard analogy</div>
      <div class="plain-card-body">
        Biofeedback is like having a dashboard in a car. The dashboard shows you real signals β€” speed, RPM, temperature β€” and you can learn to drive differently by watching them.<br><br>
        But the dashboard does not show you the engine's internal mechanism. Seeing the temperature rise does not tell you which specific engine part is failing, or whether you are a good driver, or where you are going. It shows you one measured output of a very complex system.<br><br>
        Some dashboards are very well-connected to their engine (like EMG biofeedback for a specific muscle). Others are several layers removed (like EEG reading a mixture of many brain regions). Knowing the difference is the Integrity gate.
      </div>
    </div>
    <div class="plain-card" style="border-left:3px solid var(--func)">
      <div class="plain-card-title">How HIR governs it</div>
      <div class="plain-card-body">
        <strong>Honesty:</strong> Every biofeedback signal record must label what the sensor actually measures, how many causal steps separate it from the claimed brain region, and which uncertainty classes are active. The feedback display must use accurate labels, not evocative ones.<br><br>
        <strong>Integrity:</strong> A signal change is not a training outcome. A training outcome is not a clinical result. A clinical result is not a mechanism confirmation. These categories may not be collapsed. Evidence at one level may not be cited for a claim at a higher level.<br><br>
        <strong>Respect:</strong> No biofeedback signal β€” however clean, however well-established β€” may be used to make a claim about a person's character, diagnosis, capacity, or identity. The person's signal is not the person.
      </div>
    </div>
  </div>
</div>

<!-- FOOTER -->
<div class="footer">
  <strong>Created and Developed by Collin D. Weber</strong> Β· Primordial Biofeedback Layer v0.1 Β· HIR-Governed Physiological Signal Mapping Β· April 30, 2026<br>
  Builds on: Primordial Brain Layer v0.1 Β· Primordial Compute Stack v0.1 Β· Primordial DNA Layer v0.1 (GRCh38 First Pass)<br><br>
  This document is a bounded architecture planning study. It is not a clinical tool, a diagnostic instrument, a biofeedback treatment system, or a medical opinion. Evidence levels cited reflect published literature as of the document date and should be reviewed against current literature before use in any applied context. All biofeedback protocol evidence claims should be verified against BCIA, AAPB, and primary literature sources before clinical application.<br><br>
  This module distinguishes what biofeedback signals directly measure from what they are claimed to represent, and ensures that neither signal quality problems nor mechanistic unknowns can be converted into unsupported claims about a person.
</div>

</body>
</html>