feat(awooop): expose ansible audit truth surface
Some checks failed
Code Review / ai-code-review (push) Successful in 10s
run-migration / migrate (push) Failing after 9s
CD Pipeline / tests (push) Successful in 2m21s
CD Pipeline / build-and-deploy (push) Successful in 3m50s
CD Pipeline / post-deploy-checks (push) Successful in 1m19s
Some checks failed
Code Review / ai-code-review (push) Successful in 10s
run-migration / migrate (push) Failing after 9s
CD Pipeline / tests (push) Successful in 2m21s
CD Pipeline / build-and-deploy (push) Successful in 3m50s
CD Pipeline / post-deploy-checks (push) Successful in 1m19s
This commit is contained in:
@@ -1892,6 +1892,32 @@ Phase 6 完成後
|
||||
|
||||
---
|
||||
|
||||
### 2026-05-12 晚 (台北) — T3 Ansible declarative executor audit surface 第一段
|
||||
|
||||
**範圍**:
|
||||
- `automation_operation_log.operation_type` CHECK 追加 Ansible executor audit states:
|
||||
`ansible_candidate_matched` / `ansible_check_mode_executed` /
|
||||
`ansible_apply_executed` / `ansible_rollback_executed` /
|
||||
`ansible_execution_skipped`。
|
||||
- 新增 `awooop_ansible_audit_service.py`,把 repo 既有 Ansible playbook catalog 以
|
||||
read-only 方式暴露給 truth-chain。
|
||||
- truth-chain `execution.ansible` 改為顯示:
|
||||
- 是否真的有 `automation_operation_log` Ansible audit record。
|
||||
- audit contract / required fields。
|
||||
- static catalog keyword hints,且 `decision_effect=none`,避免把候選 playbook 誤判成已自動修復。
|
||||
- `incident_timeline_service` 加入 Ansible operation type stage mapping。
|
||||
|
||||
**已驗證**:
|
||||
- 本地 `py_compile` / `ruff F,E9` / `git diff --check` 通過。
|
||||
- `test_awooop_truth_chain_service.py`、router order、operator auth 共 13 passed。
|
||||
- `run-migration.yml` YAML parse 通過;新增 `_down.sql` 會被既有 workflow skip 規則排除。
|
||||
|
||||
**仍未宣稱完成**:
|
||||
- 這不是 Ansible 自動修復執行器接線;目前只建立 first-class audit contract 與 truth-chain 可見性。
|
||||
- 下一段需把 decision / approval execution path 在「只 dry-run/check-mode」下寫入上述 operation types,再談 apply。
|
||||
|
||||
---
|
||||
|
||||
### 2026-04-20 晚 (台北) — C1-C4 全流程串接 — Playbook 鏈路保護(commit de2d34d)
|
||||
|
||||
**觸發**:統帥全景盤查 AI 自動化節點後,發現 Playbook 自動修復鏈路有 3 個結構性斷點。
|
||||
|
||||
Reference in New Issue
Block a user