feat(agent): expose harbor receipt output contract
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 41s
CD Pipeline / build-and-deploy (push) Failing after 2m35s
CD Pipeline / post-deploy-checks (push) Has been skipped
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-01 08:13:39 +08:00
parent f3a29b4818
commit 693a31343b
5 changed files with 189 additions and 2 deletions

View File

@@ -51054,3 +51054,23 @@ production browser smoke:
**下一步**
- commit / push 後讀回 Gitea queue、registry `/v2/`、Harbor health 與 priority work-order API若仍卡 `awoooi-host` no matching下一步維持 110 local console / controlled lane restore-registration verifier不恢復 generic runner。
## 2026-07-01 — 08:12 AI Loop Harbor receipt output writeback contract
**完成內容**
- `agent-log-controlled-writeback-executor-readback` 新增 `harbor_recovery_receipt_output_contract`,把 Harbor receipt 產出的 `control_path_readiness``controlled_cd_lane_readiness``gitea_actions_queue``local_console_phase_readback``post_apply_verifier``deploy_marker` 6 個 metadata-only output 明確列為 KM / RAG / PlayBook / MCP / Verifier / AI Agent writeback 目標。
- `awoooi-priority-work-order-readback` 同步投影 output contract count / ids / contract讓主工作順序頁不只知道要收哪些 receipt input也知道 receipt output 要沉澱到哪些學習節點。
- next execution order 保留 `normalized queue classifiers` 相容字串,並新增 `control-path readiness classifiers`,避免舊下游判讀斷裂。
**本地驗證結果**
- Focused suite`74 passed`
- `ruff check``py_compile``ops/runner/guard-gitea-runner-pressure.py --root .``scripts/ci/check-gitea-step-env-secrets.js``git diff --check`:通過。
- runner pressure guard 仍讀回 `auto_branch_events_on_110=0``generic_runner_labels=0`
**仍維持**
- 沒有讀 secret / token / `.env` / raw sessions / SQLite / auth沒有讀 `.runner` 內容。
- 沒有使用 GitHub / gh / GitHub API / GitHub Actions。
- 沒有重啟主機,沒有 Docker / Nginx / K3s / DB restart沒有 workflow_dispatch沒有 runtime write。
**下一步**
- commit / push 後讀回 Gitea queueruntime 若仍卡 Harbor 502 與 `awoooi-host` no matching下一個主線仍是 110 controlled lane verifier / registration receipt不恢復 generic runner。