docs(awooop): record t1 truth-chain smoke

This commit is contained in:
Your Name
2026-05-12 23:36:51 +08:00
parent f318fd3a89
commit 96a8cf3ad5
2 changed files with 65 additions and 1 deletions

View File

@@ -372,6 +372,8 @@ source_event_received
**T1 first implementation2026-05-12 23:20 台北)**:開始補 `awooop_outbound_message` 的真相鏈欄位:`content_redacted``redaction_version``source_envelope`。設計邊界是只保存 redacted rendered card 與 source metadata 摘要raw Telegram payload、完整 callback data、未遮蔽 token 不入庫。production DB migration 已預套用API app role 在 `app.project_id=awoooi` 下可讀 outbound rows`total=312`),代表 T1 的 RLS visibility 紅燈已先驗證可見;新欄位需等 T1 API image 上線後才會產生非空資料。
**T1 production verified2026-05-12 23:35 台北)**API / worker / web 已部署 image `24b15f4a`CD run `1912` successhealth 200。rollback transaction smoke 證明 `record_outbound_message()` 會寫入 `content_redacted``redaction_version=audit_sink_v1``source_envelope.schema_version=outbound_source_envelope_v1`,且 token / internal IP 會 redactedtransaction rollback 後 `persisted_after_rollback=0`。live production rows 已出現 `redacted_total=2` / `envelope_total=2`truth-chain API 查 run `5c659c44-9275-5d50-bb40-76f2f00b2d16` 回傳 `has_content_redacted=True` 與 legacy Telegram envelope hash。T1 退出條件中的「RLS 可見性」與「全文 / hash / envelope 可查」已達成。
---
## §3 6 大設計維度全展開
@@ -1855,8 +1857,11 @@ Phase 6 完成後
- truth-chain / router / operator auth / Telegram envelope 測試共 12 passed。
- production DB migration 已預套用;`app.project_id=awoooi``awooop_outbound_message total=312` 可見,舊資料 `redacted_total=0` 合理。
**production 追加**
- T1 API image 已部署並完成 production smoke`awooop_outbound_message``app.project_id=awoooi` 下可見,且新出站 rows 已有 redacted full content 與 source envelope。
- `run-migration.yml` 在 24b15f4a 暴露兩個 CI 問題:`psql -c` 不展開 `:'commit_sha'`,且誤套 `_down.sql`。已於 `f318fd3a` 修正為跳過 rollback/down migrationaudit SQL 改 heredoc。
**仍未宣稱完成**
- T1 API image 尚需部署後 smoke確認新 outbound mirror 實際寫入 `content_redacted``source_envelope`
- T2 MCP Gateway mandatory audit 未完成,因此不能宣稱所有 MCP / 自建 MCP 都已經過 AwoooP Gateway。
---