feat(api): expose credential escrow delivery lane
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 19s
CD Pipeline / build-and-deploy (push) Successful in 4m43s
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
Your Name
2026-06-29 16:46:42 +08:00
parent 3ccfd53b3f
commit 60d51d40da
3 changed files with 127 additions and 1 deletions

View File

@@ -49519,6 +49519,24 @@ production browser smoke:
- 沒有讀 secret / token / `.env` / raw sessions / SQLite / auth沒有寫 credential marker。
- 沒有使用 GitHub / gh / GitHub API / GitHub Actions。
## 2026-06-29 — 16:45 P0-003 deploy readback 與 P0-005 Workbench lane 整合
**完成內容**
- Gitea CD #3923 已成功deploy marker `3ccfd53b3 chore(cd): deploy 7219a48 [skip ci]` 已 fast-forward 到本地 worktree。
- Production GET `/api/v1/agents/gitea-private-inventory-p0-scorecard` 已讀回 HTTP 200、`schema_version=gitea_private_inventory_p0_scorecard_readback_v1``priority=P0-003`
- Production GET `/api/v1/agents/delivery-closure-workbench` 已讀回 GitHub lane `stopped_retired_do_not_use``github_blocked_preflight_target_count=0`Gitea private inventory lane 維持 active P0 blocker。
- 新增 Delivery Workbench `credential_escrow` lane將 P0-005 五個 non-secret evidence item blockers 從 generic backup lane 拆出為第一級 product lane。
**本地驗證結果**
- `python3.11 -m py_compile apps/api/src/services/delivery_closure_workbench.py apps/api/tests/test_delivery_closure_workbench_api.py`:通過。
- `DATABASE_URL=postgresql+asyncpg://ci:ci@localhost/ci PYTHONFAULTHANDLER=1 python3.11 -m pytest apps/api/tests/test_delivery_closure_workbench_api.py apps/api/tests/test_credential_escrow_evidence_intake_readiness_api.py apps/api/tests/test_gitea_private_inventory_p0_scorecard_api.py -q --tb=short -x -p no:cacheprovider``15 passed`
- `git diff --check`:通過。
**仍維持**
- 沒有讀 secret / token / `.env` / raw sessions / SQLite / auth沒有寫 credential marker。
- 沒有重啟主機,沒有 restart Docker / Nginx / K3s / DB / firewall沒有修改 runner/host 權限。
- 沒有使用 GitHub / gh / GitHub API / GitHub Actions。
## 2026-06-29 — 15:34 P0-005 credential escrow readiness safe next step source fix
**照優先順序完成的讀回**