小唯自治系统 — daemon/技能管理/优化器/学习层/配置保护
Go to file
小唯 A06 994cebccf6 feat: NewAPI稳定性方案 — Agnes接入(cron/distill/巡检优先) + palace-prompts提示词体系完善
- config.yaml: 新增 agnes provider (agnes-2.0/2.5-flash, key从.env读)
- model-health.py: 巡检优先测 Agnes (独立端点+质量探针), agnes-2.0探针100分
- agnes-ai skill: 更新 key 状态为已恢复
- comfyui-rtx3050: 大场景全景三件套 + 双管线对比结论
- prompt-engineering: 管线选择规则(大场景用Agnes/写实人像用ComfyUI)
2026-08-17 22:25:20 +08:00
ao-output/team-parallel-review-2026-07-09T04-02-44 feat: whisper-stt + comfyui skills, 织忆health check done 2026-07-09 12:20:32 +08:00
bin auto-snapshot 2026-07-22 03:00:54 2026-07-22 03:00:54 +08:00
cangjie-inputs auto-snapshot 2026-07-19 03:00:40 2026-07-19 03:00:40 +08:00
cangjie-skill feat: 仓颉skill(cangjie-skill)完整集成 2026-07-11 22:49:12 +08:00
cangjie-skills test: ai-agent-book 17 skills 压力测试全部通过 (34/34) 2026-08-03 08:53:41 +08:00
cron backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
daemon fix: 运行时噪音文件加入 gitignore (daemon context/journal, llm_context) 2026-08-08 17:26:54 +08:00
data backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
docs docs: 实例分身&OpenClaw协作指南 v1.0 2026-07-30 12:49:47 +08:00
gateway backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
hermes-agent@e6675cf5e9 backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
hooks auto-snapshot 2026-07-22 03:00:54 2026-07-22 03:00:54 +08:00
kanban init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
memories backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
omniroute-observe backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
pairing backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
plugins/zhiyi init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
proactive_learning feat: 仓颉技能更新 + 马克思主义股票分析框架落地 2026-07-17 12:36:48 +08:00
prof-b init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
profiles/prof-b auto-snapshot 2026-07-30 03:00:00 2026-07-30 03:00:00 +08:00
scripts feat: NewAPI稳定性方案 — Agnes接入(cron/distill/巡检优先) + palace-prompts提示词体系完善 2026-08-17 22:25:20 +08:00
skills feat: NewAPI稳定性方案 — Agnes接入(cron/distill/巡检优先) + palace-prompts提示词体系完善 2026-08-17 22:25:20 +08:00
soulful backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
stock_backtest backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
systemd-units chore(systemd): 备份 gateway unit 文件到版本库(防再次丢失) 2026-08-01 02:37:06 +08:00
tmp init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
workflows init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
.env backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
.gitignore fix: 运行时噪音文件加入 gitignore (daemon context/journal, llm_context) 2026-08-08 17:26:54 +08:00
.hermes_history init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
.update_check backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
AGENTS.md init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
CREATIVE.md init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
MEMORY.md init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
README.md docs: 更新 README — 4个项目关系图 + TencentDB + Soulful 2026-07-20 15:58:44 +08:00
SOUL.md feat: 记忆事实校验器 memory-verify.py + SOUL规范 + cron扫描 (2026-08-15记忆污染事件修复) 2026-08-16 01:22:48 +08:00
USER.md init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
auth.json backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
auth.json.bak-20260808094247 backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
auth.lock init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
config.yaml feat: NewAPI稳定性方案 — Agnes接入(cron/distill/巡检优先) + palace-prompts提示词体系完善 2026-08-17 22:25:20 +08:00
config.yaml.bak-20260808094247 backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
config.yaml.bak-v020-20260808 backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
context_length_cache.yaml backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
cron_b46f060eb16b_20260804_220054 backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
kanban.db.dispatch.lock init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
kanban.db.init.lock init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
models_dev_cache.json auto-snapshot 2026-07-29 03:00:37 2026-07-29 03:00:37 +08:00
ollama_cloud_models_cache.json auto-snapshot 2026-07-30 03:00:00 2026-07-30 03:00:00 +08:00
optimization-report.json backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
processes.json auto-snapshot 2026-07-28 03:00:15 2026-07-28 03:00:15 +08:00
provider_models_cache.json auto-snapshot 2026-07-30 03:00:00 2026-07-30 03:00:00 +08:00
skill-curator-report.json backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
skill-health.json backup before config migrate v24->v33 2026-08-08 10:40:58 +08:00
startup.sh auto-snapshot 2026-07-09 02:52:03 2026-07-09 02:52:03 +08:00
wiki_curator_state.json init: 初始配置基线 2026-07-09 2026-07-09 02:09:53 +08:00
织忆与Soulful关系说明.md docs: 织忆与Soulful关系说明 2026-07-10 02:15:31 +08:00

README.md

小唯系统 (xiaowei-system)

小唯 A06 的大脑层 | Gitea: http://192.168.123.11:3000/xiaoxue_admin/xiaowei-system/


相关项目关系图

┌─────────────────────────────────────────────────────────┐
│               基础设施层(独立仓库,独立进程)              │
│                                                         │
│  织忆 memoryweave         TencentDB                    │
│  /tmp/memoryweave/        ~/.memory-tencentdb/         │
│  port 7821                 port 8420                    │
│  zhiyid + LanceDB          tdai-gateway (Node.js)      │
│  + bge-embed                                         │
└────────────────────┬────────────────────────────────────┘
                     │ HTTP APIlocalhost
                     ▼
┌─────────────────────────────────────────────────────────┐
│               上层应用层(小唯系统 xiaowei-system        │
│                                                         │
│  ~/.hermes/  ← 本仓库                                   │
│                                                         │
│  ┌─────────┐  ┌──────────┐  ┌─────────┐  ┌──────────┐  │
│  │ Soulful │  │  daemon  │  │  cron   │  │  skills  │  │
│  │ 牵挂    │  │  持久意识 │  │  定时任务│  │  仓颉技能 │  │
│  │ 心迹    │  │  L1→L6   │  │  自检    │  │  股票投研 │  │
│  │ 画像    │  │  蒸馏    │  │  升级    │  │          │  │
│  └─────────┘  └──────────┘  └─────────┘  └──────────┘  │
│                                                         │
│  daemon.py → 统一写入 → llm_context.jsonL7统一层    │
└─────────────────────────────────────────────────────────┘

参考项目Gitea
  agent-memory-skill — tier分层/线性衰减
  memory-os          — 7层记忆架构

各项目详情

项目 源码位置 Gitea 进程
织忆 memoryweave /tmp/memoryweave/ xiaoxue_admin/memoryweave zhiyid (7821) + bge-embed (8000)
TencentDB memory-tdai ~/.memory-tencentdb/memory-tdai/ 无(未版本控制) tdai-gateway (8420)
Soulful(牵挂/心迹/画像) ~/.hermes/soulful/ 随 xiaowei-system daemon.py 读写
xiaowei-system ~/.hermes/ xiaoxue_admin/xiaowei-system daemon.py持久意识

Soulful 是 xiaowei-system 的子模块,数据文件在 ~/.hermes/soulful/

  • cares-queue.json — 牵挂队列
  • heart-traces.jsonl — 心迹(重要时刻记录)
  • user-profile.json — 用户画像(含 distilled_rules

安装顺序

第一步:织忆(底层存储引擎)
  → /tmp/memoryweave/port 7821
  ↓
第二步TencentDB对话记忆
  → ~/.memory-tencentdb/port 8420
  ↓
第三步:小唯系统(上层应用)
  → ~/.hermes/daemon.py

架构依赖

小唯系统(daemon.py)
├── http://127.0.0.1:7821  ← 织忆 L1/L2 recallX-API-Key
├── http://127.0.0.1:8420  ← TencentDB L3/L4 scenes/capture + /recall
├── ~/.hermes/soulful/     ← Soulful L5/L6cares + heart-traces + profile
└── → 统一写入 ~/.hermes/llm_context.jsonL7

小唯系统内容

~/.hermes/  ← xiaowei-system 仓库
├── daemon.py              — 持久意识 daemonL1→L6 蒸馏管道)
├── memory_recall.py       — 统一记忆读取入口
├── llm_context.json       — L7 统一上下文(唯一读取入口)
├── soulful/               — Soulful 数据(牵挂/心迹/画像)
├── scripts/
│   ├── memory-system-check.sh     — 定时自检
│   ├── memory-system-self-upgrade.py — 每日升级
│   └── stock_*.py                 — 股票投研 cron 套件
├── skills/                — Hermes Skills仓颉书库蒸馏
└── cron/                  — 定时任务定义

定时任务

hermes cron list

关键任务:

  • memory-system-check.sh — 每小时自检(正常静默,异常飞书)
  • memory-system-self-upgrade.py — 每天 04:00 自我升级
  • daemon.py — 持久意识light tick 30sdeep tick 5min