Merge remote-tracking branch 'gitea-ssh/main' into codex/p0-product-manifest-standard-20260629
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 2m46s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped

# Conflicts:
#	docs/LOGBOOK.md
This commit is contained in:
Your Name
2026-06-29 12:47:25 +08:00
16 changed files with 457 additions and 53 deletions

View File

@@ -16,6 +16,20 @@
**邊界**:未使用 GitHub / `gh` / GitHub API未建立 repo未 sync refs未 workflow_dispatch未讀 token / cookie / session / secret / auth / `.env`;未操作 host / Docker / K8s / DB未 force push。
## 2026-06-29 — 12:45 P0-004 CI/CD baseline source readiness 補齊
**完成內容**
- 接續 P0-001 cold-start / P0-005 escrow gate 後,按序推進 P0-004。
- `cd.yaml #3875` 已在 Gitea public queue 讀回 `Success`deploy marker 為 `6ee1b8e49 chore(cd): deploy 2ff4d1f [skip ci]`production Workbench 讀回 `production_deploy_status=closure_verified``production_deploy_image_tag_matches_main=true`
- 補回 P0-004 source readiness 要求的 8 個 service sourcewarning-step owner package、owner response preflight、template copy execution plan、template copy apply gate、dashboard、product onboarding guard、onboarding reminder contract、new product onboarding page model。
- `docs/operations/p0-cicd-baseline-source-readiness.snapshot.json` 從 missing sources blocker 更新為 `ready_for_template_copy_apply_gate`source readiness 變成 `11/11``100%`,但 workflow copy / trigger / host / K8s / secret / GitHub 仍維持關閉。
**驗證目標**
- Focused API tests`test_p0_cicd_baseline_source_readiness_api.py``test_delivery_closure_workbench_api.py`
- Source / workflow guards`py_compile``ops/runner/test_cd_controlled_runtime_profile.py``guard-gitea-runner-pressure.py``git diff --check`
**邊界**:未使用 GitHub / `gh` / GitHub API未 workflow_dispatch未讀 token / `.runner` / cookie / session / secret / auth / `.env`;未操作 host / Docker / K8s / DB未開 workflow template copy apply gate。
## 2026-06-29 — 12:06 P0-004 CI/CD baseline source readiness readback
**完成內容**

View File

@@ -1,18 +1,18 @@
{
"schema_version": "p0_cicd_baseline_source_readiness_v1",
"generated_at": "2026-06-29T12:06:00+08:00",
"status": "blocked_required_sources_missing",
"status": "ready_for_template_copy_apply_gate",
"priority": "P0-004",
"scope": "dev_prod_cicd_baseline",
"readback": {
"workplan_id": "P0-004",
"workplan_title": "補 dev / prod CI/CD baseline",
"scorecard_completion_percent": 40,
"scorecard_completion_percent": 60,
"baseline_matrix_present": true,
"dev_missing_count": 10,
"prod_cicd_gap_count": 10,
"github_mirror_status": "removed_deleted_do_not_use",
"safe_next_step": "restore_or_recreate_tracked_warning_step_source_before_workflow_enablement"
"safe_next_step": "open_template_copy_apply_gate_after_source_readiness_green"
},
"required_sources": [
{
@@ -83,30 +83,20 @@
}
],
"blockers": [
"tracked_warning_step_source_files_missing",
"workflow_enablement_blocked_until_source_readiness_green"
"template_copy_apply_gate_required_before_workflow_enablement"
],
"next_actions": [
"restore_or_recreate_warning_step_owner_package_preflight_plan_apply_gate_dashboard_sources",
"add_focused_tests_for_recreated_sources_before_any_workflow_copy",
"keep_workflow_modification_allowed_false_until_source_readiness_green"
"run_focused_tests_for_recreated_sources",
"open_template_copy_apply_gate_before_any_workflow_copy",
"keep_workflow_modification_allowed_false_until_apply_gate"
],
"rollups": {
"required_source_count": 11,
"present_required_source_count": 3,
"missing_required_source_count": 8,
"source_readiness_percent": 27,
"blocked_source_ids": [
"warning_step_owner_package_service",
"warning_step_owner_response_preflight_service",
"warning_step_template_copy_execution_plan_service",
"warning_step_template_copy_apply_gate_service",
"warning_step_dashboard_service",
"product_onboarding_guard_service",
"onboarding_reminder_contract_service",
"new_product_onboarding_page_model_service"
],
"hard_blocker_count": 2,
"present_required_source_count": 11,
"missing_required_source_count": 0,
"source_readiness_percent": 100,
"blocked_source_ids": [],
"hard_blocker_count": 1,
"next_action_count": 3
},
"operation_boundaries": {