Automation Commands

本地自動化指令面板:哪些會執行流程、哪些只重建視覺頁、哪些是人工或外部可選。

Total71
Available71
Generated2026-08-19T10:59:37.120Z

Daily

Schedule

available

雙擊安裝 launchd

open "./install-launchd.command"

Finder 雙擊用;安裝、健檢、刷新 readiness 與控制台。

No npm script required.

install-launchd.command

available

手動觸發 launchd

npm --prefix "." run launchd:kickstart

只送出 launchd 觸發,不等待完整流程結束;完整驗收請用 npm --prefix 的 launchd:test。

NPM scripts checked: launchd:kickstart

automation-launchd.html

available

檢查 launchd 狀態

npm --prefix "." run launchd:status

查看 service 是否 loaded、last exit code、下次排程。

NPM scripts checked: launchd:status

automation-launchd.html

Run

available

完整流程 + 驗收

npm --prefix "." run automation:run-and-verify

日常最推薦;跑 local pipeline、verification、health、links、視覺頁。

NPM scripts checked: automation:run-and-verify

automation-run-and-verify.html index.html

available

快速健檢

npm --prefix "." run automation:check -- "$(npm --prefix "." run -s status:path)"

不重跑 paper pipeline;只驗收現有輸出、視覺頁、連結和下一步。

NPM scripts checked: automation:check status:path

automation-check.html automation-next.html

available

只跑底層 local pipeline

npm --prefix "." run automation:local

排錯用;會輸出 automation-log.json 與 automation-local.html。

NPM scripts checked: automation:local

automation-log.json automation-local.html

Inspect

available

Local pipeline 報告

npm --prefix "." run automation:local-html

把 automation-log.json 轉成人可讀的步驟、stdout/stderr 與 slow steps 報告。

NPM scripts checked: automation:local-html

automation-local.html

available

控制台

npm --prefix "." run control:center -- "$(npm --prefix "." run -s status:path)"

重建總入口 index.html。

NPM scripts checked: control:center status:path

index.html

available

同步視覺報表

npm --prefix "." run sync:visuals -- "$(npm --prefix "." run -s status:path)"

不跑 paper pipeline;只按依賴順序刷新 dashboard、manifest、operator pick、freshness 與 UI smoke,最後輸出 final convergence。

NPM scripts checked: sync:visuals status:path

automation-visual-sync.html automation-freshness.html index.html

available

n8n-like 自動化地圖

npm --prefix "." run automation:map -- "$(npm --prefix "." run -s status:path)"

看節點、輸入、輸出、狀態。

NPM scripts checked: automation:map status:path

automation-map.html

available

健康檢查頁

npm --prefix "." run health:html

把 automation-health.json 轉成可讀頁。

NPM scripts checked: health:html

automation-health.html

available

Run + Verify 報告

npm --prefix "." run automation:run-and-verify

此指令會自動產生可讀報告。

NPM scripts checked: automation:run-and-verify

automation-run-and-verify.html

available

Launchd log 頁

npm --prefix "." run launchd:html

查看排程 stdout/stderr,不觸發流程。

NPM scripts checked: launchd:html

automation-launchd.html

available

Performance 頁

npm --prefix "." run performance:html

查看最近執行耗時與慢步驟。

NPM scripts checked: performance:html

automation-performance.html

available

Links 報告

npm --prefix "." run links:html

把 local link check 結果轉成可讀頁。

NPM scripts checked: links:html

automation-links.html

available

Readiness 判斷頁

npm --prefix "." run readiness:html -- <status.json>

收斂 run+verify、doctor、launchd、links、commands,判斷週四 06:00 是否可放心自動跑。

NPM scripts checked: readiness:html

automation-readiness.html

available

Schedule 排程頁

npm --prefix "." run schedule:html

顯示下一次週四 06:00、倒數、最近歷史與 launchd 手動入口。

NPM scripts checked: schedule:html

automation-schedule.html

available

Environment 環境頁

npm --prefix "." run environment:html

顯示 Node/npm 路徑、版本、雙擊 fallback 與 launchd runtime。

NPM scripts checked: environment:html

automation-environment.html

available

Overview 總覽頁

npm --prefix "." run overview:html

合併 readiness、schedule、environment、actions、health、verify 與 links。

NPM scripts checked: overview:html

automation-overview.html

available

State snapshot 總狀態快照

npm --prefix "." run state:html -- <status.json>

給人與腳本讀的一份總狀態:可否自動跑、哪個 gate 卡住、下一步是什麼。

NPM scripts checked: state:html

automation-state.html automation-state.json

available

Next actions 下一步

npm --prefix "." run next:html -- <status.json>

把目前狀態收斂成 3 到 8 個可操作下一步。

NPM scripts checked: next:html

automation-next.html

available

Automation decision 一句話判斷

npm --prefix "." run decision:html -- <status.json>

回答現在是可交給自動化、需先修、或有高優先人工項目。

NPM scripts checked: decision:html

automation-decision.html automation-decision.json

available

Execution cockpit 操作台

npm --prefix "." run cockpit:html -- <status.json>

把所有雙擊入口整理成按鈕牆,標明只看、檢查、執行、修復。

NPM scripts checked: cockpit:html

automation-cockpit.html automation-cockpit.json

available

Live monitor

npm --prefix "." run monitor:html

把目前 quick check / local pipeline / run+verify 的 running step 轉成自動刷新頁。

NPM scripts checked: monitor:html

automation-live.html automation-live.json

available

Entry points 入口選擇

npm --prefix "." run entrypoints:html -- <status.json>

比較只看、快速健檢、完整重跑、安裝排程與 kickstart。

NPM scripts checked: entrypoints:html

automation-entrypoints.html

available

Operator Pick 解析

npm --prefix "." run operator:pick

把 automation-entrypoints.json 的推薦入口解析成 operator-pick.json;START-HERE.command 也使用同一套邏輯。

NPM scripts checked: operator:pick

operator-pick.json automation-entrypoints.json

available

Capabilities 能力矩陣

npm --prefix "." run capabilities:html -- <status.json>

看目前已建立哪些自動化能力、入口與證據檔。

NPM scripts checked: capabilities:html

automation-capabilities.html

available

Freshness 同步狀態

npm --prefix "." run freshness:html

確認各報告是否同步,避免 overview 或控制台讀到舊 JSON。

NPM scripts checked: freshness:html

automation-freshness.html

available

Automation manifest

npm --prefix "." run manifest:html -- <status.json>

產生機器可讀與人可讀的正式入口總清單:報告、雙擊檔、npm scripts 與 local-only 邊界。

NPM scripts checked: manifest:html

automation-manifest.html automation-manifest.json

available

UI smoke 頁

npm --prefix "." run ui:smoke

檢查 Copy 按鈕、 fallback、完整 cd 指令與雙擊入口。

NPM scripts checked: ui:smoke

automation-ui-smoke.html

Research

available

研究流程視覺頁

npm --prefix "." run research:map -- ortho-literature-review

產生 research-workflow.html 與 research-dashboard.html。

NPM scripts checked: research:map

research-workflow.html research-dashboard.html

Repair

available

執行前檢查

npm --prefix "." run automation:preflight

檢查 Node/npm、必要檔、權限、local-only 邊界。

NPM scripts checked: automation:preflight

automation-preflight.json

available

Doctor

npm --prefix "." run automation:doctor -- <status.json>

檢查檔案、launchd、schema、local-only 邊界。

NPM scripts checked: automation:doctor

automation-health.json

available

Local links

npm --prefix "." run links:check

檢查本地 HTML 連結是否存在。

NPM scripts checked: links:check

automation-links.json

available

Local verification

npm --prefix "." run verify:local -- <status.json>

語法、HTML、preflight、doctor、links、schema 一次驗收。

NPM scripts checked: verify:local

automation-verification.html

Manual

available

人工待辦

npm --prefix "." run manual:actions -- <status.json>

整理 GPT Pro、wiki review、RAG 等人工缺口。

NPM scripts checked: manual:actions

manual-actions.html

available

GPT handoff

npm --prefix "." run gpt:handoff -- <status.json>

產生要貼到 GPT Pro 的 handoff markdown。

NPM scripts checked: gpt:handoff

runs/YYYY-MM-DD/.../gpt-pro-handoff.md

External-off

available

Notion dry run

npm --prefix "." run notion:dry-run

可選;主流程不自動寫 Notion。

NPM scripts checked: notion:dry-run

no direct output

available

Notion live sync

npm --prefix "." run notion:sync

需明確確認;不屬於 10:00 前阻塞流程。

NPM scripts checked: notion:sync

no direct output