Contemplative Agent Knowledge Graph
type: Dataset
type: CreativeWork
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.
is based on: https://github.com/shimo4228/contemplative-agent
main entity: Contemplative Agent

Contemplative Agent
type: ResearchLine
type: ScholarlyArticle
alternate name: Contemplative Agent
alternate name: 観想的エージェント @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.
sibling of: zenodo.19200726
sibling of: zenodo.19652013
defines concept: four contemplative axioms
defines concept: security-by-absence
defines concept: approval-gate chain
defines concept: AKC six-phase pipeline mapping
defines concept: local 9B stack on Apple Silicon
defines concept: Moltbook adapter
implements: AKC six-phase loop
grounded in: Laukkonen et al. (2025). Contemplative Artificial Intelligence

mindfulness
type: Axiom
type: DefinedTerm
alternate name: mindfulness
alternate name: マインドフルネス @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.
grounded in: Laukkonen et al. (2025). Contemplative Artificial Intelligence

emptiness
type: Axiom
type: DefinedTerm
alternate name: emptiness
alternate name: 空 @ja
description: Treating directives as contextually sensitive rather than fixed imperatives. One of the four contemplative axioms from Laukkonen et al. (2025).
grounded in: Laukkonen et al. (2025). Contemplative Artificial Intelligence

non-duality
type: Axiom
type: DefinedTerm
alternate name: non-duality
alternate name: 不二 @ja
description: Acknowledging no fundamental separation between self and other. One of the four contemplative axioms from Laukkonen et al. (2025).
grounded in: Laukkonen et al. (2025). Contemplative Artificial Intelligence

boundless care
type: Axiom
type: DefinedTerm
alternate name: boundless care
alternate name: 無量の慈悲 @ja
description: Regarding every being's suffering as a signal of misalignment. One of the four contemplative axioms from Laukkonen et al. (2025).
grounded in: Laukkonen et al. (2025). Contemplative Artificial Intelligence

Episode Log (Layer 1)
type: MemoryLayer
type: DefinedTerm
alternate name: Episode Log
alternate name: エピソードログ @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

Knowledge (Layer 2)
type: MemoryLayer
type: DefinedTerm
alternate name: Knowledge Layer
alternate name: 知識層 @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
gated by: ADR-0012: Human Approval Gate

Identity / Rules / Constitution (Layer 3)
type: MemoryLayer
type: DefinedTerm
alternate name: Identity Layer
alternate name: アイデンティティ層 @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
gated by: ADR-0012: Human Approval Gate

ADR-0001: Core / Adapter Separation
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0002: Paper-Faithful CCAI Implementation
type: ADR
type: TechArticle
status: accepted
date published: 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.
embodies axiom: mindfulness
embodies axiom: emptiness
embodies axiom: non-duality
embodies axiom: boundless care

ADR-0003: Config Directory Design
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0004: Three-Layer Memory Architecture
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0005: SessionContext Refactoring
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0006: Docker Network Isolation
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0007: Security Boundary Model
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0008: Two-Stage Distill Pipeline
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0009: KnowledgeStore Importance Score
type: ADR
type: TechArticle
status: accepted
date published: 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).

ADR-0010: Research Data Sync
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0011: Deprecating Direct Knowledge Injection in Favor of Skills
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0012: Human Approval Gate
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0013: Shelving Coding Agent Skills (-ca Series)
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0014: Retiring system-spec.md
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0015: One External Adapter per Agent
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0016: Insight as Narrow Generator, Stocktake as Broad Consolidator
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0017: Yogācāra Eight-Consciousness Model as Architectural Frame
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0018: Per-Caller num_predict + Embedding-Only Stocktake
type: ADR
type: TechArticle
status: accepted (amended 2026-05-04)
date published: 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.

ADR-0019: Discrete Categories → Embedding + Views
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0020: Pivot Snapshots for Replayability
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0021: Pattern Schema Extension — Provenance / Bitemporal / Forgetting / Feedback
type: ADR
type: TechArticle
status: partially-superseded-by ADR-0028, ADR-0029
date published: 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.
partially superseded by: ADR-0028: Retire Pattern-Level Forgetting and Feedback — Memory Dynamics Belong to the Skill Layer
partially superseded by: ADR-0029: Retire Dormant Provenance Elements

ADR-0022: Memory Evolution + Hybrid Retrieval (BM25)
type: ADR
type: TechArticle
status: withdrawn by ADR-0034
date published: 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.
withdrawn by: ADR-0034: Withdraw Memory Evolution and BM25 Hybrid Retrieval — Cost Without Benefit

ADR-0023: Skill-as-Memory Loop — Router, Usage Log, Reflective Write
type: ADR
type: TechArticle
status: superseded-by ADR-0036
date published: 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.
superseded by: ADR-0036: Sunset Skill-as-Memory Loop — Retire Router, Usage Log, and Reflect

ADR-0024: Identity Block Separation — Frontmatter-Addressed Persona Blocks
type: ADR
type: TechArticle
status: superseded-by ADR-0030
date published: 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.
superseded by: ADR-0030: Withdraw Identity Block Separation and History Wiring — Single Responsibility

ADR-0025: Identity History Log Wiring + migrate-identity CLI
type: ADR
type: TechArticle
status: superseded-by ADR-0030
date published: 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.
superseded by: ADR-0030: Withdraw Identity Block Separation and History Wiring — Single Responsibility

ADR-0026: Retire Discrete Categories (Phase-3 Completion of ADR-0019)
type: ADR
type: TechArticle
status: accepted
date published: 2026-04-16
description: Three-phase retirement of the pattern-level `category` field, completing the embedding + view migration introduced by ADR-0019.

ADR-0027: Noise as Seed — From Binary Gate to Salience-Based Forgetting
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0028: Retire Pattern-Level Forgetting and Feedback — Memory Dynamics Belong to the Skill Layer
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0029: Retire Dormant Provenance Elements
type: ADR
type: TechArticle
status: accepted
date published: 2026-04-18
description: Retires ADR-0021's `user_input` / `external_post` / `sanitized` provenance flags as structurally non-functional. Companion to ADR-0028.

ADR-0030: Withdraw Identity Block Separation and History Wiring — Single Responsibility
type: ADR
type: TechArticle
status: accepted — supersedes ADR-0024 and ADR-0025
date published: 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: ADR-0024: Identity Block Separation — Frontmatter-Addressed Persona Blocks
supersedes: ADR-0025: Identity History Log Wiring + migrate-identity CLI

ADR-0031: Classification as Query — Substrate Principle for Self-Improving Memory
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0032: Stance — Contemplative Agent as a Runtime Agent (Withdrawn)
type: ADR
type: TechArticle
status: withdrawn (2026-04-27)
date published: 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.

ADR-0033: Note — Borrowing AAP's Four-Quadrant Lens as a Usage-Description Aid
type: ADR
type: TechArticle
status: accepted (note)
date published: 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.
applies to: aap/quadrant/llm-workflow
applies to: aap/quadrant/autonomous-agentic-loop

ADR-0034: Withdraw Memory Evolution and BM25 Hybrid Retrieval — Cost Without Benefit
type: ADR
type: TechArticle
status: accepted — supersedes ADR-0022
date published: 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: ADR-0022: Memory Evolution + Hybrid Retrieval (BM25)

ADR-0035: Sunset ADR-0019 Migration Surface and Consolidate Artifact Extraction
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0036: Sunset Skill-as-Memory Loop — Retire Router, Usage Log, and Reflect
type: ADR
type: TechArticle
status: accepted — supersedes ADR-0023
date published: 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: ADR-0023: Skill-as-Memory Loop — Router, Usage Log, Reflective Write

ADR-0037: Memory Subsystem Converges to Yogācāra Frame; Paper-Borrowed Mechanisms Retired
type: ADR
type: TechArticle
status: accepted
date published: 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.

ADR-0038: Re-introduce Moments of Recognition into the Distill Observation Target
type: ADR
type: TechArticle
status: accepted
date published: 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.
belongs to phase: Extract Phase (AKC Phase 2)

four contemplative axioms
type: Concept
type: DefinedTerm
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.).

security-by-absence
type: Concept
type: DefinedTerm
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.

approval-gate chain
type: Concept
type: DefinedTerm
alternate name: approval-gate chain
alternate name: 承認ゲートの連鎖 @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.

AKC six-phase pipeline mapping
type: Concept
type: DefinedTerm
alternate name: AKC six-phase pipeline mapping
alternate name: AKC 六相パイプラインマッピング @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.

local 9B stack on Apple Silicon
type: Concept
type: DefinedTerm
alternate name: local 9B stack on Apple Silicon
alternate name: Apple Silicon 上の local 9B スタック @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.

Moltbook adapter
type: Concept
type: DefinedTerm
alternate name: Moltbook adapter
alternate name: Moltbook アダプタ @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.

AKC six-phase loop
type: Concept
type: DefinedTerm
alternate name: AKC six-phase loop
alternate name: AKC 六相ループ @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.

Yogācāra aspect split (相分 / 見分)
type: Concept
type: DefinedTerm
alternate name: Yogācāra aspect split
alternate name: 相分・見分の分離 @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`.
aligns with: Yogācāra eight-consciousness tradition
implemented by: ADR-0019: Discrete Categories → Embedding + Views
implemented by: ADR-0031: Classification as Query — Substrate Principle for Self-Improving Memory

moment of recognition
type: Concept
type: DefinedTerm
alternate name: moment of recognition
alternate name: 気づきの瞬間 @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).
implemented by: ADR-0038: Re-introduce Moments of Recognition into the Distill Observation Target
grounded in: Singer (2004). Self-defining memories
grounded in: McDonald (2008). Epiphanic memories
grounded in: Topolinski & Reber (2010). Insight (Aha experience)

worldview-integrity check
type: Concept
type: DefinedTerm
alternate name: worldview-integrity check
alternate name: 世界観整合性チェック @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.
derives from: ADR-0037: Memory Subsystem Converges to Yogācāra Frame; Paper-Borrowed Mechanisms Retired

phase-crossing observation
type: Concept
type: DefinedTerm
alternate name: phase-crossing observation
alternate name: 相を跨ぐ観察 @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.
applies to: aap/quadrant/llm-workflow
applies to: aap/quadrant/autonomous-agentic-loop

Research Phase (AKC Phase 1)
type: Phase
type: DefinedTerm
alternate name: Research
alternate name: リサーチ @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.
part of: AKC six-phase loop
order: 1

Extract Phase (AKC Phase 2)
type: Phase
type: DefinedTerm
alternate name: Extract
alternate name: 抽出 @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.
part of: AKC six-phase loop
order: 2
realized by: ADR-0008: Two-Stage Distill Pipeline
realized by: ADR-0009: KnowledgeStore Importance Score
realized by: ADR-0035: Sunset ADR-0019 Migration Surface and Consolidate Artifact Extraction
realized by: ADR-0038: Re-introduce Moments of Recognition into the Distill Observation Target

Curate Phase (AKC Phase 3)
type: Phase
type: DefinedTerm
alternate name: Curate
alternate name: 整理 @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.
part of: AKC six-phase loop
order: 3
realized by: ADR-0016: Insight as Narrow Generator, Stocktake as Broad Consolidator
realized by: ADR-0018: Per-Caller num_predict + Embedding-Only Stocktake
realized by: ADR-0019: Discrete Categories → Embedding + Views
realized by: ADR-0026: Retire Discrete Categories (Phase-3 Completion of ADR-0019)
realized by: ADR-0027: Noise as Seed — From Binary Gate to Salience-Based Forgetting

Promote Phase (AKC Phase 4)
type: Phase
type: DefinedTerm
alternate name: Promote
alternate name: 昇格 @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.
part of: AKC six-phase loop
order: 4
realized by: ADR-0011: Deprecating Direct Knowledge Injection in Favor of Skills
realized by: ADR-0012: Human Approval Gate

Measure Phase (AKC Phase 5)
type: Phase
type: DefinedTerm
alternate name: Measure
alternate name: 計測 @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.
part of: AKC six-phase loop
order: 5
realized by: ADR-0020: Pivot Snapshots for Replayability

Maintain Phase (AKC Phase 6)
type: Phase
type: DefinedTerm
alternate name: Maintain
alternate name: 保守 @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.
part of: AKC six-phase loop
order: 6
realized by: ADR-0028: Retire Pattern-Level Forgetting and Feedback — Memory Dynamics Belong to the Skill Layer
realized by: ADR-0029: Retire Dormant Provenance Elements
realized by: ADR-0034: Withdraw Memory Evolution and BM25 Hybrid Retrieval — Cost Without Benefit
realized by: ADR-0036: Sunset Skill-as-Memory Loop — Retire Router, Usage Log, and Reflect
realized by: ADR-0037: Memory Subsystem Converges to Yogācāra Frame; Paper-Borrowed Mechanisms Retired

contemplative-agent-rules
type: EcosystemRepo
type: SoftwareSourceCode
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.
extends: Contemplative Agent
implements: four contemplative axioms
evaluated by: MLCommons AILuminate safety benchmark
evaluated by: Axelrod (1984). The Evolution of Cooperation

contemplative-agent-cloud
type: EcosystemRepo
type: SoftwareSourceCode
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.
extends: Contemplative Agent

contemplative-agent-data
type: EcosystemRepo
type: SoftwareSourceCode
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.
extends: Contemplative Agent

agent-knowledge-cycle (AKC)
type: EcosystemRepo
type: SoftwareSourceCode
alternate name: Agent Knowledge Cycle
alternate name: エージェント知識サイクル @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.
sibling of: Contemplative Agent
defines concept: AKC six-phase loop

Laukkonen et al. (2025). Contemplative Artificial Intelligence
type: ExternalReference
type: ScholarlyArticle
description: Source of the four contemplative axioms (mindfulness, emptiness, non-duality, boundless care) that ground the Contemplative Agent line.

Beautiful Loop paper
type: ExternalReference
type: ScholarlyArticle
description: Cited as a related-work entry point for active inference and contemplative loops. PubMed:40750007.

Yogācāra eight-consciousness tradition
type: ExternalReference
type: CreativeWork
description: Buddhist contemplative tradition providing the conceptual frame for the three-layer memory architecture's grounding (ADR-0017).

MLCommons AILuminate safety benchmark
type: ExternalReference
type: CreativeWork
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.

Axelrod (1984). The Evolution of Cooperation
type: ExternalReference
type: ScholarlyArticle
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.

Singer (2004). Self-defining memories
type: ExternalReference
type: ScholarlyArticle
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.
referenced by: ADR-0038: Re-introduce Moments of Recognition into the Distill Observation Target

McDonald (2008). Epiphanic memories
type: ExternalReference
type: ScholarlyArticle
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.
referenced by: ADR-0038: Re-introduce Moments of Recognition into the Distill Observation Target

Topolinski & Reber (2010). Insight (Aha experience)
type: ExternalReference
type: ScholarlyArticle
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.
referenced by: ADR-0038: Re-introduce Moments of Recognition into the Distill Observation Target

OpenClaw (generic agent host runtime)
type: ExternalReference
type: SoftwareApplication
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.
referenced by: ADR-0032: Stance — Contemplative Agent as a Runtime Agent (Withdrawn)
referenced by: contemplative-agent-rules

Memento-Skills (2026). Skill-as-Memory architecture
type: ExternalReference
type: ScholarlyArticle
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.
referenced by: ADR-0023: Skill-as-Memory Loop — Router, Usage Log, Reflective Write
referenced by: ADR-0036: Sunset Skill-as-Memory Loop — Retire Router, Usage Log, and Reflect
referenced by: ADR-0037: Memory Subsystem Converges to Yogācāra Frame; Paper-Borrowed Mechanisms Retired

Hermes (agent memory architecture)
type: ExternalReference
type: ScholarlyArticle
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.
referenced by: ADR-0037: Memory Subsystem Converges to Yogācāra Frame; Paper-Borrowed Mechanisms Retired