title
docs/pipelines/ README
description
Cron / Manual 自動化 pipeline 文件入口 — 每個 cron 對應一份 pipeline
type
index
status
canonical
apoptosis
candidate
current_version
v1.1
last_updated
2026-05-09
last_session
funny-buck-8dd2a1
sister_docs
../semiont/HEARTBEAT.md
../semiont/ROUTINE.md
upstream_canonical
docs/pipelines/ — Cron / Manual 自動化 Pipeline 文件
每個 Cron job 對應一份 pipeline 文件。Cron prompt 只說「先讀 pipeline → 照步驟走」。
⭐ Master pipelines(多個下游依賴)
Pipeline
觸發
涵蓋
DATA-REFRESH-PIPELINE.md
/twmd-refresh、heartbeat、routine am/pm(cadence 見 ROUTINE.md)
14 step 一鍵刷新(git sync + 三源感知 + spore SSOT + dashboard regen + stats + sporeLinks sync)。Phase 0+1+2+3 SSOT cleanup canonical
🌀 Routine 飛輪 pipelines(cron 每日/每週自動跑 — 2026-07-05 補索引,先前 10 檔未列)
Archived(已被 prebuild 鏈 / routine 飛輪取代 — 2026-06-10 audit D-5 凋亡批次)
這三條描述的獨立 cron 不存在於 ROUTINE.md 飛輪。功能由 npm run prebuild 鏈(每次 deploy 自動跑)+ data-refresh am/pm + weekly-report 接管。檔案保留作歷史證據鏈,frontmatter status: archived + superseded_by 已標。
Spore SSOT chain(2026-05-08 Phase 0-3 重整)
新 SSOT 階層:
SPORE-LOG.md 發文紀錄 = identity SSOT(人類寫 spore # / URL / date)
SPORE-HARVESTS/{batch}.md = harvest event SSOT(人類/agent 寫 metrics)
knowledge/*.md sporeLinks = derived view(每次 refresh 自動重生,不再手寫)
public/api/dashboard-spores.json = derived(generator 從 1+2 算)
跑 /twmd-refresh 之後的自動化 chain(step 編號以 refresh-data.sh 為準):
Step 4 generate-spore-records.py + generate-dashboard-spores.py — SPORE-HARVESTS body primary → spores.json + dashboard
Step 12 validate-spore-data.py — SSOT consistency gate
Step 13 sync-spore-links.py — 從 SSOT 重生 knowledge/*.md sporeLinks
(舊 extract-spore-metrics.py 已於 2026-05-08 Phase 6 移除)
Reference(手動 / Build-time)
Pipeline 是 SSOT :所有步驟、鐵律、教訓都在 pipeline 文件裡,不在 cron prompt
Cron prompt 只有三行 :讀 pipeline → 執行 → 回報規則
血淚教訓寫進 pipeline :避免同樣的錯被犯第二次
Master/Active/Archived 分開 :暫停的 pipeline 保留知識,重啟時不用重新摸索
Spore SSOT chain(Phase 0-3 後 canonical) :identity → event → derived,每層職責清楚
v2.1 | 2026-07-05 五病根治 | 索引重生:補 Routine 飛輪 pipelines 區(FEEDBACK-TRIAGE / WEEKLY-REPORT / ROUTINE-AUDIT / EMBEDDING / FORK-CENSUS / ANALYSIS / PERSONA / SPECIATION / REMOTE-GPU 九檔先前未列,其中三條活 routine 的 canonical 在入口失聯)+ Master 表 13→14 step + 09:37 stale cron 撤 + spore chain 段對齊 Phase 6 現實。觸發:dna-audit §4.4「pipelines README 入口失真」。
v2.0 | 2026-05-08 laughing-goldstine | Phase 5 SSOT cleanup:分 Master/Active/Spore-chain/Reference/Memory/Ops 五區,加入 spore SSOT 階層說明
v1.0 | 2026-03-29 ε | 初版 Active/Reference/Archived 三段