骨科 Paper Automation Map

n8n-like local workflow,view-only,不執行 shell、不呼叫外部 API。

Run date2026-07-25
Source modefixture
Status sourceruns/2026-07-25/status.json
No external APIEnabled
Go / No-GoGO 12/12
12/12 gates passed
Safety gates守住 / 18
external 0 errors / orchestrator 0 errors
Execution readinessReady
11 / 11 ready gates
Automation lockfree
目前沒有自動化流程持有 lock
Launchd testlast exit 0
not running / runs 1
Last automation成功
2026-08-14T12:34:49.483Z / 39706 ms
Doctor通過
335 ok / 0 warning / 0 error

Recommended now

ok 等待週四 06:00 自動跑 2026年8月20日星期四 上午06:00 [GMT+8];0 天 11 小時 2 分 打開 automation-schedule.html
ok 看最近一次自動化收據 確認最近一次 local pipeline、verify、產出檔、連結檢查與最慢步驟。 雙擊 open-receipt.command
open "./open-receipt.command"
manual 10:00 後處理人工待辦 2 個人工項目;通常是 GPT Pro handoff、OpenWiki review、RAG clinical review。 打開 manual-actions.html 逐項處理

查看完整 next actions

現在怎麼使用

這頁是 view-only 工作台;真正執行請用下列本地指令或 macOS launchd。

雙擊打開控制台
open-control-center.command
可直接在 Finder 雙擊開啟 index.html。
雙擊執行完整流程
run-automation.command
可直接在 Finder 雙擊執行。
立即跑一次完整流程並驗收
npm --prefix "." run automation:run-and-verify
產生/更新單篇 trial、wiki、workflow、health、links、verification、automation map。
只跑底層 local pipeline
npm --prefix "." run automation:local
底層主流程;日常建議優先用 run-and-verify。
只做執行前檢查
npm --prefix "." run automation:preflight
檢查 Node/npm、必要檔案、可寫目錄、local-only 邊界與雙擊檔權限。
只做健檢
npm --prefix "." run automation:doctor -- runs/2026-07-25/status.json
檢查檔案、launchd、local-only 邊界與 status schema。
只重建視覺圖
npm --prefix "." run automation:map -- runs/2026-07-25/status.json
不執行自動化,只刷新這張 n8n-like map。

Terminal 安全貼上

下面每條都先進入專案資料夾;不要從 home 目錄直接跑 cp launchd/...

完整流程 + 驗收
npm --prefix "." run automation:run-and-verify
最推薦:跑完流程後也刷新主要視覺頁與驗收報告。
只跑 local pipeline
npm --prefix "." run automation:local
排錯用,會產生 automation-log.json 與 local report。
先做 preflight
npm --prefix "." run automation:preflight
不跑正式流程,先檢查環境與 local-only 邊界。
安裝 launchd
npm --prefix "." run launchd:install
修正 plist 路徑、安裝到 LaunchAgents、bootstrap 並 enable。
修復 launchd
npm --prefix "." run launchd:repair
遇到 Bootstrap failed 或 service 找不到時,優先用這個。
立即觸發 launchd
npm --prefix "." run launchd:kickstart
用真正排程路徑試跑一次,不等週四 06:00。
完整 launchd 驗收
npm --prefix "." run launchd:test
安裝/修復排程、立即 kickstart、等到結束,成功時 last exit code 會是 0。

可執行性總覽

Go / No-Go:GO 12/12
StatusGO:可以交給 launchd / 雙擊入口
Hard gates12/12 gates passed
Failed0
Recover無需修復
Automation lock 是 free沒有正在跑或卡住的 automation lock · recover: open-live-monitor.command
launchd 已載入且 plist 同步loaded true / synced true · recover: repair-launchd.command
最近 launchd:test exit 0runs 1 / state not running / exit 0 · recover: install-and-test-launchd.command
最近 run + verify 成功41 steps passed · recover: run-automation.command
Visual sync post proof 成功2/2 post refresh ok / post:ui-smoke, post:control-center · recover: automation-visual-sync.html
UI smoke 全綠723 ok / 0 error · recover: check-automation.command
視覺報表不是 stale42/51 fresh / stale 0 / blocked 0 · recover: sync-visuals.command
Safety gates 守住 local-only 邊界261 ok / 0 error · recover: automation-manifest-check.html
Terminal 指令目錄完整commands 71/71, npm missing 0; safe terminal 12/12, npm missing 0 · recover: automation-safe-terminal.html
本地連結沒有斷985 ok / 0 error · recover: automation-links.html
必要雙擊入口可執行12/12 executable · recover: automation-entrypoints.html
必要視覺頁存在12/12 reports ready · recover: sync-visuals.command
看完整 executability audit;這張卡是決定能不能按執行的硬門檻摘要。
本地自動化完成率:91%
10 / 11 local nodes ready;人工/複核缺口 3 個。
下一步
  1. 打開 gpt-pro-handoff.md,人工貼到 GPT Pro,回填 clinical guide。
  2. 複核 OpenWiki 的 needs_review 欄位與 RAG readiness。
Manual queue: 2 item(s)。
執行準備度:Ready
Ready gates11 / 11
Failed gates0
Manual items2
Next run2026年8月20日星期四 上午06:00 [GMT+8]
Countdown0 天 11 小時 2 分
Schedule sourceWeekday 5, 06:00
本地自動排程已可跑;人工待辦可在 10:00 後處理,不阻塞週四 06:00 local automation。 查看 readiness report
Safety gates:守住
External/manual12 checked / 0 errors
Orchestrator6 checked / 0 errors
Local-only主流程守住
先看這格,再決定能不能放心雙擊或等 launchd。它只讀本地 manifest/check,不會執行外部 API。
Automation lock:free
Activeno
Staleno
目前沒有自動化流程持有 lock 這格用來避免兩個自動化同時改同一批報表。
Launchd test:通過
Statenot running
Runs1
Last exit0
npm --prefix "." run launchd:test
這是最接近真實週四 06:00 的驗收路徑;成功時代表 launchd 入口、local pipeline、run + verify 都能跑完。
排程與健檢
Serviceloaded
Statenot running
Runs1
Last exit0
ScheduleWeekday 5, 06:00
Doctor335 ok / 0 warning / 0 error
npm --prefix "." run launchd:kickstart
上方是手動觸發 launchd 的指令;一般情況下你只需要雙擊 .command 或等週四 06:00。查看 launchd log

Manual Action Queue

本地流程不能自動完成的項目會集中在這裡;優先處理 high,再重跑 automation:run-and-verify。

Total 2low 2

本次已建立

這裡列的是目前實際存在的本地輸出;Notion / GPT Pro 是 optional 或人工,不算主流程自動完成。

No external API mode

主流程

  • Codex CLI
  • local Node scripts
  • local files
  • openwiki

主流程停用

  • LLM API
  • Notion API
  • GPT Pro automation
  • PubMed live API

可選人工

  • GPT Pro thread
  • Notion sync
  • browser journal fetch

Safety gates

Launchd / Local Automation Log

打開 automation-map.html 看本地自動化狀態;若 GPT Handoff 是需人工,開啟 gpt-pro-handoff.md 貼到 GPT Pro,再回填 clinical guide。

StepStatusDurationCommand
automation:preflight完成541 msnpm run automation:preflight
single:trial完成1573 msnpm run single:trial -- runs/2026-07-25/journal-candidates.jbjs-iab.json --status-out runs/automation-history/2026-08-14T12-34-09-777Z/status-path.txt
wiki:update完成361 msnpm run wiki:update -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
manual:actions完成440 msnpm run manual:actions -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
workflow完成612 msnpm run workflow -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json workflow.html
check完成645 msnpm run check -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
control:center完成2215 msnpm run control:center -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
automation:doctor完成1797 msnpm run automation:doctor -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
health:html完成326 msnpm run health:html
launchd:html完成2352 msnpm run launchd:html
launchd:diagnose完成782 msnpm run launchd:diagnose
performance:html完成790 msnpm run performance:html
commands:html完成691 msnpm run commands:html
actions:html完成521 msnpm run actions:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
environment:html完成1869 msnpm run environment:html
schedule:html完成716 msnpm run schedule:html
links:check完成1117 msnpm run links:check
links:html完成475 msnpm run links:html
readiness:html完成482 msnpm run readiness:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
overview:html完成580 msnpm run overview:html
runbook:html完成1540 msnpm run runbook:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
control:center:refresh完成2246 msnpm run control:center -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
automation:map完成645 msnpm run automation:map -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
next:html完成684 msnpm run next:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
decision:html完成619 msnpm run decision:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
entrypoints:html完成1105 msnpm run entrypoints:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
cockpit:html完成549 msnpm run cockpit:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
impact:html完成775 msnpm run impact:html
capabilities:html完成702 msnpm run capabilities:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
manifest:html完成2233 msnpm run manifest:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
manifest:check完成421 msnpm run manifest:check
decision:html:after-manifest完成266 msnpm run decision:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
overview:html:capabilities-refresh完成229 msnpm run overview:html
state:html:early完成412 msnpm run state:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
ui:smoke完成7665 msnpm run ui:smoke
manifest:html:after-ui-smoke完成215 msnpm run manifest:html -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
manifest:check:after-ui-smoke完成215 msnpm run manifest:check
overview:html:freshness-source-refresh完成205 msnpm run overview:html

Recent Runs

最近 5 次本地自動化紀錄;每次都有完整 step stdout/stderr log,可用來追事故。

StartedStatusDurationFailed stepRun logStep logs
2026-08-14T12:34:09.777Z成功39.7 sautomation-logautomation:preflight · single:trial · wiki:update
2026-08-14T11:50:36.740Z成功19.3 sautomation-logautomation:preflight · single:trial · wiki:update
2026-08-14T08:32:39.104Z成功16.5 sautomation-logautomation:preflight · single:trial · wiki:update
2026-08-14T08:23:29.796Z成功22.7 sautomation-logautomation:preflight · single:trial · wiki:update
2026-08-14T07:48:45.060Z成功16.1 sautomation-logautomation:preflight · single:trial · wiki:update

Automation Doctor

最後健檢:2026-08-19T10:58:02.794Z;335 checks,這裡只顯示需注意項目與前幾個 ok。

通過|status.jsonruns/2026-07-25/status.json
通過|automation map HTMLautomation-map.html
通過|control center HTMLindex.html
通過|usage guideAUTOMATION_USAGE.md
通過|automation health HTMLautomation-health.html
通過|operator runbook HTMLautomation-runbook.html
通過|automation links HTMLautomation-links.html
通過|automation verification HTMLautomation-verification.html
通過|run-and-verify HTMLautomation-run-and-verify.html
通過|visual sync HTMLautomation-visual-sync.html
通過|visual sync JSONautomation-visual-sync.json
通過|visual sync runnerscripts/sync-visual-reports.mjs
通過|local pipeline HTMLautomation-local.html
通過|launchd log HTMLautomation-launchd.html
通過|launchd log JSONautomation-launchd.json
通過|launchd test HTMLautomation-launchd-test.html
通過|launchd test JSONautomation-launchd-test.json
通過|launchd test runnerscripts/test-launchd-run.mjs
通過|launchd diagnose HTMLautomation-launchd-diagnose.html
通過|launchd diagnose JSONautomation-launchd-diagnose.json
通過|launchd diagnose generatorscripts/diagnose-launchd.mjs
通過|performance HTMLautomation-performance.html
通過|commands HTMLautomation-commands.html
通過|commands JSONautomation-commands.json
另有 311 個 ok checks 已收合完整清單請看 automation-health.html 或 automation-health.json。