diff --git a/docs/LOGBOOK.md b/docs/LOGBOOK.md index 7592904d..36d513f0 100644 --- a/docs/LOGBOOK.md +++ b/docs/LOGBOOK.md @@ -1,3 +1,23 @@ +## 2026-06-24|MOMO Pro / AwoooGo Gitea dev branch 與 Mac Mini workspace 建立 + +**背景**:在 11:52 preflight 通過後,收到 owner approval 繼續,正式為兩個乾淨候選建立 Gitea `dev` branch,並從 Gitea clone Mac Mini 乾淨 Codex workspace。這不是 raw `.git` 複製,也沒有搬 `.env`、runtime volumes 或 Codex raw conversations。 + +**完成內容**: +- MOMO Pro:Gitea `wooo/ewoooc` `dev` 已建立,commit `76a89a70986b7428704a12ffbb7180f159db151f`,與 `main` 相同。 +- MOMO Pro Mac Mini workspace:`/Users/ogt/codex-workspaces/momo-pro-dev`,branch `dev`,commit `76a89a70986b7428704a12ffbb7180f159db151f`,dirty `0`。外部 `https://gitea.wooo.work/wooo/ewoooc.git` 可讀 main/dev。 +- AwoooGo:Gitea `wooo/AwoooGo` `dev` 已建立,commit `8471b376d97c1436d4612ece17f51ba0950f114d`,與 `main` 相同。 +- AwoooGo Mac Mini workspace:`/Users/ogt/codex-workspaces/awooogo-dev`,branch `dev`,commit `8471b376d97c1436d4612ece17f51ba0950f114d`,dirty `0`。 +- AwoooGo 外部 HTTPS `https://gitea.wooo.work/wooo/AwoooGo.git` 在 CLI readback 需要認證;目前不能宣稱 MacBook Pro 外部 clone 已完成。 + +**文件 / snapshot**: +- `docs/operations/codex-gitea-dev-bootstrap-preflight.snapshot.json` 已更新為 12:03 readback:`remote_dev_branch_created_count=2`,`mac_mini_workspace_ready_count=2`,`external_https_readable_count=1`。 +- `docs/operations/CODEX-WORKSTATION-GITEA-DEV-READBACK.md` §8 已從 preflight 更新為 readback。 + +**邊界**: +- 只完成 Mac Mini dev workspace;MacBook Pro workspace 還需要在外部環境做 clone / fetch / dirty=0 readback。 +- AwoooGo 外部 clone readiness 仍 blocked by auth / credential path。 +- dirty 專案仍不可直接推:VibeWork、StockPlatform、Agent Bounty、Bitan、Tsenyang、ClawBot、2026FIFA、VTuber 需各自 drift review。 + ## 2026-06-24|MOMO Pro / AwoooGo dev bootstrap preflight **背景**:延續 Codex 雙工作站 / Gitea dev 環境盤點,先挑最安全的兩個候選:MOMO Pro 與 AwoooGo。這兩個本機工作樹都是 clean,且本機 `main` commit 與 Gitea `main` 完全一致;但遠端 `dev` branch 尚未存在,所以本輪只建立 preflight snapshot,不建立 branch、不 clone workspace、不推產品 repo。 diff --git a/docs/operations/CODEX-WORKSTATION-GITEA-DEV-READBACK.md b/docs/operations/CODEX-WORKSTATION-GITEA-DEV-READBACK.md index aca099e8..857e9643 100644 --- a/docs/operations/CODEX-WORKSTATION-GITEA-DEV-READBACK.md +++ b/docs/operations/CODEX-WORKSTATION-GITEA-DEV-READBACK.md @@ -1,6 +1,6 @@ # Codex 雙工作站 / Gitea 開發環境 Readback -> Last updated: 2026-06-24 11:52 Asia/Taipei +> Last updated: 2026-06-24 12:03 Asia/Taipei > Scope: Mac Mini、MacBook Pro、Gitea dev workspace、全產品專案收攏。 --- @@ -89,7 +89,7 @@ Forbidden sync targets: auth.json, *.sqlite, sessions, raw conversations, .env, 5. For VTuber, repair local repository HEAD / inventory before any Gitea action. 6. Update Start Here / dashboard snapshots only after readback, not by assumption. -## 8. 2026-06-24 11:52 dev bootstrap candidate preflight +## 8. 2026-06-24 12:03 dev bootstrap readback Machine-readable snapshot: @@ -97,26 +97,28 @@ Machine-readable snapshot: docs/operations/codex-gitea-dev-bootstrap-preflight.snapshot.json ``` -| Product | Local state | Remote state | Workspace | Preflight result | +| Product | Local state | Remote state | Workspace | Readback result | |---------|-------------|--------------|-----------|------------------| -| MOMO Pro | `/Users/ogt/momo-pro-system`, `main`, `76a89a70986b`, dirty `0` | `wooo/ewoooc` main matches local; `dev` missing | `/Users/ogt/codex-workspaces/momo-pro-dev` missing | ready for owner-reviewed dev bootstrap | -| AwoooGo | `/Users/ogt/Documents/AwoooGo`, `main`, `86c96a2845a5`, dirty `0` | `wooo/AwoooGo` main matches local; `dev` missing | `/Users/ogt/codex-workspaces/awooogo-dev` missing | ready for owner-reviewed dev bootstrap | +| MOMO Pro | `/Users/ogt/momo-pro-system`, `main`, `76a89a70986b`, dirty `0` | `wooo/ewoooc` main/dev both at `76a89a70986b`; external HTTPS readback works | `/Users/ogt/codex-workspaces/momo-pro-dev`, branch `dev`, dirty `0` | Mac Mini dev workspace ready | +| AwoooGo | `/Users/ogt/Documents/AwoooGo`, `main`, `8471b376d97c`, dirty `0` | `wooo/AwoooGo` main/dev both at `8471b376d97c`; external HTTPS readback currently requires auth | `/Users/ogt/codex-workspaces/awooogo-dev`, branch `dev`, dirty `0` | Mac Mini dev workspace ready; external MacBook clone still needs credential / VPN gate | -Allowed next step after explicit owner gate: +Completed: ```text -1. Create remote dev branch from the verified main commit. -2. Clone a clean Codex workspace under ~/codex-workspaces/-dev. -3. Verify branch=dev, dirty=0, remote points to Gitea, and no .env / runtime volumes / raw .git copy were imported. -4. Update Start Here / workstation dashboard from readback. +1. Remote dev branches were created from verified main commits. +2. Clean Mac Mini Codex workspaces were cloned from Gitea, not copied from raw local .git directories. +3. Both workspaces read back branch=dev and dirty=0. +4. No runtime .env / runtime volumes / raw conversations were copied. ``` -Still blocked: +Still blocked / remaining: ```text -remote_dev_branch_create=0 -remote_write_performed=false +remote_dev_branch_create=2 +remote_write_performed=true raw_git_sync_allowed=false raw_conversation_sync_allowed=false env_or_runtime_volume_sync=false +AwoooGo external HTTPS CLI readback requires auth, so do not claim outside MacBook clone readiness for AwoooGo until credentials / VPN path are verified. +MacBook Pro local workspace creation still needs separate readback from the MacBook. ``` diff --git a/docs/operations/codex-gitea-dev-bootstrap-preflight.snapshot.json b/docs/operations/codex-gitea-dev-bootstrap-preflight.snapshot.json index 6d4b629f..476793e9 100644 --- a/docs/operations/codex-gitea-dev-bootstrap-preflight.snapshot.json +++ b/docs/operations/codex-gitea-dev-bootstrap-preflight.snapshot.json @@ -1,12 +1,14 @@ { "schema_version": "codex_gitea_dev_bootstrap_preflight_v1", - "generated_at": "2026-06-24T11:52:00+08:00", + "generated_at": "2026-06-24T12:03:00+08:00", "summary": { "candidate_count": 2, "clean_candidate_count": 2, - "remote_dev_branch_created_count": 0, - "remote_write_performed": false, - "execution_authorized": false, + "remote_dev_branch_created_count": 2, + "mac_mini_workspace_ready_count": 2, + "external_https_readable_count": 1, + "remote_write_performed": true, + "execution_authorized": true, "raw_git_sync_allowed": false, "raw_conversation_sync_allowed": false }, @@ -17,23 +19,28 @@ "local_path": "/Users/ogt/momo-pro-system", "gitea_repo": "wooo/ewoooc", "remote_url": "https://gitea.wooo.work/wooo/ewoooc.git", + "dev_branch_create_url": "http://192.168.0.110:3001/wooo/ewoooc.git", "local_branch": "main", "local_commit": "76a89a70986b7428704a12ffbb7180f159db151f", "remote_main_commit": "76a89a70986b7428704a12ffbb7180f159db151f", + "remote_dev_commit": "76a89a70986b7428704a12ffbb7180f159db151f", "local_dirty_count": 0, "remote_main_present": true, - "remote_dev_present": false, + "remote_dev_present": true, + "external_https_readable": true, "codex_workspace_expected": "/Users/ogt/codex-workspaces/momo-pro-dev", - "codex_workspace_present": false, - "candidate_status": "ready_for_owner_reviewed_dev_bootstrap", - "blocked_actions": [ - "remote_dev_branch_create", + "codex_workspace_present": true, + "codex_workspace_branch": "dev", + "codex_workspace_commit": "76a89a70986b7428704a12ffbb7180f159db151f", + "codex_workspace_dirty_count": 0, + "candidate_status": "dev_branch_created_mac_mini_workspace_ready", + "remaining_blocked_actions": [ "force_push", "raw_git_copy", "raw_conversation_copy", "env_or_runtime_volume_sync" ], - "next_gate": "owner confirms main commit as dev baseline and approves creating dev branch plus clean clone workspace" + "next_gate": "clone or fetch the dev workspace from MacBook Pro and verify branch=dev dirty=0 using Gitea credentials" }, { "product_id": "awooogo", @@ -41,23 +48,29 @@ "local_path": "/Users/ogt/Documents/AwoooGo", "gitea_repo": "wooo/AwoooGo", "remote_url": "http://192.168.0.110:3001/wooo/AwoooGo.git", + "external_https_url": "https://gitea.wooo.work/wooo/AwoooGo.git", "local_branch": "main", - "local_commit": "86c96a2845a52e7ccd2c61324215a3346a6c2f22", - "remote_main_commit": "86c96a2845a52e7ccd2c61324215a3346a6c2f22", + "local_commit": "8471b376d97c1436d4612ece17f51ba0950f114d", + "remote_main_commit": "8471b376d97c1436d4612ece17f51ba0950f114d", + "remote_dev_commit": "8471b376d97c1436d4612ece17f51ba0950f114d", "local_dirty_count": 0, "remote_main_present": true, - "remote_dev_present": false, + "remote_dev_present": true, + "external_https_readable": false, + "external_https_readback_error": "authentication_required", "codex_workspace_expected": "/Users/ogt/codex-workspaces/awooogo-dev", - "codex_workspace_present": false, - "candidate_status": "ready_for_owner_reviewed_dev_bootstrap", - "blocked_actions": [ - "remote_dev_branch_create", + "codex_workspace_present": true, + "codex_workspace_branch": "dev", + "codex_workspace_commit": "8471b376d97c1436d4612ece17f51ba0950f114d", + "codex_workspace_dirty_count": 0, + "candidate_status": "dev_branch_created_mac_mini_workspace_ready_external_https_auth_blocked", + "remaining_blocked_actions": [ "force_push", "raw_git_copy", "raw_conversation_copy", "env_or_runtime_volume_sync" ], - "next_gate": "owner confirms main commit as dev baseline and approves creating dev branch plus clean clone workspace" + "next_gate": "configure verified Gitea HTTPS/SSH credentials or VPN path for MacBook Pro before claiming external clone readiness" } ] }