docs(logbook): 記錄 P2-104 正式驗證 [skip ci]
This commit is contained in:
@@ -15,9 +15,30 @@
|
||||
- `cmp -s apps/web/messages/zh-TW.json apps/web/messages/en.json` 通過,兩份訊息檔維持繁體中文鏡像。
|
||||
- `DATABASE_URL='postgresql+asyncpg://test:test@localhost/test' PYTHONPATH=apps/api python -m pytest -q apps/api/tests/test_ai_agent_matched_playbook_learning_gap.py apps/api/tests/test_ai_agent_matched_playbook_learning_gap_api.py`:`9 passed, 1 warning`。
|
||||
|
||||
**Gitea / CD(正式)**:
|
||||
|
||||
- Code commit:`414413a5 feat(governance): 新增 matched PlayBook 學習缺口證據`。
|
||||
- Deploy marker:`e4a349bc chore(cd): deploy 414413a [skip ci]`。
|
||||
- Code-review run:`2805`,成功。
|
||||
- CD run:`2804`,成功。
|
||||
|
||||
**正式站 API readback**:
|
||||
|
||||
- `GET /api/v1/health` 回 `status=healthy`、`environment=prod`、`mock_mode=false`;`api`、`postgresql`、`redis`、`openclaw`、`ollama_gcp_a`、`ollama_gcp_b` 均為 `up`,`ollama_local` 為 endpoint cooldown。
|
||||
- `GET /api/v1/agents/agent-matched-playbook-learning-gap` 回 `schema_version=ai_agent_matched_playbook_learning_gap_v1`、`current_task_id=P2-104`、`next_task_id=P2-105`、`overall_completion_percent=100`。
|
||||
- 正式 API 只讀回查:approval total `1945`、approval matched total `1104`、24h approval `66`、24h matched `66`、matched rate `100%`、PlayBook total `247`、PlayBook with execution stats `9`、PlayBook updated 24h `0`。
|
||||
- 正式 API gap truth:`matched_playbook_id_gap_resolved=true`、`execution_learning_gap_detected=true`、`approved_without_execution_meta_24h=63`、`pending_with_matched_24h=2`、`execution_failed_with_matched_24h=1`。
|
||||
- 正式 API 0 / false 邊界:learning write、PlayBook trust write、Gateway queue write、Telegram send、production write、secret value read、destructive operation 全部維持 `0 / false`。
|
||||
|
||||
**正式站 Browser smoke**:
|
||||
|
||||
- Desktop `https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=e4a349bc-p2-104b-exact-desktop`,viewport `1440x1000`:P2-104 卡片可見,顯示 `P2-104 -> P2-105`、`100%`、24h approvals `66`、已匹配 `66`、匹配率 `100%`、APPROVED 缺 LEARNING `63`、PENDING gate `2`、FAILED 候選 `1`、PLAYBOOK UPDATED `0`、LEARNING / TRUST / QUEUE / TG writes `0`;`horizontalOverflow=false`,P2-104 卡片內操作控制 `0`,危險操作入口 `0`。截圖:`/tmp/awoooi-p2-104b-playbook-gap-exact-desktop-e4a349bc.png`。
|
||||
- Mobile `https://awoooi.wooo.work/zh-TW/governance?tab=automation-inventory&_v=e4a349bc-p2-104b-exact-mobile`,viewport `390x844`:同樣可見 P2-104 卡片與 0 / false 邊界;`clientWidth=384`、`scrollWidth=384`、`horizontalOverflow=false`,P2-104 卡片內操作控制 `0`,危險操作入口 `0`。截圖:`/tmp/awoooi-p2-104b-playbook-gap-exact-mobile-e4a349bc.png`。
|
||||
- 頁面錯誤文字 `Application error`、`Unhandled Runtime Error`、`Cannot read properties`、`無法載入自動化盤點快照` 均未出現。
|
||||
|
||||
**完成度同步**:
|
||||
|
||||
- P2-104:本地 `100%`;active gap 已從 `matched_playbook_id` 缺失修正為 approved 後 `63` 筆缺 execution learning / result capture。
|
||||
- P2-104:本地 `100%`,正式站 `100%`;active gap 已從 `matched_playbook_id` 缺失修正為 approved 後 `63` 筆缺 execution learning / result capture。
|
||||
- Learning write、PlayBook trust write、KM write、LOGBOOK runtime append、audit DB write、timeline write、Gateway queue write、Telegram send、production write、secret value read、host / cluster command、destructive action:全部仍為 `0`。
|
||||
- P2-105:下一步建立 critic / reviewer score 與 result capture;未通過前不得把 approved approval 自動轉成 PlayBook trust 更新。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user