-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterdependent-lib_msdmd.ts
More file actions
2620 lines (2619 loc) · 92.4 KB
/
Copy pathinterdependent-lib_msdmd.ts
File metadata and controls
2620 lines (2619 loc) · 92.4 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
import { defineMsdmdCollection } from "./.agents/skills/msdmd/collection";
export default defineMsdmdCollection({
"declarations": [
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_validate, infer_kind, _discover_repo_roots, _load_parser",
"module_kind": "instrument",
"module_name": "runner",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "scan, ModuleGraph, Node, main",
"requires": "none",
"rollback": "remove runner.py; the msdmd universal parser it builds on is unaffected",
"rollout": "default_enabled (CLI + importable library on the meta-module-build skill)",
"since": "2026-06-02",
"storage_boundary": "read",
"summary": "walks repo roots, parses MODULE_BUILD blocks, emits module-graph + coverage",
"tests": "tests.test_module_build_runner",
"unresolved": "visualizer wiring (e.g. a0 SigmaCore) intentionally out of scope for v1",
"user_data_boundary": "none"
},
"file": ".agents/skills/meta-module-build/runner.py",
"id": "meta_module_build_runner"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_build_up_to, _is_prime, _is_squarefree, _prime_factors",
"module_kind": "engine",
"module_name": "coherence_primes",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "is_coherence_prime, sequence_up_to, nth",
"requires": "none",
"rollback": "remove this module and its three package-root re-exports",
"rollout": "default_enabled (re-exported from interdependent_lib package root)",
"since": "2026-06-02",
"summary": "canonical recursive coherence-prime sequence registry (single source of truth)",
"tests": "tests.test_coherence_primes",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "interdependent_lib/coherence_primes.py",
"id": "coherence_primes"
},
{
"block": "BOUNDARIES",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"network_boundary": "none",
"owner": "Erin Spencer",
"pii": "none",
"secrets": "none",
"since": "0.1.5",
"storage_boundary": "read installed distribution metadata",
"summary": "reads local installed-distribution identities and the PTCNA runtime receipt without network, writes, authentication, user-data, or administrative effects",
"user_data_boundary": "none"
},
"file": "interdependent_lib/ptcna_pair.py",
"id": "interdependent_pair_validation_boundary"
},
{
"block": "CONTRACTS",
"fields": {
"class": "evidence",
"given": "the compatibility receipt is built",
"then": "it names the exact merged UCNS and PTCNA commits and no moving reference"
},
"file": "interdependent_lib/ptcna_pair.py",
"id": "interdependent_pair_pins_exact_producers"
},
{
"block": "CONTRACTS",
"fields": {
"class": "safety",
"given": "either installed distribution lacks matching VCS commit metadata or runtime receipt identity",
"then": "validation fails before the pair is reported compatible"
},
"file": "interdependent_lib/ptcna_pair.py",
"id": "interdependent_pair_rejects_install_drift"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_canonical_bytes, _installed_commit",
"module_kind": "adapter",
"module_name": "ptcna_pair",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "UCNS_COMMIT, PTCNA_COMMIT, PairValidationError, build_pair_receipt, validate_installed_pair",
"requires": "ucns_ptcna_candidate_state, ptcna_ucns_integration",
"rollback": "remove pair exports and exact extras without modifying either producer",
"rollout": "explicit ptcna and all extras pinned to exact Git commits",
"since": "0.1.5",
"storage_boundary": "read installed distribution metadata",
"summary": "publishes and fail-closed verifies the compatible exactly pinned UCNS/PTCNA producer pair",
"tests": "tests/test_ptcna_pair.py",
"unresolved": "continuous seven-fold geometry, representative efficacy, production privacy",
"user_data_boundary": "none"
},
"file": "interdependent_lib/ptcna_pair.py",
"id": "interdependent_lib_ptcna_pair"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_validate_seed, _contributors, _encrypt_element, _decrypt_element",
"module_kind": "engine",
"module_name": "cipher",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "encrypt_seed, decrypt_seed, encrypt_state, decrypt_state, CIRCLE_COUNT, TENSOR_COUNT, DEFAULT_WORD_BITS",
"requires": "pcea_codec, pcea_kdf, pcea_primes",
"rollback": "remove module and its references",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "prime-circular Mobius disk cipher: fixed-width base-p digit encode with SHA-256 keyed additive shift",
"tests": "tests.test_cipher",
"unresolved": "security-critical module; changes require independent crypto review",
"user_data_boundary": "none"
},
"file": "libs/pcea/src/cipher.py",
"id": "pcea_cipher"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "adapter",
"module_name": "codec",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "mobius_encode, mobius_decode, digit_count, to_fixed, from_fixed",
"requires": "none",
"rollback": "remove module and its references",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Mobius disk codec: signed<->unsigned position mapping and fixed-width base-p digit encoding",
"tests": "tests.test_codec",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/pcea/src/codec.py",
"id": "pcea_codec"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "schema",
"module_name": "contract",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "DECISION, SECURITY_INVARIANT, FORBIDDEN_UCNS_SYMBOLS, RUNTIME_MODULES, contract_statement",
"requires": "none",
"rollback": "remove module and its references",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "PCEA<->UCNS interface-contract constants and guardrails (single source of truth)",
"tests": "tests.test_contract_spec",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/pcea/src/contract.py",
"id": "pcea_contract"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_zero_seed",
"module_kind": "service",
"module_name": "instance",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "PCEAInstance",
"requires": "pcea_cipher",
"rollback": "remove module and its references",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "stateful PCEA session that auto-advances last_state so sender/receiver stay synchronized",
"tests": "tests.test_instance",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/pcea/src/instance.py",
"id": "pcea_instance"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "engine",
"module_name": "kdf",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "key_stream",
"requires": "none",
"rollback": "remove module and its references",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "hash-based key-stream derivation keyed by hierarchical address plus heptagram neighbors",
"tests": "tests.test_kdf",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/pcea/src/kdf.py",
"id": "pcea_kdf"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_sieve",
"module_kind": "schema",
"module_name": "primes",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "prime_at, PRIME_CIRCLE, CIRCLE_SIZE",
"requires": "none",
"rollback": "remove module and its references",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "fixed 53-prime circle used as the circular bases for prime-circular base encryption",
"tests": "tests.test_primes",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/pcea/src/primes.py",
"id": "pcea_primes"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_build_coherence_up_to, _is_prime, _prime_factors",
"module_kind": "engine",
"module_name": "constants",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "SEED_COUNT, CIRCLES_PER_SEED, TENSORS_PER_CIRCLE, TENSOR_DIM, TENSOR_LEAVES, PARAM_COUNT, CIRCLE_ROUTING_STEP, SEED_ROUTING_STEP, is_coherence_prime",
"requires": "coherence_primes (mirrored from interdependent_lib, not imported \u2014 would invert the dependency graph)",
"rollback": "revert is_coherence_prime to the prior frozen-universe implementation",
"rollout": "default_enabled (imported by prime_core.core via prime_core.__init__)",
"since": "2026-06-02 (manifest added; module predates the doctrine)",
"storage_boundary": "none",
"summary": "frozen PTCA composition counts plus the recursive coherence-prime guard",
"tests": "prime_core.tests.test_constants_coherence_prime",
"unresolved": "composition counts SEED_COUNT/TENSOR_DIM remain provisional pending the absent canon documents",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/core/prime_core/constants.py",
"id": "prime_core_constants"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "engine",
"module_name": "edcm",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "compute_metrics, check_directives, check_alerts, delta_between, METRIC_NAMES, ALERT_HIGH, ALERT_LOW, DIRECTIVES",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Six-family EDCM coherence metrics (cm, da, drift, dvg, int_val, tbf) computed from response text, with alert thresholds and corrective directive firing.",
"tests": "tests/test_edcm_engine.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/edcm.py",
"id": "pcna_edcm"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "instrument",
"module_name": "helix_vis",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "generate_helix_data, visualize",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "write",
"summary": "Visualizes the spectral state of a 7-seed Meta Router by plotting the complex descriptor Z over a simulated trajectory and saving an animation.",
"tests": "hmmm",
"unresolved": "saves to hardcoded pcna_helix.gif with no config (Known Issues)",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/helix_vis.py",
"id": "pcna_helix_vis"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "seed_instance",
"module_kind": "service",
"module_name": "main",
"network_boundary": "external",
"owner": "Erin Spencer",
"public_surface": "app, PCNASeed, health, topology, receive_delta, startup, shutdown, tick_loop",
"requires": "pcna_topology, pcna_tensor_engine",
"rollback": "do not launch this process; use root-level main.py seed runner instead",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Minimal FastAPI seed-runner process (compute/meta/sentinel/global) exposing health/topology/receive_delta routes with an aiohttp networking placeholder.",
"tests": "hmmm",
"unresolved": "BROKEN alt entry point \u2014 imports from non-existent src.core.* (do not use per CLAUDE.md)",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/main.py",
"id": "pcna_core_main"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_recompute_hub_avg, _reset",
"module_kind": "engine",
"module_name": "memory_core",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "MemoryCore",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Parameterized in-memory ring (long-term N=19/seed=19, short-term N=17/seed=17) with round-robin write, content-addressed query, and flush_to() transfer on positive reward.",
"tests": "hmmm",
"unresolved": "query() is defined but never called anywhere (Known Issues)",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/memory_core.py",
"id": "pcna_memory_core"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_fed_avg, _blend_core",
"module_kind": "engine",
"module_name": "merge",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "InstanceMerge",
"requires": "pcna_ring_core, pcna_pcna",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Stateless multi-instance merge operator for PCNAEngine meshes with three modes (absorb, fork, converge) via federated averaging; all output dicts use theta_* keys.",
"tests": "hmmm",
"unresolved": "fork() time-seeds its RNG \u2014 rapid calls may collide (Known Issues)",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/merge.py",
"id": "pcna_merge"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_tensor_to_b64, _b64_to_tensor, _CHECKPOINT_DIR, PCNAEngine._project, PCNAEngine._inject, PCNAEngine._propagate, PCNAEngine._seed_audit, PCNAEngine._circle_audit, PCNAEngine._coherence_score",
"module_kind": "engine",
"module_name": "pcna",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "PCNAEngine, RING_WEIGHTS, WINNER_RINGS",
"requires": "pcna_ring_core, pcna_memory_core, pcna_theta",
"rollback": "remove import and call sites; checkpoints under .checkpoints/ can be deleted",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "write",
"summary": "Six-ring PCNA inference engine (phi/psi/omega/theta/memory_l/memory_s) running project->inject->propagate->seed-audit->circle-audit->coherence, with RING_WEIGHTS scoring and numpy checkpointing.",
"tests": "hmmm",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/pcna.py",
"id": "pcna_pcna"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_adj_distances, RingCore._adjacents, _propagate_node, _recompute_coherence",
"module_kind": "engine",
"module_name": "ring_core",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "RingCore, DIMS, PHASES, HEPT_SITES",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Base prime-ring tensor (shape [N,DIMS=4,PHASES=7,HEPT_SITES=7]) with heptagram Euler-step propagation and coherence = 1 - |ring - hub|_mean; substrate for Phi/Psi/Omega/Sigma.",
"tests": "hmmm",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/ring_core.py",
"id": "pcna_ring_core"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "worker",
"module_name": "routing_loop",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "GlobalRouterZero",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Intended GlobalRouterZero routing loop worker \u2014 currently only a print stub that announces initialization.",
"tests": "hmmm",
"unresolved": "only a print stub \u2014 GlobalRouterZero not implemented (Known Stubs)",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/routing_loop.py",
"id": "pcna_routing_loop"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_sigma, SigmaRing._core, SigmaRing._watched, SigmaRing._pending, SigmaRing._last_check",
"module_kind": "engine",
"module_name": "sigma",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "SigmaRing, get_sigma, N, SEED",
"requires": "pcna_ring_core",
"rollback": "remove import and call sites; callers already degrade gracefully if it raises",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "read",
"summary": "N=41 filesystem observer ring wrapping RingCore; tracks watched file mtimes and drains content-changed events on a content_interval cadence, injecting coherence into Psi.",
"tests": "hmmm",
"unresolved": "structural_interval is stored but never acted on (Known Issues)",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/sigma.py",
"id": "pcna_sigma"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "engine",
"module_name": "tensor_engine",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "TensorState, MarkovRecursion",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Tensor engine primitives \u2014 TensorState (E[a,t,m,c]) with spectral descriptor Z = Sum E.e^(i*theta), and a MarkovRecursion updater that enforces approximate mass conservation.",
"tests": "tests/test_tensor_engine.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/tensor_engine.py",
"id": "pcna_tensor_engine"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_gen_instance_id, _derive_key_id, _compute_blueprint_hash, _shard_blueprint, ThetaTensor._recompute_coherence",
"module_kind": "engine",
"module_name": "theta",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "ThetaTensor, GATE_THRESHOLD, N",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "N=29 standalone microkernel gate ring with ragged per-node circle counts, SHA-256 blueprint sharding, and gate control via GATE_THRESHOLD=0.45.",
"tests": "hmmm",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/theta.py",
"id": "pcna_theta"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_initialize_topology, _heptagram_neighbors",
"module_kind": "engine",
"module_name": "topology",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "PCNATopology, Seed, SeedRole",
"requires": "none",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Stable seed-id topology \u2014 maps compute-shard neighbors to global seed IDs, computes heptagram neighbors and sentinel scan paths, and serializes to JSON for HTTP responses.",
"tests": "tests/tests_topology.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/topology.py",
"id": "pcna_topology"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_get_default_pcna, ZetaEngine._coherence_from_metrics, ZetaEngine._sigma_nudge_factors, ZetaEngine._theta_gate_factor",
"module_kind": "engine",
"module_name": "zeta",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "ZetaEngine, _zeta_engine",
"requires": "pcna_edcm, pcna_pcna, pcna_sigma",
"rollback": "remove import and call sites",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "ZFAE evaluator that scores each assistant response via EDCM (no LLM) and nudges PCNAEngine.phi, with per-directory resolution control and a module-level singleton.",
"tests": "hmmm",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/neural/zeta.py",
"id": "pcna_zeta"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_build_coherence_up_to, _is_prime, _prime_factors",
"module_kind": "engine",
"module_name": "constants",
"network_boundary": "none",
"owner": "Erin Patrick Spencer",
"public_surface": "NOMINAL_CIRCLES_PER_SEED, SEED_ROUTING_STEP, HEPTAGRAM_VERTICES, is_coherence_prime, coherence_primes_up_to, nth_coherence_prime",
"requires": "coherence_primes (mirrored from interdependent_lib, NOT imported \u2014 importing the aggregator would invert the dependency graph)",
"rollback": "none (greenfield module; revert the file)",
"rollout": "default_enabled (imported by pcta.compose via pcta.__init__)",
"since": "2026-06-05 (greenfield scaffold of the layer-2 seed package)",
"storage_boundary": "none",
"summary": "layer-2 heptagram routing motif and the recursive coherence-prime guard (composition counts are variable)",
"tests": "tests.test_constants",
"unresolved": "none (PCTA acronym, variable-count rule, and \"motion\" = Fickian flux J = \u2212D \u2207\u03c6 all resolved by maintainer)",
"user_data_boundary": "none"
},
"file": "libs/ptcna/src/seed/constants.py",
"id": "pcta_constants"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "adapter",
"module_name": "a0_safe",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "identity, describe, canonical, factor, UCNSObjectRecord, FactorizationResult",
"requires": "ucns_object_record, ucns_factorization_result, ucns_serialization, ucns_canonical",
"rollback": "remove module and its re-exports",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "A0-safe public facade for inspecting, identifying, canonicalizing, and factoring UCNS objects via evidence-bearing scoped envelopes.",
"tests": "ucns_recursive/tests/test_a0_safe.py, tests/test_certified_negative_results.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/a0_safe.py",
"id": "ucns_a0_safe"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_object_to_data, _object_from_data, _require",
"module_kind": "adapter",
"module_name": "bridge",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "BRIDGE_SCHEMA, BRIDGE_SCHEMA_VERSION, BridgeValidationError, BridgeImport, export_bridge_record, import_bridge_record",
"requires": "ucns_canonical, ucns_serialization",
"rollback": "remove module and its re-exports; sibling adapters fall back to repo-local encodings",
"rollout": "default_enabled additive public API; sibling repos consume the record shape, not UCNS internals",
"since": "2026-07-12",
"storage_boundary": "none",
"summary": "Versioned neutral bridge record plus fail-closed import/export adapter between actual UCNSObjects and sibling repositories, preserving equality and stable hash and carrying provenance without theorem status.",
"tests": "tests/test_bridge_round_trip.py, tests/test_stack_contract_suite.py, tests/test_bridge_certification_boundary.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/bridge.py",
"id": "ucns_bridge"
},
{
"block": "CONTRACTS",
"fields": {
"call": "contracts.test_addition_boundary.contract_addition_boundary",
"class": "correctness",
"given": "the derived candidate addition (top-level sequence concatenation)",
"then": "no second primitive operation exists in the base geometry; r is"
},
"file": "libs/ucns/src/canonical.py",
"id": "addition_boundary"
},
{
"block": "CONTRACTS",
"fields": {
"call": "contracts.test_associativity_triples.contract_multiply_associativity",
"class": "correctness",
"given": "TRIPLES of normalized objects at mixed depths, including",
"then": "multiply(multiply(a, b), c) == multiply(a, multiply(b, c));"
},
"file": "libs/ucns/src/canonical.py",
"id": "multiply_associativity"
},
{
"block": "CONTRACTS",
"fields": {
"call": "contracts.test_commutator.contract_multiply_commutativity_ruling",
"class": "correctness",
"given": "normalized objects; the separating witnesses B1 = [0,1] and",
"then": "multiply is non-commutative in general; the (r, theta, z, w)"
},
"file": "libs/ucns/src/canonical.py",
"id": "multiply_commutativity_ruling"
},
{
"block": "CONTRACTS",
"fields": {
"call": "contracts.test_identity_two_sided.contract_multiply_identity",
"class": "correctness",
"given": "the theta=0 origin e = UCNSObject(1, 1, [(0, None)], [0]) and",
"then": "multiply(e, a) == a and multiply(a, e) == a (two-sided, checked"
},
"file": "libs/ucns/src/canonical.py",
"id": "multiply_identity"
},
{
"block": "CONTRACTS",
"fields": {
"call": "contracts.test_multiply_canonical.contract_multiply_well_defined",
"class": "correctness",
"given": "normalized nonempty UCNSObjects at mixed depths, plus gauge-shifted",
"then": "multiply is total, its output is normalized with n_dec a multiple of"
},
"file": "libs/ucns/src/canonical.py",
"id": "multiply_well_defined"
},
{
"block": "CONTRACTS",
"fields": {
"call": "contracts.test_structure_axioms.contract_structure_naming",
"class": "correctness",
"given": "obligations O1-O5 discharged (well-definedness, identity,",
"then": "(nonempty normalized objects, multiply, e) is a non-commutative,"
},
"file": "libs/ucns/src/canonical.py",
"id": "structure_naming"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "normalize, _compute_n_min, _star, _disk_flip",
"module_kind": "engine",
"module_name": "canonical",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "UCNSObject, multiply, is_unit, is_multiplicative_unit, lcm, UNIT",
"requires": "none",
"rollback": "remove module and its re-exports",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Core UCNS algebraic objects and operations - UCNSObject, the ordered-concatenation product, and unit predicates.",
"tests": "ucns_recursive/tests/test_depth2_full_domain.py, ucns_recursive/tests/test_canonical_constructor_validation.py, tests/test_canonical_constructor_validation.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/canonical.py",
"id": "ucns_canonical"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "service",
"module_name": "canonical_factorization",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "enumerate_factorizations, canonical_factorization, canonical_key, SEQ_PRIME",
"requires": "ucns_carrier_support_pruning",
"rollback": "remove module and its re-exports",
"rollout": "additive module; no existing surface modified",
"since": "2026-06-10",
"storage_boundary": "none",
"summary": "Deterministic canonical choice among all catalogue-bounded left-factor factorizations of P, selected by lexicographic canonical-bytes order over a v0.6-complete enumeration.",
"tests": "ucns.tests.test_canonical_factorization",
"unresolved": "canonical selection under payload-catalogue (factor_search_v08) semantics",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/canonical_factorization.py",
"id": "ucns_canonical_factor_selection"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_obj_key",
"module_kind": "engine",
"module_name": "catalogue",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "build_catalogue_d1, build_catalogue_d2_oracle",
"requires": "ucns_canonical, ucns_domains",
"rollback": "remove module and its re-exports",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Catalogue builders enumerating canonical depth-1 oracle atoms and depth-2 oracle-class UCNSObjects for factor decomposition.",
"tests": "tests.test_catalogue, tests.test_oracle_catalogue_equivalence",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/catalogue.py",
"id": "ucns_catalogue"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_required_catalogue_for_domain, _structural_tokens",
"module_kind": "engine",
"module_name": "catalogue_coverage",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "CatalogueCoverage, CATALOGUE_COVERAGE_RULE_VERSION, COVERAGE_CANONICAL_EXACT, COVERAGE_CANONICAL_SUPERSET, COVERAGE_UNCERTIFIED, check_catalogue_coverage, validate_catalogue_coverage, coverage_matches_search_report",
"requires": "ucns_domains, ucns_factor_search_v08, ucns_serialization",
"rollback": "remove module and public re-exports",
"rollout": "additive evidence surface; no FactorizationResult integration",
"since": "2026-07-11",
"storage_boundary": "none",
"summary": "Recomputable catalogue-coverage records bound to an exact supplied catalogue fingerprint, domain label, and required catalogue rule version; makes no primality-certification claim.",
"tests": "tests/test_catalogue_coverage.py",
"unresolved": "negative-result certification deliberately remains separate",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/catalogue_coverage.py",
"id": "ucns_catalogue_coverage"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_recursive_obj_key",
"module_kind": "engine",
"module_name": "catalogue_d3",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "is_in_oracle_class_d3, D3CatalogueResult, build_catalogue_d3_oracle",
"requires": "ucns_canonical, ucns_domains, ucns_catalogue",
"rollback": "remove module and its re-exports",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "DRAFT depth-3 oracle-class predicate and bounded catalogue enumerator (build_catalogue_d3_oracle) carrying a coverage attestation against Lemma 8.",
"tests": "ucns.tests.test_catalogue_d3",
"unresolved": "DRAFT - depth-3 constructive-vs-multiplicative D'' coverage equivalence, payload_basis/chirality interaction, and size-budget exhaustion gating are all unproven (hmmm A/B/C in module docstring)",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/catalogue_d3.py",
"id": "ucns_catalogue_d3"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "service",
"module_name": "catalogue_pruning",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "PAYLOAD_PRUNING_RULE_NAME, PAYLOAD_PRUNING_RULE_VERSION, PAYLOAD_PRUNING_PRESERVES_COVERAGE, prime_support, carrier_lcm, prune_catalogue, payload_support, prune_payload_catalogue",
"requires": "none",
"rollback": "pass prune=False to factor_search_v08, or remove the module and the prune kwarg",
"rollout": "prune_catalogue opt-in for left-factor catalogues; prune_payload_catalogue default-on inside factor_search_v08 (prune=False escape hatch)",
"since": "2026-06-09",
"storage_boundary": "none",
"summary": "Sound named and versioned catalogue pre-filter removing factor candidates whose carrier prime support escapes the product carrier's prime support, justified by the Carrier-LCM Law.",
"tests": "ucns.tests.test_catalogue_pruning, tests/test_factor_search_provenance.py, tests/test_certified_negative_results.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/catalogue_pruning.py",
"id": "ucns_carrier_support_pruning"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "engine",
"module_name": "core",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "UCN, TAU",
"requires": "none",
"rollback": "remove module and its re-exports",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Defines UCN, the fundamental angle-on-unit-circle numeric primitive with group arithmetic, similarity, and compact serialization.",
"tests": "tests.test_core",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/core.py",
"id": "ucns_core"
},
{
"block": "CONTRACTS",
"fields": {
"call": "contracts.test_quotient_solvability.contract_division_theory",
"class": "correctness",
"given": "normalized nonempty A, P (left) or B, P (right) of finite depth",
"then": "left_quotients/right_quotients return exactly the set of X over"
},
"file": "libs/ucns/src/division_theory.py",
"id": "division_theory"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "left_quotients, right_quotients, _left_payload_solutions, _right_payload_solutions, _dedup",
"module_kind": "engine",
"module_name": "division_theory",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "none",
"requires": "ucns_canonical",
"rollback": "keep ucns.left_quotient greedy primitives as the standing surface",
"rollout": "this IS \"division and the like\"; importable, not re-exported from ucns/__init__",
"since": "2026-07-10",
"storage_boundary": "none",
"summary": "left/right quotient solvability and multiplicity for multiply - complete finite solution-set enumeration",
"tests": "contracts.test_quotient_solvability",
"unresolved": "none for enumeration; AlignedComplete cancellativity proof remains a formal/ obligation",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/division_theory.py",
"id": "division_theory"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "none",
"module_kind": "engine",
"module_name": "domain_status",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "DomainProofStatus, DomainStatusMetadata, VERIFIED_DOMAIN_LABELS, domain_status_metadata, status_for_object, is_verified_domain_label, seq_prime_requires_scope",
"requires": "ucns_canonical",
"rollback": "remove module and its re-exports",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Typed domain-level prerequisite metadata; bare labels never certify SEQ-PRIME, and result-level certainty is delegated to ucns.factorization_result.",
"tests": "ucns_recursive/tests/test_domain_status.py, tests/test_certified_negative_results.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/domain_status.py",
"id": "ucns_domain_status"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_generate_canonical_catalogue, _oracle_atom_key, _CANONICAL_ORACLE_KEYS",
"module_kind": "engine",
"module_name": "domains",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "DEPTH_MAX, A_PLUS_MAX, N_MIN_MAX, S2, ORACLE_ATOM_PAYLOADS, ORACLE_CATALOGUE_RULE_VERSION, generate_payload_catalogue, in_domain, depth_of, is_oracle_atom, is_in_oracle_class, verified_domain_status",
"requires": "ucns_canonical",
"rollback": "restore geometric-bounds oracle classification (reintroduces catalogue mismatch)",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "Defines the frozen depth-2 geometry, canonical oracle catalogue, and exact catalogue-membership predicates used to scope oracle claims.",
"tests": "tests/test_oracle_catalogue_equivalence.py, ucns_recursive/tests/test_depth2_full_domain.py",
"unresolved": "none",
"user_data_boundary": "none"
},
"file": "libs/ucns/src/domains.py",
"id": "ucns_domains"
},
{
"block": "MODULE_BUILD",
"fields": {
"admin_only": "false",
"auth_boundary": "none",
"internal_surface": "_to_signal",
"module_kind": "engine",
"module_name": "embedding",
"network_boundary": "none",
"owner": "Erin Spencer",
"public_surface": "UCNEmbedding",
"requires": "ucns_epicycle",
"rollback": "remove module and its re-exports",
"rollout": "default_enabled",
"since": "2026-06-02",
"storage_boundary": "none",
"summary": "High-level UCNS embedding API that encodes data to unit-circle phase vectors via epicycle/FFT decomposition and compares them.",
"tests": "tests.test_embedding",
"unresolved": "none",