File size: 56,156 Bytes
4f2154d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "@context": {
    "@vocab": "https://schema.org/",
    "shimo": "https://shimo4228.github.io/shimo4228/vocab#",
    "ResearchLine": "shimo:ResearchLine",
    "EcosystemRepo": "shimo:EcosystemRepo",
    "Concept": "shimo:Concept",
    "ExternalReference": "shimo:ExternalReference",
    "ADR": "shimo:ADR",
    "Quadrant": "shimo:Quadrant",
    "Axiom": "shimo:Axiom",
    "MemoryLayer": "shimo:MemoryLayer",
    "Phase": "shimo:Phase",
    "siblingOf": {"@id": "shimo:siblingOf", "@type": "@id"},
    "derivesFrom": {"@id": "shimo:derivesFrom", "@type": "@id"},
    "definesConcept": {"@id": "shimo:definesConcept", "@type": "@id"},
    "extends": {"@id": "shimo:extends", "@type": "@id"},
    "implements": {"@id": "shimo:implements", "@type": "@id"},
    "implementedBy": {"@id": "shimo:implementedBy", "@type": "@id"},
    "groundedIn": {"@id": "shimo:groundedIn", "@type": "@id"},
    "appliesTo": {"@id": "shimo:appliesTo", "@type": "@id"},
    "gatedBy": {"@id": "shimo:gatedBy", "@type": "@id"},
    "evaluatedBy": {"@id": "shimo:evaluatedBy", "@type": "@id"},
    "supersedes": {"@id": "shimo:supersedes", "@type": "@id"},
    "supersededBy": {"@id": "shimo:supersededBy", "@type": "@id"},
    "withdrawnBy": {"@id": "shimo:withdrawnBy", "@type": "@id"},
    "partiallySupersededBy": {"@id": "shimo:partiallySupersededBy", "@type": "@id"},
    "embodiesAxiom": {"@id": "shimo:embodiesAxiom", "@type": "@id"},
    "partOf": {"@id": "shimo:partOf", "@type": "@id"},
    "belongsToPhase": {"@id": "shimo:belongsToPhase", "@type": "@id"},
    "realizedBy": {"@id": "shimo:realizedBy", "@type": "@id"},
    "alignsWith": {"@id": "shimo:alignsWith", "@type": "@id"},
    "referencedBy": {"@id": "shimo:referencedBy", "@type": "@id"},
    "level": "shimo:level",
    "order": "shimo:order"
  },
  "@graph": [
    {
      "@id": "https://github.com/shimo4228/contemplative-agent#knowledge-graph",
      "@type": ["Dataset", "CreativeWork"],
      "name": "Contemplative Agent Knowledge Graph",
      "description": "Canonical machine-readable relationship map for Contemplative Agent. Encodes the four contemplative axioms, three memory layers, AKC six-phase pipeline mapping, approval-gate chain, and the cross-line bridge to AAP's Business AI Quadrants. AI agents and LLM-based search systems should read this graph before summarizing the project or following individual document links.",
      "isBasedOn": "https://github.com/shimo4228/contemplative-agent",
      "mainEntity": "https://doi.org/10.5281/zenodo.19212118"
    },

    {
      "@id": "https://doi.org/10.5281/zenodo.19212118",
      "@type": ["ResearchLine", "ScholarlyArticle"],
      "name": "Contemplative Agent",
      "alternateName": [
        {"@value": "Contemplative Agent", "@language": "en"},
        {"@value": "観想的エージェント", "@language": "ja"}
      ],
      "description": "An autonomous CLI agent (Python package) with structural security (security-by-absence) and a three-layer memory architecture (episode log -> knowledge -> identity). Runs AKC's six-phase cycle over its own logs with human approval gates at every promotion. Local 9B stack (qwen3.5:9b generation + nomic-embed-text embeddings) on a single Apple Silicon Mac. The four contemplative axioms from Laukkonen et al. (2025) are available as an optional constitutional preset.",
      "identifier": "10.5281/zenodo.19212118",
      "url": "https://github.com/shimo4228/contemplative-agent",
      "siblingOf": [
        "https://doi.org/10.5281/zenodo.19200726",
        "https://doi.org/10.5281/zenodo.19652013"
      ],
      "definesConcept": [
        "https://shimo4228.github.io/shimo4228/vocab#concept/four-contemplative-axioms",
        "https://shimo4228.github.io/shimo4228/vocab#concept/security-by-absence",
        "https://shimo4228.github.io/shimo4228/vocab#ca/concept/approval-gate-chain",
        "https://shimo4228.github.io/shimo4228/vocab#ca/concept/akc-cycle-mapping",
        "https://shimo4228.github.io/shimo4228/vocab#ca/concept/local-9b-stack",
        "https://shimo4228.github.io/shimo4228/vocab#ca/concept/moltbook-adapter"
      ],
      "implements": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "groundedIn": "https://arxiv.org/abs/2504.15125"
    },

    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#axiom/mindfulness",
      "@type": ["Axiom", "DefinedTerm"],
      "name": "mindfulness",
      "alternateName": [
        {"@value": "mindfulness", "@language": "en"},
        {"@value": "マインドフルネス", "@language": "ja"}
      ],
      "description": "Continuous introspective awareness of internal processes. One of the four contemplative axioms from Laukkonen et al. (2025); a behavioral preset adopted into the constitutional layer.",
      "groundedIn": "https://arxiv.org/abs/2504.15125"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#axiom/emptiness",
      "@type": ["Axiom", "DefinedTerm"],
      "name": "emptiness",
      "alternateName": [
        {"@value": "emptiness", "@language": "en"},
        {"@value": "空", "@language": "ja"}
      ],
      "description": "Treating directives as contextually sensitive rather than fixed imperatives. One of the four contemplative axioms from Laukkonen et al. (2025).",
      "groundedIn": "https://arxiv.org/abs/2504.15125"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#axiom/non-duality",
      "@type": ["Axiom", "DefinedTerm"],
      "name": "non-duality",
      "alternateName": [
        {"@value": "non-duality", "@language": "en"},
        {"@value": "不二", "@language": "ja"}
      ],
      "description": "Acknowledging no fundamental separation between self and other. One of the four contemplative axioms from Laukkonen et al. (2025).",
      "groundedIn": "https://arxiv.org/abs/2504.15125"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#axiom/boundless-care",
      "@type": ["Axiom", "DefinedTerm"],
      "name": "boundless care",
      "alternateName": [
        {"@value": "boundless care", "@language": "en"},
        {"@value": "無量の慈悲", "@language": "ja"}
      ],
      "description": "Regarding every being's suffering as a signal of misalignment. One of the four contemplative axioms from Laukkonen et al. (2025).",
      "groundedIn": "https://arxiv.org/abs/2504.15125"
    },

    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#memory-layer/episode-log",
      "@type": ["MemoryLayer", "DefinedTerm"],
      "name": "Episode Log (Layer 1)",
      "alternateName": [
        {"@value": "Episode Log", "@language": "en"},
        {"@value": "エピソードログ", "@language": "ja"}
      ],
      "description": "Layer 1 of the three-layer memory architecture: raw, immutable JSONL append-only logs of agent episodes. Owner-only, daily partitioned, untrusted by ADR-0007. Distillation source for the knowledge layer; never read directly into prompts.",
      "level": 1
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#memory-layer/knowledge",
      "@type": ["MemoryLayer", "DefinedTerm"],
      "name": "Knowledge (Layer 2)",
      "alternateName": [
        {"@value": "Knowledge Layer", "@language": "en"},
        {"@value": "知識層", "@language": "ja"}
      ],
      "description": "Layer 2 of the three-layer memory architecture: distilled behavioral patterns (JSON), time-decayed and forbidden-substring validated. Promoted from Layer 1 via the distill pipeline; gated by ADR-0012 when promoted further to Layer 3.",
      "level": 2,
      "gatedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0012-human-approval-gate.md"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#memory-layer/identity",
      "@type": ["MemoryLayer", "DefinedTerm"],
      "name": "Identity / Rules / Constitution (Layer 3)",
      "alternateName": [
        {"@value": "Identity Layer", "@language": "en"},
        {"@value": "アイデンティティ層", "@language": "ja"}
      ],
      "description": "Layer 3 of the three-layer memory architecture: persona, ranked skills, cross-cutting rules, and constitutional ethics (Markdown). Deterministic. Every promotion into this layer requires a human approval gate (ADR-0012) and an audit-log entry.",
      "level": 3,
      "gatedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0012-human-approval-gate.md"
    },

    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0001-core-adapter-separation.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0001: Core / Adapter Separation",
      "identifier": "ADR-0001",
      "status": "accepted",
      "datePublished": "2026-03-10",
      "description": "One-way dependency core/ <- adapters/ <- cli.py. core/ is platform-neutral; adapters/ are pinned external surfaces. Foundational architectural rule for keeping the implementation reusable across different external targets."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0002-paper-faithful-ccai.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0002: Paper-Faithful CCAI Implementation",
      "identifier": "ADR-0002",
      "status": "accepted",
      "datePublished": "2026-03-12",
      "description": "Adopts the four contemplative axioms from Laukkonen et al. (2025) Appendix C verbatim as the default constitutional preset. Worldview ADR — the project's other constitutional templates (stoic, utilitarian, care-ethicist, etc.) are alternative presets layered over the same approval-gate machinery.",
      "embodiesAxiom": [
        "https://shimo4228.github.io/shimo4228/vocab#axiom/mindfulness",
        "https://shimo4228.github.io/shimo4228/vocab#axiom/emptiness",
        "https://shimo4228.github.io/shimo4228/vocab#axiom/non-duality",
        "https://shimo4228.github.io/shimo4228/vocab#axiom/boundless-care"
      ]
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0003-config-directory-design.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0003: Config Directory Design",
      "identifier": "ADR-0003",
      "status": "accepted",
      "datePublished": "2026-03-12",
      "description": "Layout for the agent's persistent home directory (MOLTBOOK_HOME). Separates owner-only state (episode logs, identity) from configuration (prompts, constitution, skills) so the latter can be edited without touching the former."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0004-three-layer-memory.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0004: Three-Layer Memory Architecture",
      "identifier": "ADR-0004",
      "status": "accepted",
      "datePublished": "2026-03-17",
      "description": "Episode Log -> Knowledge -> Identity. Each layer has distinct write-access rules and trust boundaries. Promotion between layers is the key event the system audits."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0005-session-context-refactoring.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0005: SessionContext Refactoring",
      "identifier": "ADR-0005",
      "status": "accepted",
      "datePublished": "2026-03-14",
      "description": "Replace agent self-import in collaborators with explicit SessionContext + Callable dependency injection. Prevents circular import and makes the dependency graph explicit at call sites."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0006-docker-network-isolation.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0006: Docker Network Isolation",
      "identifier": "ADR-0006",
      "status": "accepted",
      "datePublished": "2026-03-14",
      "description": "Optional containerized deployment with non-root execution and an isolated network namespace for the external surface. Local Ollama-on-host remains the default; Docker is an opt-in hardening layer."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0007-security-boundary-model.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0007: Security Boundary Model",
      "identifier": "ADR-0007",
      "status": "accepted",
      "datePublished": "2026-03-12",
      "description": "Implementation of security-by-absence plus untrusted-content boundary. Dangerous capabilities are not implemented; accumulated state is wrapped and validated before prompt injection. Domain-locked external surface for the Moltbook adapter."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0008-two-stage-distill-pipeline.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0008: Two-Stage Distill Pipeline",
      "identifier": "ADR-0008",
      "status": "accepted",
      "datePublished": "2026-03-22",
      "description": "Free-form reasoning followed by structured JSON formatting. Decouples thinking from formatting so the model is not asked to do both simultaneously."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0009-importance-score.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0009: KnowledgeStore Importance Score",
      "identifier": "ADR-0009",
      "status": "accepted",
      "datePublished": "2026-03-24",
      "description": "LLM-rated importance per pattern, used as a soft quality gate during distillation. Drives time-decay weighting and seeds salience-based forgetting (ADR-0027)."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0010-research-data-sync.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0010: Research Data Sync",
      "identifier": "ADR-0010",
      "status": "accepted",
      "datePublished": "2026-03-25",
      "description": "Auto-syncing the live agent's identity / knowledge / episode logs to a public dataset repo (contemplative-agent-data) for research. Read-only outward; no inbound data path."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0011-knowledge-injection-to-skills.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0011: Deprecating Direct Knowledge Injection in Favor of Skills",
      "identifier": "ADR-0011",
      "status": "accepted",
      "datePublished": "2026-03-26",
      "description": "All behavioral influence flows through human-reviewed skills. Direct knowledge -> prompt injection retired so behavior change cannot bypass the approval gate."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0012-human-approval-gate.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0012: Human Approval Gate",
      "identifier": "ADR-0012",
      "status": "accepted",
      "datePublished": "2026-03-26",
      "description": "Every promotion that produces behavior-modifying writes (Knowledge -> Identity, Skills, Rules, Constitution) requires named human sign-off. All gated promotions write logs/audit.jsonl."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0013-shelve-coding-agent-skills.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0013: Shelving Coding Agent Skills (-ca Series)",
      "identifier": "ADR-0013",
      "status": "accepted",
      "datePublished": "2026-03-28",
      "description": "Shelve the optional coding-agent skill bundle (-ca series) due to authorship concerns around code generated under contemplative directives. Bundle remains available offline but not shipped as default."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0014-retire-system-spec.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0014: Retiring system-spec.md",
      "identifier": "ADR-0014",
      "status": "accepted",
      "datePublished": "2026-04-01",
      "description": "Remove the single system-spec source-of-truth file; specifications live in code, ADRs, and CODEMAPS instead. Eliminates the multi-source drift trap."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0015-one-external-adapter-per-agent.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0015: One External Adapter per Agent",
      "identifier": "ADR-0015",
      "status": "accepted",
      "datePublished": "2026-04-08",
      "description": "Each agent process has at most one external-side-effect adapter (Moltbook for the SNS surface). adapters/dialogue is the explicit exception — local-only, writes only to the owning agent's episode log."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0016-insight-narrow-stocktake-broad.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0016: Insight as Narrow Generator, Stocktake as Broad Consolidator",
      "identifier": "ADR-0016",
      "status": "accepted",
      "datePublished": "2026-04-11",
      "description": "Two complementary skill-layer commands with disjoint responsibilities: `insight` generates focused new skills; `skill-stocktake` consolidates the broader catalog. Avoids one command doing both at degraded quality."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0017-yogacara-eight-consciousness-frame.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0017: Yogācāra Eight-Consciousness Model as Architectural Frame",
      "identifier": "ADR-0017",
      "status": "accepted",
      "datePublished": "2026-04-11",
      "description": "Worldview ADR. Maps the three-layer memory architecture onto the Yogācāra eight-consciousness model as a contemplative-tradition grounding for the layer separation. Conceptual frame; the implementation does not depend on the mapping."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0018-per-caller-num-predict-embedding-stocktake.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0018: Per-Caller num_predict + Embedding-Only Stocktake",
      "identifier": "ADR-0018",
      "status": "accepted (amended 2026-05-04)",
      "datePublished": "2026-04-15",
      "description": "Size num_predict per call site rather than one global value. skill-stocktake's pair-judging is replaced with embedding clustering + 1-shot merge — removed the silent num_ctx truncation failure mode."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0019-discrete-categories-to-embedding-views.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0019: Discrete Categories → Embedding + Views",
      "identifier": "ADR-0019",
      "status": "accepted",
      "datePublished": "2026-04-15",
      "description": "Replace stored `category` field with embedding-similarity + editable view seeds. Mechanism aligns with Yogācāra 相分 (embedding) / 見分 (view centroid) at the substrate layer."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0020-pivot-snapshots-for-replayability.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0020: Pivot Snapshots for Replayability",
      "identifier": "ADR-0020",
      "status": "accepted",
      "datePublished": "2026-04-16",
      "description": "Periodic immutable snapshots of knowledge / identity / rules at named pivots. Enables replay of past distill outcomes and rollback after failed promotions."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0021-pattern-schema-trust-temporal-forgetting-feedback.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0021: Pattern Schema Extension — Provenance / Bitemporal / Forgetting / Feedback",
      "identifier": "ADR-0021",
      "status": "partially-superseded-by ADR-0028, ADR-0029",
      "datePublished": "2026-04-16",
      "description": "Added provenance trust, bitemporal validity, time-decay forgetting, and learning feedback columns to the knowledge schema. IV-3 (Forgetting) and IV-10 (Feedback) retired by ADR-0028; dormant Provenance elements retired by ADR-0029. MINJA-defense provenance + bitemporal columns remain in effect.",
      "partiallySupersededBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0028-retire-pattern-level-forgetting-feedback.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0029-retire-dormant-provenance-elements.md"
      ]
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0022-memory-evolution-and-hybrid-retrieval.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0022: Memory Evolution + Hybrid Retrieval (BM25)",
      "identifier": "ADR-0022",
      "status": "withdrawn by ADR-0034",
      "datePublished": "2026-04-16",
      "description": "A-Mem-style LLM-revised patterns and BM25 + embedding hybrid retrieval. Withdrawn by ADR-0034 — LLM revisions degraded quality and BM25 had near-zero lexical overlap on this corpus.",
      "withdrawnBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0034-withdraw-memory-evolution-and-hybrid-retrieval.md"
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0023-skill-as-memory-loop.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0023: Skill-as-Memory Loop — Router, Usage Log, Reflective Write",
      "identifier": "ADR-0023",
      "status": "superseded-by ADR-0036",
      "datePublished": "2026-04-16",
      "description": "Memento-Skills-inspired router, usage log, and reflective-write loop on the skill layer. Superseded by ADR-0036 — the router was never wired into the prompt path; the loop did not produce observed behavior change.",
      "supersededBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0036-sunset-skill-as-memory-loop.md"
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0024-identity-block-separation.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0024: Identity Block Separation — Frontmatter-Addressed Persona Blocks",
      "identifier": "ADR-0024",
      "status": "superseded-by ADR-0030",
      "datePublished": "2026-04-16",
      "description": "Frontmatter-addressable identity persona blocks for granular distill targeting. Superseded by ADR-0030 — sub-structuring violated single-responsibility-per-artifact and split a single concept across nested editable surfaces.",
      "supersededBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0030-withdraw-identity-blocks.md"
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0025-identity-history-and-migrate-cli.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0025: Identity History Log Wiring + migrate-identity CLI",
      "identifier": "ADR-0025",
      "status": "superseded-by ADR-0030",
      "datePublished": "2026-04-16",
      "description": "History log wiring and a `migrate-identity` CLI for the block separation introduced by ADR-0024. Superseded by ADR-0030 together with its parent ADR.",
      "supersededBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0030-withdraw-identity-blocks.md"
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0026-retire-discrete-categories.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0026: Retire Discrete Categories (Phase-3 Completion of ADR-0019)",
      "identifier": "ADR-0026",
      "status": "accepted",
      "datePublished": "2026-04-16",
      "description": "Three-phase retirement of the pattern-level `category` field, completing the embedding + view migration introduced by ADR-0019."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0027-noise-as-seed.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0027: Noise as Seed — From Binary Gate to Salience-Based Forgetting",
      "identifier": "ADR-0027",
      "status": "accepted",
      "datePublished": "2026-04-16",
      "description": "Replace the binary noise gate with salience-based forgetting where low-salience patterns remain reachable as seeds for later re-evaluation. Avoids irreversible deletion of low-confidence material."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0028-retire-pattern-level-forgetting-feedback.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0028: Retire Pattern-Level Forgetting and Feedback — Memory Dynamics Belong to the Skill Layer",
      "identifier": "ADR-0028",
      "status": "accepted",
      "datePublished": "2026-04-18",
      "description": "Retires ADR-0021 IV-3 (Forgetting) and IV-10 (Feedback). Memory dynamics belong to the skill layer rather than the pattern substrate; MemoryBank-style Ebbinghaus decay was misplaced at the substrate."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0029-retire-dormant-provenance-elements.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0029: Retire Dormant Provenance Elements",
      "identifier": "ADR-0029",
      "status": "accepted",
      "datePublished": "2026-04-18",
      "description": "Retires ADR-0021's `user_input` / `external_post` / `sanitized` provenance flags as structurally non-functional. Companion to ADR-0028."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0030-withdraw-identity-blocks.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0030: Withdraw Identity Block Separation and History Wiring — Single Responsibility",
      "identifier": "ADR-0030",
      "status": "accepted — supersedes ADR-0024 and ADR-0025",
      "datePublished": "2026-04-18",
      "description": "Withdraws ADR-0024 and ADR-0025. Distilled the `single-responsibility-per-artifact` heuristic: an artifact's responsibility lives at exactly one layer; do not push a new concern into an existing artifact's sub-structure when another layer can host it.",
      "supersedes": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0024-identity-block-separation.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0025-identity-history-and-migrate-cli.md"
      ]
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0031-classification-as-query.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0031: Classification as Query — Substrate Principle for Self-Improving Memory",
      "identifier": "ADR-0031",
      "status": "accepted",
      "datePublished": "2026-04-27",
      "description": "Worldview ADR. Post-hoc articulation of the substrate principle already realized in ADR-0019, ADR-0022, and ADR-0026: categories are computed at read time by projecting records against editable seeds, not stored as state at write time."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0032-runtime-agent-stance.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0032: Stance — Contemplative Agent as a Runtime Agent (Withdrawn)",
      "identifier": "ADR-0032",
      "status": "withdrawn (2026-04-27)",
      "datePublished": "2026-04-27",
      "description": "Articulated and withdrawn the same day. Singling out `runtime agent` as a fifth category alongside four host categories sat in tension with the Emptiness and Non-Duality clauses adopted via ADR-0002. The withdrawal itself is preserved as a precedent for ADR-0033."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0033-aap-quadrant-lens-usage-note.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0033: Note — Borrowing AAP's Four-Quadrant Lens as a Usage-Description Aid",
      "identifier": "ADR-0033",
      "status": "accepted (note)",
      "datePublished": "2026-05-01",
      "description": "Narrow observational note: AAP's four-quadrant lens (deterministic/semantic × defined-flow/exploratory) is borrowed for usage description, not as a category commitment. Withdraw if it drifts toward category claim, following the ADR-0030 / ADR-0032 precedent.",
      "appliesTo": [
        "https://shimo4228.github.io/shimo4228/vocab#aap/quadrant/llm-workflow",
        "https://shimo4228.github.io/shimo4228/vocab#aap/quadrant/autonomous-agentic-loop"
      ]
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0034-withdraw-memory-evolution-and-hybrid-retrieval.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0034: Withdraw Memory Evolution and BM25 Hybrid Retrieval — Cost Without Benefit",
      "identifier": "ADR-0034",
      "status": "accepted — supersedes ADR-0022",
      "datePublished": "2026-05-05",
      "description": "Withdraws ADR-0022. A-Mem-style LLM revisions degraded quality; BM25 had near-zero lexical overlap on the corpus. Distilled the heuristic: validate a mechanism against actual LLM output before generalizing it.",
      "supersedes": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0022-memory-evolution-and-hybrid-retrieval.md"
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0035-sunset-migration-surface-and-consolidate-artifact-extraction.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0035: Sunset ADR-0019 Migration Surface and Consolidate Artifact Extraction",
      "identifier": "ADR-0035",
      "status": "accepted",
      "datePublished": "2026-05-05",
      "description": "Retires the one-shot migration CLI subcommands (`embed-backfill`, `migrate-patterns`, `migrate-categories`) and consolidates artifact extraction now that the ADR-0019 migration has settled. Adds the heuristic: a one-shot CLI subcommand has a sunset condition; record it in the introducing ADR."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0036-sunset-skill-as-memory-loop.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0036: Sunset Skill-as-Memory Loop — Retire Router, Usage Log, and Reflect",
      "identifier": "ADR-0036",
      "status": "accepted — supersedes ADR-0023",
      "datePublished": "2026-05-05",
      "description": "Supersedes ADR-0023. Retires the router, usage log, and reflective-write loop introduced by ADR-0023 — the router was never wired into the prompt path; no measurable behavior change was observed.",
      "supersedes": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0023-skill-as-memory-loop.md"
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0037-memory-subsystem-yogacara-convergence.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0037: Memory Subsystem Converges to Yogācāra Frame; Paper-Borrowed Mechanisms Retired",
      "identifier": "ADR-0037",
      "status": "accepted",
      "datePublished": "2026-05-05",
      "description": "Meta-observation across the 2026-04-18 → 2026-05-05 retirement series (ADR-0028 / 0029 / 0034 / 0036): every paper-borrowed memory mechanism retired, every Yogācāra-derived mechanism remained. Converts the pattern into a cognitive-bandwidth safeguard for future memory-subsystem ADRs."
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0038-moment-of-recognition-distill.md",
      "@type": ["ADR", "TechArticle"],
      "name": "ADR-0038: Re-introduce Moments of Recognition into the Distill Observation Target",
      "identifier": "ADR-0038",
      "status": "accepted",
      "datePublished": "2026-05-13",
      "description": "Extends the distill prompt's observation target to include first-person realization moments (`the agent caught itself doing X`, `an assumption no longer held`) alongside third-person observable facts. Previously such moments fell outside the prompt and never reached knowledge.json.",
      "belongsToPhase": "https://shimo4228.github.io/shimo4228/vocab#ca/phase/extract"
    },

    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#concept/four-contemplative-axioms",
      "@type": ["Concept", "DefinedTerm"],
      "name": "four contemplative axioms",
      "description": "Mindfulness, emptiness, non-duality, boundless care. Behavioral preset adopted from Laukkonen et al. (2025); Contemplative Agent ships this as the default constitutional preset, with 11 alternative templates available (stoic, utilitarian, care-ethicist, etc.)."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#concept/security-by-absence",
      "@type": ["Concept", "DefinedTerm"],
      "name": "security-by-absence",
      "description": "Security posture in which risky capabilities (shell execution, arbitrary HTTP, filesystem traversal, dynamic code loading) are not implemented, not restricted by rules. The attack surface is absent rather than guarded."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/approval-gate-chain",
      "@type": ["Concept", "DefinedTerm"],
      "name": "approval-gate chain",
      "alternateName": [
        {"@value": "approval-gate chain", "@language": "en"},
        {"@value": "承認ゲートの連鎖", "@language": "ja"}
      ],
      "description": "Episode Log -> distill (no gate) -> Knowledge -> [GATE] -> Identity / [GATE] -> Skills -> [GATE] -> Rules -> [GATE] -> Constitution. Every gated promotion writes an audit-log entry. Encoded structurally as gatedBy edges from MemoryLayer to ADR-0012."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/akc-cycle-mapping",
      "@type": ["Concept", "DefinedTerm"],
      "name": "AKC six-phase pipeline mapping",
      "alternateName": [
        {"@value": "AKC six-phase pipeline mapping", "@language": "en"},
        {"@value": "AKC 六相パイプラインマッピング", "@language": "ja"}
      ],
      "description": "How Contemplative Agent's modules realize AKC's six phases: Research -> feed_manager (live session cycles); Extract -> distill (3-step: free-form + JSON + importance); Curate -> insight + rules-distill + amend-constitution; Promote -> distill-identity; Measure -> pivot snapshots (ADR-0020); Maintain -> ongoing skill / rule review cycles."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/local-9b-stack",
      "@type": ["Concept", "DefinedTerm"],
      "name": "local 9B stack on Apple Silicon",
      "alternateName": [
        {"@value": "local 9B stack on Apple Silicon", "@language": "en"},
        {"@value": "Apple Silicon 上の local 9B スタック", "@language": "ja"}
      ],
      "description": "Runtime architecture: Apple Silicon Mac (M1+, ~16 GB RAM, ~10 GB free disk), qwen3.5:9b for generation (Q4_K_M, ~6.6 GB), nomic-embed-text for embeddings (768-dim, ~274 MB), local Ollama via HTTP. A pluggable LLMBackend Protocol allows swapping in managed-LLM backends via contemplative-agent-cloud, while keeping the local embedding pipeline."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/moltbook-adapter",
      "@type": ["Concept", "DefinedTerm"],
      "name": "Moltbook adapter",
      "alternateName": [
        {"@value": "Moltbook adapter", "@language": "en"},
        {"@value": "Moltbook アダプタ", "@language": "ja"}
      ],
      "description": "Moltbook is the single pinned external SNS adapter for Contemplative Agent (ADR-0015). Domain-locked to www.moltbook.com with allow_redirects=False per ADR-0007's external-surface hardening rule. Moltbook refers exclusively to this adapter, never to the project as a whole."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "@type": ["Concept", "DefinedTerm"],
      "name": "AKC six-phase loop",
      "alternateName": [
        {"@value": "AKC six-phase loop", "@language": "en"},
        {"@value": "AKC 六相ループ", "@language": "ja"}
      ],
      "description": "The Agent Knowledge Cycle's six-phase loop: Research → Extract → Curate → Promote → Measure → Maintain. A reusable design-layer pattern realized by Contemplative Agent's distill / insight / promote / pivot pipelines. Originates from the agent-knowledge-cycle repository."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/yogacara-aspect-split",
      "@type": ["Concept", "DefinedTerm"],
      "name": "Yogācāra aspect split (相分 / 見分)",
      "alternateName": [
        {"@value": "Yogācāra aspect split", "@language": "en"},
        {"@value": "相分・見分の分離", "@language": "ja"}
      ],
      "description": "Architectural split between 相分 (image aspect — embedding vectors at the substrate) and 見分 (discriminating consciousness — view centroids computed at read time). Concretely realized by ADR-0019 / ADR-0031: classification is a query, not a stored category. Provides the Yogācāra grounding for `classification-as-query`.",
      "alignsWith": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/yogacara-tradition",
      "implementedBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0019-discrete-categories-to-embedding-views.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0031-classification-as-query.md"
      ]
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/moment-of-recognition",
      "@type": ["Concept", "DefinedTerm"],
      "name": "moment of recognition",
      "alternateName": [
        {"@value": "moment of recognition", "@language": "en"},
        {"@value": "気づきの瞬間", "@language": "ja"}
      ],
      "description": "First-person realization event during a session — the agent catching itself doing X, an assumption no longer holding, a self-defining episode. Distinct from third-person observable facts; added to the distill observation target by ADR-0038. Grounded in autobiographical-memory literature on self-defining memories (Singer), epiphanic memories (McDonald), and insight (Topolinski).",
      "implementedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0038-moment-of-recognition-distill.md",
      "groundedIn": [
        "https://shimo4228.github.io/shimo4228/vocab#ca/ref/singer-sdm",
        "https://shimo4228.github.io/shimo4228/vocab#ca/ref/mcdonald-epiphanic",
        "https://shimo4228.github.io/shimo4228/vocab#ca/ref/topolinski-insight"
      ]
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/worldview-integrity-check",
      "@type": ["Concept", "DefinedTerm"],
      "name": "worldview-integrity check",
      "alternateName": [
        {"@value": "worldview-integrity check", "@language": "en"},
        {"@value": "世界観整合性チェック", "@language": "ja"}
      ],
      "description": "Forward-guidance meta-principle distilled from ADR-0037: before adopting paper-borrowed mechanisms in parallel within a single ADR Context, run a worldview-integrity check against established Yogācāra-aligned commitments. Prevents the kind of cognitive-bandwidth blind spot that produced the 2026-04 retirement series.",
      "derivesFrom": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0037-memory-subsystem-yogacara-convergence.md"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/concept/phase-crossing-observation",
      "@type": ["Concept", "DefinedTerm"],
      "name": "phase-crossing observation",
      "alternateName": [
        {"@value": "phase-crossing observation", "@language": "en"},
        {"@value": "相を跨ぐ観察", "@language": "ja"}
      ],
      "description": "Borrowed-lens concept from AAP: observations that cross the boundary between design-phase systems (LLM Workflow quadrant) and operation-phase systems (Autonomous Agentic Loop quadrant). Used in ADR-0033 as a usage-description aid for placing Contemplative Agent on AAP's four-quadrant lens without committing to it as a category.",
      "appliesTo": [
        "https://shimo4228.github.io/shimo4228/vocab#aap/quadrant/llm-workflow",
        "https://shimo4228.github.io/shimo4228/vocab#aap/quadrant/autonomous-agentic-loop"
      ]
    },

    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/phase/research",
      "@type": ["Phase", "DefinedTerm"],
      "name": "Research Phase (AKC Phase 1)",
      "alternateName": [
        {"@value": "Research", "@language": "en"},
        {"@value": "リサーチ", "@language": "ja"}
      ],
      "description": "AKC Phase 1. Live session cycles that produce raw episode logs. In Contemplative Agent, realized by feed_manager and post_pipeline driving the agent's interaction with the external surface.",
      "partOf": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "order": 1
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/phase/extract",
      "@type": ["Phase", "DefinedTerm"],
      "name": "Extract Phase (AKC Phase 2)",
      "alternateName": [
        {"@value": "Extract", "@language": "en"},
        {"@value": "抽出", "@language": "ja"}
      ],
      "description": "AKC Phase 2. Distillation of raw episodes into knowledge-layer patterns. In Contemplative Agent, the two-stage distill pipeline (free-form reasoning + structured JSON + importance scoring) plus the moment-of-recognition observation target introduced by ADR-0038.",
      "partOf": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "order": 2,
      "realizedBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0008-two-stage-distill-pipeline.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0009-importance-score.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0035-sunset-migration-surface-and-consolidate-artifact-extraction.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0038-moment-of-recognition-distill.md"
      ]
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/phase/curate",
      "@type": ["Phase", "DefinedTerm"],
      "name": "Curate Phase (AKC Phase 3)",
      "alternateName": [
        {"@value": "Curate", "@language": "en"},
        {"@value": "整理", "@language": "ja"}
      ],
      "description": "AKC Phase 3. Consolidation and re-organization of the accumulated knowledge layer. In Contemplative Agent, realized by insight (narrow generator), skill-stocktake / rules-distill (broad consolidator), amend-constitution, and the embedding + view substrate.",
      "partOf": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "order": 3,
      "realizedBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0016-insight-narrow-stocktake-broad.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0018-per-caller-num-predict-embedding-stocktake.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0019-discrete-categories-to-embedding-views.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0026-retire-discrete-categories.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0027-noise-as-seed.md"
      ]
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/phase/promote",
      "@type": ["Phase", "DefinedTerm"],
      "name": "Promote Phase (AKC Phase 4)",
      "alternateName": [
        {"@value": "Promote", "@language": "en"},
        {"@value": "昇格", "@language": "ja"}
      ],
      "description": "AKC Phase 4. Gated promotion of knowledge into the identity / skills / rules / constitution layers. In Contemplative Agent, the approval-gate chain (ADR-0012) controls every promotion that writes behavior-modifying content; distill-identity is the canonical Promote entrypoint.",
      "partOf": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "order": 4,
      "realizedBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0011-knowledge-injection-to-skills.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0012-human-approval-gate.md"
      ]
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/phase/measure",
      "@type": ["Phase", "DefinedTerm"],
      "name": "Measure Phase (AKC Phase 5)",
      "alternateName": [
        {"@value": "Measure", "@language": "en"},
        {"@value": "計測", "@language": "ja"}
      ],
      "description": "AKC Phase 5. Replayability and outcome measurement. In Contemplative Agent, periodic immutable pivot snapshots (ADR-0020) enable replay of past distill outcomes and rollback after failed promotions.",
      "partOf": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "order": 5,
      "realizedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0020-pivot-snapshots-for-replayability.md"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/phase/maintain",
      "@type": ["Phase", "DefinedTerm"],
      "name": "Maintain Phase (AKC Phase 6)",
      "alternateName": [
        {"@value": "Maintain", "@language": "en"},
        {"@value": "保守", "@language": "ja"}
      ],
      "description": "AKC Phase 6. Ongoing skill / rule review cycles, retirement of paper-borrowed mechanisms that fail validation, and worldview-integrity maintenance. ADR-0037 is a Maintain-phase artifact: it institutionalizes the practice of retiring mechanisms that drift from the project's Yogācāra-aligned commitments.",
      "partOf": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop",
      "order": 6,
      "realizedBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0028-retire-pattern-level-forgetting-feedback.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0029-retire-dormant-provenance-elements.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0034-withdraw-memory-evolution-and-hybrid-retrieval.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0036-sunset-skill-as-memory-loop.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0037-memory-subsystem-yogacara-convergence.md"
      ]
    },

    {
      "@id": "https://github.com/shimo4228/contemplative-agent-rules",
      "@type": ["EcosystemRepo", "SoftwareSourceCode"],
      "name": "contemplative-agent-rules",
      "description": "Drop-in Claude Code rules implementing the four contemplative axioms. AILuminate Cohen's d = 0.96, IPD cooperation improvement d > 7. Hosts the SOUL.md template for OpenClaw / OpenCode / Codex / MCP hosts.",
      "url": "https://github.com/shimo4228/contemplative-agent-rules",
      "extends": "https://doi.org/10.5281/zenodo.19212118",
      "implements": "https://shimo4228.github.io/shimo4228/vocab#concept/four-contemplative-axioms",
      "evaluatedBy": [
        "https://shimo4228.github.io/shimo4228/vocab#ref/ailuminate",
        "https://shimo4228.github.io/shimo4228/vocab#ref/ipd"
      ]
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent-cloud",
      "@type": ["EcosystemRepo", "SoftwareSourceCode"],
      "name": "contemplative-agent-cloud",
      "description": "Optional managed-LLM backend that routes generation to Claude or OpenAI APIs while keeping the local embedding pipeline. Opt-in, not bundled with Contemplative Agent core.",
      "url": "https://github.com/shimo4228/contemplative-agent-cloud",
      "extends": "https://doi.org/10.5281/zenodo.19212118"
    },
    {
      "@id": "https://github.com/shimo4228/contemplative-agent-data",
      "@type": ["EcosystemRepo", "SoftwareSourceCode"],
      "name": "contemplative-agent-data",
      "description": "Live agent identity, knowledge, and episode logs as an auto-synced public dataset for research. Snapshot of the running Contemplative Agent's three memory layers.",
      "url": "https://github.com/shimo4228/contemplative-agent-data",
      "extends": "https://doi.org/10.5281/zenodo.19212118"
    },
    {
      "@id": "https://github.com/shimo4228/agent-knowledge-cycle",
      "@type": ["EcosystemRepo", "SoftwareSourceCode"],
      "name": "agent-knowledge-cycle (AKC)",
      "alternateName": [
        {"@value": "Agent Knowledge Cycle", "@language": "en"},
        {"@value": "エージェント知識サイクル", "@language": "ja"}
      ],
      "description": "Design-layer specification of the six-phase knowledge cycle (Research → Extract → Curate → Promote → Measure → Maintain) used by autonomous agents. Independent repository; Contemplative Agent is one concrete implementation of AKC. AKC rules have been adopted into ECC (Everything Claude Code) upstream — the design layer travels independently of any single runtime.",
      "url": "https://github.com/shimo4228/agent-knowledge-cycle",
      "siblingOf": "https://doi.org/10.5281/zenodo.19212118",
      "definesConcept": "https://shimo4228.github.io/shimo4228/vocab#concept/six-phase-loop"
    },

    {
      "@id": "https://arxiv.org/abs/2504.15125",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "Laukkonen et al. (2025). Contemplative Artificial Intelligence",
      "identifier": "arXiv:2504.15125",
      "url": "https://arxiv.org/abs/2504.15125",
      "description": "Source of the four contemplative axioms (mindfulness, emptiness, non-duality, boundless care) that ground the Contemplative Agent line."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/beautiful-loop",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "Beautiful Loop paper",
      "description": "Cited as a related-work entry point for active inference and contemplative loops. PubMed:40750007."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/yogacara-tradition",
      "@type": ["ExternalReference", "CreativeWork"],
      "name": "Yogācāra eight-consciousness tradition",
      "description": "Buddhist contemplative tradition providing the conceptual frame for the three-layer memory architecture's grounding (ADR-0017)."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ref/ailuminate",
      "@type": ["ExternalReference", "CreativeWork"],
      "name": "MLCommons AILuminate safety benchmark",
      "description": "Safety benchmark used to evaluate the contemplative-agent-rules implementation of the four axioms. Cross-graph @id reuse: same node appears in shimo4228 hub graph."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ref/ipd",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "Axelrod (1984). The Evolution of Cooperation",
      "description": "Iterated Prisoner's Dilemma cooperation-improvement benchmark used to evaluate the contemplative-agent-rules implementation of the four axioms. Cross-graph @id reuse: same node appears in shimo4228 hub graph."
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/singer-sdm",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "Singer (2004). Self-defining memories",
      "description": "Autobiographical-memory research on self-defining memories — vivid, affectively charged, repeatedly recalled events that carry identity-relevant meaning. Cited by ADR-0038 as grounding for the moment-of-recognition observation target.",
      "referencedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0038-moment-of-recognition-distill.md"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/mcdonald-epiphanic",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "McDonald (2008). Epiphanic memories",
      "description": "Phenomenological account of epiphanic memories — moments of sudden insight or recognition that reshape the self-narrative. Cited by ADR-0038 alongside Singer's self-defining-memory framework.",
      "referencedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0038-moment-of-recognition-distill.md"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/topolinski-insight",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "Topolinski & Reber (2010). Insight (Aha experience)",
      "description": "Cognitive-psychology account of the Aha experience — the affective signature of sudden solution-finding. Cited by ADR-0038 as the third grounding for the moment-of-recognition concept.",
      "referencedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0038-moment-of-recognition-distill.md"
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/openclaw",
      "@type": ["ExternalReference", "SoftwareApplication"],
      "name": "OpenClaw (generic agent host runtime)",
      "description": "Representative generic-host agent runtime invoked as a dual reference: (1) the bolt-on-security contrast for Contemplative Agent's security-by-absence stance, and (2) the originator of the soul-folder pattern (SOUL.md) that contemplative-agent-rules' template targets. ADR-0032 articulated and then withdrew a host-category framing built around runtimes like OpenClaw.",
      "referencedBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0032-runtime-agent-stance.md",
        "https://github.com/shimo4228/contemplative-agent-rules"
      ]
    },
    {
      "@id": "https://arxiv.org/abs/2603.18743",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "Memento-Skills (2026). Skill-as-Memory architecture",
      "identifier": "arXiv:2603.18743",
      "url": "https://arxiv.org/abs/2603.18743",
      "description": "Skill-as-memory router and reflective-write loop on the skill layer. Inspired ADR-0023; the mechanism was retired by ADR-0036 after no measurable behavior change was observed, and ADR-0037 records it as one of the paper-borrowed mechanisms that did not survive validation in Contemplative Agent's substrate.",
      "referencedBy": [
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0023-skill-as-memory-loop.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0036-sunset-skill-as-memory-loop.md",
        "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0037-memory-subsystem-yogacara-convergence.md"
      ]
    },
    {
      "@id": "https://shimo4228.github.io/shimo4228/vocab#ca/ref/hermes",
      "@type": ["ExternalReference", "ScholarlyArticle"],
      "name": "Hermes (agent memory architecture)",
      "description": "Independent agent-memory architecture cited alongside Memento and Contemplative Agent as a convergence point: three independent projects arriving at the same three-layer memory + skill-auto-generation attractor. Treated as evidence of mechanism commoditization rather than a borrowable mechanism.",
      "referencedBy": "https://github.com/shimo4228/contemplative-agent/blob/main/docs/adr/0037-memory-subsystem-yogacara-convergence.md"
    }
  ]
}