feat(smoke): monitor pchome decision closeout
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
Some checks failed
CD Pipeline / deploy (push) Has been cancelled
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
以下是使用者在主線推進期間插入、且必須保留在完整工作項目裡的要求。後續不得再把這些需求漏掉或變成口頭提醒。
|
||||
|
||||
1. 正式環境才是最新版本真相;不得用本機檔案、舊筆記、舊分支蓋過 production truth。
|
||||
2. 版本不得搞錯;目前正式環境 `/health` 版本維持 `V10.727`,除非有明確版本 bump、部署與 readback。
|
||||
2. 版本不得搞錯;目前正式環境 `/health` 版本維持 `V10.728`,除非有明確版本 bump、部署與 readback。
|
||||
3. GitHub 全面 freeze;不得使用 GitHub、`gh`、GitHub API、GitHub Actions、PR、issue、mirror 或 read-only GitHub 流程。
|
||||
4. 實作結果必須推到 Gitea `dev` 與 `main`;若改到 runtime 行為,還必須部署到正式環境並回讀。
|
||||
5. 主方向是 AI 自動化,不是人工審核;人工欄位只能當 evidence / ledger / UI truth,不得阻擋低爆炸半徑、可驗證、可回滾的 controlled apply。
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
已完成:
|
||||
|
||||
- 正式環境版本真相 guard:`/health` 是最高真相,目前維持 `V10.727`。
|
||||
- 正式環境版本真相 guard:`/health` 是最高真相,目前維持 `V10.728`。
|
||||
- Gitea `dev` / `main` source truth 對齊。
|
||||
- Retry exception controlled apply executor 已落地,目標表為 `pchome_product_matches`。
|
||||
- 正式 DB 已 controlled apply 4 個 selectors:
|
||||
@@ -99,10 +99,17 @@
|
||||
- `/api/ai-automation/scheduled-health-summary` 已輸出 `pchome_auto_policy_decision_preflight` family
|
||||
- `/metrics` 已輸出 `momo_ai_automation_scheduled_health_family_status{family="pchome_auto_policy_decision_preflight",...}`
|
||||
- 不讀 secret、不執行 SQL、不寫 DB、不發 apply authorization,下一個機器動作是 authorization decision closeout lane
|
||||
- PChome auto-policy decision closeout runtime monitoring 已完成:
|
||||
- `/api/ai-automation/smoke` 已加入 `PChome auto-policy decision closeout`
|
||||
- 以本機 contract fixture + machine evidence adapter 自動推進 decision closeout ready path
|
||||
- 明確標記 `post_apply_verifier_required_count=1`、`same_run_truth_required_count=1`、`writes_database_count=0`、`primary_human_gate_count=0`
|
||||
- `/api/ai-automation/scheduled-health-summary` 已輸出 `pchome_auto_policy_decision_closeout` family
|
||||
- `/metrics` 已輸出 `momo_ai_automation_scheduled_health_family_status{family="pchome_auto_policy_decision_closeout",...}`
|
||||
- 不讀 secret、不執行 SQL、不寫 DB、不發 apply authorization,下一個機器動作是 authorization issuer gate lane
|
||||
|
||||
進行中 / 下一步,必須照順序:
|
||||
|
||||
1. 將 auto-policy decision preflight 往 authorization decision closeout lane 推進。
|
||||
1. 將 auto-policy decision closeout 往 authorization issuer gate lane 推進。
|
||||
|
||||
完成標準:
|
||||
|
||||
@@ -269,7 +276,7 @@
|
||||
|
||||
進行中 / 下一步,必須照順序:
|
||||
|
||||
1. 將 auto-policy decision preflight 推進到 authorization decision closeout lane。
|
||||
1. 將 auto-policy decision closeout 推進到 authorization issuer gate lane。
|
||||
2. 對其他 safe mapping backlog lanes 套用 receipt / replay / drift verifier 模式。
|
||||
3. 為每一類 controlled apply 自動產生 rollback evidence package。
|
||||
4. 把 AI automation metrics 持續整合進既有 observability surfaces。
|
||||
@@ -343,6 +350,7 @@
|
||||
| P3.4 | Observability metrics integration | 已完成 | `/metrics` exports scheduled health summary gauges + focused tests; AI surface HTML readback now feeds smoke and scheduled health | P3.5 auto-policy guard monitoring |
|
||||
| P3.5 | PChome auto-policy authorization guard monitoring | 已完成 | AI smoke + scheduled family + metrics family read no-write/no-secret/exception-only guard; focused tests | machine fetch evidence / authorization decision preflight lane |
|
||||
| P3.6 | PChome auto-policy machine evidence decision preflight monitoring | 已完成 | AI smoke + scheduled family + metrics family prove local contract fixture, no-network machine evidence, decision preflight ready, no DB write, no human primary gate | authorization decision closeout lane |
|
||||
| P3.7 | PChome auto-policy authorization decision closeout monitoring | 已完成 | AI smoke + scheduled family + metrics family prove decision closeout ready, post-apply verifier bound, same-run truth required, no DB write, no apply authorization | authorization issuer gate lane |
|
||||
| P4.1 | Source / deployment / runtime truth package | 已完成 | `scripts/ops/report_source_deploy_runtime_truth.py` + focused tests | 每次 Gitea push / production deploy 後執行 P4 report |
|
||||
| P2.2 | Benchmark guardrails applied to core AI surfaces | 已完成 | `/ai_intelligence` + `/observability/overview` golden-signal strips + focused tests | 後續 safe automation lanes 套同樣 first-viewport summary |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user