feat(stockplatform): surface data readiness receipt
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 53s
CD Pipeline / build-and-deploy (push) Successful in 6m56s
CD Pipeline / post-deploy-checks (push) Successful in 1m59s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 53s
CD Pipeline / build-and-deploy (push) Successful in 6m56s
CD Pipeline / post-deploy-checks (push) Successful in 1m59s
This commit is contained in:
@@ -58,6 +58,25 @@
|
||||
**仍維持**:
|
||||
- 未讀 Windows 密碼 / secret / token / `.env` / raw sessions / SQLite / auth;未執行 Windows remote command;未重啟主機 / VM / Docker / Nginx / K3s / DB / firewall;未啟動 VM;未使用 GitHub / `gh` / GitHub API。
|
||||
|
||||
## 2026-07-02 — P0-006 StockPlatform data readiness receipt 與前台可視面板
|
||||
|
||||
**完成內容**:
|
||||
- `stockplatform_public_api_runtime_readback` 新增 `stockplatform_postgres_readiness_or_data_source_readback_v1`,把 public `/api/v1/system/freshness` 與 `/api/v1/system/ingestion` 探測轉成 no-secret data readiness receipt。
|
||||
- recovery control path 動態把 `stockplatform_postgres_readiness_or_data_source_readback` 從 missing receipts 移到 provided receipts;若 live readback 不是 `postgres_not_ready`,不再讓舊 receipt 的 stale `stockplatform_postgres_not_ready` 壓過目前 data dependency 分類。
|
||||
- `stockplatform_public_api_controlled_recovery_preflight` 與 `awoooi-priority-work-order-readback` 上卷 receipt status / provided / data dependency / postgres ready 到 `source_of_truth_diff`、`rollups`、`summary` 與 P0 evidence。
|
||||
- `/zh-TW/awooop/work-items` 新增 StockPlatform P0 runtime receipt 面板,直接顯示 runtime、receipt、data dependency、Postgres、controlled preflight 與目前下一步。
|
||||
|
||||
**驗證**:
|
||||
- `DATABASE_URL=sqlite+aiosqlite:////tmp/awoooi-codex-api-test.db PYTHONPATH=apps/api python3.11 -m pytest -q apps/api/tests/test_stockplatform_public_api_runtime_readback.py apps/api/tests/test_stockplatform_public_api_controlled_recovery_preflight.py apps/api/tests/test_awoooi_priority_work_order_readback_api.py ops/runner/test_cd_controlled_runtime_profile.py`:`69 passed`。
|
||||
- `python3.11 -m py_compile apps/api/src/services/stockplatform_public_api_runtime_readback.py apps/api/src/services/stockplatform_public_api_controlled_recovery_preflight.py apps/api/src/services/awoooi_priority_work_order_readback.py`:通過。
|
||||
- `python3 ops/runner/guard-gitea-runner-pressure.py --root .`:通過。
|
||||
- `node` 解析 `apps/web/messages/zh-TW.json` / `apps/web/messages/en.json`:通過。
|
||||
- 本機 live public readback 抽樣:`data_readiness_status=blocked_stockplatform_data_dependency_not_ready`、`classification=freshness_or_ingestion_not_ready`、`receipt_provided=true`、`recovery_missing_receipts=["post_apply_public_api_verifier_green"]`、`safe_next_step=run_stockplatform_data_dependency_source_contract_readback_then_rerun_public_api_verifier`。
|
||||
- `pnpm --filter @awoooi/web typecheck` 未完成:此 worktree 沒有 `node_modules`,`tsc` 不存在;未安裝依賴。
|
||||
|
||||
**仍維持**:
|
||||
- 未使用 GitHub / `gh` / GitHub API;未讀 secret / token / `.env` / raw sessions / SQLite / auth;未觸發 workflow;未重啟主機 / VM / Docker / Nginx / K3s / DB / firewall;未寫 production DB;未 fake freshness。
|
||||
|
||||
## 2026-07-02 — 15:42 P0-006 Windows99 verify collector 留在 controlled-runtime CD lane
|
||||
|
||||
**完成內容**:
|
||||
|
||||
Reference in New Issue
Block a user