feat(smoke): monitor pchome authorization evidence preflight
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.740`,除非有明確版本 bump、部署與 readback。
|
||||
2. 版本不得搞錯;目前正式環境 `/health` 版本維持 `V10.741`,除非有明確版本 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.740`。
|
||||
- 正式環境版本真相 guard:`/health` 是最高真相,目前維持 `V10.741`。
|
||||
- Gitea `dev` / `main` source truth 對齊。
|
||||
- Retry exception controlled apply executor 已落地,目標表為 `pchome_product_matches`。
|
||||
- 正式 DB 已 controlled apply 4 個 selectors:
|
||||
@@ -190,10 +190,17 @@
|
||||
- `/api/ai-automation/scheduled-health-summary` 已輸出 `pchome_auto_policy_verifier_receipt_closeout` family
|
||||
- `/metrics` 已輸出 `momo_ai_automation_scheduled_health_family_status{family="pchome_auto_policy_verifier_receipt_closeout",...}`
|
||||
- 不執行 detached signature verification、不持久化 verifier receipt、不包含 external signed receipt、不包含 signed receipt、不包含 signature material、不接受 plaintext secret、不讀 secret、不執行 SQL、不寫 DB、不簽發 apply authorization,下一個機器動作是 database apply authorization verifier handoff lane
|
||||
- PChome auto-policy authorization evidence execution preflight runtime monitoring 已完成:
|
||||
- `/api/ai-automation/smoke` 已加入 `PChome auto-policy authorization evidence execution preflight`
|
||||
- 以本機 contract fixture + machine evidence adapter 自動推進 authorization evidence execution closeout path
|
||||
- 明確標記 `authorization_evidence_execution_preflight_check_count=12`、`authorization_evidence_execution_preflight_pass_count=12`、`authorization_evidence_execution_field_count=12`、`authorization_evidence_execution_acceptance_gate_count=10`、`authorization_verifier_receipt_closeout_ready_count=1`、`verifier_receipt_evidence_handoff_count=1`、`required_external_receipt_evidence_count=10`、`external_receipt_acceptance_gate_count=8`、`writes_database_count=0`、`signs_database_apply_authorization_count=0`、`reads_secret_count=0`、`primary_human_gate_count=0`
|
||||
- `/api/ai-automation/scheduled-health-summary` 已輸出 `pchome_auto_policy_authorization_evidence_execution_preflight` family
|
||||
- `/metrics` 已輸出 `momo_ai_automation_scheduled_health_family_status{family="pchome_auto_policy_authorization_evidence_execution_preflight",...}`
|
||||
- 不執行 authorization evidence、不執行 detached signature verification、不持久化 verifier receipt、不包含 external signed receipt、不包含 signed receipt、不包含 signature material、不接受 plaintext secret、不讀 secret、不執行 SQL、不寫 DB、不簽發 apply authorization,下一個機器動作是 authorization evidence execution closeout lane
|
||||
|
||||
進行中 / 下一步,必須照順序:
|
||||
|
||||
1. 將 auto-policy verifier receipt closeout 往 database apply authorization verifier handoff lane 推進。
|
||||
1. 將 auto-policy authorization evidence execution preflight 往 authorization evidence execution closeout lane 推進。
|
||||
|
||||
完成標準:
|
||||
|
||||
@@ -360,7 +367,7 @@
|
||||
|
||||
進行中 / 下一步,必須照順序:
|
||||
|
||||
1. 將 auto-policy verifier receipt closeout 推進到 database apply authorization verifier handoff lane。
|
||||
1. 將 auto-policy authorization evidence execution preflight 推進到 authorization evidence execution closeout lane。
|
||||
2. 對其他 safe mapping backlog lanes 套用 receipt / replay / drift verifier 模式。
|
||||
3. 為每一類 controlled apply 自動產生 rollback evidence package。
|
||||
4. 把 AI automation metrics 持續整合進既有 observability surfaces。
|
||||
@@ -446,7 +453,8 @@
|
||||
| P3.16 | PChome auto-policy signed receipt closeout monitoring | 已完成 | AI smoke + scheduled family + metrics family prove detached receipt verification boundary, 10 receipt evidence fields, 8 acceptance gates, 10 detached checks, no detached verification execution, no signed receipt, no signature material, no secret read, no DB write, no signing | P3.17 signed receipt evidence intake monitoring |
|
||||
| P3.17 | PChome auto-policy signed receipt evidence intake monitoring | 已完成 | AI smoke + scheduled family + metrics family prove detached verification evidence schema, 12 evidence fields, 10 detached acceptance gates, no detached verification execution, no signed receipt, no signature material, no plaintext secret, no secret read, no DB write, no signing | P3.18 detached verification evidence validation monitoring |
|
||||
| P3.18 | PChome auto-policy detached verification evidence validation monitoring | 已完成 | AI smoke + scheduled family + metrics family prove verifier receipt closeout boundary, 12 verifier receipt fields, 10 verifier acceptance gates, no detached verification execution, no verifier receipt persist, no signed receipt, no signature material, no plaintext secret, no secret read, no DB write, no signing | P3.19 verifier receipt closeout monitoring |
|
||||
| P3.19 | PChome auto-policy verifier receipt closeout monitoring | 已完成 | AI smoke + scheduled family + metrics family prove verifier receipt evidence handoff, 12 handoff fields, 10 handoff acceptance gates, no detached verification execution, no verifier receipt persist, no signed receipt, no signature material, no plaintext secret, no secret read, no DB write, no signing | P3.20 database apply authorization verifier handoff lane |
|
||||
| P3.19 | PChome auto-policy verifier receipt closeout monitoring | 已完成 | AI smoke + scheduled family + metrics family prove verifier receipt evidence handoff, 12 handoff fields, 10 handoff acceptance gates, no detached verification execution, no verifier receipt persist, no signed receipt, no signature material, no plaintext secret, no secret read, no DB write, no signing | P3.20 authorization evidence execution preflight monitoring |
|
||||
| P3.20 | PChome auto-policy authorization evidence execution preflight monitoring | 已完成 | AI smoke + scheduled family + metrics family prove database apply authorization verifier handoff, 12 execution fields, 10 execution acceptance gates, no authorization evidence execution, no detached verification execution, no verifier receipt persist, no signed receipt, no signature material, no plaintext secret, no secret read, no DB write, no signing | P3.21 authorization evidence execution closeout 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