fix(tests): realign market radar readback contract

This commit is contained in:
Your Name
2026-06-28 10:23:10 +08:00
parent 38ed500748
commit 359d8f3dbb
2 changed files with 13 additions and 2 deletions

View File

@@ -1,3 +1,14 @@
## 2026-06-28 — 10:22 AI Agent market radar readback 合約重新對齊
**背景**feature 合併最新 `gitea-ssh/main=93434b1f6`main 已把 `apps/api/tests/test_ai_agent_market_radar_readback.py` 的 committed snapshot 合約重新對齊為 `8f402983e``Durable execution / persistence / controlled review loop`feature 原先的 snapshot 修正仍停在前一輪 `61cf5024` / `human-in-the-loop`,造成 focused pytest 2 項失敗。
**完成內容**
- 將 `docs/operations/ai-agent-market-radar-readback.snapshot.json``source_scope.gitea_main_evidence_basis_commit` 改回 `8f402983e`
- 將 `market_practice_alignment` practice key 改回 `Durable execution / persistence / controlled review loop`,與最新 main 測試合約一致。
- 本段只修正 snapshot / test contract drift不改 GitHub backup suspended preflight、不新增 GitHub repo / refs / visibility 操作。
**下一步**:重跑 JSON parse、`py_compile`、ruff、focused pytest 與 `git diff --check`;通過後 normal push feature再於 main 未前進時 normal push `HEAD:main`
## 2026-06-28 — 10:05 controlled cd-lane 與 legacy runner guard 分流
**背景**09:46 的 source fail-closed commit 將 `awoooi-cd-lane.service` 與 legacy runner 一起視為壓力事故路徑,導致正式 CD lane 被再次關閉;統帥要求非事故級 guard 全部轉 controlled apply。

View File

@@ -92,7 +92,7 @@
{
"awoooi_status": "needed_for_incident_loop",
"next_step": "優先把 incident workflow kernel 設計成可暫停、恢復、受控審核與重放。",
"practice": "Durable execution / persistence / human-in-the-loop",
"practice": "Durable execution / persistence / controlled review loop",
"source": "https://docs.langchain.com/oss/python/langgraph/overview"
},
{
@@ -468,7 +468,7 @@
],
"schema_version": "ai_agent_market_radar_readback_v1",
"source_scope": {
"gitea_main_evidence_basis_commit": "61cf5024",
"gitea_main_evidence_basis_commit": "8f402983e",
"market_governance_snapshot": "docs/evaluations/agent_market_governance_snapshot_2026-06-26.json",
"market_watch_report": "docs/evaluations/agent_market_watch_report_2026-06-26.json",
"project_handoff_basis": "Codex Start Here handoff + P2-412 primary-source refresh",