← 工作地圖

WebUI Lifecycle Patch D+7 Read-only Audit ONCE_LLM P3 risk=LOW

1. 做什麼 / 2. 為什麼存在

WebUI Lifecycle Patch D+7 Read-only Audit(once):WebUI patch 一週後唯讀稽核。

3. Schedule / Mode

mode=ONCE_LLM state=scheduled enabled=1
schedule=once at 2026-08-29 22:05
next_run=2026-08-29T22:05:00 last_run=None
deliver=origin model=gpt-5.6-luna provider=openai-codex

4. Implementation

script=
monitor_script= monitor_url=
skills=["hermes-session-architecture", "component-lifecycle-guardian", "cron-self-review"]
workdir=—

5. Effective instruction sources

prompt_sha256=50c5868dbcfb1828… chars=2828
skill_files={}

[IMPORTANT] 這是一次性 WebUI lifecycle D+7 read-only audit。最終回覆會自動送達建智大人;不要使用 send_message。

目標:複查 WebUI session lifecycle patch 是否正常,並評估剩餘 legacy zombies。全程只讀,禁止修改任何資料或服務。

絕對禁止:
- 不得對任何 DB 執行 INSERT/UPDATE/DELETE/REPLACE/ALTER/DROP/VACUUM/REINDEX/PRAGMA writable_schema 或任何寫入操作。
- 不得 cleanup、repair、mark ended、刪除/改名 sidecar、修改 index、寫入報告檔、patch source/config、git checkout/reset/stash、重啟服務、建立新排程或修改既有排程。
- SQLite 必須以 URI mode=ro 開啟,並設定 PRAGMA query_only=ON;只允許 SELECT/PRAGMA 讀取。若 read-only 查詢路徑無法建立,立即回報 blocker,不得改用可寫連線。
- 不要把任何候選人實際送入 repair command;只重新計算並列出數量與判定理由。

Baseline(固定於 2026-08-22 22:05:10 +08:00,audit window_start):
- open WebUI rows:173
- recent <7 days:102
- lineage ambiguous:69
- sidecar/index active/running:2
- lifecycle patch commit:56466889
- baseline recent cohort 定義:audit window_start 當下 source='webui' AND ended_at IS NULL AND started_at >= (window_start - 7 days);若資料庫欄位/時間格式不同,先只讀確認實際 schema,明確記錄採用的等價條件,不得猜測。
- baseline lineage cohort:以 baseline 當下 lineage ambiguous 的 69 筆為 cohort;若沒有持久化 cohort ID,必須說明無法逐筆做嚴格 cohort 對應,並提供可驗證的現行判定替代,不得假裝有精確追蹤。
- baseline active/running cohort:baseline 當下 sidecar/index active/running 的 2 筆;同樣優先用持久化 ID,沒有就明確標示 cohort 對應限制。

執行步驟:
1. 只讀確認 state DB 實際路徑、sessions schema、WebUI sidecar/index 位置,以及 lifecycle patch commit 56466889 對應的 repo/差異與目前載入/執行證據。不要把檔案檢查誤報成 live reload;區分 discovered、source present、process loaded、exercised evidence。
2. 以 audit_time(實際執行時間,標出完整 ISO 8601 +08:00)計算 source='webui' AND ended_at IS NULL 總數。
3. 計算 window_sta…

6. Actual rules / thresholds

rulevaluesource
none extracted

7/8. Inputs & Outputs (resources)

kindpathnameaccess
none

9/10. Upstream / Downstream

Upstream:
Downstream:
Transitive downstream (0):

Edges (typed evidence)

typehard?fromtoresourceoriginconfevidence
none

11. Shared resources

12. Recent executions

failure_streak=0
last_error=
delivery_error=

14. Drift history

16. Impact / change risk

change_risk=LOW