From 0b0af78f1dc8dafd615b590be1be384eb350c619 Mon Sep 17 00:00:00 2001 From: Grivn Date: Fri, 15 May 2026 02:36:55 +0000 Subject: [PATCH] chore: remove legacy harness compatibility paths Remove the top-level memory-loop and skill-loop compatibility wrappers now that harness/setup is the canonical setup entrypoint. Update the memory loop site copy to refer to the shared harness/setup path instead of the old Claude Code-specific setup path. --- docs/site/memory-loop/site.html | 4 ++-- harness/memory-loop/README.md | 21 ------------------- .../memory-loop/setup/claude-code/install.sh | 5 ----- .../setup/claude-code/uninstall.sh | 5 ----- harness/skill-loop/README.md | 21 ------------------- .../skill-loop/setup/claude-code/install.sh | 5 ----- .../skill-loop/setup/claude-code/uninstall.sh | 5 ----- 7 files changed, 2 insertions(+), 64 deletions(-) delete mode 100644 harness/memory-loop/README.md delete mode 100755 harness/memory-loop/setup/claude-code/install.sh delete mode 100755 harness/memory-loop/setup/claude-code/uninstall.sh delete mode 100644 harness/skill-loop/README.md delete mode 100755 harness/skill-loop/setup/claude-code/install.sh delete mode 100755 harness/skill-loop/setup/claude-code/uninstall.sh diff --git a/docs/site/memory-loop/site.html b/docs/site/memory-loop/site.html index ea2388c..468b9f5 100644 --- a/docs/site/memory-loop/site.html +++ b/docs/site/memory-loop/site.html @@ -784,7 +784,7 @@

["Memory pattern", "hot <-> cold contract", "协调 LLM-native 热记忆与 system-native 冷记忆。", "MEMORY.md 和 Mnemon 是第一组选择,不是唯一选择。", "var(--capability)"], ["Retrieval tools", "web/docs/code/RAG search", "查询外部知识源,补充当前任务资料。", "默认不是 memory;只有内化为持久状态后才写入记忆。", "var(--host)"], ["GUIDE", "GUIDE.md", "说明何时读写记忆、什么值得保留。", "只定义 policy,不绑定存储目标。", "var(--guide)"], - ["setup", "setup/claude-code + env.sh", "安装四个 hook、两个 protocol skills、dreaming subagent、memory 文件和环境变量。", "只负责挂载,并设置 MNEMON_MEMORY_LOOP_DIR。", "var(--guide)"], + ["setup", "harness/setup + env.sh", "安装四个 hook、两个 protocol skills、dreaming subagent、memory 文件和环境变量。", "只负责挂载,并设置 MNEMON_MEMORY_LOOP_DIR。", "var(--guide)"], ["hook", "prime/remind/nudge/compact", "提供宿主生命周期触发点。", "只给时机和短提醒,不承载记忆协议。", "var(--hook)"], ["protocol", "memory_get.md / memory_set.md", "提供读长期记忆和写工作记忆的在线方法。", "绑定 Mnemon recall 与 MEMORY.md 编辑规则。", "var(--capability)"], ["subagent", "dreaming", "维护、巩固和清理工作记忆。", "绑定 Mnemon write 与 MEMORY.md compact / eviction。", "var(--capability)"] @@ -939,7 +939,7 @@

["Memory pattern", "hot <-> cold contract", "Coordinates LLM-native hot memory with system-native cold memory.", "MEMORY.md and Mnemon are first choices, not the only choices.", "var(--capability)"], ["Retrieval tools", "web/docs/code/RAG search", "Queries external knowledge sources for the current task.", "Not memory by default; write only internalized durable state into memory.", "var(--host)"], ["GUIDE", "GUIDE.md", "Explains when to read or write memory and what is worth keeping.", "Defines policy only, not storage targets.", "var(--guide)"], - ["setup", "setup/claude-code + env.sh", "Installs four hooks, two protocol skills, the dreaming subagent, memory files, and environment variables.", "Mounts assets and sets MNEMON_MEMORY_LOOP_DIR.", "var(--guide)"], + ["setup", "harness/setup + env.sh", "Installs four hooks, two protocol skills, the dreaming subagent, memory files, and environment variables.", "Mounts assets and sets MNEMON_MEMORY_LOOP_DIR.", "var(--guide)"], ["hook", "prime/remind/nudge/compact", "Provides host lifecycle trigger points.", "Provides timing and short reminders only, not memory protocols.", "var(--hook)"], ["protocol", "memory_get.md / memory_set.md", "Provides the online methods for long-term recall and working-memory writes.", "Binds Mnemon recall and MEMORY.md editing rules.", "var(--capability)"], ["subagent", "dreaming", "Maintains, consolidates, and cleans working memory.", "Binds Mnemon write with MEMORY.md compaction and eviction.", "var(--capability)"] diff --git a/harness/memory-loop/README.md b/harness/memory-loop/README.md deleted file mode 100644 index a434bc8..0000000 --- a/harness/memory-loop/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Mnemon Memory Loop Harness Compatibility Path - -The canonical Memory Loop module now lives at: - -```text -harness/modules/memory-loop/ -``` - -This directory is kept so existing install commands continue to work: - -```bash -bash harness/memory-loop/setup/claude-code/install.sh -bash harness/memory-loop/setup/claude-code/uninstall.sh -``` - -New setup entrypoint: - -```bash -bash harness/setup/install.sh --host claude-code --module memory-loop -bash harness/setup/uninstall.sh --host claude-code --module memory-loop -``` diff --git a/harness/memory-loop/setup/claude-code/install.sh b/harness/memory-loop/setup/claude-code/install.sh deleted file mode 100755 index 74479fa..0000000 --- a/harness/memory-loop/setup/claude-code/install.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -exec "${SCRIPT_DIR}/../../../setup/install.sh" --host claude-code --module memory-loop "$@" diff --git a/harness/memory-loop/setup/claude-code/uninstall.sh b/harness/memory-loop/setup/claude-code/uninstall.sh deleted file mode 100755 index 49dc053..0000000 --- a/harness/memory-loop/setup/claude-code/uninstall.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -exec "${SCRIPT_DIR}/../../../setup/uninstall.sh" --host claude-code --module memory-loop "$@" diff --git a/harness/skill-loop/README.md b/harness/skill-loop/README.md deleted file mode 100644 index d092903..0000000 --- a/harness/skill-loop/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Mnemon Skill Loop Harness Compatibility Path - -The canonical Skill Loop module now lives at: - -```text -harness/modules/skill-loop/ -``` - -This directory is kept so existing install commands continue to work: - -```bash -bash harness/skill-loop/setup/claude-code/install.sh -bash harness/skill-loop/setup/claude-code/uninstall.sh -``` - -New setup entrypoint: - -```bash -bash harness/setup/install.sh --host claude-code --module skill-loop -bash harness/setup/uninstall.sh --host claude-code --module skill-loop -``` diff --git a/harness/skill-loop/setup/claude-code/install.sh b/harness/skill-loop/setup/claude-code/install.sh deleted file mode 100755 index 12fc693..0000000 --- a/harness/skill-loop/setup/claude-code/install.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -exec "${SCRIPT_DIR}/../../../setup/install.sh" --host claude-code --module skill-loop "$@" diff --git a/harness/skill-loop/setup/claude-code/uninstall.sh b/harness/skill-loop/setup/claude-code/uninstall.sh deleted file mode 100755 index c43f1b0..0000000 --- a/harness/skill-loop/setup/claude-code/uninstall.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -exec "${SCRIPT_DIR}/../../../setup/uninstall.sh" --host claude-code --module skill-loop "$@"