新增 PChome compact controlled apply readback
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-02 13:28:40 +08:00
parent 99df3b9a76
commit f1795e555d
5 changed files with 376 additions and 4 deletions

View File

@@ -70,6 +70,10 @@
- `direct-mapping-retry-candidate-exception-controlled-apply-drift-recovery-package` 可輸出 read-only recovery package
- drift detected 時會產生 controlled re-apply SQL shape、rollback SQL shape、selector bindings 與 acceptance gates
- 0 drift 時會產生 no-op evidence避免把正常狀態誤報成人工審核
- Compact latest apply / replay / drift / recovery readback endpoint 已完成:
- `direct-mapping-retry-candidate-exception-controlled-apply-compact-readback-package` 會回傳 apply、replay、drift、recovery 四段 compact receipt
- 產品面可直接讀取 `product_status``next_machine_action`、selector readback、drift count 與 artifact hash 狀態
- compact readback 自身也可 materialize artifact 並驗證 hash
- AI debt scanner 顯示產品面清空:
- `PRODUCT_SURFACE_CLEAR`
- `finding_count=0`
@@ -77,8 +81,7 @@
進行中 / 下一步,必須照順序:
1. 建立正式環境 compact readback endpoint回傳最新 apply / replay / drift / recovery receipts
2. 建立 PChome controlled-apply artifacts retention policy讓 evidence 可追蹤但不無限制膨脹。
1. 建立 PChome controlled-apply artifacts retention policy讓 evidence 可追蹤但不無限制膨脹
完成標準:
@@ -192,8 +195,9 @@
| P0.6 | Drift verifier artifact | 已完成 | drift artifact hash match `1` | 增加 latest compact readback |
| P0.7 | Automated drift monitor | 已完成 | smoke check `PChome 受控落地 drift monitor` | 納入每日 smoke 與 runtime readback |
| P0.8 | Drift rollback / re-apply package | 已完成 | drift recovery package route + focused tests | 接入 compact readback |
| P0.9 | Compact latest apply / replay / drift / recovery readback endpoint | 未開始 | apply/replay/drift/recovery packages exist | 下一個實作 |
| P1.1 | Dashboard AI automation first-viewport surface | 未開始 | API readiness exists | P0 compact readback 後實作 |
| P0.9 | Compact latest apply / replay / drift / recovery readback endpoint | 已完成 | compact readback route + focused tests | 接入 product dashboard first viewport |
| P0.10 | Controlled-apply artifact retention policy | 未開始 | compact artifacts exist | 下一個實作 |
| P1.1 | Dashboard AI automation first-viewport surface | 未開始 | API readiness + compact readback exist | P0 retention policy 後實作 |
| P1.2 | UI wording guard for no raw engineering terms | 未開始 | existing guardrails only | 為新 automation surface 補 tests |
| P2.1 | External benchmark encoded into requirements | 未開始 | benchmark guide exists | 更新 guardrails / tests |
| P3.1 | Extend receipt / replay / drift pattern to more lanes | 未開始 | current retry lane complete | P1 後選下一條 safe lane |