diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 7217a607..6d6e1755 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,36 @@ +## 2026-06-25|Agent Market Runtime readback fixture 批准包正式驗證 + +**背景**:P2-111 已把 Telegram 報告實發批准包與 no-send route lock 顯示在 Agent Market;下一個安全步驟是 P2-112,把 runtime readback 推進到 fixture-only approval package,可供 OpenClaw / Hermes / NemoTron 審核,但仍不得讀 canonical runtime target、不得 live query、不得寫入 result capture / receipt / production。 + +**完成**: +- `/zh-TW/governance?tab=agent-market` 新增 `Runtime readback fixture 批准包` 區塊。 +- 顯示 `5` 張 fixture approval card:報表派送 fixture、runtime implementation fixture、Telegram failure receipt fixture、reviewer queue fixture preview、result capture fixture link。 +- 顯示 `4` 個 adapter contract、`5` 個 verifier fixture check、`5` 個 blocker mapping。 +- 顯示 live truth:`target_read=false`、`live_query=false`、`live_verifier=false`、`result_capture_write=false`、`production_write=false`、owner approval `0`。 +- 同步將既有 Agent Market 技術領域與分析卡片 label 改為繁體中文主體,保留必要技術名詞。 + +**Commit / Deploy**: +- Code commit:`a60021fd feat(governance): 顯示 runtime readback fixture 批准包`。 +- 最新 production deploy marker:`0a63bb65 chore(cd): deploy a60021f [skip ci]`。 +- `awoooi-prod` Web image:`192.168.0.110:5000/awoooi/web:a60021fd3c5f51c1e04441d2986dfec53963b023`,`2/2 ready updated=2`。 + +**驗證**: +- 本地:`pnpm --filter @awoooi/web exec eslint 'src/app/[locale]/governance/tabs/agent-market-tab.tsx'` 通過。 +- 本地:`pnpm --filter @awoooi/web typecheck` 通過。 +- 本地:`DATABASE_URL='postgresql+asyncpg://test:test@localhost/test' pytest apps/api/tests/test_ai_agent_runtime_readback_fixture_approval.py apps/api/tests/test_ai_agent_runtime_readback_fixture_approval_api.py`:`5 passed`。 +- 本地:`python3 -m json.tool apps/web/messages/zh-TW.json`、`python3 -m json.tool apps/web/messages/en.json`、`git diff --check` 通過。 +- 正式 API:`/api/v1/health=healthy`。 +- 正式 API:`/api/v1/agents/agent-runtime-readback-fixture-approval` 回 `schema_version=ai_agent_runtime_readback_fixture_approval_v1`,rollups 為 `fixture_approval_card_count=5`、`adapter_contract_count=4`、`verifier_fixture_check_count=5`、`blocker_mapping_count=5`、`owner_approval_received_count=0`、`live_query_count=0`、`gateway_queue_write_count=0`、`telegram_send_count=0`、`bot_api_call_count=0`、`report_receipt_write_count=0`、`result_capture_write_count=0`、`production_write_count=0`。 +- 正式 browser:`https://awoooi.wooo.work/zh-TW/governance?tab=agent-market&_v=0a63bb65-runtime-fixture-prod` 可見 P2-112 runtime fixture 區塊、五張 card、adapter / verifier / blocker 區塊與既有 Telegram 報告實發批准包。 +- Responsive:手機 `390`、寬桌面 `1440` 與目前瀏覽器寬度皆 `horizontalOverflow=0`,console error `0`。 +- Redaction:正式頁未出現 `批准!繼續`、`My request for Codex`、`In app browser`、`/Users/`、`.codex`、`raw prompt`、`private reasoning`、`raw Telegram payload`、`raw runtime payload`、`work window transcript`。 + +**完成度同步**: +- P2-112 runtime readback fixture 批准包:`100%` 可見化與 read-only readback。 +- AI Agent 治理自動化整體:維持 `42.2%`,因 owner approval、runtime readback execution、live query、Gateway queue write、Telegram send、Bot API、report receipt write、result capture write、production write、secret read 與 destructive operation 仍全數 `0 / false`。 + +**邊界**:本輪沒有啟用 runtime readback、沒有讀 canonical runtime target、沒有 live query、沒有呼叫 Telegram Bot API、沒有發送 Telegram、沒有寫 Gateway queue、沒有寫 report receipt、沒有寫 result capture、沒有 production write、沒有 secret read,也沒有替換 OpenClaw。 + ## 2026-06-25|Agent Market Telegram 報告實發批准包正式驗證 **背景**:使用者要求日報、週報、月報、每個 AI Agent 工作狀態、數據化圖表與 Telegram Bot 告警鏈路必須可見;同時明確要求前端不可顯示 Codex / 工作視窗對話內容。前一輪已完成 AI 技術雷達與報告 cadence;本輪補上 Telegram 實發前的批准包與 no-send 邊界可視化。