骨科論文自動化控制台

本地-only 主流程:Codex CLI / npm scripts / local files / openwiki。Notion、GPT Pro、live PubMed 目前保留為人工或可選。

可自動跑 / 有人工待辦 現在可以交給 launchd,等待週四 06:00 自動跑。

本地排程與 safety gates 已通過;人工項目不阻塞自動化,適合 10:00 閱讀後再處理。

下一次自動跑2026年8月20日星期四 上午06:00 [GMT+8];0 天 11 小時 0 分
Go / No-GoGO 12/12Executability
一致性33 ok / consistentConsistency
排程狀態loaded / synced / exit 0Diagnose
入口 smoke72/72 okHealth
本地連結992 ok / 0 errorLinks
Automation lockfreeLive
人工待辦4 項,10:00 後處理
資料新鮮度44/51 freshFreshness
Go / No-Go 一句話 看 12 個硬門檻
目前判斷GO:可以交給 launchd / 雙擊入口
硬門檻12/12 gates passed
未通過 recover無需修復
細節硬門檻全通過;可以等待週四 06:00,或手動雙擊 run-automation.command 驗收。
現在最該貼這段 Safe terminal
判斷現在建議:刷新視覺報表後再看 Go / No-Go
Go / No-GoNO-GO 9/12
原因launchd 本身看起來正常,但 executability 報表還沒證明全綠;先同步報表。
npm --prefix "." run sync:visuals -- "$(npm --prefix "." run -s status:path)"
入口 smoke breakdown 看 health 詳細檢查
START-HERE.command3/3 ok
run-automation.command3/3 ok
check-automation.command3/3 ok
open-control-center.command3/3 ok
do-recommended.command3/3 ok
sync-visuals.command3/3 ok
open-cockpit.command3/3 ok
open-live-monitor.command3/3 ok
open-decision.command3/3 ok
open-executability.command3/3 ok
open-safe-terminal.command3/3 ok
open-health.command3/3 ok
open-automation-manifest.command3/3 ok
open-daily-brief.command3/3 ok
open-current-run.command3/3 ok
open-receipt.command3/3 ok
open-debug-dashboard.command3/3 ok
open-latest-failure.command3/3 ok
open-gpt-handoff-bundle.command3/3 ok
install-launchd.command3/3 ok
install-and-test-launchd.command3/3 ok
repair-launchd.command3/3 ok
diagnose-launchd.command3/3 ok
kickstart-launchd.command3/3 ok
Operator Pick / 先看收據,再接人工 先打開最近一次自動化收據,確認產物可信。

本地自動化已 ready;先確認 local pipeline、verify、連結與產出檔都完成,再從人工待辦進 GPT Pro handoff。

現在最推薦雙擊 open-receipt.command
open "./START-HERE.command"
open "./do-recommended.command"
open "./open-receipt.command"
收據確認全綠後,打開 manual-actions.html 處理 GPT Pro handoff、OpenWiki review 與 RAG review。
最近一次成功 8/14 20:34 跑完,耗時 68.9 s。

完整 local pipeline 與 verify 報告已生成;可從 Run + verify report 查看每一步 log。

Local steps38/38
Verify steps41/41
最慢步驟automation:local / 43.4 sSlowest detail
歷史成功率75% / 20 runs
receipt ok

最近一次自動化收據

最近一次本地流程與驗收流程都完成;這張收據用來判斷週四自動跑後是否真的留下可讀產物。

開始時間8/14 20:34
總耗時68.9 s
Local steps38/38
Verify steps41/41
History2026-08-14T12-34-09-777Z
產出檔6/6
最高優先人工待辦 / high GPT Pro handoff:產生 clinical guide 並回填

GPT 導讀仍是需人工;RAG clinical review 也因此未完成。

One-Stage Versus Two-Stage Exchange Arthroplasty for Periprosthetic Joint Infection
下一步開啟 gpt-pro-handoff.md。
接著將 mega.md 內容或檔案貼入 GPT Pro project thread。
一次開齊同時開啟 handoff 與支援文字檔。
open "./runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/gpt-pro-handoff.md" open "./runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/mega.md"
open "./runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/gpt-pro-handoff.md"
open "./runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/mega.md"
clinical-guide.md 已由 placeholder 替換成 GPT Pro 導讀,並已重跑 wiki:update / automation:check。
npm --prefix "." run wiki:update -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
完整流程成功
Overviewready
Status可交給排程
State snapshotneeds attention
Timeline75% / 20 runs
Receiptready
Daily Brief3 papers / 2 manual
Decision可自動跑,人工項目不阻塞
Go / No-GoGO 12/12
Consistency33 ok / consistent
Preflight90 ok
Links992 ok
Automation lockfree
Verify81 ok
Run + Verify41 steps
Readiness可自動跑
Actions41/41
Next run0 天 11 小時 0 分
Next actions7 / 0 blockers
Entry points24/24
Operator pickopen-receipt.command
Status sourceautomation-run-and-verify.json
Safety gates守住 / 12
Capabilities14/15
Freshness44/51
Impact136/136
Goal coverage17/17
Report navigator47/47
Environmentok
UI smoke725 ok
入口 smoke72/72 ok
健檢338 ok
Launchd report可執行
本地節點91%
人工待辦4 項

現在建議動作

ok / view

等待週四 06:00 自動跑

只需要打開查看打開 automation-schedule.html

2026年8月20日星期四 上午06:00 [GMT+8];0 天 11 小時 0 分

automation-schedule.html
ok / double-click

看最近一次自動化收據

建議用 Finder 雙擊雙擊 open-receipt.command

確認最近一次 local pipeline、verify、產出檔、連結檢查與最慢步驟。

open "../open-receipt.command"
open-receipt.command
manual / manual

10:00 後處理人工待辦

需人工處理打開 manual-actions.html 逐項處理

2 個人工項目;通常是 GPT Pro handoff、OpenWiki review、RAG clinical review。

manual-actions.html

主要操作

可用

0. START HERE

不知道該按哪個時,雙擊這個。它會刷新視覺頁,打開控制台與 Operator Pick;只有你在 Terminal 按 r 才會啟動推薦入口。

START-HERE.command
open "./START-HERE.command"
"./START-HERE.command" --no-open --skip-sync
可用

0a. 雙擊打開控制台

日常入口。只會用瀏覽器打開這個頁面,不會啟動外部 API。

open-control-center.command
open "./open-control-center.command"
可用

0d. 雙擊 10:00 閱讀

刷新 Daily Brief / State / 控制台,直接打開閱讀頁、workflow 和 OpenWiki。

open-daily-brief.command
open "./open-daily-brief.command"
可用

0d. 目前 run bundle

直接打開本輪 run folder、status.json、mega.md、workflow、GPT handoff、manual-actions、report 與 RAG queue。

open-current-run.command current run folder
open "./open-current-run.command"
可用

0d. 最近一次收據

先打開最近一次自動化收據;雙擊 open-receipt.command 後會刷新並確認 local pipeline、verify、outputs、launchd 與 UI smoke 是否全綠。

open-receipt.command automation-receipt.html
open "./open-receipt.command"
可用

0f. 同步視覺報表

畫面看起來舊、Freshness 有 stale、或各 dashboard 數字不同步時使用。只刷新視覺報表與控制台,不重跑 paper pipeline。

sync-visuals.command automation-visual-sync.html
open "./sync-visuals.command"
可用

1. 雙擊執行完整流程

Finder 打開專案資料夾,雙擊這個檔案。它會跑完整 local-only pipeline、驗收檢查、更新視覺頁,完成後自動回到控制台。

run-automation.command
npm --prefix "." run automation:run-and-verify
可用

1b. 雙擊快速健檢

不重新跑 paper pipeline,只驗證目前輸出、視覺頁、連結、下一步與操作入口。

check-automation.command
npm --prefix "." run automation:check -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
可用

1c. 雙擊排錯儀表板

不重跑 paper pipeline;刷新並打開 State、Local Pipeline、Run + Verify、Quick Check、Launchd。

open-debug-dashboard.command
open "./open-debug-dashboard.command"
已建立

2. 看自動化地圖

像 n8n 的視覺節點圖,能看每一步 command、輸入、輸出、狀態。

automation-map.html
npm --prefix "." run automation:map -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json
可雙擊

3. 安裝週四排程

不用手打 cp / launchctl;Finder 雙擊後會安裝、健檢並打開控制台。若用終端機,請複製下方完整指令,避免在家目錄找不到 launchd/。

install-launchd.command
npm --prefix "." run launchd:install
可雙擊

4. 立即觸發排程

只送出 launchd 觸發,不等待完整流程結束;適合手動啟動一次。要驗收跑完請用 3b。

kickstart-launchd.command
npm --prefix "." run launchd:kickstart
需人工

5. 處理人工待辦

GPT Pro handoff、wiki 複核、RAG ready 等不能自動做的事集中在這裡。

manual-actions.html
npm --prefix "." run manual:actions -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json

雙擊失敗時看這裡

四個主要 .command 已經會在失敗時停住 Terminal,並印出診斷頁與安全指令。這裡是人工排錯捷徑。

快速健檢失敗 入口:check-automation.command automation-check.html automation-next.html
npm --prefix "." run automation:check -- runs/2026-07-15/single-one-stage-versus-two-stage-exchange-arthroplasty-for-periprosthe/status.json

launchd 快修卡

看到 cp: launchd/... No such file or directoryBootstrap failedCould not find service 時,不要從 home 目錄手動複製 plist;改用這張卡。

Terminal 安全貼上順序

先修復,再完整試跑;只想看狀態時用 status。使用 npm --prefix,所以人在任何 Terminal 目錄都可貼。

open-safe-terminal.command automation-safe-terminal.html
npm --prefix "." run launchd:repair
npm --prefix "." run launchd:test
npm --prefix "." run launchd:status

不要貼這種

這是錯誤反例,不是可複製指令。人在 ~ 會找不到 launchd/,而且手動 bootstrap 不會自動修正 Node 路徑;請改貼上方 npm 指令。

cp launchd/... ~/Library/LaunchAgents/ launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/...

可執行性狀態

本地流程完成率

10 / 11 個 local nodes ready。最新 automation: 2026-08-14T12:34:49.483Z。

macOS launchd

排程可用service: loaded / plist: synced / checks: 7/7
待命中state: not running / runs: 1 / last exit: 0
Weekday 5, 06:00每週四 06:00 自動觸發本地流程;not running 代表待命,不是失敗。
stderr 空白source: automation-launchd.json / stdout 3605 bytes
npm --prefix "." run launchd:kickstart
automation-launchd.html automation-launchd-diagnose.html

快速開啟

本次論文

TitleSubspecialtyStudy typeWikiGPTRAG
One-Stage Versus Two-Stage Exchange Arthroplasty for Periprosthetic Joint Infection
The Journal of Bone and Joint Surgery / 2026-07-15
InfectionRCTneeds_reviewmanualqueued

Manual queue 摘要

優先順序

high:1
medium:2
low:1

最近執行紀錄

StartedStatusDurationLog
2026-08-14T12:34:09.777Z成功39.7 sautomation-log
2026-08-14T11:50:36.740Z成功19.3 sautomation-log
2026-08-14T08:32:39.104Z成功16.5 sautomation-log
2026-08-14T08:23:29.796Z成功22.7 sautomation-log
2026-08-14T07:48:45.060Z成功16.1 sautomation-log