From 70c3a74a85172b72c2624f811bb50dda5e3def33 Mon Sep 17 00:00:00 2001 From: OpenWiki Bot Date: Mon, 27 Jul 2026 01:52:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20clarify=20cross-tool=20integration=20?= =?UTF-8?q?=E2=80=94=20add=20update-sources.sh=20cron=20+=20system=20state?= =?UTF-8?q?=20map?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-ACTIVATION.md | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/README-ACTIVATION.md b/README-ACTIVATION.md index b47b15d..18f47b6 100644 --- a/README-ACTIVATION.md +++ b/README-ACTIVATION.md @@ -29,20 +29,37 @@ ## 三、Daily 操作 (你**什么都不用做**, 但要明白) -每晚 02:00 (Asia/Shanghai) cron 自动跑: +两套 cron 在 02:00-02:30 之间各跑一次: ``` -0 2 * * * /home/ldw/.local/bin/openwiki-update.sh +0 2 * * * /home/ldw/.local/bin/openwiki-update.sh # HN + Tavily + git-repo + agent update +30 2 * * * /home/ldw/.local/bin/openwiki-update-sources.sh # 4 个子系统 (RAGFlow/NocoDB/SeaFile/Wiki.js) 计数刷新 ``` -脚本顺序: +**02:00 update.sh 顺序**: 1. `ingest hackernews` → 拉 Robin-curated life-sciences + AI workflow queries 2. `ingest web-search` → 拉 10 个 Tavily queries 关于 4 vendor + organ-on-chip + 工作栈 3. `ingest git-repo` → 拉 Obsidian vault manifest 4. `personal --update --print` → M3 agent 读 raw data + INSTRUCTIONS.md + 当前 wiki → 决定哪些 page 要改 5. `git commit + push` → 推到 Gitea public: `http://10.10.10.254:3080/Robin/openwiki-wiki` -**早上你看 9 个文件就够知道今天信号有没有 (每晚 02:00 跑完会推 Gitea, Robin 可以早上拿手机访问公开 URL 看 diff)**。 +**02:30 update-sources.sh 顺序**: +1. `NocoDB` → 13 个文献库 × record count → 写 `sources/nocodb.md` +2. `SeaFile` → 6 个 Repo × size + file count → 写 `sources/seafile.md` +3. `Wiki.js` → GraphQL `pages.list(limit:100)` + zh/literature HTML probe → 写 `sources/wikijs.md` +4. `RAGFlow` → /api/v1/datasets 健康检查 → 写 `sources/ragflow.md` +5. `git commit + push` → 推到 Gitea + +**现在打开 Gitea (`http://10.10.10.254:3080/Robin/openwiki-wiki`) 你能看到**: +- `themes.md` — 4 行 (Robin 工作主题) +- `sources/hackernews.md` — HN evidence index +- `sources/web-search.md` — Tavily evidence index (Nature liver-spheroid 已落) +- `sources/git-repo.md` — Obsidian vault manifest +- `sources/nocodb.md` — 13 个库计数 (共 6604 records) +- `sources/seafile.md` — 6 个 Repo (77 GB total) +- `sources/wikijs.md` — 47 pages (zh) + 分布 +- `sources/ragflow.md` — RAGFlow 可用性状态 +- `sources/literature.md` — 精读笔记索引 ## 四、你**手工**要做的 (什么时候 + 怎么) @@ -70,6 +87,24 @@ | 看社区生命科学新闻 / Nature 论文 / CelVivo press | OpenWiki `sources/web-search.md` + `sources/hackernews.md` | | 看你最近的 demo 计划 / 客户会议记录 / 销售弹药 | Obsidian vault (`/mnt/c/Users/20864/.openclaw/workspace/`) + OpenWiki `sources/git-repo.md` | | 看主题层面 Robin 关注的趋势 (12→4 行 topics) | OpenWiki `themes.md` | +| 看每个子系统当前规模 (KB count / Repo size / page count) | OpenWiki `sources/{nocodb,seafile,wikijs,ragflow}.md` | + +## 六点五、跨工具"真实联系"现在的状态 (2026-07-27) + +| 系统 | 跟 OpenWiki 的接法 | 接法性质 | 频率 | +|---|---|---|---| +| **Obsidian vault** | OpenWiki 内置 git-repo connector | **自动** | 每晚 02:00 | +| **Hacker News** | OpenWiki 内置 hackernews connector | **自动** | 每晚 02:00 | +| **Tavily web search** | OpenWiki 内置 web-search connector | **自动** | 每晚 02:00 | +| **Gmail** | OpenWiki `auth google` 还没接 | **不接** (你说"加"我加) | — | +| **NocoDB** | `~/.local/bin/openwiki-update-sources.sh` (自写脚本, 走 xc-token / v2 API) | **自动** | 每晚 02:30 | +| **SeaFile** | `update-sources.sh` (自写脚本, 走 /api2/) | **自动** | 每晚 02:30 | +| **Wiki.js** | `update-sources.sh` (自写脚本, 走 GraphQL) | **自动** | 每晚 02:30 | +| **RAGFlow KB** | `update-sources.sh` 跑健康检查 (counts 因为 retrieval 服务挂所以不刷) | **自动 (受限)** | 每晚 02:30 | + +**架构定位**: OpenWiki 不是"中心化 orchestrator",它是**"5 个数据源 + 4 个子系统计数"的联邦索引**: +- 事件流 (HN / Tavily / Gmail / git-repo) → OpenWiki 自带 connector 直接 ingest +- 状态快照 (NocoDB / SeaFile / Wiki.js / RAGFlow) → 自写 update-sources.sh 拉计数 + 直接 commit ## 七、v.s. 此前 (7/26) — 今天改了什么